knapsack_pro 0.50.0 → 0.50.1

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: 48df13c28fe99e21992658e00e7060cd95ceceb9
4
- data.tar.gz: fc702b3965c812d79fa8c936fdb234c1a1c90cd0
3
+ metadata.gz: f32dbba867743ab3b02ad56fe56507c7bdef81df
4
+ data.tar.gz: 3e08b6ad44aac4d400e92caef47897c2163b5998
5
5
  SHA512:
6
- metadata.gz: 7c855dd55ca4d8911d9b747e63a0d98911674b00fe40696efe4e840950d9892e03e3983d4be87ef75f1e58874e289ee6cce5c8eeea331f1d5dccc9dd70014b4a
7
- data.tar.gz: b7811b63a66b9b0f9c133dbf1151a66ea3b6ceb46ae4184ffb6d733573a320281fd534cbedda9ad8b674ddb0b792e657c37cbe98a9c1cb12a280226b76d7bf98
6
+ metadata.gz: 2339de8c7ef40f0ee30c5c57582641d599b7bcff66e639075e8feaebdd9a7ec7d231db3191d1b4f485f46a77aa29736fe2cb67612976c28455fbb82853c81be8
7
+ data.tar.gz: 60aabaa69b57233e94f76034c9fb4484ddcab86cd70ccc90ddbe80ca78303df65ee5a4cec1fc4bddf84eefc19f7d7d9c5418ffbb5ca3b54a36b20f78cba99ebf
data/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  * TODO
4
4
 
5
+ ### 0.50.1
6
+
7
+ * Update RSpec timing adapter to be more resilient.
8
+
9
+ https://github.com/KnapsackPro/knapsack_pro-ruby/pull/52
10
+
11
+ https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v0.50.0...v0.50.1
12
+
5
13
  ### 0.50.0
6
14
 
7
15
  * Add support for Codeship environment variables.
data/knapsack_pro.gemspec CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.add_dependency 'rake', '>= 0'
22
22
 
23
23
  spec.add_development_dependency 'bundler', '~> 1.6'
24
- spec.add_development_dependency 'rspec', '~> 3.0', '>= 2.0.0'
24
+ spec.add_development_dependency 'rspec', '~> 3.0', '>= 2.10.0'
25
25
  spec.add_development_dependency 'rspec-its', '~> 1.2'
26
26
  spec.add_development_dependency 'cucumber', '>= 0'
27
27
  spec.add_development_dependency 'spinach', '>= 0.8'
@@ -21,7 +21,7 @@ module KnapsackPro
21
21
 
22
22
  def bind_time_tracker
23
23
  ::RSpec.configure do |config|
24
- config.before(:each) do
24
+ config.prepend_before(:each) do
25
25
  current_example_group =
26
26
  if ::RSpec.respond_to?(:current_example)
27
27
  ::RSpec.current_example.metadata[:example_group]
@@ -32,7 +32,7 @@ module KnapsackPro
32
32
  KnapsackPro.tracker.start_timer
33
33
  end
34
34
 
35
- config.after(:each) do
35
+ config.append_after(:each) do
36
36
  KnapsackPro.tracker.stop_timer
37
37
  end
38
38
 
@@ -1,3 +1,3 @@
1
1
  module KnapsackPro
2
- VERSION = '0.50.0'
2
+ VERSION = '0.50.1'
3
3
  end
@@ -80,8 +80,8 @@ describe KnapsackPro::Adapters::RSpecAdapter do
80
80
  end
81
81
 
82
82
  it do
83
- expect(config).to receive(:before).with(:each).and_yield
84
- expect(config).to receive(:after).with(:each).and_yield
83
+ expect(config).to receive(:prepend_before).with(:each).and_yield
84
+ expect(config).to receive(:append_after).with(:each).and_yield
85
85
  expect(config).to receive(:after).with(:suite).and_yield
86
86
  expect(::RSpec).to receive(:configure).and_yield(config)
87
87
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knapsack_pro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.50.0
4
+ version: 0.50.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ArturT
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-24 00:00:00.000000000 Z
11
+ date: 2017-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -47,7 +47,7 @@ dependencies:
47
47
  version: '3.0'
48
48
  - - ">="
49
49
  - !ruby/object:Gem::Version
50
- version: 2.0.0
50
+ version: 2.10.0
51
51
  type: :development
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
@@ -57,7 +57,7 @@ dependencies:
57
57
  version: '3.0'
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
- version: 2.0.0
60
+ version: 2.10.0
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: rspec-its
63
63
  requirement: !ruby/object:Gem::Requirement