given_core 3.5.4 → 3.6.0

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: 70fc39f83d5d6d16bb421d3a0bb16325f9a56742
4
- data.tar.gz: 48e881d871a66d7ec8d09ce0c1b828f510c0ec68
3
+ metadata.gz: 81a55b27b471044bc3e47122ddce790fc92bf11b
4
+ data.tar.gz: b179e4e397fbdf8af463f9fc8aeb487648db7bcd
5
5
  SHA512:
6
- metadata.gz: c66338da0dcfdea9e072ff90efc9f3245195aa332d67033ea53ef9d4c31b6b726a8e4cb8c89708cd465cb959674913f4e63de4df6684e6e06dabf26de0dbc2e1
7
- data.tar.gz: 6e315a02c39a20c772ba2654a609488b04fa4913c4e02c8467610f07e8c469a37683b08c7dfc54d2810476eed462d5187ddb50cdbae086f8f3c28448d128e18d
6
+ metadata.gz: 4c9fb7d5e745e3af86aeb27821ab5bd206074b3aadcedf1ecc9aac3963a10abef885e0537901a924ac5ddb0bed169b930120ae177d9cc312d993f23cd43b972d
7
+ data.tar.gz: a0794444e365c2f259e9bd3261f2cb889df7e71e80a48dd3b63feb459c87119d4ae3253fb97854c3db847676a52205cfc27242f51a831cf176fbff5c7d18a372
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gem 'rake'
4
- gem 'rspec', '>= 2.12'
4
+ gem 'rspec', ENV['RSPEC_VERSION'] || '>= 2.14.0'
5
5
  gem 'minitest', '>= 4.3'
6
6
  gem 'sorcerer', '>= 0.3.7'
data/Gemfile.lock CHANGED
@@ -2,20 +2,20 @@ GEM
2
2
  remote: https://rubygems.org/
3
3
  specs:
4
4
  diff-lcs (1.2.5)
5
- minitest (4.3.2)
6
- rake (0.9.6)
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)
5
+ minitest (5.5.0)
6
+ rake (10.4.2)
7
+ rspec (3.1.0)
8
+ rspec-core (~> 3.1.0)
9
+ rspec-expectations (~> 3.1.0)
10
+ rspec-mocks (~> 3.1.0)
11
+ rspec-core (3.1.7)
12
+ rspec-support (~> 3.1.0)
13
+ rspec-expectations (3.1.2)
14
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)
15
+ rspec-support (~> 3.1.0)
16
+ rspec-mocks (3.1.3)
17
+ rspec-support (~> 3.1.0)
18
+ rspec-support (3.1.2)
19
19
  sorcerer (1.0.2)
20
20
 
21
21
  PLATFORMS
@@ -25,5 +25,5 @@ PLATFORMS
25
25
  DEPENDENCIES
26
26
  minitest (>= 4.3)
27
27
  rake
28
- rspec (>= 2.12)
28
+ rspec (>= 2.14.0)
29
29
  sorcerer (>= 0.3.7)
data/README.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  | Master |
4
4
  | :----: |
