fpm 0.4.37 → 0.4.38

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELIST CHANGED
@@ -1,3 +1,12 @@
1
+ 0.4.38 (June 24, 2013)
2
+ - cpan: fpm's cpan code now works under ruby 1.8.7
3
+ - python: fix a bug in dependency handling (#461, Pranay Kanwar)
4
+ - pear: Added --pear-data-dir flag (#465, Zsolt Takács)
5
+ - cpan: fix a bug with some clean up on certain 64bit systems
6
+ - gem: improve detection of the gem bin install path (#476, Tray Torrance)
7
+ - rpm: fix bug when calling using --rpm-use-file-permissions
8
+ (#464, Rich Horwood)
9
+
1
10
  0.4.37 (May 30, 2013)
2
11
  - deb: fix creation failures on OS X (#450, patch by Anthony Scalisi and
3
12
  Matthew M. Boedicker)
data/lib/fpm.rb CHANGED
@@ -4,7 +4,13 @@ require "fpm/package"
4
4
  require "fpm/package/dir"
5
5
  require "fpm/package/gem"
6
6
  require "fpm/package/deb"
7
+ require "fpm/package/npm"
7
8
  require "fpm/package/rpm"
8
9
  require "fpm/package/tar"
10
+ require "fpm/package/cpan"
11
+ require "fpm/package/pear"
12
+ require "fpm/package/empty"
13
+ require "fpm/package/puppet"
9
14
  require "fpm/package/python"
10
15
  require "fpm/package/osxpkg"
16
+ require "fpm/package/solaris"
@@ -17,19 +17,19 @@ class FPM::Package::CPAN < FPM::Package
17
17
 
18
18
  private
19
19
  def input(package)
20
- if RUBY_VERSION =~ /^1\.8/
21
- raise FPM::Package::InvalidArgument,
22
- "Sorry, CPAN support requires ruby 1.9 or higher. You have " \
23
- "#{RUBY_VERSION}. If this negatively impacts you, please let " \
24
- "me know by filing an issue: " \
25
- "https://github.com/jordansissel/fpm/issues"
26
- end
27
- require "ftw" # for http access
20
+ #if RUBY_VERSION =~ /^1\.8/
21
+ #raise FPM::Package::InvalidArgument,
22
+ #"Sorry, CPAN support requires ruby 1.9 or higher. You have " \
23
+ #"#{RUBY_VERSION}. If this negatively impacts you, please let " \
24
+ #"me know by filing an issue: " \
25
+ #"https://github.com/jordansissel/fpm/issues"
26
+ #end
27
+ #require "ftw" # for http access
28
+ require "net/http"
28
29
  require "json"
29
30
 
30
- agent = FTW::Agent.new
31
- result = search(package, agent)
32
- tarball = download(result, agent)
31
+ result = search(package)
32
+ tarball = download(result)
33
33
  moduledir = unpack(tarball)
34
34
 
35
35
  # Read package metadata (name, version, etc)
@@ -86,7 +86,7 @@ class FPM::Package::CPAN < FPM::Package
86
86
  self.dependencies << "#{dep_name} >= #{version}"
87
87
  next
88
88
  end
89
- dep = search(dep_name, agent)
89
+ dep = search(dep_name)
90
90
 
91
91
  if dep.include?("distribution")
92
92
  name = fix_name(dep["distribution"])
@@ -162,7 +162,7 @@ class FPM::Package::CPAN < FPM::Package
162
162
 
163
163
  # Fix any files likely to cause conflicts.
164
164
  # https://github.com/jordansissel/fpm/issues/443
165
- ::Dir.glob(File.join(staging_path, prefix, "lib/perl/*/perllocal.pod")).each do |path|
165
+ ::Dir.glob(File.join(staging_path, prefix, "lib*/perl/*/perllocal.pod")).each do |path|
166
166
  @logger.debug("Removing useless file.",
167
167
  :path => path.gsub(staging_path, ""))
168
168
  File.unlink(path)
@@ -194,7 +194,7 @@ class FPM::Package::CPAN < FPM::Package
194
194
  return directory
195
195
  end
196
196
 
197
- def download(metadata, agent)
197
+ def download(metadata)
198
198
  distribution = metadata["distribution"]
199
199
  author = metadata["author"]
200
200
  @logger.info("Downloading perl module",
@@ -207,31 +207,40 @@ class FPM::Package::CPAN < FPM::Package
207
207
  tarball = "#{distribution}-#{version}.tar.gz"
208
208
  url = "http://www.cpan.org/CPAN/authors/id/#{author[0,1]}/#{author[0,2]}/#{author}/#{tarball}"
209
209
  @logger.debug("Fetching perl module", :url => url)
210
- response = agent.get!(url)
211
- if response.error?
212
- @logger.error("Download failed", :error => response.status_line,
210
+
211
+ begin
212
+ response = httpfetch(url)
213
+ rescue Net::HTTPServerException
214
+ #@logger.error("Download failed", :error => response.status_line,
215
+ #:url => url)
216
+ @logger.error("Download failed", :error => response.message,
213
217
  :url => url)
214
218
  raise FPM::InvalidPackageConfiguration, "metacpan query failed"
215
219
  end
216
220
 
217
221
  File.open(build_path(tarball), "w") do |fd|
218
- response.read_body { |c| fd.write(c) }
222
+ #response.read_body { |c| fd.write(c) }
223
+ fd.write(response.body)
219
224
  end
220
225
  return build_path(tarball)
221
226
  end # def download
222
227
 
223
- def search(package, agent)
228
+ def search(package)
224
229
  @logger.info("Asking metacpan about a module", :module => package)
225
230
  metacpan_url = "http://api.metacpan.org/v0/module/" + package
226
- response = agent.get!(metacpan_url)
227
- if response.error?
228
- @logger.error("metacpan query failed.", :error => response.status_line,
231
+ begin
232
+ response = httpfetch(metacpan_url)
233
+ rescue Net::HTTPServerException
234
+ #@logger.error("metacpan query failed.", :error => response.status_line,
235
+ #:module => package, :url => metacpan_url)
236
+ @logger.error("metacpan query failed.", :error => response.message,
229
237
  :module => package, :url => metacpan_url)
230
238
  raise FPM::InvalidPackageConfiguration, "metacpan query failed"
231
239
  end
232
240
 
233
- data = ""
234
- response.read_body { |c| data << c }
241
+ #data = ""
242
+ #response.read_body { |c| p c; data << c }
243
+ data = response.body
235
244
  metadata = JSON.parse(data)
236
245
  return metadata
237
246
  end # def metadata
@@ -240,5 +249,16 @@ class FPM::Package::CPAN < FPM::Package
240
249
  return [attributes[:cpan_package_name_prefix], name].join("-").gsub("::", "-")
241
250
  end # def fix_name
242
251
 
252
+ def httpfetch(url)
253
+ uri = URI.parse(url)
254
+ http = Net::HTTP.new(uri.host, uri.port)
255
+ response = http.request(Net::HTTP::Get.new(uri.request_uri))
256
+ case response
257
+ when Net::HTTPSuccess; return response
258
+ when Net::HTTPRedirection; return httpfetch(response["location"])
259
+ else; response.error!
260
+ end
261
+ end
262
+
243
263
  public(:input)
244
264
  end # class FPM::Package::NPM
@@ -16,8 +16,7 @@ require "yaml"
16
16
  # * :gem_gem
17
17
  class FPM::Package::Gem < FPM::Package
18
18
  # Flags '--foo' will be accessable as attributes[:gem_foo]
19
- option "--bin-path", "DIRECTORY", "The directory to install gem executables",
20
- :default => ::Gem::bindir
19
+ option "--bin-path", "DIRECTORY", "The directory to install gem executables"
21
20
  option "--package-prefix", "NAMEPREFIX",
22
21
  "(DEPRECATED, use --package-name-prefix) Name to prefix the package " \
23
22
  "name with." do |value|
@@ -163,7 +162,8 @@ class FPM::Package::Gem < FPM::Package
163
162
  if attributes.include?(:prefix) && ! attributes[:prefix].nil?
164
163
  installdir = "#{staging_path}/#{attributes[:prefix]}"
165
164
  else
166
- installdir = File.join(staging_path, ::Gem::dir)
165
+ gemdir = safesystemout(*[attributes[:gem_gem], 'env', 'gemdir']).chomp
166
+ installdir = File.join(staging_path, gemdir)
167
167
  end
168
168
 
169
169
  ::FileUtils.mkdir_p(installdir)
@@ -173,12 +173,17 @@ class FPM::Package::Gem < FPM::Package
173
173
  if attributes[:gem_env_shebang?]
174
174
  args += ["-E"]
175
175
  end
176
- if attributes[:gem_bin_path]
176
+
177
+ if attributes.include?(:gem_bin_path) && ! attributes[:gem_bin_path].nil?
177
178
  bin_path = File.join(staging_path, attributes[:gem_bin_path])
178
- args += ["--bindir", bin_path]
179
- ::FileUtils.mkdir_p(bin_path)
179
+ else
180
+ gem_env = safesystemout(*[attributes[:gem_gem], 'env']).split("\n")
181
+ gem_bin = gem_env.select{ |line| line =~ /EXECUTABLE DIRECTORY/ }.first.split(': ').last
182
+ bin_path = File.join(staging_path, gem_bin)
180
183
  end
181
184
 
185
+ args += ["--bindir", bin_path]
186
+ ::FileUtils.mkdir_p(bin_path)
182
187
  args << gem_path
183
188
  safesystem(*args)
184
189
  end # def install_to_staging
@@ -56,12 +56,12 @@ class FPM::Package::NPM < FPM::Package
56
56
  # Query details about our now-installed package.
57
57
  # We do this by using 'npm ls' with json + long enabled to query details
58
58
  # about the installed package.
59
- npm_ls_out = safesystemout(attributes[:npm_bin], "ls", "--json", "--long", package, *npm_flags)
59
+ npm_ls_out = safesystemout(attributes[:npm_bin], "ls", "--json", "--long", *npm_flags)
60
60
  npm_ls = JSON.parse(npm_ls_out)
61
61
  name, info = npm_ls["dependencies"].first
62
62
 
63
63
  self.name = [attributes[:npm_package_name_prefix], name].join("-")
64
- self.version = info["version"]
64
+ self.version = info.fetch("version", "0.0.0")
65
65
 
66
66
  if info.include?("repository")
67
67
  self.url = info["repository"]["url"]
@@ -70,8 +70,20 @@ class FPM::Package::NPM < FPM::Package
70
70
  end
71
71
 
72
72
  self.description = info["description"]
73
- self.vendor = sprintf("%s <%s>", info["author"]["name"],
74
- info["author"]["email"])
73
+ # Supposedly you can upload a package for npm with no author/author email
74
+ # so I'm being safer with this. Author can also be a hash or a string
75
+ self.vendor = "Unknown <unknown@unknown.unknown>"
76
+ if info.include?("author")
77
+ author_info = info["author"]
78
+ # If a hash, assemble into a string
79
+ if author_info.respond_to? :fetch
80
+ self.vendor = sprintf("%s <%s>", author_info.fetch("name", "unknown"),
81
+ author_info.fetch("email", "unknown@unknown.unknown"))
82
+ else
83
+ # Probably will need a better check for validity here
84
+ self.vendor = author_info unless author_info == ""
85
+ end
86
+ end
75
87
 
76
88
  # npm installs dependencies in the module itself, so if you do
77
89
  # 'npm install express' it installs dependencies (like 'connect')
@@ -25,6 +25,9 @@ class FPM::Package::PEAR < FPM::Package
25
25
  option "--php-dir", "PHP_DIR",
26
26
  "Specify php dir relative to prefix if differs from pear default (pear/php)"
27
27
 
28
+ option "--data-dir", "DATA_DIR",
29
+ "Specify php dir relative to prefix if differs from pear default (pear/data)"
30
+
28
31
  # Input a PEAR package.
29
32
  #
30
33
  # The parameter is a PHP PEAR package name.
@@ -48,6 +51,11 @@ class FPM::Package::PEAR < FPM::Package
48
51
  safesystem("pear", "-c", config, "config-set", "php_dir", "#{staging_path(installroot)}/#{attributes[:pear_php_dir]}")
49
52
  end
50
53
 
54
+ if attributes[:pear_data_dir]
55
+ @logger.info("Setting data_dir", :data_dir => attributes[:pear_data_dir])
56
+ safesystem("pear", "-c", config, "config-set", "data_dir", "#{staging_path(installroot)}/#{attributes[:pear_data_dir]}")
57
+ end
58
+
51
59
  bin_dir = attributes[:pear_bin_dir] || "usr/bin"
52
60
  @logger.info("Setting bin_dir", :bin_dir => bin_dir)
53
61
  safesystem("pear", "-c", config, "config-set", "bin_dir", bin_dir)
@@ -60,8 +68,7 @@ class FPM::Package::PEAR < FPM::Package
60
68
  if !attributes[:pear_channel].nil?
61
69
  @logger.info("Custom channel specified", :channel => attributes[:pear_channel])
62
70
  channel_list = safesystemout("pear", "-c", config, "list-channels")
63
-
64
- if !channel_list =~ /#{Regexp.quote(attributes[:pear_channel])}/
71
+ if channel_list !~ /#{Regexp.quote(attributes[:pear_channel])}/
65
72
  @logger.info("Discovering new channel", :channel => attributes[:pear_channel])
66
73
  safesystem("pear", "-c", config, "channel-discover", attributes[:pear_channel])
67
74
  end
@@ -94,11 +101,14 @@ class FPM::Package::PEAR < FPM::Package
94
101
  # Remove the stuff we don't want
95
102
  delete_these = [".depdb", ".depdblock", ".filemap", ".lock", ".channel", "cache", "temp", "download", ".channels", ".registry"]
96
103
  Find.find(staging_path) do |path|
97
- if File.file?(path) && File.executable?(path)
98
- @logger.info("replacing pear_dir in binary", :binary => path)
99
- staging_path_re = Regexp.new("^" + Regexp.escape(staging_path))
100
- content = File.read(path).gsub(staging_path_re, "")
101
- File.write(path, content)
104
+ if File.file?(path)
105
+ @logger.info("replacing staging_path in file", :replace_in => path, :staging_path => staging_path)
106
+ begin
107
+ content = File.read(path).gsub(/#{Regexp.escape(staging_path)}/, "")
108
+ File.write(path, content)
109
+ rescue ArgumentError
110
+ @logger.warn("error replacing staging_path in file", :replace_in => path)
111
+ end
102
112
  end
103
113
  FileUtils.rm_r(path) if delete_these.include?(File.basename(path))
104
114
  end
@@ -35,13 +35,8 @@ class get_metadata(Command):
35
35
  deps = []
36
36
  if dep.specs:
37
37
  for operator, version in dep.specs:
38
- final_operator = operator
39
-
40
- if operator == "==":
41
- final_operator = "="
42
-
43
38
  deps.append("%s %s %s" % (dep.project_name,
44
- final_operator, version))
39
+ operator, version))
45
40
  else:
46
41
  deps.append(dep.project_name)
47
42
 
@@ -200,6 +200,13 @@ class FPM::Package::Python < FPM::Package
200
200
  raise FPM::InvalidPackageConfiguration, "Invalid dependency '#{dep}'"
201
201
  end
202
202
  name, cmp, version = match.captures
203
+
204
+ # convert == to =
205
+ if cmp == "=="
206
+ @logger.info("Converting == dependency requirement to =", :dependency => dep )
207
+ cmp = "="
208
+ end
209
+
203
210
  # dependency name prefixing is optional, if enabled, a name 'foo' will
204
211
  # become 'python-foo' (depending on what the python_package_name_prefix
205
212
  # is)
@@ -132,7 +132,7 @@ class FPM::Package::RPM < FPM::Package
132
132
  file = rpm_fix_name(file)
133
133
  return file unless attributes[:rpm_use_file_permissions?]
134
134
 
135
- stat = File.stat( file.gsub(/\"/, '') )
135
+ stat = File.stat(file.gsub(/\"/, '').sub(/^\//,''))
136
136
  user = Etc.getpwuid(stat.uid).name
137
137
  group = Etc.getgrgid(stat.gid).name
138
138
  mode = stat.mode
@@ -49,10 +49,11 @@ class FPM::Package::Tar < FPM::Package
49
49
  def output(output_path)
50
50
  output_check(output_path)
51
51
  # Unpack the tarball to the staging path
52
- args = ["-cf", output_path, "-C", staging_path, "."]
52
+ args = ["-cf", output_path, "-C", staging_path]
53
53
  with(tar_compression_flag(output_path)) do |flag|
54
54
  args << flag unless flag.nil?
55
55
  end
56
+ args << "."
56
57
 
57
58
  safesystem("tar", *args)
58
59
  end # def output
@@ -80,6 +80,8 @@ module FPM::Util
80
80
 
81
81
  process.start
82
82
  stdout_w.close; stderr_w.close
83
+ stdout_r_str = stdout_r.read
84
+ stdout_r.close; stderr_r.close
83
85
  @logger.debug("Process is running", :pid => process.pid)
84
86
 
85
87
  process.wait
@@ -90,7 +92,7 @@ module FPM::Util
90
92
  ". Full command was:#{args.inspect}")
91
93
  end
92
94
 
93
- return :stdout_r
95
+ return stdout_r_str
94
96
  end # def safesystemout
95
97
 
96
98
  # Get the recommended 'tar' command for this platform.
@@ -1,3 +1,3 @@
1
1
  module FPM
2
- VERSION = "0.4.37"
2
+ VERSION = "0.4.38"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fpm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.37
4
+ version: 0.4.38
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,195 +9,195 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-30 00:00:00.000000000 Z
12
+ date: 2013-06-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
+ type: :runtime
16
+ version_requirements: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 1.7.7
15
22
  name: json
23
+ prerelease: false
16
24
  requirement: !ruby/object:Gem::Requirement
17
25
  none: false
18
26
  requirements:
19
- - - ~>
27
+ - - ! '>='
20
28
  - !ruby/object:Gem::Version
21
29
  version: 1.7.7
30
+ - !ruby/object:Gem::Dependency
22
31
  type: :runtime
23
- prerelease: false
24
32
  version_requirements: !ruby/object:Gem::Requirement
25
33
  none: false
26
34
  requirements:
27
- - - ~>
35
+ - - ! '>='
28
36
  - !ruby/object:Gem::Version
29
- version: 1.7.7
30
- - !ruby/object:Gem::Dependency
37
+ version: 0.6.0
31
38
  name: cabin
39
+ prerelease: false
32
40
  requirement: !ruby/object:Gem::Requirement
33
41
  none: false
34
42
  requirements:
35
43
  - - ! '>='
36
44
  - !ruby/object:Gem::Version
37
45
  version: 0.6.0
46
+ - !ruby/object:Gem::Dependency
38
47
  type: :runtime
39
- prerelease: false
40
48
  version_requirements: !ruby/object:Gem::Requirement
41
49
  none: false
42
50
  requirements:
43
51
  - - ! '>='
44
52
  - !ruby/object:Gem::Version
45
- version: 0.6.0
46
- - !ruby/object:Gem::Dependency
53
+ version: 2.6.2
47
54
  name: backports
55
+ prerelease: false
48
56
  requirement: !ruby/object:Gem::Requirement
49
57
  none: false
50
58
  requirements:
51
59
  - - ! '>='
52
60
  - !ruby/object:Gem::Version
53
61
  version: 2.6.2
62
+ - !ruby/object:Gem::Dependency
54
63
  type: :runtime
55
- prerelease: false
56
64
  version_requirements: !ruby/object:Gem::Requirement
57
65
  none: false
58
66
  requirements:
59
- - - ! '>='
67
+ - - ~>
60
68
  - !ruby/object:Gem::Version
61
- version: 2.6.2
62
- - !ruby/object:Gem::Dependency
69
+ version: 0.0.8
63
70
  name: arr-pm
71
+ prerelease: false
64
72
  requirement: !ruby/object:Gem::Requirement
65
73
  none: false
66
74
  requirements:
67
75
  - - ~>
68
76
  - !ruby/object:Gem::Version
69
77
  version: 0.0.8
78
+ - !ruby/object:Gem::Dependency
70
79
  type: :runtime
71
- prerelease: false
72
80
  version_requirements: !ruby/object:Gem::Requirement
73
81
  none: false
74
82
  requirements:
75
83
  - - ~>
76
84
  - !ruby/object:Gem::Version
77
- version: 0.0.8
78
- - !ruby/object:Gem::Dependency
85
+ version: 0.0.30
79
86
  name: ftw
87
+ prerelease: false
80
88
  requirement: !ruby/object:Gem::Requirement
81
89
  none: false
82
90
  requirements:
83
91
  - - ~>
84
92
  - !ruby/object:Gem::Version
85
93
  version: 0.0.30
94
+ - !ruby/object:Gem::Dependency
86
95
  type: :runtime
87
- prerelease: false
88
96
  version_requirements: !ruby/object:Gem::Requirement
89
97
  none: false
90
98
  requirements:
91
99
  - - ~>
92
100
  - !ruby/object:Gem::Version
93
- version: 0.0.30
94
- - !ruby/object:Gem::Dependency
101
+ version: '0.6'
95
102
  name: clamp
103
+ prerelease: false
96
104
  requirement: !ruby/object:Gem::Requirement
97
105
  none: false
98
106
  requirements:
99
107
  - - ~>
100
108
  - !ruby/object:Gem::Version
101
109
  version: '0.6'
110
+ - !ruby/object:Gem::Dependency
102
111
  type: :runtime
103
- prerelease: false
104
112
  version_requirements: !ruby/object:Gem::Requirement
105
113
  none: false
106
114
  requirements:
107
- - - ~>
115
+ - - ! '>='
108
116
  - !ruby/object:Gem::Version
109
- version: '0.6'
110
- - !ruby/object:Gem::Dependency
117
+ version: '0'
111
118
  name: childprocess
119
+ prerelease: false
112
120
  requirement: !ruby/object:Gem::Requirement
113
121
  none: false
114
122
  requirements:
115
123
  - - ! '>='
116
124
  - !ruby/object:Gem::Version
117
125
  version: '0'
118
- type: :runtime
119
- prerelease: false
126
+ - !ruby/object:Gem::Dependency
127
+ type: :development
120
128
  version_requirements: !ruby/object:Gem::Requirement
121
129
  none: false
122
130
  requirements:
123
131
  - - ! '>='
124
132
  - !ruby/object:Gem::Version
125
133
  version: '0'
126
- - !ruby/object:Gem::Dependency
127
134
  name: rush
135
+ prerelease: false
128
136
  requirement: !ruby/object:Gem::Requirement
129
137
  none: false
130
138
  requirements:
131
139
  - - ! '>='
132
140
  - !ruby/object:Gem::Version
133
141
  version: '0'
142
+ - !ruby/object:Gem::Dependency
134
143
  type: :development
135
- prerelease: false
136
144
  version_requirements: !ruby/object:Gem::Requirement
137
145
  none: false
138
146
  requirements:
139
147
  - - ! '>='
140
148
  - !ruby/object:Gem::Version
141
149
  version: '0'
142
- - !ruby/object:Gem::Dependency
143
150
  name: rspec
151
+ prerelease: false
144
152
  requirement: !ruby/object:Gem::Requirement
145
153
  none: false
146
154
  requirements:
147
155
  - - ! '>='
148
156
  - !ruby/object:Gem::Version
149
157
  version: '0'
158
+ - !ruby/object:Gem::Dependency
150
159
  type: :development
151
- prerelease: false
152
160
  version_requirements: !ruby/object:Gem::Requirement
153
161
  none: false
154
162
  requirements:
155
- - - ! '>='
163
+ - - ~>
156
164
  - !ruby/object:Gem::Version
157
- version: '0'
158
- - !ruby/object:Gem::Dependency
165
+ version: 0.0.5
159
166
  name: insist
167
+ prerelease: false
160
168
  requirement: !ruby/object:Gem::Requirement
161
169
  none: false
162
170
  requirements:
163
171
  - - ~>
164
172
  - !ruby/object:Gem::Version
165
173
  version: 0.0.5
174
+ - !ruby/object:Gem::Dependency
166
175
  type: :development
167
- prerelease: false
168
176
  version_requirements: !ruby/object:Gem::Requirement
169
177
  none: false
170
178
  requirements:
171
- - - ~>
179
+ - - ! '>='
172
180
  - !ruby/object:Gem::Version
173
- version: 0.0.5
174
- - !ruby/object:Gem::Dependency
181
+ version: '0'
175
182
  name: minitest
183
+ prerelease: false
176
184
  requirement: !ruby/object:Gem::Requirement
177
185
  none: false
178
186
  requirements:
179
187
  - - ! '>='
180
188
  - !ruby/object:Gem::Version
181
189
  version: '0'
190
+ - !ruby/object:Gem::Dependency
182
191
  type: :development
183
- prerelease: false
184
192
  version_requirements: !ruby/object:Gem::Requirement
185
193
  none: false
186
194
  requirements:
187
195
  - - ! '>='
188
196
  - !ruby/object:Gem::Version
189
197
  version: '0'
190
- - !ruby/object:Gem::Dependency
191
198
  name: pry
192
- requirement: !ruby/object:Gem::Requirement
193
- none: false
194
- requirements:
195
- - - ! '>='
196
- - !ruby/object:Gem::Version
197
- version: '0'
198
- type: :development
199
199
  prerelease: false
200
- version_requirements: !ruby/object:Gem::Requirement
200
+ requirement: !ruby/object:Gem::Requirement
201
201
  none: false
202
202
  requirements:
203
203
  - - ! '>='
@@ -216,6 +216,9 @@ files:
216
216
  - lib/fpm/util.rb
217
217
  - lib/fpm/package.rb
218
218
  - lib/fpm/errors.rb
219
+ - lib/fpm/version.rb
220
+ - lib/fpm/command.rb
221
+ - lib/fpm/namespace.rb
219
222
  - lib/fpm/package/solaris.rb
220
223
  - lib/fpm/package/gem.rb
221
224
  - lib/fpm/package/dir.rb
@@ -233,18 +236,15 @@ files:
233
236
  - lib/fpm/package/pyfpm/get_metadata.py
234
237
  - lib/fpm/package/pyfpm/get_metadata.pyc
235
238
  - lib/fpm/package/pyfpm/__init__.py
236
- - lib/fpm/version.rb
237
- - lib/fpm/command.rb
238
- - lib/fpm/namespace.rb
239
239
  - bin/fpm
240
240
  - templates/rpm.erb
241
- - templates/puppet/package.pp.erb
242
- - templates/puppet/package/remove.pp.erb
243
- - templates/rpm/filesystem_list
244
241
  - templates/solaris.erb
245
- - templates/deb/ldconfig.sh.erb
246
242
  - templates/osxpkg.erb
247
243
  - templates/deb.erb
244
+ - templates/puppet/package.pp.erb
245
+ - templates/rpm/filesystem_list
246
+ - templates/deb/ldconfig.sh.erb
247
+ - templates/puppet/package/remove.pp.erb
248
248
  - LICENSE
249
249
  - CONTRIBUTORS
250
250
  - CHANGELIST