pickle 0.6.1 → 0.7.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
  SHA256:
3
- metadata.gz: f34526ae76a0b88ab46f94922f171eeedf1e981b8ee66fc578ceb8f4cb72f77b
4
- data.tar.gz: c6a954b1a1c00a03257456997ff35c1de7e906c549e19cb1e0d8a58159acde1d
3
+ metadata.gz: fc9d8f8d209f4d250d8f0b820a1f5273632a15729f5d8b21e5c533a7fb6b7cf4
4
+ data.tar.gz: 88ab225ac2ab8da11d4b78501703f1c77d8ca16ea93e70ab5516ef6b4a82f5ca
5
5
  SHA512:
6
- metadata.gz: e088d8bd67ccda647a98b841dd26db5c542bdb434e377d6f73e6c9c982f59b35a1adb5ea82f22623faeff1c62cdff6c752fa07f6df7e87cac921d5eca74c8975
7
- data.tar.gz: 8241e6550e58e7260b7c640524ff504d23db306558633f52c2c9d38dcfb2636dcc9ec7faa4471dcfc19849659cc63d0a3af34490f2a1cfe1654d4fde48932f8f
6
+ metadata.gz: 846cc2313a08d9dbbfb706e531a61a9d1d9619bcaac615651ce431806f294c41b5a99c0675126500cfa76df813acdf426405547c0193cabc45c6ffc83fb8e69d
7
+ data.tar.gz: b5b42db01934c9fea6e78a4b4dd633656f5cc020fe92bddff9176b5b084b1d847376356d71a5aeb042071f58bd58b555029ccf782cb983fa7e43de1ae608bfd0
@@ -16,7 +16,8 @@ jobs:
16
16
  fail-fast: false
17
17
  matrix:
18
18
  ruby:
19
- - 3.0
19
+ - '3.1'
20
+ - '3.0'
20
21
  - 2.7
21
22
  - 2.6
22
23
  - 2.5
@@ -38,6 +39,11 @@ jobs:
38
39
  # Cucumber 6
39
40
  - Gemfile-rails.6.0.x-cukes-6
40
41
  - Gemfile-rails.6.1.x-cukes-6
42
+ - Gemfile-rails.7.0.x-cukes-6
43
+ # Cucumber 7
44
+ - Gemfile-rails.6.0.x-cukes-7
45
+ - Gemfile-rails.6.1.x-cukes-7
46
+ - Gemfile-rails.7.0.x-cukes-7
41
47
  # Edge
42
48
  - Gemfile-rails.edge
43
49
  exclude:
@@ -46,10 +52,48 @@ jobs:
46
52
  ruby: 2.6
47
53
  - gemfile: Gemfile-rails.edge
48
54
  ruby: 2.5
55
+ - gemfile: Gemfile-rails.7.0.x-cukes-7
56
+ ruby: 2.6
57
+ - gemfile: Gemfile-rails.7.0.x-cukes-7
58
+ ruby: 2.5
59
+ - gemfile: Gemfile-rails.7.0.x-cukes-6
60
+ ruby: 2.6
61
+ - gemfile: Gemfile-rails.7.0.x-cukes-6
62
+ ruby: 2.5
49
63
  - gemfile: Gemfile-rails.4.2.x
50
64
  ruby: 2.7
51
65
  - gemfile: Gemfile-rails.4.2.x
52
- ruby: 3.0
66
+ ruby: '3.0'
67
+ - gemfile: Gemfile-rails.4.2.x
68
+ ruby: '3.1'
69
+ - gemfile: Gemfile-rails.5.0.x
70
+ ruby: '3.1'
71
+ - gemfile: Gemfile-rails.5.1.x
72
+ ruby: '3.1'
73
+ - gemfile: Gemfile-rails.5.2.x
74
+ ruby: '3.1'
75
+ - gemfile: Gemfile-rails.6.0.x-cukes-3
76
+ ruby: '3.1'
77
+ - gemfile: Gemfile-rails.6.1.x-cukes-3
78
+ ruby: '3.1'
79
+ - gemfile: Gemfile-rails.5.2.x-cukes-4
80
+ ruby: '3.1'
81
+ - gemfile: Gemfile-rails.6.0.x-cukes-4
82
+ ruby: '3.1'
83
+ - gemfile: Gemfile-rails.5.2.x-cukes-5
84
+ ruby: '3.1'
85
+ - gemfile: Gemfile-rails.6.0.x-cukes-5
86
+ ruby: '3.1'
87
+ - gemfile: Gemfile-rails.6.1.x-cukes-5
88
+ ruby: '3.1'
89
+ - gemfile: Gemfile-rails.6.0.x-cukes-6
90
+ ruby: '3.1'
91
+ - gemfile: Gemfile-rails.6.1.x-cukes-6
92
+ ruby: '3.1'
93
+ - gemfile: Gemfile-rails.6.0.x-cukes-7
94
+ ruby: '3.1'
95
+ - gemfile: Gemfile-rails.6.1.x-cukes-7
96
+ ruby: '3.1'
53
97
 
54
98
  env:
55
99
  BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}
data/History.txt CHANGED
@@ -1,3 +1,15 @@
1
+ == 0.7.1
2
+ * Eliminate noisy warning: =~ called on Array objects.
3
+
4
+ == 0.7.0
5
+ * Rails 7.0.x support.
6
+
7
+ == 0.6.2
8
+ * Relax dependency to support cucumber 7.x
9
+
10
+ == 0.6.1
11
+ * Relax dependency to support cucumber 6.x
12
+
1
13
  == 0.6.0
2
14
  * Drop support for cucumber < 3
3
15
  * Officially support cucumber 4.1
data/README.md CHANGED
@@ -17,7 +17,8 @@ Cucumber 2.x - support was dropped from release 0.6.0
17
17
  Cucumber 3.x - support is best-effort basis, but tests run on rails 4.2 all the way until 6.1
18
18
  Cucumber 4.x - should work with all Rails 5.x versions, tests only run for 5.2 and 6.0
19
19
  Cucumber 5.x - all tests pass for rails 5.2, 6.0 and 6.1
20
- Cucumber 6.x - all tests pass for rails 6.0 and 6.1
20
+ Cucumber 6.x - all tests pass for rails 6.0, 6.1 and 7.0
21
+ Cucumber 7.x - all tests pass for rails 6.0, 6.1 and 7.0
21
22
 
22
23
  Please open pull-requests with fixes if you encounter any problems.
23
24
  No active development on this gem.
@@ -1,4 +1,4 @@
1
- source "http://rubygems.org"
1
+ source "https://rubygems.org"
2
2
 
3
3
  # Bundler 1.x default to insecure http:// for github: shortcut
4
4
  git_source(:github){ |repo_name| "https://github.com/#{repo_name}.git" }
@@ -8,12 +8,12 @@ GIT
8
8
  PATH
9
9
  remote: ..
10
10
  specs:
11
- pickle (0.6.1)
12
- cucumber (>= 3.0, < 7.0)
11
+ pickle (0.7.1)
12
+ cucumber (>= 3.0, < 8.0)
13
13
  rake
14
14
 
15
15
  GEM
16
- remote: http://rubygems.org/
16
+ remote: https://rubygems.org/
17
17
  specs:
18
18
  actionmailer (4.2.11.3)
19
19
  actionpack (= 4.2.11.3)
@@ -49,10 +49,10 @@ GEM
49
49
  minitest (~> 5.1)
50
50
  thread_safe (~> 0.3, >= 0.3.4)
51
51
  tzinfo (~> 1.1)
52
- addressable (2.7.0)
52
+ addressable (2.8.0)
53
53
  public_suffix (>= 2.0.2, < 5.0)
54
54
  arel (6.0.4)
55
- backports (3.21.0)
55
+ backports (3.23.0)
56
56
  builder (3.2.4)
57
57
  capybara (3.35.3)
58
58
  addressable
@@ -62,9 +62,9 @@ GEM
62
62
  rack-test (>= 0.6.3)
63
63
  regexp_parser (>= 1.5, < 3.0)
64
64
  xpath (~> 3.2)
65
- codecov (0.5.2)
65
+ codecov (0.6.0)
66
66
  simplecov (>= 0.15, < 0.22)
67
- concurrent-ruby (1.1.9)
67
+ concurrent-ruby (1.1.10)
68
68
  crass (1.0.6)
69
69
  cucumber (3.2.0)
70
70
  builder (>= 2.1.2)
@@ -89,37 +89,37 @@ GEM
89
89
  cucumber-tag_expressions (1.1.1)
90
90
  cucumber-wire (0.0.1)
91
91
  database_cleaner (1.99.0)
92
- diff-lcs (1.4.4)
92
+ diff-lcs (1.5.0)
93
93
  docile (1.4.0)
94
94
  erubis (2.7.0)
95
95
  factory_bot (5.2.0)
96
96
  activesupport (>= 4.2.0)
97
97
  gherkin (5.1.0)
98
- git (1.8.1)
98
+ git (1.10.2)
99
99
  rchardet (~> 1.8)
100
100
  globalid (0.4.2)
101
101
  activesupport (>= 4.2.0)
102
102
  i18n (0.9.5)
103
103
  concurrent-ruby (~> 1.0)
104
- loofah (2.10.0)
104
+ loofah (2.15.0)
105
105
  crass (~> 1.0.2)
106
106
  nokogiri (>= 1.5.9)
107
107
  machinist (2.0)
108
108
  mail (2.7.1)
109
109
  mini_mime (>= 0.1.1)
110
- mime-types (3.3.1)
110
+ mime-types (3.4.1)
111
111
  mime-types-data (~> 3.2015)
112
- mime-types-data (3.2021.0225)
113
- mini_mime (1.1.0)
114
- mini_portile2 (2.5.3)
115
- minitest (5.14.4)
112
+ mime-types-data (3.2022.0105)
113
+ mini_mime (1.1.2)
114
+ mini_portile2 (2.6.1)
115
+ minitest (5.15.0)
116
116
  multi_json (1.15.0)
117
117
  multi_test (0.1.2)
118
- nokogiri (1.11.7)
119
- mini_portile2 (~> 2.5.0)
118
+ nokogiri (1.12.5)
119
+ mini_portile2 (~> 2.6.1)
120
120
  racc (~> 1.4)
121
121
  public_suffix (4.0.6)
122
- racc (1.5.2)
122
+ racc (1.6.0)
123
123
  rack (1.6.13)
124
124
  rack-test (0.6.3)
125
125
  rack (>= 1.0)
@@ -140,16 +140,16 @@ GEM
140
140
  activesupport (>= 4.2.0, < 5.0)
141
141
  nokogiri (~> 1.6)
142
142
  rails-deprecated_sanitizer (>= 1.0.1)
143
- rails-html-sanitizer (1.3.0)
143
+ rails-html-sanitizer (1.4.2)
144
144
  loofah (~> 2.3)
145
145
  railties (4.2.11.3)
146
146
  actionpack (= 4.2.11.3)
147
147
  activesupport (= 4.2.11.3)
148
148
  rake (>= 0.8.7)
149
149
  thor (>= 0.18.1, < 2.0)
150
- rake (13.0.3)
150
+ rake (13.0.6)
151
151
  rchardet (1.8.0)
152
- regexp_parser (2.1.1)
152
+ regexp_parser (2.2.1)
153
153
  rspec-core (3.9.3)
154
154
  rspec-support (~> 3.9.3)
155
155
  rspec-expectations (3.9.4)
@@ -172,8 +172,8 @@ GEM
172
172
  simplecov-html (~> 0.11)
173
173
  simplecov_json_formatter (~> 0.1)
174
174
  simplecov-html (0.12.3)
175
- simplecov_json_formatter (0.1.3)
176
- sprockets (4.0.2)
175
+ simplecov_json_formatter (0.1.4)
176
+ sprockets (4.0.3)
177
177
  concurrent-ruby (~> 1.0)
178
178
  rack (> 1, < 3)
179
179
  sprockets-rails (3.2.2)
@@ -181,13 +181,15 @@ GEM
181
181
  activesupport (>= 4.0)
182
182
  sprockets (>= 3.0.0)
183
183
  sqlite3 (1.3.13)
184
- thor (1.1.0)
184
+ thor (1.2.1)
185
185
  thread_safe (0.3.6)
186
186
  tzinfo (1.2.9)
187
187
  thread_safe (~> 0.1)
188
+ webrick (1.7.0)
188
189
  xpath (3.2.0)
189
190
  nokogiri (~> 1.8)
190
- yard (0.9.26)
191
+ yard (0.9.27)
192
+ webrick (~> 1.7.0)
191
193
 
192
194
  PLATFORMS
193
195
  ruby
@@ -1,4 +1,4 @@
1
- source "http://rubygems.org"
1
+ source "https://rubygems.org"
2
2
 
3
3
  # Bundler 1.x default to insecure http:// for github: shortcut
4
4
  git_source(:github){ |repo_name| "https://github.com/#{repo_name}.git" }
@@ -1,4 +1,4 @@
1
- source "http://rubygems.org"
1
+ source "https://rubygems.org"
2
2
 
3
3
  # Bundler 1.x default to insecure http:// for github: shortcut
4
4
  git_source(:github){ |repo_name| "https://github.com/#{repo_name}.git" }
@@ -1,4 +1,4 @@
1
- source "http://rubygems.org"
1
+ source "https://rubygems.org"
2
2
 
3
3
  # Bundler 1.x default to insecure http:// for github: shortcut
4
4
  git_source(:github){ |repo_name| "https://github.com/#{repo_name}.git" }
@@ -1,4 +1,4 @@
1
- source "http://rubygems.org"
1
+ source "https://rubygems.org"
2
2
 
3
3
  # Bundler 1.x default to insecure http:// for github: shortcut
4
4
  git_source(:github){ |repo_name| "https://github.com/#{repo_name}.git" }
@@ -1,4 +1,4 @@
1
- source "http://rubygems.org"
1
+ source "https://rubygems.org"
2
2
 
3
3
  # Bundler 1.x default to insecure http:// for github: shortcut
4
4
  git_source(:github){ |repo_name| "https://github.com/#{repo_name}.git" }
@@ -1,4 +1,4 @@
1
- source "http://rubygems.org"
1
+ source "https://rubygems.org"
2
2
 
3
3
  # Bundler 1.x default to insecure http:// for github: shortcut
4
4
  git_source(:github){ |repo_name| "https://github.com/#{repo_name}.git" }
@@ -1,4 +1,4 @@
1
- source "http://rubygems.org"
1
+ source "https://rubygems.org"
2
2
 
3
3
  # Bundler 1.x default to insecure http:// for github: shortcut
4
4
  git_source(:github){ |repo_name| "https://github.com/#{repo_name}.git" }
@@ -1,4 +1,4 @@
1
- source "http://rubygems.org"
1
+ source "https://rubygems.org"
2
2
 
3
3
  # Bundler 1.x default to insecure http:// for github: shortcut
4
4
  git_source(:github){ |repo_name| "https://github.com/#{repo_name}.git" }
@@ -1,4 +1,4 @@
1
- source "http://rubygems.org"
1
+ source "https://rubygems.org"
2
2
 
3
3
  # Bundler 1.x default to insecure http:// for github: shortcut
4
4
  git_source(:github){ |repo_name| "https://github.com/#{repo_name}.git" }
@@ -0,0 +1,11 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Bundler 1.x default to insecure http:// for github: shortcut
4
+ git_source(:github){ |repo_name| "https://github.com/#{repo_name}.git" }
5
+
6
+ gemspec :path => ".."
7
+
8
+ gem "rails", "~> 6.0.0"
9
+ gem "cucumber", "~> 7.0"
10
+ gem "cucumber-rails"
11
+ gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800'
@@ -1,4 +1,4 @@
1
- source "http://rubygems.org"
1
+ source "https://rubygems.org"
2
2
 
3
3
  # Bundler 1.x default to insecure http:// for github: shortcut
4
4
  git_source(:github){ |repo_name| "https://github.com/#{repo_name}.git" }
@@ -1,4 +1,4 @@
1
- source "http://rubygems.org"
1
+ source "https://rubygems.org"
2
2
 
3
3
  # Bundler 1.x default to insecure http:// for github: shortcut
4
4
  git_source(:github){ |repo_name| "https://github.com/#{repo_name}.git" }
@@ -1,4 +1,4 @@
1
- source "http://rubygems.org"
1
+ source "https://rubygems.org"
2
2
 
3
3
  # Bundler 1.x default to insecure http:// for github: shortcut
4
4
  git_source(:github){ |repo_name| "https://github.com/#{repo_name}.git" }
@@ -1,4 +1,4 @@
1
- source "http://rubygems.org"
1
+ source "https://rubygems.org"
2
2
 
3
3
  # Bundler 1.x default to insecure http:// for github: shortcut
4
4
  git_source(:github){ |repo_name| "https://github.com/#{repo_name}.git" }
@@ -0,0 +1,11 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Bundler 1.x default to insecure http:// for github: shortcut
4
+ git_source(:github){ |repo_name| "https://github.com/#{repo_name}.git" }
5
+
6
+ gemspec :path => ".."
7
+
8
+ gem "rails", "~> 6.1.0"
9
+ gem "cucumber", "~> 7.0"
10
+ gem "cucumber-rails"
11
+ gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800'
@@ -0,0 +1,11 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Bundler 1.x default to insecure http:// for github: shortcut
4
+ git_source(:github){ |repo_name| "https://github.com/#{repo_name}.git" }
5
+
6
+ gemspec :path => ".."
7
+
8
+ gem "rails", "~> 7.0.2"
9
+ gem "cucumber", "~> 6.0"
10
+ gem "cucumber-rails"
11
+ gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800'
@@ -0,0 +1,11 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Bundler 1.x default to insecure http:// for github: shortcut
4
+ git_source(:github){ |repo_name| "https://github.com/#{repo_name}.git" }
5
+
6
+ gemspec :path => ".."
7
+
8
+ gem "rails", "~> 7.0.2"
9
+ gem "cucumber", "~> 7.0"
10
+ gem "cucumber-rails"
11
+ gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800'
@@ -1,4 +1,4 @@
1
- source "http://rubygems.org"
1
+ source "https://rubygems.org"
2
2
 
3
3
  # Bundler 1.x default to insecure http:// for github: shortcut
4
4
  git_source(:github){ |repo_name| "https://github.com/#{repo_name}.git" }
@@ -24,7 +24,7 @@ module Pickle
24
24
 
25
25
  def parse_hash(hash)
26
26
  hash.inject({}) do |parsed, (key, val)|
27
- if session && val =~ /^#{capture_model}$/
27
+ if session && !val.is_a?(Array) && val =~ /^#{capture_model}$/
28
28
  parsed.merge(key => session.model($1))
29
29
  else
30
30
  parsed.merge(key => val)
@@ -1,3 +1,3 @@
1
1
  module Pickle
2
- VERSION = "0.6.1"
2
+ VERSION = "0.7.1"
3
3
  end
data/pickle.gemspec CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
20
20
  s.require_paths = ["lib"]
21
21
 
22
- s.add_dependency "cucumber", ">=3.0", "< 7.0"
22
+ s.add_dependency "cucumber", ">=3.0", "< 8.0"
23
23
  s.add_dependency "rake"
24
24
 
25
25
  s.add_development_dependency "rack"
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
27
27
  s.add_development_dependency "git"
28
28
  s.add_development_dependency "yard"
29
29
  s.add_development_dependency "rspec-rails", "~>3.0"
30
- s.add_development_dependency "rails", ">= 4.2.0", "< 7.0"
30
+ s.add_development_dependency "rails", ">= 4.2.0", "< 8.0"
31
31
  s.add_development_dependency "cucumber-rails"
32
32
  s.add_development_dependency "factory_bot"
33
33
  s.add_development_dependency "fabrication", '~> 2.0'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pickle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian White
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-06-22 00:00:00.000000000 Z
13
+ date: 2022-07-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: cucumber
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '3.0'
22
22
  - - "<"
23
23
  - !ruby/object:Gem::Version
24
- version: '7.0'
24
+ version: '8.0'
25
25
  type: :runtime
26
26
  prerelease: false
27
27
  version_requirements: !ruby/object:Gem::Requirement
@@ -31,7 +31,7 @@ dependencies:
31
31
  version: '3.0'
32
32
  - - "<"
33
33
  - !ruby/object:Gem::Version
34
- version: '7.0'
34
+ version: '8.0'
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: rake
37
37
  requirement: !ruby/object:Gem::Requirement
@@ -125,7 +125,7 @@ dependencies:
125
125
  version: 4.2.0
126
126
  - - "<"
127
127
  - !ruby/object:Gem::Version
128
- version: '7.0'
128
+ version: '8.0'
129
129
  type: :development
130
130
  prerelease: false
131
131
  version_requirements: !ruby/object:Gem::Requirement
@@ -135,7 +135,7 @@ dependencies:
135
135
  version: 4.2.0
136
136
  - - "<"
137
137
  - !ruby/object:Gem::Version
138
- version: '7.0'
138
+ version: '8.0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: cucumber-rails
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -309,10 +309,14 @@ files:
309
309
  - gemfiles/Gemfile-rails.6.0.x-cukes-4
310
310
  - gemfiles/Gemfile-rails.6.0.x-cukes-5
311
311
  - gemfiles/Gemfile-rails.6.0.x-cukes-6
312
+ - gemfiles/Gemfile-rails.6.0.x-cukes-7
312
313
  - gemfiles/Gemfile-rails.6.1.x-cukes-3
313
314
  - gemfiles/Gemfile-rails.6.1.x-cukes-4
314
315
  - gemfiles/Gemfile-rails.6.1.x-cukes-5
315
316
  - gemfiles/Gemfile-rails.6.1.x-cukes-6
317
+ - gemfiles/Gemfile-rails.6.1.x-cukes-7
318
+ - gemfiles/Gemfile-rails.7.0.x-cukes-6
319
+ - gemfiles/Gemfile-rails.7.0.x-cukes-7
316
320
  - gemfiles/Gemfile-rails.edge
317
321
  - lib/generators/pickle_generator.rb
318
322
  - lib/pickle.rb
@@ -368,7 +372,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
368
372
  - !ruby/object:Gem::Version
369
373
  version: '2.0'
370
374
  requirements: []
371
- rubygems_version: 3.0.9
375
+ rubygems_version: 3.1.6
372
376
  signing_key:
373
377
  specification_version: 4
374
378
  summary: Easy model creation and reference in your cucumber features.