5
- | [![Master Build Status](https://secure.travis-ci.org/jimweirich/rspec-given.png?branch=master)](https://travis-ci.org/jimweirich/rspec-given) |
5
+ | [![Master Build Status](https://secure.travis-ci.org/rspec-given/rspec-given.png?branch=master)](https://travis-ci.org/rspec-given/rspec-given) |
6
6
 
7
- Covering rspec-given, minitest-given, and given-core, version 3.5.3.
7
+ Covering rspec-given, minitest-given, and given-core, version 3.6.0.
8
8
 
9
9
  rspec-given and minitest-given are extensions to your favorite testing
10
10
  framework to allow Given/When/Then notation when writing specs.
@@ -27,7 +27,7 @@ The rspec-given gem is the original given/when/then extension for
27
27
  RSpec. It now depends on a given_core gem for the basic functionality
28
28
  and then adds the RSpec specific code.
29
29
 
30
- * rspec-given now requires RSpec version 2.12 or better.
30
+ * rspec-given now requires RSpec version 2.14.0 or better.
31
31
 
32
32
  ### Minitest/Given
33
33
 
@@ -72,9 +72,9 @@ end
72
72
  ```
73
73
 
74
74
  See
75
- [stack_spec.rb](https://github.com/jimweirich/rspec-given/blob/minispec/examples/stack/stack_spec.rb)
75
+ [stack_spec.rb](https://github.com/rspec-given/rspec-given/blob/minispec/examples/stack/stack_spec.rb)
76
76
  and
77
- [example_helper.rb](https://github.com/jimweirich/rspec-given/blob/minispec/examples/example_helper.rb)
77
+ [example_helper.rb](https://github.com/rspec-given/rspec-given/blob/minispec/examples/example_helper.rb)
78
78
 
79
79
  ## Installation
80
80
 
@@ -870,6 +870,10 @@ License. See the MIT-LICENSE file in the source distribution.
870
870
 
871
871
  # History
872
872
 
873
+ * Version 3.6.0
874
+
875
+ * Various fixes for RSpec 3.0 (See [#1](https://github.com/rspec-given/rspec-given/pull/1))
876
+
873
877
  * Version 3.5.4
874
878
 
875
879
  * Accommodate the name change on RSpec's Pending exception.
@@ -948,7 +952,7 @@ License. See the MIT-LICENSE file in the source distribution.
948
952
 
949
953
  # Links
950
954
 
951
- * Github: [https://github.com/jimweirich/rspec-given](https://github.com/jimweirich/rspec-given)
952
- * Clone URL: git://github.com/jimweirich/rspec-given.git
953
- * Bug/Issue Reporting: [https://github.com/jimweirich/rspec-given/issues](https://github.com/jimweirich/rspec-given/issues)
954
- * Continuous Integration: [http://travis-ci.org/#!/jimweirich/rspec-given](http://travis-ci.org/#!/jimweirich/rspec-given)
955
+ * Github: [https://github.com/rspec-given/rspec-given](https://github.com/rspec-given/rspec-given)
956
+ * Clone URL: git://github.com/rspec-given/rspec-given.git
957
+ * Bug/Issue Reporting: [https://github.com/rspec-given/rspec-given/issues](https://github.com/rspec-given/rspec-given/issues)
958
+ * Continuous Integration: [http://travis-ci.org/#!/rspec-given/rspec-given](http://travis-ci.org/#!/rspec-given/rspec-given)
data/doc/main.rdoc CHANGED
@@ -4,4 +4,4 @@ rspec-given is an RSpec extension to allow Given/When/Then notation in
4
4
  RSpec specifications. It is a natural extension of the experimental
5
5
  work done on the Given framework.
6
6
 
7
- For more information see http://github.com/jimweirich/rspec-given
7
+ For more information see http://github.com/rspec-given/rspec-given
@@ -7,7 +7,7 @@ module RSpec
7
7
  class HaveFailedMatcher < RSpec::Matchers::BuiltIn::RaiseError
8
8
  def matches?(given_proc, negative_expectation = false)
9
9
  if given_proc.is_a?(::Given::Failure)
10
- super
10
+ super(lambda { given_proc.call }, negative_expectation)
11
11
  else
12
12
  super(lambda { }, negative_expectation)
13
13
  end
data/lib/given/version.rb CHANGED
@@ -2,8 +2,8 @@
2
2
  module Given
3
3
  VERSION_NUMBERS = [
4
4
  VERSION_MAJOR = 3,
5
- VERSION_MINOR = 5,
6
- VERSION_BUILD = 4,
5
+ VERSION_MINOR = 6,
6
+ VERSION_BUILD = 0,
7
7
  ]
8
8
  VERSION = VERSION_NUMBERS.join(".")
9
9
  end
data/rakelib/gemspec.rake CHANGED
@@ -48,14 +48,14 @@ EOF
48
48
  ]
49
49
 
50
50
  s.add_dependency("given_core", "= #{Given::VERSION}")
51
- s.add_dependency("rspec", ">= 2.12")
51
+ s.add_dependency("rspec", ">= 2.14.0")
52
52
 
53
53
  s.required_ruby_version = '>= 1.9.2'
54
54
  s.license = "MIT"
55
55
 
56
56
  s.author = "Jim Weirich"
57
57
  s.email = "jim.weirich@gmail.com"
58
- s.homepage = "http://github.com/jimweirich/rspec-given"
58
+ s.homepage = "http://github.com/rspec-given/rspec-given"
59
59
  s.rubyforge_project = "given"
60
60
  end
61
61
 
@@ -83,7 +83,7 @@ EOF
83
83
 
84
84
  s.author = "Jim Weirich"
85
85
  s.email = "jim.weirich@gmail.com"
86
- s.homepage = "http://github.com/jimweirich/rspec-given"
86
+ s.homepage = "http://github.com/rspec-given/rspec-given"
87
87
  s.rubyforge_project = "given"
88
88
  end
89
89
 
@@ -111,7 +111,7 @@ EOF
111
111
 
112
112
  s.author = "Jim Weirich"
113
113
  s.email = "jim.weirich@gmail.com"
114
- s.homepage = "http://github.com/jimweirich/rspec-given"
114
+ s.homepage = "http://github.com/rspec-given/rspec-given"
115
115
  s.rubyforge_project = "given"
116
116
  end
117
117
 
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.4
4
+ version: 3.6.0
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-19 00:00:00.000000000 Z
11
+ date: 2015-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sorcerer
@@ -77,7 +77,7 @@ files:
77
77
  - rakelib/gemspec.rake
78
78
  - rakelib/metrics.rake
79
79
  - rakelib/preview.rake
80
- homepage: http://github.com/jimweirich/rspec-given
80
+ homepage: http://github.com/rspec-given/rspec-given
81
81
  licenses:
82
82
  - MIT
83
83
  metadata: {}
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  version: '0'
104
104
  requirements: []
105
105
  rubyforge_project: given
106
- rubygems_version: 2.2.0
106
+ rubygems_version: 2.4.4
107
107
  signing_key:
108
108
  specification_version: 4
109
109
  summary: Core engine for RSpec::Given and Minitest::Given.