pickle 0.5.5 → 0.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
- SHA1:
3
- metadata.gz: 496324f05dffdce0c945cbad9224d5ed16869a8f
4
- data.tar.gz: d2a7f6a58e5794627be5403da3b4a2991b6aa139
2
+ SHA256:
3
+ metadata.gz: 65a9850f97ef599bceb024b95fba2c35df30afe28c1beb85941bcff6e8bc6172
4
+ data.tar.gz: 6961363fcf4132b185f989fb74ae21323da46663b144a52035579566dc05aba9
5
5
  SHA512:
6
- metadata.gz: 665f36173ce92800d0338fa16ea5095ca049829f0f30e7f87ded104ff89257eda5c11c3bee5a6eeb9a19952564b564b129b0a5cc4d98b3cc1d7aba358e5926cc
7
- data.tar.gz: 0d0f6d4c0250144ae943546a8d84a320bdc0de1e070f0097cab9407424b1211d3b54d0a48b5fe947aa475af45f60f75aed97cf06fa27527b1966a0f6f95b8543
6
+ metadata.gz: df190d3264baa28df348f75672c04a001a442bb12fbe685fb0ee734dbf406cdb8af236b1186fb1be1c7fa74eb2f7b8240a1acf34075f3801f3ff9ac4b706230b
7
+ data.tar.gz: 4dd1896f3d92d99f90e675bd9b036b6cebdc6154defa127fd95aec9570e30f82753b52d66d9a9d3ef688e144f8420ff515caf70e0637bad3305cfa570a2817fb
data/.gitignore CHANGED
@@ -14,3 +14,5 @@ doc
14
14
  # built gems
15
15
  pkg
16
16
  *.gem
