rutabaga 2.1.4 → 2.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -1
- data/lib/rspec/core/example_group_patch.rb +4 -6
- data/lib/rutabaga/version.rb +1 -1
- data/rutabaga.gemspec +1 -1
- metadata +3 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 445a9b995c8ec4a5bf006244a585251f04b6ff6c
|
4
|
+
data.tar.gz: 43a6907c291182f94ad1b2982c5fd6ee565cf856
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e560ad2a637c4d23099af42be3588decfd50881366b594cd8e72a43aa1cd2735d4fcd71c91d4602c359a96a946bf69604f173a539be8fcf8be036e7926aacd3
|
7
|
+
data.tar.gz: bd95e6e5c6810b13bf7aecfb1bd8e0a146b0dbf58c47bf725d4cccc1a58bc2fa918135a4d8b06cd7e64b4eb433fa5b334f378cfcb43be3b74cd363f28b45cf7f
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -18,13 +18,11 @@ class RSpec::Core::ExampleGroup
|
|
18
18
|
class << self
|
19
19
|
alias_method :orig_subclass, :subclass
|
20
20
|
|
21
|
-
def subclass(parent, description,
|
22
|
-
|
23
|
-
|
24
|
-
if args.any? { |arg| arg.kind_of?(Hash) && arg[:rutabaga] }
|
25
|
-
Rutabaga::ExampleGroup::Feature.feature(describe, description, args)
|
26
|
-
end
|
21
|
+
def subclass(parent, description, *all_args, &example_group_block)
|
22
|
+
rutabaga = all_args.first.any? { |arg| arg.kind_of?(Hash) && arg[:rutabaga] }
|
27
23
|
|
24
|
+
self.orig_subclass(parent, description, *all_args, &example_group_block).tap do |describe|
|
25
|
+
Rutabaga::ExampleGroup::Feature.feature(describe, description, all_args.last) if rutabaga
|
28
26
|
end
|
29
27
|
end
|
30
28
|
end
|
data/lib/rutabaga/version.rb
CHANGED
data/rutabaga.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
|
|
17
17
|
gem.license = 'MIT'
|
18
18
|
|
19
19
|
gem.add_runtime_dependency 'turnip', ['~> 2.1','>= 2.1.1']
|
20
|
-
gem.add_runtime_dependency 'rspec', ['
|
20
|
+
gem.add_runtime_dependency 'rspec', ['~> 3.0']
|
21
21
|
|
22
22
|
gem.add_development_dependency 'capybara'
|
23
23
|
gem.add_development_dependency 'pry', '~> 0'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rutabaga
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lukas Oberhuber
|
@@ -34,22 +34,16 @@ dependencies:
|
|
34
34
|
name: rspec
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - "
|
37
|
+
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
39
|
version: '3.0'
|
40
|
-
- - "<"
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: '3.5'
|
43
40
|
type: :runtime
|
44
41
|
prerelease: false
|
45
42
|
version_requirements: !ruby/object:Gem::Requirement
|
46
43
|
requirements:
|
47
|
-
- - "
|
44
|
+
- - "~>"
|
48
45
|
- !ruby/object:Gem::Version
|
49
46
|
version: '3.0'
|
50
|
-
- - "<"
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: '3.5'
|
53
47
|
- !ruby/object:Gem::Dependency
|
54
48
|
name: capybara
|
55
49
|
requirement: !ruby/object:Gem::Requirement
|