zeta 2.1.2 → 2.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f1b45f041471de08223d29130c6f63a07ab5a7f2
4
- data.tar.gz: f2d3f4357da410840ea839511f47120eaed0bc21
3
+ metadata.gz: a45703583ed25aabb358d77cf687f55cf62738e9
4
+ data.tar.gz: cd89ce25611082878a20d2ec3db6e5c7690fc80f
5
5
  SHA512:
6
- metadata.gz: 8f47ca58b63a2a932b2c24f05949d0ed12ac0153ebc80bfc9e182036f992d4b1a4549b9ef686467b3e936179a530213abf96dc060fc6465db17547e91aed0021
7
- data.tar.gz: f82c61c32d425409c7c0d277a3bda8d667c20a0d9bc6f5347332c4fd3418120da08153b0cdf93e30e8ad4deb71eae37d2aae82d67081556e930ecb2cb766368a
6
+ metadata.gz: 2028a0ef10dfe1663ba47981c403433114abf2cdb296dbcac222ca5d2946041a8ae4aed48a048324b15691ba84242c76fc6e043052ec1346a160ef21f080de25
7
+ data.tar.gz: bc7d9454ad2a01a71ac70a8a08b5288558eb557e3eab5806416e1a96fc4cea20e05aaaada0a2dec1902b1fd3b21f1d5a38473a135a808afcfea5469cc949e7e2
@@ -1,3 +1,6 @@
1
+ # 2.1.3
2
+ - ...Remove contexts, because that doesn't work either.
3
+
1
4
  # 2.1.2
2
5
  - Add a context to prevent rspec from running context before other tests in autorun_all
3
6
 
@@ -7,23 +7,27 @@ if defined?(Rails) && ENV['ZETA_HTTP_USER'].blank? && ENV['ZETA_HTTP_PASSWORD'].
7
7
  end
8
8
 
9
9
  RSpec.describe 'Zeta infrastructure', order: :defined do
10
- context 'the current service' do
11
- it 'is correctly configured' do
12
- expect do
13
- Zeta.config
14
- Zeta.infrastructure
15
- end.to_not raise_error
16
- end
10
+ it 'is correctly configured' do
11
+ expect do
12
+ Zeta.config
13
+ Zeta.infrastructure
14
+ end.to_not raise_error
15
+ end
17
16
 
18
- it 'can download the infrastructure contracts (requires network connection)' do
19
- expect do
20
- Zeta.verbose = false
21
- Zeta.update_contracts
22
- end.to_not raise_error
23
- end
17
+ it 'can download the infrastructure contracts (requires network connection)' do
18
+ expect do
19
+ Zeta.verbose = false
20
+ Zeta.update_contracts
21
+ end.to_not raise_error
24
22
  end
25
23
 
26
- context 'contract validation' do
27
- Zeta.contracts_fulfilled?(Lacerda::Reporters::RSpec.new(self))
24
+ # This is a bit odd. The RSpec reporter declares new describes inside. That
25
+ # fails usually in RSpec, but not in the way we're doing it.
26
+ # We need it because if this `it` would be a `context`, `contracts_fulfilled?`
27
+ # would be already evaluated before the previous examples run. This would
28
+ # make that this example fails, because the contracts have not been
29
+ # downloaded yet
30
+ it 'has a valid infrastructure' do
31
+ expect(Zeta.contracts_fulfilled?(Lacerda::Reporters::RSpec.new)).to eq true
28
32
  end
29
33
  end
@@ -1,3 +1,3 @@
1
1
  class Zeta
2
- VERSION = "2.1.2"
2
+ VERSION = "2.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zeta
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jannis Hermanns
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-29 00:00:00.000000000 Z
11
+ date: 2017-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake