rutabaga 0.2.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -18
- data/CHANGELOG.md +6 -0
- data/README.md +12 -1
- data/lib/rutabaga/feature.rb +1 -7
- data/lib/rutabaga/version.rb +1 -1
- data/rutabaga.gemspec +1 -1
- metadata +12 -19
- data/Gemfile_rspec_2_14 +0 -5
- data/Gemfile_turnip_1_2_4 +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 547b7485f528f7252565c2bec92ffe22494f08c9
|
4
|
+
data.tar.gz: 6584d74700984a895c43316e4b51ae863cc6f4ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4583d3ed0b60b7cb05f6ed17894ec833cb1b8dde9671880be2dc44cb8075c948dfa119112a282ef85b75c93927195daaac64b407afbb456b5ee591159c41dbae
|
7
|
+
data.tar.gz: 5fe7c7f08763cf41a28eff3a78937cc2caac4d8344fbe5415b87b7e99174afdef47b81b447503ee48c1188b6af76c3a948a39267937c4cbc7fc160651b0c7d70
|
data/.travis.yml
CHANGED
@@ -7,23 +7,5 @@ rvm:
|
|
7
7
|
|
8
8
|
gemfile:
|
9
9
|
- Gemfile
|
10
|
-
- Gemfile_turnip_1_2_4
|
11
|
-
- Gemfile_rspec_2_14
|
12
|
-
|
13
|
-
# Run the full suite against ruby 2.0.0 only
|
14
|
-
matrix:
|
15
|
-
exclude:
|
16
|
-
- rvm: 2.0.0
|
17
|
-
gemfile: Gemfile_turnip_1_2_4
|
18
|
-
- rvm: 2.1.7
|
19
|
-
gemfile: Gemfile_turnip_1_2_4
|
20
|
-
- rvm: jruby-19mode
|
21
|
-
gemfile: Gemfile_turnip_1_2_4
|
22
|
-
- rvm: 2.0.0
|
23
|
-
gemfile: Gemfile_rspec_2_14
|
24
|
-
- rvm: 2.1.7
|
25
|
-
gemfile: Gemfile_rspec_2_14
|
26
|
-
- rvm: jruby-19mode
|
27
|
-
gemfile: Gemfile_rspec_2_14
|
28
10
|
|
29
11
|
script: bundle exec rspec spec
|
data/CHANGELOG.md
ADDED
data/README.md
CHANGED
@@ -149,6 +149,17 @@ My goal is to test just the business rule, in Turnip, and not the login, the htm
|
|
149
149
|
|
150
150
|
Use `gem-release` to maintain versions https://github.com/svenfuchs/gem-release.
|
151
151
|
|
152
|
+
## Testing alternate versions
|
153
|
+
|
154
|
+
Put the following (example in a `Gemfile_for_xxx`) to test other versions of gems.
|
155
|
+
|
156
|
+
```
|
157
|
+
# Use global Gemfile and customize
|
158
|
+
eval(IO.read('Gemfile'), binding)
|
159
|
+
|
160
|
+
gem 'turnip', '1.2.4'
|
161
|
+
```
|
162
|
+
|
152
163
|
## Copyright
|
153
164
|
|
154
|
-
Copyright © 2012 Simply Business. See LICENSE for details.
|
165
|
+
Copyright © 2012-2015 Simply Business. See LICENSE for details.
|
data/lib/rutabaga/feature.rb
CHANGED
@@ -56,14 +56,8 @@ module Rutabaga
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
# For compatibility with rspec 2 and rspec 3. RSpec.current_example was added late in
|
60
|
-
# the rspec 2 cycle.
|
61
59
|
def get_example
|
62
|
-
|
63
|
-
@example ||= RSpec.current_example
|
64
|
-
rescue NameError => e
|
65
|
-
@example ||= example
|
66
|
-
end
|
60
|
+
@example ||= RSpec.current_example
|
67
61
|
end
|
68
62
|
end
|
69
63
|
end
|
data/lib/rutabaga/version.rb
CHANGED
data/rutabaga.gemspec
CHANGED
metadata
CHANGED
@@ -1,47 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rutabaga
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lukas Oberhuber
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: turnip
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 1.1.0
|
20
|
-
- - <
|
17
|
+
- - ">="
|
21
18
|
- !ruby/object:Gem::Version
|
22
19
|
version: '2.0'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 1.1.0
|
30
|
-
- - <
|
24
|
+
- - ">="
|
31
25
|
- !ruby/object:Gem::Version
|
32
26
|
version: '2.0'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: pry
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
36
30
|
requirements:
|
37
|
-
- - ~>
|
31
|
+
- - "~>"
|
38
32
|
- !ruby/object:Gem::Version
|
39
33
|
version: '0'
|
40
34
|
type: :development
|
41
35
|
prerelease: false
|
42
36
|
version_requirements: !ruby/object:Gem::Requirement
|
43
37
|
requirements:
|
44
|
-
- - ~>
|
38
|
+
- - "~>"
|
45
39
|
- !ruby/object:Gem::Version
|
46
40
|
version: '0'
|
47
41
|
description: Allows using feature from within RSpec and is built on top of Turnip
|
@@ -51,11 +45,10 @@ executables: []
|
|
51
45
|
extensions: []
|
52
46
|
extra_rdoc_files: []
|
53
47
|
files:
|
54
|
-
- .gitignore
|
55
|
-
- .travis.yml
|
48
|
+
- ".gitignore"
|
49
|
+
- ".travis.yml"
|
50
|
+
- CHANGELOG.md
|
56
51
|
- Gemfile
|
57
|
-
- Gemfile_rspec_2_14
|
58
|
-
- Gemfile_turnip_1_2_4
|
59
52
|
- LICENSE
|
60
53
|
- README.md
|
61
54
|
- Rakefile
|
@@ -81,17 +74,17 @@ require_paths:
|
|
81
74
|
- lib
|
82
75
|
required_ruby_version: !ruby/object:Gem::Requirement
|
83
76
|
requirements:
|
84
|
-
- -
|
77
|
+
- - ">="
|
85
78
|
- !ruby/object:Gem::Version
|
86
79
|
version: '0'
|
87
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
81
|
requirements:
|
89
|
-
- -
|
82
|
+
- - ">="
|
90
83
|
- !ruby/object:Gem::Version
|
91
84
|
version: '0'
|
92
85
|
requirements: []
|
93
86
|
rubyforge_project:
|
94
|
-
rubygems_version: 2.4.
|
87
|
+
rubygems_version: 2.4.5
|
95
88
|
signing_key:
|
96
89
|
specification_version: 4
|
97
90
|
summary: Calling Turnip feature files from RSpec, which allows encapsulating a feature
|
data/Gemfile_rspec_2_14
DELETED
data/Gemfile_turnip_1_2_4
DELETED