given_core 3.5.3 → 3.5.4

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: ce59df4ff629baeeb933a4e7ee91df19929b98a9
4
- data.tar.gz: f72f39284346d474c35481394e6a96a4272741e4
3
+ metadata.gz: 70fc39f83d5d6d16bb421d3a0bb16325f9a56742
4
+ data.tar.gz: 48e881d871a66d7ec8d09ce0c1b828f510c0ec68
5
5
  SHA512:
6
- metadata.gz: 324771668062aff9bd5145103acf2dded71720e084c4d32f6b59d831ace49939763bd6722f664f9447da312c88da768379a24c5f6208155a905be2e64ebec9d8
7
- data.tar.gz: 429176c5359e5bc9f1256fe85fb8fa330e9323599f875601372539d321da0305f01c67fc3442153346ba43726e0521c73352ee9c1dc366c9cdacf48a62a0d1e6
6
+ metadata.gz: c66338da0dcfdea9e072ff90efc9f3245195aa332d67033ea53ef9d4c31b6b726a8e4cb8c89708cd465cb959674913f4e63de4df6684e6e06dabf26de0dbc2e1
7
+ data.tar.gz: 6e315a02c39a20c772ba2654a609488b04fa4913c4e02c8467610f07e8c469a37683b08c7dfc54d2810476eed462d5187ddb50cdbae086f8f3c28448d128e18d
data/Gemfile.lock CHANGED
@@ -4,18 +4,18 @@ GEM
4
4
  diff-lcs (1.2.5)
5
5
  minitest (4.3.2)
6
6
  rake (0.9.6)
7
- rspec (3.0.0.beta1)
8
- rspec-core (= 3.0.0.beta1)
9
- rspec-expectations (= 3.0.0.beta1)
10
- rspec-mocks (= 3.0.0.beta1)
11
- rspec-core (3.0.0.beta1)
12
- rspec-support (= 3.0.0.beta1)
13
- rspec-expectations (3.0.0.beta1)
14
- diff-lcs (>= 1.1.3, < 2.0)
15
- rspec-support (= 3.0.0.beta1)
16
- rspec-mocks (3.0.0.beta1)
17
- rspec-support (= 3.0.0.beta1)
18
- rspec-support (3.0.0.beta1)
7
+ rspec (3.0.0.beta2)
8
+ rspec-core (= 3.0.0.beta2)
9
+ rspec-expectations (= 3.0.0.beta2)
10
+ rspec-mocks (= 3.0.0.beta2)
11
+ rspec-core (3.0.0.beta2)
12
+ rspec-support (= 3.0.0.beta2)
13
+ rspec-expectations (3.0.0.beta2)
14
+ diff-lcs (>= 1.2.0, < 2.0)
15
+ rspec-support (= 3.0.0.beta2)
16
+ rspec-mocks (3.0.0.beta2)
17
+ rspec-support (= 3.0.0.beta2)
18
+ rspec-support (3.0.0.beta2)
19
19
  sorcerer (1.0.2)
20
20
 
21
21
  PLATFORMS
data/README.md CHANGED
@@ -870,6 +870,10 @@ License. See the MIT-LICENSE file in the source distribution.
870
870
 
871
871
  # History
872
872
 
873
+ * Version 3.5.4
874
+
875
+ * Accommodate the name change on RSpec's Pending exception.
876
+
873
877
  * Version 3.5.3
874
878
 
875
879
  * source_caching_disabled now hard defaults to false, rather than
@@ -24,8 +24,20 @@ module RSpec
24
24
  ::RSpec::Expectations.fail_with(*args)
25
25
  end
26
26
 
27
- def pending_error
28
- RSpec::Core::Pending::PendingDeclaredInExample
27
+ # Use the RSpec pending error if we can find it.
28
+ if defined?(RSpec::Core::Pending::PendingDeclaredInExample)
29
+ def pending_error
30
+ RSpec::Core::Pending::PendingDeclaredInExample
31
+ end
32
+ elsif defined?(RSpec::Core::Pending::SkipDeclaredInExample)
33
+ def pending_error
34
+ RSpec::Core::Pending::SkipDeclaredInExample
35
+ end
36
+ else
37
+ PendingError = Class.new(StandardError)
38
+ def pending_error
39
+ PendingError
40
+ end
29
41
  end
30
42
  end
31
43
  end
data/lib/given/version.rb CHANGED
@@ -3,7 +3,7 @@ module Given
3
3
  VERSION_NUMBERS = [
4
4
  VERSION_MAJOR = 3,
5
5
  VERSION_MINOR = 5,
6
- VERSION_BUILD = 3,
6
+ VERSION_BUILD = 4,
7
7
  ]
8
8
  VERSION = VERSION_NUMBERS.join(".")
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: given_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.3
4
+ version: 3.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Weirich
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-05 00:00:00.000000000 Z
11
+ date: 2014-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sorcerer