fpm 0.2.10 → 0.2.11
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fpm/rubyfixes.rb +11 -0
- data/lib/fpm/source/dir.rb +1 -0
- metadata +10 -23
@@ -0,0 +1,11 @@
|
|
1
|
+
# Ruby 1.8.7 added String#start_with? - monkeypatch the
|
2
|
+
# String class if it isn't supported (<= ruby 1.8.6)
|
3
|
+
if !String.instance_methods.include?("start_with?")
|
4
|
+
class String
|
5
|
+
public
|
6
|
+
def start_with?(str)
|
7
|
+
return self[0 .. (str.length-1)] == str
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
data/lib/fpm/source/dir.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fpm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 2
|
9
|
-
- 10
|
10
|
-
version: 0.2.10
|
4
|
+
prerelease:
|
5
|
+
version: 0.2.11
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
8
|
- Jordan Sissel
|
@@ -15,7 +10,7 @@ autorequire:
|
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
12
|
|
18
|
-
date: 2011-03-
|
13
|
+
date: 2011-03-30 00:00:00 -07:00
|
19
14
|
default_executable:
|
20
15
|
dependencies:
|
21
16
|
- !ruby/object:Gem::Dependency
|
@@ -26,9 +21,6 @@ dependencies:
|
|
26
21
|
requirements:
|
27
22
|
- - ">="
|
28
23
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 3
|
30
|
-
segments:
|
31
|
-
- 0
|
32
24
|
version: "0"
|
33
25
|
type: :runtime
|
34
26
|
version_requirements: *id001
|
@@ -43,15 +35,16 @@ extra_rdoc_files: []
|
|
43
35
|
|
44
36
|
files:
|
45
37
|
- lib/fpm/builder.rb
|
46
|
-
- lib/fpm/source.rb
|
47
|
-
- lib/fpm/target/deb.rb
|
48
|
-
- lib/fpm/target/rpm.rb
|
49
|
-
- lib/fpm/package.rb
|
50
38
|
- lib/fpm/namespace.rb
|
39
|
+
- lib/fpm/source.rb
|
40
|
+
- lib/fpm/rubyfixes.rb
|
41
|
+
- lib/fpm/source/npm.rb
|
51
42
|
- lib/fpm/source/dir.rb
|
52
43
|
- lib/fpm/source/rpm.rb
|
53
|
-
- lib/fpm/source/npm.rb
|
54
44
|
- lib/fpm/source/gem.rb
|
45
|
+
- lib/fpm/target/deb.rb
|
46
|
+
- lib/fpm/target/rpm.rb
|
47
|
+
- lib/fpm/package.rb
|
55
48
|
- lib/fpm.rb
|
56
49
|
- bin/fpm
|
57
50
|
- bin/fpm-npm
|
@@ -72,23 +65,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
72
65
|
requirements:
|
73
66
|
- - ">="
|
74
67
|
- !ruby/object:Gem::Version
|
75
|
-
hash: 3
|
76
|
-
segments:
|
77
|
-
- 0
|
78
68
|
version: "0"
|
79
69
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
80
70
|
none: false
|
81
71
|
requirements:
|
82
72
|
- - ">="
|
83
73
|
- !ruby/object:Gem::Version
|
84
|
-
hash: 3
|
85
|
-
segments:
|
86
|
-
- 0
|
87
74
|
version: "0"
|
88
75
|
requirements: []
|
89
76
|
|
90
77
|
rubyforge_project:
|
91
|
-
rubygems_version: 1.
|
78
|
+
rubygems_version: 1.6.0
|
92
79
|
signing_key:
|
93
80
|
specification_version: 3
|
94
81
|
summary: fpm - package building and mangling
|