zeta 2.1.2 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.markdown +3 -0
- data/lib/zeta/rspec/autorun_all.rb +19 -15
- data/lib/zeta/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a45703583ed25aabb358d77cf687f55cf62738e9
|
4
|
+
data.tar.gz: cd89ce25611082878a20d2ec3db6e5c7690fc80f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2028a0ef10dfe1663ba47981c403433114abf2cdb296dbcac222ca5d2946041a8ae4aed48a048324b15691ba84242c76fc6e043052ec1346a160ef21f080de25
|
7
|
+
data.tar.gz: bc7d9454ad2a01a71ac70a8a08b5288558eb557e3eab5806416e1a96fc4cea20e05aaaada0a2dec1902b1fd3b21f1d5a38473a135a808afcfea5469cc949e7e2
|
data/CHANGELOG.markdown
CHANGED
@@ -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
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
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
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
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
|
-
|
27
|
-
|
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
|
data/lib/zeta/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2017-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|