Check-in [176a5242b0]
Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Add missing update(opts) parameter. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
176a5242b03dc1a98b7221a1e56e8c10 |
User & Date: | mario 2014-12-22 12:36:08 |
Context
2014-12-22
| ||
12:37 | Fix debug? parameter resolution. check-in: e54c3f9a07 user: mario tags: trunk | |
12:36 | Add missing update(opts) parameter. check-in: 176a5242b0 user: mario tags: trunk | |
12:35 | Add missing update(opts) parameter. check-in: 06c1480758 user: mario tags: trunk | |
Changes
Changes to lib/fpm/package/filter_composer.rb.
︙ | ︙ | |||
18 19 20 21 22 23 24 | require "fpm/util" require "json" require "fileutils" require "time" # composer.json class FPM::Package::Filter_Composer < FPM::Package | | | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | require "fpm/util" require "json" require "fileutils" require "time" # composer.json class FPM::Package::Filter_Composer < FPM::Package def update(opts=nil) # read existing data dest = "#{staging_path}/#{@prefix}/composer.json" if File.exist?(dest) json = JSON.parse(File.read(dest)) # technically it could also become an input filter now, # injecting known values for absent fpm attributes here # (only had to be transferred back to @input in command.rb then..) |
︙ | ︙ |