17
+
18
+ gemfiles/*.lock
@@ -2,13 +2,26 @@ language: ruby
2
2
  dist: xenial
3
3
  cache: bundler
4
4
  rvm:
5
- - 2.4.1
6
- - 2.3.4
7
- - 2.2.7
8
- - 2.1.10
5
+ #- 2.7.1
6
+ - 2.6.6
7
+ - 2.5.8
8
+ #- ruby-head
9
+ gemfile:
10
+ - gemfiles/Gemfile-rails.5.0.x
11
+ - gemfiles/Gemfile-rails.5.1.x
12
+ - gemfiles/Gemfile-rails.5.2.x
13
+ - gemfiles/Gemfile-rails.5.2.x-cukes-4
14
+ - gemfiles/Gemfile-rails.5.2.x-cukes-5
15
+ - gemfiles/Gemfile-rails.6.0.x
16
+ - gemfiles/Gemfile-rails.6.0.x-cukes-5
17
+ #- gemfiles/Gemfile-rails.edge
9
18
  matrix:
10
19
  allow_failures:
11
- - rvm: 2.1.10
20
+ - rvm: ruby-head
21
+ - rvm: 2.7.1
22
+ - gemfile: gemfiles/Gemfile-rails.edge
23
+ - gemfile: gemfiles/Gemfile-rails.5.2.x-cukes-5
24
+ - gemfile: gemfiles/Gemfile-rails.6.0.x-cukes-5
12
25
  fast_finish: true
13
26
 
14
27
  script:
@@ -1,15 +1,22 @@
1
+ == 0.6.0
2
+ * Drop support for cucumber < 3
3
+ * Officially support cucumber 4.1
4
+ * Relax dependency to support cucumber 5.x although not officially supported
5
+ * Run tests for Rails 5.0, 5.1, 5.2 and 6.0
6
+
1
7
  == 0.5.5
2
- * Relax dependency on cucumber to allow usage with Rails 5.2
8
+ * Relax dependency on cucumber to allow usage with Rails 5.2 [Yohei Kitamura]
3
9
 
4
10
  == 0.5.4
5
- * updated FactoryGirl to FactoryBot
11
+ * updated FactoryGirl to FactoryBot [Blake McDaniel]
6
12
 
7
13
  == 0.5.3
8
- * small fix to pickle_path_for_resources_action_segment
9
- * update for fabrication adapter with protected method klass
14
+ * small fix to pickle_path_for_resources_action_segment [Tema Bolshakov]
15
+ * update for fabrication adapter with protected method klass [Liam Krewer]
16
+ * Fix tests to run on travis again and codecoverage [Mathieu Jobin]
10
17
 
11
18
  == 0.5.2
12
- * replace alias_method_chain by Module#prepend
19
+ * replace alias_method_chain by Module#prepend [Mathieu Jobin]
13
20
  eliminating deprecation warnings when using with Rails 5
14
21
 
15
22
  == 0.5.1
@@ -43,7 +50,7 @@
43
50
 
44
51
  * 1 bugfix
45
52
  * Don't blow up when fabrication not present [Ian White]
46
-
53
+
47
54
 
48
55
  == 0.4.9
49
56
 
@@ -52,8 +59,8 @@
52
59
 
53
60
  * 1 minor improvement
54
61
  * Update development dependencies so tests/features run on rails 3.1 and friends
55
-
56
-
62
+
63
+
57
64
  == 0.4.8
58
65
 
59
66
  * 2 minor improvements
@@ -66,7 +73,7 @@
66
73
  * 2 minor improvements
67
74
  * Better error message for failing to find a model [Ian White, reported by Yuval Karmi]
68
75
  * dev deps updated to latest cucumber & cucumber-rails [Ian White]
69
-
76
+
70
77
 
71
78
  == 0.4.6
72
79
  Documentation updates
@@ -89,7 +96,7 @@ large object space fix, and allow escaped quotes as string values
89
96
  * 1 bugfix
90
97
  * When using super-huge GC limits (for speeding up tests), occasionally we'll see abandoned Mongoid::Document classes appear in the ObjectSpace.
91
98
  This patch should fix that. [Devin Walters and Nick Karpenske]
92
-
99
+
93
100
  * 1 improvement
94
101
  * allow escaped quotes (\") in quoted fields [Jonathan Hinkle]
95
102
 
@@ -113,7 +120,7 @@ Docfix
113
120
 
114
121
  * 1 improvement
115
122
  * documentation fixes, and example of writing your own pickle steps
116
-
123
+
117
124
 
118
125
  == 0.4.0
119
126
  Mongoid adapter, fallback ORM adapter for those not using machinist or active_record, bugfixes
@@ -121,9 +128,9 @@ Mongoid adapter, fallback ORM adapter for those not using machinist or active_re
121
128
  * 2 major improvements
122
129
  * adapter for Mongoid [Sebastian Zuchmanski]
123
130
  * replace ActiveRecord 'factory' adapter with Orm adapter.
124
-
131
+
125
132
  If you don't have machinist or factory_girl, the Orm factory adapter will fallback to your Orm to create classes.
126
-
133
+
127
134
  BC: if you have a line like this:
128
135
  Pickle.configure do |config|
129
136
  config.adapters = [:active_record]
@@ -133,10 +140,10 @@ Mongoid adapter, fallback ORM adapter for those not using machinist or active_re
133
140
  Pickle.configure do |config|
134
141
  config.adapters = [:orm]
135
142
  end
136
-
143
+
137
144
  * 1 minor improvement
138
145
  * Pickle::Session::ModelNotKnownError is raised instead of a generic RuntimeError
139
-
146
+
140
147
  * 1 bugfix
141
148
  * references to unknown models in fields now raise ModelNotKnownError instead of silently assigning nil
142
149
 
@@ -150,7 +157,7 @@ Mongoid adapter, fallback ORM adapter for those not using machinist or active_re
150
157
 
151
158
  * 1 bugfix
152
159
  * find_models now works with a factory name with spaces in it [#27]
153
-
160
+
154
161
 
155
162
  == 0.3.4
156
163
 
@@ -163,7 +170,7 @@ Mongoid adapter, fallback ORM adapter for those not using machinist or active_re
163
170
 
164
171
  * 1 minor improvement
165
172
  * Pickle respects the default build strategy for factory girl. [Sean Hussey]
166
-
173
+
167
174
 
168
175
  == 0.3.2
169
176
 
@@ -196,7 +203,7 @@ Mongoid adapter, fallback ORM adapter for those not using machinist or active_re
196
203
  == 0.2.11
197
204
 
198
205
  * 1 improvement
199
- * use correct type when converting STI pickle model to attributes
206
+ * use correct type when converting STI pickle model to attributes
200
207
 
201
208
 
202
209
  == 0.2.10
@@ -233,8 +240,8 @@ Mongoid adapter, fallback ORM adapter for those not using machinist or active_re
233
240
  * 2 improvements
234
241
  * running specs is now doable without being in a rails app - just do 'rake spec'
235
242
  * running features is more straightforward, 'rake cucumber' then follow the instructions
236
-
237
-
243
+
244
+
238
245
  == 0.2.5 - 17 Mar 2010
239
246
 
240
247
  * 2 improvements
@@ -259,7 +266,7 @@ Mongoid adapter, fallback ORM adapter for those not using machinist or active_re
259
266
  | user | name | status |
260
267
  | jack | Jack Spratt | alone |
261
268
  | pete | Pete Sprong | dead |
262
-
269
+
263
270
  * 1 minor improvement
264
271
  * Fix bug in error message for when pickle ref can't be found [Myron Marston]
265
272
 
@@ -270,8 +277,8 @@ Mongoid adapter, fallback ORM adapter for those not using machinist or active_re
270
277
  * Added ability to follow links in emails (see email_steps.rb) [Michael Moen]
271
278
  * Added a step definition for doing stuff like: Then the user's name should be "Tobi" [Tobi Knaup]
272
279
  * Docfixes, mostly about testing [Nicholas Rutherford]
273
-
274
-
280
+
281
+
275
282
  == 0.2.1 - 1 Dec 2009
276
283
 
277
284
  * 2 minor improvements
@@ -290,11 +297,11 @@ Mongoid adapter, fallback ORM adapter for those not using machinist or active_re
290
297
  | Ethel |
291
298
  And the 1st user should be male
292
299
  And the 2nd user should be female
293
-
300
+
294
301
  * tables now support pickle refs in cells (see features/pickle/create_from_factory_girl.rb#37)
295
-
302
+
296
303
  * features/support/email.rb adds an email helper for mapping names to email addresses (similar to NavigationHelper in paths.rb)
297
-
304
+
298
305
  * Added ability for path_to_pickle to handle arbitrary segments
299
306
  Example:
300
307
  path_to_pickle('account', 'the enquiry') => account_enquiry_path(<enquiry>)
@@ -319,7 +326,7 @@ Mongoid adapter, fallback ORM adapter for those not using machinist or active_re
319
326
 
320
327
  * 1 minor improvement
321
328
  * docs: more links
322
-
329
+
323
330
 
324
331
  == 0.1.22 - 7 Nov 2009
325
332
 
@@ -344,7 +351,7 @@ Mongoid adapter, fallback ORM adapter for those not using machinist or active_re
344
351
 
345
352
  * 1 minor enhancement
346
353
  * Add support for Cucumber tables [Tobi Knaup]
347
-
354
+
348
355
 
349
356
  == 0.1.16, 0.1.17, 0.1.18 - 13 Oct 2009
350
357
 
@@ -364,7 +371,7 @@ Mongoid adapter, fallback ORM adapter for those not using machinist or active_re
364
371
  * update specs and features for latest cucumber and machinist changes
365
372
 
366
373
 
367
- == 0.1.13 - 16 June 2009
374
+ == 0.1.13 - 16 June 2009
368
375
 
369
376
  * 2 minor enhancements
370
377
  * model! and created_model! raise an error if pickle name can't be found
@@ -382,7 +389,7 @@ Mongoid adapter, fallback ORM adapter for those not using machinist or active_re
382
389
 
383
390
  * 2 minor enhancements
384
391
  * Pickle now supports multiple machinist blueprints
385
- * Fix confusing adapter/adaptor comment generator comment
392
+ * Fix confusing adapter/adaptor comment generator comment
386
393
 
387
394
 
388
395
  == 0.1.10 - 13 Feb 2009
@@ -413,7 +420,7 @@ Mongoid adapter, fallback ORM adapter for those not using machinist or active_re
413
420
  * 2 API changes
414
421
  * script/generate pickle path[s] now amends the features/support/paths.rb file
415
422
  instead of creating pge_to_path and path_steps.
416
-
423
+
417
424
  * pickle_email_steps is renamed email_steps
418
425
 
419
426
 
@@ -427,22 +434,22 @@ Mongoid adapter, fallback ORM adapter for those not using machinist or active_re
427
434
 
428
435
  * generate email steps with `script/generate pickle email`
429
436
  email steps allow you to do things like this:
430
-
437
+
431
438
  Then 2 emails should be delivered
432
439
  And the first email should be delivered to fred@gmail.com
433
440
  And the 2nd email should be delivered to the user: "ethel"
434
-
441
+
435
442
  Then 1 email should be delivered with subject: "Activate your account"
436
443
  And the email should link to the user's page
437
-
444
+
438
445
  take a look at features/step_definitions/pickle_email_steps.rb
439
-
446
+
440
447
  * generate path steps with `script/generate pickle path`
441
448
  path steps allow you to do things like this
442
-
449
+
443
450
  When I go to the comment's page
444
451
  Then I should be at the user's new comment page
445
-
452
+
446
453
  take a look at features/step_definitions/pickle_path_steps.rb, and modify page_to_path to suit your needs
447
454
 
448
455
  * 4 minor enhancements
@@ -467,7 +474,7 @@ Mongoid adapter, fallback ORM adapter for those not using machinist or active_re
467
474
  for much more intuitive env.rb
468
475
 
469
476
  * 2 minor enhancement
470
- * predicate matching is less prone to step conflicts because we preload a
477
+ * predicate matching is less prone to step conflicts because we preload a
471
478
  big list of all the predicate and column methods
472
479
  * field values now handle booleans and numerics
473
480
 
@@ -493,7 +500,7 @@ Mongoid adapter, fallback ORM adapter for those not using machinist or active_re
493
500
  * 2 major enhancements
494
501
  * create your pickle steps with script/generate pickle
495
502
  * Adapter based architecture, supports Machinist, FactoryGirl, and vanilla ActiveRecord
496
-
503
+
497
504
  * 1 minor enhancement
498
505
  * model_names now defaults to subclasses of AR::Base
499
506
  * #original_model => #created_model
data/README.md CHANGED
@@ -10,7 +10,16 @@ References to the models are stored in the current world, not necessarily for th
10
10
 
11
11
  This is a quickstart guide for rails apps. Firstly, install [cucumber-rails](http://github.com/aslakhellesoy/cucumber-rails), and its dependencies. Then do the following:
12
12
 
13
- ### Rails 3:
13
+ ## Supported versions
14
+
15
+ Rails 4.2 should still work, but it is unsupported. There is a conflict with bundler on travis I just don't want to deal
16
+ with. Since this is no longer supported by the rails team, consider using it at you own risk.
17
+
18
+ Cucumber 2.x support is dropped from release 0.6.0
19
+ Cucumber 3.x and 4.x should work with all Rails 5.x versions
20
+ Cucumber 5.x support is planned
21
+
22
+ ### Rails 5 and Rails 6
14
23
 
15
24
  Add the gem to your Gemfile:
16
25
 
@@ -36,26 +45,6 @@ Run the generator, e.g:
36
45
  rails g pickle --paths --email
37
46
  ```
38
47
 
39
- ### For Rails 2:
40
-
41
- Add the following to config/environments/cucumber:
42
-
43
- ```ruby
44
- config.gem 'pickle'
45
- ```
46
-
47
- Install the gem with
48
-
49
- ```shell
50
- rake gems:install RAILS_ENV=cucumber
51
- ```
52
-
53
- Run the generator with:
54
-
55
- ```ruby
56
- script/generate pickle [paths] [email]
57
- ```
58
-
59
48
  ## Resources
60
49
 
61
50
  **GitHub** for code: https://github.com/ianwhite/pickle
@@ -2,7 +2,7 @@ require 'cucumber/rake/task'
2
2
 
3
3
  desc "Run features"
4
4
  Cucumber::Rake::Task.new(:cucumber => [:cucumber_test_app]) do |t|
5
- t.cucumber_opts = %w[--format pretty --require features -t ~@wip]
5
+ t.cucumber_opts = %w[--format pretty --require features -t] + ["'not @wip'"]
6
6
  end
7
7
 
8
8
  desc "setup a rails app for running cucumber"
@@ -13,10 +13,19 @@ end
13
13
 
14
14
  namespace :cucumber do
15
15
  task :setup do
16
+ current_gemfile = ENV['BUNDLE_GEMFILE']
17
+ sh "BUNDLE_GEMFILE=#{current_gemfile} bundle show cucumber > /tmp/cukes_version"
18
+ sh "BUNDLE_GEMFILE=#{current_gemfile} bundle show sqlite3 > /tmp/sqlite_version"
19
+ cukes_version=File.read('/tmp/cukes_version').split('-').last.chomp
20
+ sqlite_version=File.read('/tmp/sqlite_version').split('-').last.chomp
21
+ puts "Versions: Cucumber #{cukes_version}, SQLite #{sqlite_version}."
16
22
  Bundler.with_clean_env do
17
23
  gemfile = "cucumber_test_app/Gemfile"
18
24
  rm_rf "cucumber_test_app"
19
- sh "bundle exec rails new cucumber_test_app --skip-spring --skip-javascript --skip-sprockets --skip-bootsnap"
25
+ sh "BUNDLE_GEMFILE=#{current_gemfile} bundle exec rails new cucumber_test_app --skip-spring --skip-javascript --skip-sprockets --skip-bootsnap"
26
+ sh "echo 'gem \"cucumber\", \"~> #{cukes_version}\", :require => false' >> #{gemfile}"
27
+ sh "sed -i 's/gem .sqlite3./gem \"sqlite3\", \"~> #{sqlite_version}\"/' #{gemfile}"
28
+ sh "cat #{gemfile} | grep sqli"
20
29
  sh "echo 'gem \"cucumber-rails\", :require => false' >> #{gemfile}"
21
30
  sh "echo 'gem \"rspec-rails\", \"~>3.0\"' >> #{gemfile}"
22
31
  sh "echo 'gem \"pickle\", path: \"#{__dir__}/..\"' >> #{gemfile}"
@@ -16,7 +16,7 @@ FactoryBot.define do
16
16
 
17
17
  factory :rusty_tine, :class => Tine do |t|
18
18
  t.association :fork
19
- t.rusty true
19
+ t.rusty { true }
20
20
  end
21
21
 
22
22
  factory :fancy_fork, :class => Fork do |t|
@@ -1 +1 @@
1
- features/step_definitions/../../rails_generators/pickle/templates/email_steps.rb
1
+ ../../rails_generators/pickle/templates/email_steps.rb
@@ -1 +1 @@
1
- features/step_definitions/../../rails_generators/pickle/templates/pickle_steps.rb
1
+ ../../rails_generators/pickle/templates/pickle_steps.rb
@@ -1 +1 @@
1
- features/support/../../rails_generators/pickle/templates/email.rb
1
+ ../../rails_generators/pickle/templates/email.rb
@@ -0,0 +1,12 @@
1
+ source "http://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", "~> 5.0.2"
9
+ gem "cucumber", "~> 3.2.0"
10
+ gem "sqlite3", "~> 1.3.6"
11
+
12
+ gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800'
@@ -0,0 +1,10 @@
1
+ source "http://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", "~> 5.1.0"
9
+ gem "cucumber", "~> 3.2"
10
+ gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800'
@@ -0,0 +1,11 @@
1
+ source "http://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", "~> 5.2.0"
9
+ gem "cucumber", "~> 3.2.0"
10
+
11
+ gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800'
@@ -0,0 +1,11 @@
1
+ source "http://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", "~> 5.2.0"
9
+ gem "cucumber", "~> 4.0"
10
+
11
+ gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800'
@@ -0,0 +1,12 @@
1
+ source "http://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", "~> 5.2.0"
9
+ gem "cucumber", "~> 5.0"
10
+ gem "cucumber-rails", github: 'cucumber/cucumber-rails', branch: 'cucumber5'
11
+
12
+ gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800'
@@ -0,0 +1,10 @@
1
+ source "http://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 "activerecord", "~> 6.0.0"
9
+ gem "cucumber", "~> 4.1"
10
+ gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800'
@@ -0,0 +1,11 @@
1
+ source "http://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", "~> 5.0"
10
+ gem "cucumber-rails", github: 'cucumber/cucumber-rails', branch: 'cucumber5'
11
+ gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800'
@@ -3,5 +3,7 @@ source "http://rubygems.org"
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" }
5
5
 
6
- gemspec
6
+ gemspec :path => ".."
7
+
8
+ gem "rails", :github => "rails/rails"
7
9
  gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800'
@@ -1,3 +1,3 @@
1
1
  module Pickle
2
- VERSION = "0.5.5"
2
+ VERSION = "0.6.0"
3
3
  end
@@ -18,16 +18,16 @@ Gem::Specification.new do |s|
18
18
  s.files = `git ls-files`.split("\n")
19
19
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
20
20
  s.require_paths = ["lib"]
21
-
22
- s.add_dependency "cucumber", ">=0.8", "< 4.0"
21
+
22
+ s.add_dependency "cucumber", ">=3.0", "< 6.0"
23
23
  s.add_dependency "rake"
24
-
24
+
25
25
  s.add_development_dependency "rack"
26
26
  s.add_development_dependency "bundler"
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", "~>5.2.0"
30
+ s.add_development_dependency "rails", ">= 4.2.0", "< 7.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.5.5
4
+ version: 0.6.0
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: 2018-05-22 00:00:00.000000000 Z
13
+ date: 2020-08-26 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: cucumber
@@ -18,20 +18,20 @@ dependencies:
18
18
  requirements:
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: '0.8'
21
+ version: '3.0'
22
22
  - - "<"
23
23
  - !ruby/object:Gem::Version
24
- version: '4.0'
24
+ version: '6.0'
25
25
  type: :runtime
26
26
  prerelease: false
27
27
  version_requirements: !ruby/object:Gem::Requirement
28
28
  requirements:
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: '0.8'
31
+ version: '3.0'
32
32
  - - "<"
33
33
  - !ruby/object:Gem::Version
34
- version: '4.0'
34
+ version: '6.0'
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: rake
37
37
  requirement: !ruby/object:Gem::Requirement
@@ -120,16 +120,22 @@ dependencies:
120
120
  name: rails
121
121
  requirement: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - "~>"
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ version: 4.2.0
126
+ - - "<"
124
127
  - !ruby/object:Gem::Version
125
- version: 5.2.0
128
+ version: '7.0'
126
129
  type: :development
127
130
  prerelease: false
128
131
  version_requirements: !ruby/object:Gem::Requirement
129
132
  requirements:
130
- - - "~>"
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ version: 4.2.0
136
+ - - "<"
131
137
  - !ruby/object:Gem::Version
132
- version: 5.2.0
138
+ version: '7.0'
133
139
  - !ruby/object:Gem::Dependency
134
140
  name: cucumber-rails
135
141
  requirement: !ruby/object:Gem::Requirement
@@ -254,8 +260,6 @@ files:
254
260
  - ".gitignore"
255
261
  - ".rspec"
256
262
  - ".travis.yml"
257
- - Gemfile
258
- - Gemfile.lock
259
263
  - History.txt
260
264
  - License.txt
261
265
  - README.md
@@ -293,6 +297,14 @@ files:
293
297
  - features/support/paths.rb
294
298
  - features/support/pickle.rb
295
299
  - features/support/pickle_app.rb
300
+ - gemfiles/Gemfile-rails.5.0.x
301
+ - gemfiles/Gemfile-rails.5.1.x
302
+ - gemfiles/Gemfile-rails.5.2.x
303
+ - gemfiles/Gemfile-rails.5.2.x-cukes-4
304
+ - gemfiles/Gemfile-rails.5.2.x-cukes-5
305
+ - gemfiles/Gemfile-rails.6.0.x
306
+ - gemfiles/Gemfile-rails.6.0.x-cukes-5
307
+ - gemfiles/Gemfile-rails.edge
296
308
  - lib/generators/pickle_generator.rb
297
309
  - lib/pickle.rb
298
310
  - lib/pickle/adapter.rb
@@ -347,45 +359,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
347
359
  - !ruby/object:Gem::Version
348
360
  version: 1.3.6
349
361
  requirements: []
350
- rubyforge_project: pickle
351
- rubygems_version: 2.6.14
362
+ rubygems_version: 3.0.8
352
363
  signing_key:
353
364
  specification_version: 4
354
365
  summary: Easy model creation and reference in your cucumber features.
355
- test_files:
356
- - features/app/app.rb
357
- - features/app/blueprints.rb
358
- - features/app/fabricators.rb
359
- - features/app/factories.rb
360
- - features/app/views/notifier/email.erb
361
- - features/app/views/notifier/user_email.erb
362
- - features/email/email.feature
363
- - features/generator/generators.feature
364
- - features/path/models_page.feature
365
- - features/path/named_route_page.feature
366
- - features/pickle/create_from_active_record.feature
367
- - features/pickle/create_from_fabrication.feature
368
- - features/pickle/create_from_factory_girl.feature
369
- - features/pickle/create_from_machinist.feature
370
- - features/step_definitions/email_steps.rb
371
- - features/step_definitions/extra_email_steps.rb
372
- - features/step_definitions/fork_steps.rb
373
- - features/step_definitions/generator_steps.rb
374
- - features/step_definitions/path_steps.rb
375
- - features/step_definitions/pickle_steps.rb
376
- - features/step_definitions/raise_error_steps.rb
377
- - features/support/email.rb
378
- - features/support/env.rb
379
- - features/support/paths.rb
380
- - features/support/pickle.rb
381
- - features/support/pickle_app.rb
382
- - spec/pickle/adapter_spec.rb
383
- - spec/pickle/config_spec.rb
384
- - spec/pickle/email/parser_spec.rb
385
- - spec/pickle/email_spec.rb
386
- - spec/pickle/parser/matchers_spec.rb
387
- - spec/pickle/parser_spec.rb
388
- - spec/pickle/path_spec.rb
389
- - spec/pickle/session_spec.rb
390
- - spec/pickle_spec.rb
391
- - spec/spec_helper.rb
366
+ test_files: []
@@ -1,225 +0,0 @@
1
- GIT
2
- remote: https://github.com/mathieujobin/fabrication.git
3
- revision: 923cf6fcefd0566b1d6be7bd2f685b89388f4800
4
- ref: 923cf6fcefd0566b1d6be7bd2f685b89388f4800
5
- specs:
6
- fabrication (2.16.2)
7
-
8
- PATH
9
- remote: .
10
- specs:
11
- pickle (0.5.5)
12
- cucumber (>= 0.8, < 4.0)
13
- rake
14
-
15
- GEM
16
- remote: http://rubygems.org/
17
- specs:
18
- actioncable (5.2.0)
19
- actionpack (= 5.2.0)
20
- nio4r (~> 2.0)
21
- websocket-driver (>= 0.6.1)
22
- actionmailer (5.2.0)
23
- actionpack (= 5.2.0)
24
- actionview (= 5.2.0)
25
- activejob (= 5.2.0)
26
- mail (~> 2.5, >= 2.5.4)
27
- rails-dom-testing (~> 2.0)
28
- actionpack (5.2.0)
29
- actionview (= 5.2.0)
30
- activesupport (= 5.2.0)
31
- rack (~> 2.0)
32
- rack-test (>= 0.6.3)
33
- rails-dom-testing (~> 2.0)
34
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
35
- actionview (5.2.0)
36
- activesupport (= 5.2.0)
37
- builder (~> 3.1)
38
- erubi (~> 1.4)
39
- rails-dom-testing (~> 2.0)
40
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
41
- activejob (5.2.0)
42
- activesupport (= 5.2.0)
43
- globalid (>= 0.3.6)
44
- activemodel (5.2.0)
45
- activesupport (= 5.2.0)
46
- activerecord (5.2.0)
47
- activemodel (= 5.2.0)
48
- activesupport (= 5.2.0)
49
- arel (>= 9.0)
50
- activestorage (5.2.0)
51
- actionpack (= 5.2.0)
52
- activerecord (= 5.2.0)
53
- marcel (~> 0.3.1)
54
- activesupport (5.2.0)
55
- concurrent-ruby (~> 1.0, >= 1.0.2)
56
- i18n (>= 0.7, < 2)
57
- minitest (~> 5.1)
58
- tzinfo (~> 1.1)
59
- addressable (2.5.2)
60
- public_suffix (>= 2.0.2, < 4.0)
61
- arel (9.0.0)
62
- backports (3.11.3)
63
- builder (3.2.3)
64
- capybara (3.1.0)
65
- addressable
66
- mini_mime (>= 0.1.3)
67
- nokogiri (~> 1.8)
68
- rack (>= 1.6.0)
69
- rack-test (>= 0.6.3)
70
- xpath (~> 3.0)
71
- codecov (0.1.10)
72
- json
73
- simplecov
74
- url
75
- concurrent-ruby (1.0.5)
76
- crass (1.0.4)
77
- cucumber (3.1.0)
78
- builder (>= 2.1.2)
79
- cucumber-core (~> 3.1.0)
80
- cucumber-expressions (~> 5.0.4)
81
- cucumber-wire (~> 0.0.1)
82
- diff-lcs (~> 1.3)
83
- gherkin (~> 5.0)
84
- multi_json (>= 1.7.5, < 2.0)
85
- multi_test (>= 0.1.2)
86
- cucumber-core (3.1.0)
87
- backports (>= 3.8.0)
88
- cucumber-tag_expressions (~> 1.1.0)
89
- gherkin (>= 5.0.0)
90
- cucumber-expressions (5.0.18)
91
- cucumber-rails (1.6.0)
92
- capybara (>= 1.1.2, < 4)
93
- cucumber (>= 3.0.2, < 4)
94
- mime-types (>= 1.17, < 4)
95
- nokogiri (~> 1.8)
96
- railties (>= 4, < 6)
97
- cucumber-tag_expressions (1.1.1)
98
- cucumber-wire (0.0.1)
99
- database_cleaner (1.7.0)
100
- diff-lcs (1.3)
101
- docile (1.3.0)
102
- erubi (1.7.1)
103
- factory_bot (4.8.2)
104
- activesupport (>= 3.0.0)
105
- gherkin (5.0.0)
106
- git (1.4.0)
107
- globalid (0.4.1)
108
- activesupport (>= 4.2.0)
109
- i18n (1.0.1)
110
- concurrent-ruby (~> 1.0)
111
- json (2.1.0)
112
- loofah (2.2.2)
113
- crass (~> 1.0.2)
114
- nokogiri (>= 1.5.9)
115
- machinist (2.0)
116
- mail (2.7.0)
117
- mini_mime (>= 0.1.1)
118
- marcel (0.3.2)
119
- mimemagic (~> 0.3.2)
120
- method_source (0.9.0)
121
- mime-types (3.1)
122
- mime-types-data (~> 3.2015)
123
- mime-types-data (3.2016.0521)
124
- mimemagic (0.3.2)
125
- mini_mime (1.0.0)
126
- mini_portile2 (2.3.0)
127
- minitest (5.11.3)
128
- multi_json (1.13.1)
129
- multi_test (0.1.2)
130
- nio4r (2.3.1)
131
- nokogiri (1.8.2)
132
- mini_portile2 (~> 2.3.0)
133
- public_suffix (3.0.2)
134
- rack (2.0.5)
135
- rack-test (1.0.0)
136
- rack (>= 1.0, < 3)
137
- rails (5.2.0)
138
- actioncable (= 5.2.0)
139
- actionmailer (= 5.2.0)
140
- actionpack (= 5.2.0)
141
- actionview (= 5.2.0)
142
- activejob (= 5.2.0)
143
- activemodel (= 5.2.0)
144
- activerecord (= 5.2.0)
145
- activestorage (= 5.2.0)
146
- activesupport (= 5.2.0)
147
- bundler (>= 1.3.0)
148
- railties (= 5.2.0)
149
- sprockets-rails (>= 2.0.0)
150
- rails-dom-testing (2.0.3)
151
- activesupport (>= 4.2.0)
152
- nokogiri (>= 1.6)
153
- rails-html-sanitizer (1.0.4)
154
- loofah (~> 2.2, >= 2.2.2)
155
- railties (5.2.0)
156
- actionpack (= 5.2.0)
157
- activesupport (= 5.2.0)
158
- method_source
159
- rake (>= 0.8.7)
160
- thor (>= 0.18.1, < 2.0)
161
- rake (12.3.1)
162
- rspec-core (3.7.1)
163
- rspec-support (~> 3.7.0)
164
- rspec-expectations (3.7.0)
165
- diff-lcs (>= 1.2.0, < 2.0)
166
- rspec-support (~> 3.7.0)
167
- rspec-mocks (3.7.0)
168
- diff-lcs (>= 1.2.0, < 2.0)
169
- rspec-support (~> 3.7.0)
170
- rspec-rails (3.7.2)
171
- actionpack (>= 3.0)
172
- activesupport (>= 3.0)
173
- railties (>= 3.0)
174
- rspec-core (~> 3.7.0)
175
- rspec-expectations (~> 3.7.0)
176
- rspec-mocks (~> 3.7.0)
177
- rspec-support (~> 3.7.0)
178
- rspec-support (3.7.1)
179
- simplecov (0.16.1)
180
- docile (~> 1.1)
181
- json (>= 1.8, < 3)
182
- simplecov-html (~> 0.10.0)
183
- simplecov-html (0.10.2)
184
- sprockets (3.7.1)
185
- concurrent-ruby (~> 1.0)
186
- rack (> 1, < 3)
187
- sprockets-rails (3.2.1)
188
- actionpack (>= 4.0)
189
- activesupport (>= 4.0)
190
- sprockets (>= 3.0.0)
191
- sqlite3 (1.3.13)
192
- thor (0.20.0)
193
- thread_safe (0.3.6)
194
- tzinfo (1.2.5)
195
- thread_safe (~> 0.1)
196
- url (0.3.2)
197
- websocket-driver (0.7.0)
198
- websocket-extensions (>= 0.1.0)
199
- websocket-extensions (0.1.3)
200
- xpath (3.0.0)
201
- nokogiri (~> 1.8)
202
- yard (0.9.12)
203
-
204
- PLATFORMS
205
- ruby
206
-
207
- DEPENDENCIES
208
- bundler
209
- capybara
210
- codecov
211
- cucumber-rails
212
- database_cleaner
213
- fabrication!
214
- factory_bot
215
- git
216
- machinist
217
- pickle!
218
- rack
219
- rails (~> 5.2.0)
220
- rspec-rails (~> 3.0)
221
- sqlite3
222
- yard
223
-
224
- BUNDLED WITH
225
- 1.16.2