bpm 1.0.0.beta.11 → 1.0.0.beta.12
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -0
- data/bpm.gemspec +1 -1
- data/lib/bpm/package.rb +1 -2
- data/lib/bpm/version.rb +1 -1
- data/spec/support/fake_gem_server.rb +6 -6
- data/spec/support/fake_gemcutter.rb +1 -1
- metadata +21 -21
data/README.md
CHANGED
data/bpm.gemspec
CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
|
|
25
25
|
s.add_dependency "sprockets", "~> 2.0.0.beta.12"
|
26
26
|
|
27
27
|
s.add_development_dependency "rspec"
|
28
|
-
s.add_development_dependency "rack", "~> 1.2
|
28
|
+
s.add_development_dependency "rack", "~> 1.3.2"
|
29
29
|
|
30
30
|
paths = `git submodule`.split("\n").map do |line|
|
31
31
|
path = line.gsub(/^.\w+\s+(\S+).*/,'\1')
|
data/lib/bpm/package.rb
CHANGED
@@ -23,7 +23,6 @@ module BPM
|
|
23
23
|
"dependencies" => :hash,
|
24
24
|
"dependencies:development" => :hash,
|
25
25
|
"bpm:build" => :hash,
|
26
|
-
"bpm:formats" => :hash,
|
27
26
|
"bpm:use:transport" => :string,
|
28
27
|
"bpm:provides" => :hash
|
29
28
|
}
|
@@ -34,7 +33,7 @@ module BPM
|
|
34
33
|
SPEC_FIELDS = %w[name email]
|
35
34
|
|
36
35
|
# Fields that should be bundled up into JSON in the gemspec
|
37
|
-
METADATA_FIELDS = %w[keywords licenses engines main bin directories pipeline bpm:build
|
36
|
+
METADATA_FIELDS = %w[keywords licenses engines main bin directories pipeline bpm:build]
|
38
37
|
|
39
38
|
REQUIRED_FIELDS = %w[name author version]
|
40
39
|
|
data/lib/bpm/version.rb
CHANGED
@@ -21,13 +21,13 @@ class FakeGemServer
|
|
21
21
|
index("uglify-js", "1.0.4"),
|
22
22
|
index("custom_generator", "1.0")
|
23
23
|
]
|
24
|
-
[200, {"Content-Type" => "application/octet-stream"}, compress(latest_index)]
|
24
|
+
[200, {"Content-Type" => "application/octet-stream"}, [compress(latest_index)]]
|
25
25
|
elsif request.path =~ /prerelease_specs/
|
26
26
|
prerelease_index = [
|
27
27
|
index("bundler", "1.1.pre"),
|
28
28
|
index("coffee", "1.0.1.pre")
|
29
29
|
]
|
30
|
-
[200, {"Content-Type" => "application/octet-stream"}, compress(prerelease_index)]
|
30
|
+
[200, {"Content-Type" => "application/octet-stream"}, [compress(prerelease_index)]]
|
31
31
|
elsif request.path =~ /specs/
|
32
32
|
big_index = [
|
33
33
|
index("builder", "3.0.0"),
|
@@ -42,17 +42,17 @@ class FakeGemServer
|
|
42
42
|
index("uglify-js", "1.0.4"),
|
43
43
|
index("custom_generator", "1.0")
|
44
44
|
]
|
45
|
-
[200, {"Content-Type" => "application/octet-stream"}, compress(big_index)]
|
45
|
+
[200, {"Content-Type" => "application/octet-stream"}, [compress(big_index)]]
|
46
46
|
elsif request.path =~ /\/quick\/Marshal\.4\.8\/(.*)\.gemspec\.rz$/
|
47
47
|
|
48
48
|
spec = LibGems::Format.from_file_by_path(gem_or_bpkg($1).to_s).spec
|
49
49
|
value = LibGems.deflate(Marshal.dump(spec))
|
50
50
|
|
51
|
-
[200, {"Content-Type" => "application/octet-stream"}, value]
|
51
|
+
[200, {"Content-Type" => "application/octet-stream"}, [value]]
|
52
52
|
elsif request.path =~ /\/gems\/(.*)\.gem$/
|
53
|
-
[200, {"Content-Type" => "application/octet-stream"}, File.
|
53
|
+
[200, {"Content-Type" => "application/octet-stream"}, File.open(gem_or_bpkg($1))]
|
54
54
|
else
|
55
|
-
[200, {"Content-Type" => "text/plain"}, "fake gem server"]
|
55
|
+
[200, {"Content-Type" => "text/plain"}, ["fake gem server"]]
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bpm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.beta.
|
4
|
+
version: 1.0.0.beta.12
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,11 +10,11 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2011-08-
|
13
|
+
date: 2011-08-05 00:00:00.000000000Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: libgems
|
17
|
-
requirement: &
|
17
|
+
requirement: &2152996820 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ~>
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: 0.0.5
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *2152996820
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: gemcutter
|
28
|
-
requirement: &
|
28
|
+
requirement: &2152995700 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
@@ -33,10 +33,10 @@ dependencies:
|
|
33
33
|
version: 0.6.1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *2152995700
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: highline
|
39
|
-
requirement: &
|
39
|
+
requirement: &2152994980 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ~>
|
@@ -44,10 +44,10 @@ dependencies:
|
|
44
44
|
version: 1.6.1
|
45
45
|
type: :runtime
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *2152994980
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: json_pure
|
50
|
-
requirement: &
|
50
|
+
requirement: &2152994020 !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
52
|
requirements:
|
53
53
|
- - ~>
|
@@ -55,10 +55,10 @@ dependencies:
|
|
55
55
|
version: 1.4.6
|
56
56
|
type: :runtime
|
57
57
|
prerelease: false
|
58
|
-
version_requirements: *
|
58
|
+
version_requirements: *2152994020
|
59
59
|
- !ruby/object:Gem::Dependency
|
60
60
|
name: thor
|
61
|
-
requirement: &
|
61
|
+
requirement: &2152992820 !ruby/object:Gem::Requirement
|
62
62
|
none: false
|
63
63
|
requirements:
|
64
64
|
- - ~>
|
@@ -66,10 +66,10 @@ dependencies:
|
|
66
66
|
version: 0.14.3
|
67
67
|
type: :runtime
|
68
68
|
prerelease: false
|
69
|
-
version_requirements: *
|
69
|
+
version_requirements: *2152992820
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: therubyracer
|
72
|
-
requirement: &
|
72
|
+
requirement: &2152991680 !ruby/object:Gem::Requirement
|
73
73
|
none: false
|
74
74
|
requirements:
|
75
75
|
- - ~>
|
@@ -77,10 +77,10 @@ dependencies:
|
|
77
77
|
version: 0.9.3beta1
|
78
78
|
type: :runtime
|
79
79
|
prerelease: false
|
80
|
-
version_requirements: *
|
80
|
+
version_requirements: *2152991680
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: sprockets
|
83
|
-
requirement: &
|
83
|
+
requirement: &2152990840 !ruby/object:Gem::Requirement
|
84
84
|
none: false
|
85
85
|
requirements:
|
86
86
|
- - ~>
|
@@ -88,10 +88,10 @@ dependencies:
|
|
88
88
|
version: 2.0.0.beta.12
|
89
89
|
type: :runtime
|
90
90
|
prerelease: false
|
91
|
-
version_requirements: *
|
91
|
+
version_requirements: *2152990840
|
92
92
|
- !ruby/object:Gem::Dependency
|
93
93
|
name: rspec
|
94
|
-
requirement: &
|
94
|
+
requirement: &2152983260 !ruby/object:Gem::Requirement
|
95
95
|
none: false
|
96
96
|
requirements:
|
97
97
|
- - ! '>='
|
@@ -99,18 +99,18 @@ dependencies:
|
|
99
99
|
version: '0'
|
100
100
|
type: :development
|
101
101
|
prerelease: false
|
102
|
-
version_requirements: *
|
102
|
+
version_requirements: *2152983260
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: rack
|
105
|
-
requirement: &
|
105
|
+
requirement: &2152981800 !ruby/object:Gem::Requirement
|
106
106
|
none: false
|
107
107
|
requirements:
|
108
108
|
- - ~>
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 1.2
|
110
|
+
version: 1.3.2
|
111
111
|
type: :development
|
112
112
|
prerelease: false
|
113
|
-
version_requirements: *
|
113
|
+
version_requirements: *2152981800
|
114
114
|
description: Browser Package Manager
|
115
115
|
email:
|
116
116
|
- charles@sproutcore.com
|