zeta 0.11.0 → 0.11.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f14cc5661832663e107efc78e72f7e817bf124de
4
- data.tar.gz: f748f3164fc950000936ba1c0315966977608cb8
3
+ metadata.gz: b69cba457e4a346a0d809dc62b25515422a70d2e
4
+ data.tar.gz: 14babaca72d3a96baa90dc0b58866cd669858553
5
5
  SHA512:
6
- metadata.gz: d7faf28bf21d80ffd55b0f0813d081b156d857fd72491e7d35a4312ed06114fdfad351b3c1d61a28c4c2802d6fc6dd0b87d6141bbc89471cb77474a8e6431e92
7
- data.tar.gz: b7bb290bae4f0796fc8cf82f8ed02bd56bd3a54f2d00ed52fb17d3fea0a0a31d22b566084dc78db4617b5d20c9a06d7bb2d169c7737ba42207a3f4effa07a5c9
6
+ metadata.gz: 61b29445a3757a71c90c353ce9018d8a815ad7e68e9ad36befe9eec8bdd41d09051f8f0aa2c532dc7ad43580219da4e558a86dae072cb1627ff894cbc5bdc402
7
+ data.tar.gz: 86ea2650f64fb872837f55bc54519e6cfdc0b537f555351ef64033523ab0f0a028643b637432ab65d26a9197a6a9ba85e48b459d6c9df31a0e486e00381c5081
data/CHANGELOG.markdown CHANGED
@@ -1,3 +1,6 @@
1
+ # 0.11.1
2
+ - Fix RSpec runner
3
+
1
4
  # 0.11.0
2
5
  - Use a lacerda version that makes optional attributes nullable by
3
6
  default. If you have an object with an optional property `foo`,
data/README.md CHANGED
@@ -239,7 +239,6 @@ Of course you'll want to have your infrastructure checked in CI. If you're using
239
239
  require_relative 'spec_helper'
240
240
 
241
241
  require 'zeta/rspec'
242
- Zeta::RSpec.update_contracts
243
242
  Zeta::RSpec.run
244
243
  ```
245
244
 
data/lib/zeta/rspec.rb CHANGED
@@ -3,14 +3,7 @@ require 'zeta'
3
3
 
4
4
  # Include this file in your spec/spec_helper.rb
5
5
  class Zeta::RSpec
6
- def self.ensure_contracts_present(force = false)
7
- Zeta.verbose = false
8
- if force || !File.directory?(Zeta.cache_dir)
9
- update_contracts
10
- end
11
- end
12
-
13
- def self.update_contracts
6
+ def self.run
14
7
  RSpec.describe "Update Zeta infrastructure once" do
15
8
  it "download infrastructure" do
16
9
  expect{
@@ -20,16 +13,14 @@ class Zeta::RSpec
20
13
 
21
14
  it "download specifications" do
22
15
  expect{
16
+ # Zeta.verbose = false
23
17
  Zeta.update_contracts
24
18
  }.to_not raise_error
25
19
  end
26
- end
27
- end
28
20
 
29
- def self.run
30
- Zeta.verbose = false
31
- ensure_contracts_present
32
- Zeta.update_own_contracts
33
- Zeta.contracts_fulfilled?(Lacerda::Reporters::RSpec.new)
21
+ it "validate infrastructure" do
22
+ Zeta.contracts_fulfilled?(Lacerda::Reporters::RSpec.new)
23
+ end
24
+ end
34
25
  end
35
26
  end
data/lib/zeta/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Zeta
2
- VERSION = "0.11.0"
2
+ VERSION = "0.11.1"
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: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jannis Hermanns
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-27 00:00:00.000000000 Z
11
+ date: 2016-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake