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.
Files changed (3) hide show
  1. checksums.yaml +5 -5
  2. data/spec/provider/rubygems_spec.rb +4 -11
  3. metadata +12 -27
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: efb4bab678c21568ea8585876b39045f3a1f93da
4
- data.tar.gz: 5ef58bbe4c2e2458017bb8cdd64a12b7ebaf889e
2
+ SHA256:
3
+ metadata.gz: 8992c37954b2ebbd8910ab95319518afc5d4564d15fc171aba648ea89a3ae946
4
+ data.tar.gz: 72872656ddf4b4204f4981351e38b7382bc44b300c369b08dadef5f44f286219
5
5
  SHA512:
6
- metadata.gz: 60bcd27b0bdff6af52ea50b5f042fc3371a7e5b3803c89c4162bc04d3e729b54e187601d217b61da1aa8b59b327ab07ac30ff79a06b12e656eaf66680a322367
7
- data.tar.gz: 30877af5aa02bcd06777d34eb0f9bd218a1c9cc1a06b4c13826d92fed65010da4bfc7ee54400c350b6fcdc78f62fcc32d9f97b1cd1a3523069a859b3af8bdfe7
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("for f in example.gemspec; do gem build $f; done")
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("for f in example-gem.gemspec; do gem build $f; done")
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("for f in blah.gemspec; do gem build $f; done")
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("for f in example.gemspec; do gem build $f; done")
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.0
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-03-08 00:00:00.000000000 Z
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.0
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.0
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: '0'
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: '0'
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: '0'
151
+ version: 1.3.1
166
152
  requirements: []
167
153
  rubyforge_project:
168
- rubygems_version: 2.6.13
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: []