dpl-rubygems 1.9.0 → 1.9.1.travis.2589.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/spec/provider/rubygems_spec.rb +4 -11
- metadata +12 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 8992c37954b2ebbd8910ab95319518afc5d4564d15fc171aba648ea89a3ae946
|
4
|
+
data.tar.gz: 72872656ddf4b4204f4981351e38b7382bc44b300c369b08dadef5f44f286219
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e571d9dfb07830f7ea1b0ed482f9870c8cf445045ce2e5937fdfa35fc44f02deb46a497bbcda053bb5ab2dc6aee8c6c737890ebfaf1df6a724b35209670f094c
|
7
|
+
data.tar.gz: f39f4664e59e8bc0bfc779cd43c86c3b242c9631d8731c1a3d7571f31dc545c5b78a789df9078f28c972ccfc44e537a5882e651a4e3e5c021c5e45e953389fd6
|
@@ -50,38 +50,31 @@ describe DPL::Provider::RubyGems do
|
|
50
50
|
|
51
51
|
example "with options[:app]" do
|
52
52
|
provider.options.update(:app => 'example')
|
53
|
-
expect(provider.context).to receive(:shell).with("
|
53
|
+
expect(provider.context).to receive(:shell).with("gem build example.gemspec")
|
54
54
|
expect(Dir).to receive(:glob).with('example-*.gem').and_yield('File')
|
55
55
|
expect(::Gems).to receive(:push).with('Test file').and_return('Yes!')
|
56
56
|
end
|
57
57
|
|
58
58
|
example "with options[:gem]" do
|
59
59
|
provider.options.update(:gem => 'example-gem')
|
60
|
-
expect(provider.context).to receive(:shell).with("
|
60
|
+
expect(provider.context).to receive(:shell).with("gem build example-gem.gemspec")
|
61
61
|
expect(Dir).to receive(:glob).with('example-gem-*.gem').and_yield('File')
|
62
62
|
expect(::Gems).to receive(:push).with('Test file').and_return('Yes!')
|
63
63
|
end
|
64
64
|
|
65
65
|
example "with options[:gemspec]" do
|
66
66
|
provider.options.update(:gemspec => 'blah.gemspec')
|
67
|
-
expect(provider.context).to receive(:shell).with("
|
67
|
+
expect(provider.context).to receive(:shell).with("gem build blah.gemspec")
|
68
68
|
expect(Dir).to receive(:glob).with('blah-*.gem').and_yield('File')
|
69
69
|
expect(::Gems).to receive(:push).with('Test file').and_return('Yes!')
|
70
70
|
end
|
71
71
|
|
72
72
|
example "with options[:host]" do
|
73
73
|
provider.options.update(:host => 'http://example.com')
|
74
|
-
expect(provider.context).to receive(:shell).with("
|
74
|
+
expect(provider.context).to receive(:shell).with("gem build example.gemspec")
|
75
75
|
expect(Dir).to receive(:glob).with('example-*.gem').and_yield('File')
|
76
76
|
expect(::Gems).to receive(:push).with('Test file', host='http://example.com').and_return('Yes!')
|
77
77
|
end
|
78
|
-
|
79
|
-
example "with options[:gemspec_glob]" do
|
80
|
-
provider.options.update(:gemspec_glob => 'example-*.gemspec')
|
81
|
-
expect(provider.context).to receive(:shell).with("for f in example-*.gemspec; do gem build $f; done")
|
82
|
-
expect(Dir).to receive(:glob).with('example-*.gem').and_yield('File')
|
83
|
-
expect(::Gems).to receive(:push).with('Test file').and_return('Yes!')
|
84
|
-
end
|
85
78
|
end
|
86
79
|
|
87
80
|
describe "#setup_gem" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dpl-rubygems
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.1.travis.2589.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konstantin Haase
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dpl
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.9.
|
19
|
+
version: 1.9.1.travis.2589.5
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.9.
|
26
|
+
version: 1.9.1.travis.2589.5
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: gems
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -42,16 +42,16 @@ dependencies:
|
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 3.0.0
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 3.0.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec-its
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,20 +122,6 @@ dependencies:
|
|
122
122
|
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: highline
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - ">="
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - ">="
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '0'
|
139
125
|
description: deploy tool abstraction for clients
|
140
126
|
email: konstantin.mailinglists@googlemail.com
|
141
127
|
executables: []
|
@@ -160,14 +146,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
160
146
|
version: '2.2'
|
161
147
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
162
148
|
requirements:
|
163
|
-
- - "
|
149
|
+
- - ">"
|
164
150
|
- !ruby/object:Gem::Version
|
165
|
-
version:
|
151
|
+
version: 1.3.1
|
166
152
|
requirements: []
|
167
153
|
rubyforge_project:
|
168
|
-
rubygems_version: 2.6
|
154
|
+
rubygems_version: 2.7.6
|
169
155
|
signing_key:
|
170
156
|
specification_version: 4
|
171
157
|
summary: deploy tool
|
172
|
-
test_files:
|
173
|
-
- spec/provider/rubygems_spec.rb
|
158
|
+
test_files: []
|