pickle 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 65a9850f97ef599bceb024b95fba2c35df30afe28c1beb85941bcff6e8bc6172
4
- data.tar.gz: 6961363fcf4132b185f989fb74ae21323da46663b144a52035579566dc05aba9
3
+ metadata.gz: f34526ae76a0b88ab46f94922f171eeedf1e981b8ee66fc578ceb8f4cb72f77b
4
+ data.tar.gz: c6a954b1a1c00a03257456997ff35c1de7e906c549e19cb1e0d8a58159acde1d
5
5
  SHA512:
6
- metadata.gz: df190d3264baa28df348f75672c04a001a442bb12fbe685fb0ee734dbf406cdb8af236b1186fb1be1c7fa74eb2f7b8240a1acf34075f3801f3ff9ac4b706230b
7
- data.tar.gz: 4dd1896f3d92d99f90e675bd9b036b6cebdc6154defa127fd95aec9570e30f82753b52d66d9a9d3ef688e144f8420ff515caf70e0637bad3305cfa570a2817fb
6
+ metadata.gz: e088d8bd67ccda647a98b841dd26db5c542bdb434e377d6f73e6c9c982f59b35a1adb5ea82f22623faeff1c62cdff6c752fa07f6df7e87cac921d5eca74c8975
7
+ data.tar.gz: 8241e6550e58e7260b7c640524ff504d23db306558633f52c2c9d38dcfb2636dcc9ec7faa4471dcfc19849659cc63d0a3af34490f2a1cfe1654d4fde48932f8f
@@ -0,0 +1,62 @@
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
+
8
+ name: build
9
+
10
+ on: [push, pull_request]
11
+
12
+ jobs:
13
+ test:
14
+ runs-on: ubuntu-20.04
15
+ strategy:
16
+ fail-fast: false
17
+ matrix:
18
+ ruby:
19
+ - 3.0
20
+ - 2.7
21
+ - 2.6
22
+ - 2.5
23
+ gemfile:
24
+ # Cucumber 3.2+
25
+ - Gemfile-rails.4.2.x
26
+ - Gemfile-rails.5.0.x
27
+ - Gemfile-rails.5.1.x
28
+ - Gemfile-rails.5.2.x
29
+ - Gemfile-rails.6.0.x-cukes-3
30
+ - Gemfile-rails.6.1.x-cukes-3
31
+ # Cucumber 4.1+
32
+ - Gemfile-rails.5.2.x-cukes-4
33
+ - Gemfile-rails.6.0.x-cukes-4
34
+ # Cucumber 5.3+
35
+ - Gemfile-rails.5.2.x-cukes-5
36
+ - Gemfile-rails.6.0.x-cukes-5
37
+ - Gemfile-rails.6.1.x-cukes-5
38
+ # Cucumber 6
39
+ - Gemfile-rails.6.0.x-cukes-6
40
+ - Gemfile-rails.6.1.x-cukes-6
41
+ # Edge
42
+ - Gemfile-rails.edge
43
+ exclude:
44
+ # Rails edge is now 7.x and requires ruby 2.7
45
+ - gemfile: Gemfile-rails.edge
46
+ ruby: 2.6
47
+ - gemfile: Gemfile-rails.edge
48
+ ruby: 2.5
49
+ - gemfile: Gemfile-rails.4.2.x
50
+ ruby: 2.7
51
+ - gemfile: Gemfile-rails.4.2.x
52
+ ruby: 3.0
53
+
54
+ env:
55
+ BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}
56
+ steps:
57
+ - uses: actions/checkout@v2
58
+ - uses: ruby/setup-ruby@v1
59
+ with:
60
+ ruby-version: ${{ matrix.ruby }}
61
+ bundler-cache: true
62
+ - run: bundle exec rake
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # pickle
2
2
 
3
- [<img src="https://travis-ci.org/ianwhite/pickle.svg" alt="Build Status"/>](https://travis-ci.org/ianwhite/pickle)
3
+
4
+ [![build](https://github.com/ianwhite/pickle/actions/workflows/build.yml/badge.svg)](https://github.com/ianwhite/pickle/actions/workflows/build.yml)
4
5
 
5
6
  Pickle gives you cucumber steps that create your models easily from factory-girl, machinist, or fabrication. You can also just use ActiveRecord as a factory but it's not as cool. Pickle can make use of different ORMs for finding records. Currently ActiveRecord, DataMapper, MongoID adapters are provided. More adapters welcome!
6
7
 
@@ -12,12 +13,14 @@ This is a quickstart guide for rails apps. Firstly, install [cucumber-rails](ht
12
13
 
13
14
  ## Supported versions
14
15
 
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.
16
+ Cucumber 2.x - support was dropped from release 0.6.0
17
+ Cucumber 3.x - support is best-effort basis, but tests run on rails 4.2 all the way until 6.1
18
+ Cucumber 4.x - should work with all Rails 5.x versions, tests only run for 5.2 and 6.0
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
17
21
 
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
22
+ Please open pull-requests with fixes if you encounter any problems.
23
+ No active development on this gem.
21
24
 
22
25
  ### Rails 5 and Rails 6
23
26
 
@@ -0,0 +1,13 @@
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", "~> 4.2.9"
9
+ gem "cucumber", "~> 3.2.0"
10
+ gem "sqlite3", "~> 1.3.6"
11
+ gem "bundler", "~> 1.17"
12
+
13
+ gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800'
@@ -7,6 +7,5 @@ gemspec :path => ".."
7
7
 
8
8
  gem "rails", "~> 5.2.0"
9
9
  gem "cucumber", "~> 5.0"
10
- gem "cucumber-rails", github: 'cucumber/cucumber-rails', branch: 'cucumber5'
11
-
10
+ gem "cucumber-rails"
12
11
  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", "~> 3.2"
10
+ gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800'
@@ -7,5 +7,5 @@ gemspec :path => ".."
7
7
 
8
8
  gem "rails", "~> 6.0.0"
9
9
  gem "cucumber", "~> 5.0"
10
- gem "cucumber-rails", github: 'cucumber/cucumber-rails', branch: 'cucumber5'
10
+ gem "cucumber-rails"
11
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", "~> 6.0.0"
9
+ gem "cucumber", "~> 6.0"
10
+ gem "cucumber-rails"
11
+ 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.1.0"
9
+ gem "cucumber", "~> 3.2"
10
+ 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.1.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.1.0"
9
+ gem "cucumber", "~> 5.0"
10
+ gem "cucumber-rails"
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", "~> 6.1.0"
9
+ gem "cucumber", "~> 6.0"
10
+ gem "cucumber-rails"
11
+ gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800'
@@ -1,3 +1,3 @@
1
1
  module Pickle
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
data/pickle.gemspec CHANGED
@@ -13,13 +13,13 @@ Gem::Specification.new do |s|
13
13
  s.homepage = "https://github.com/ianwhite/pickle"
14
14
 
15
15
  s.rubyforge_project = "pickle"
16
- s.required_rubygems_version = ">= 1.3.6"
16
+ s.required_rubygems_version = ">= 2.0"
17
17
 
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
21
 
22
- s.add_dependency "cucumber", ">=3.0", "< 6.0"
22
+ s.add_dependency "cucumber", ">=3.0", "< 7.0"
23
23
  s.add_dependency "rake"
24
24
 
25
25
  s.add_development_dependency "rack"
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.0
4
+ version: 0.6.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: 2020-08-26 00:00:00.000000000 Z
13
+ date: 2021-06-22 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: '6.0'
24
+ version: '7.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: '6.0'
34
+ version: '7.0'
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: rake
37
37
  requirement: !ruby/object:Gem::Requirement
@@ -257,6 +257,7 @@ executables: []
257
257
  extensions: []
258
258
  extra_rdoc_files: []
259
259
  files:
260
+ - ".github/workflows/build.yml"
260
261
  - ".gitignore"
261
262
  - ".rspec"
262
263
  - ".travis.yml"
@@ -297,13 +298,21 @@ files:
297
298
  - features/support/paths.rb
298
299
  - features/support/pickle.rb
299
300
  - features/support/pickle_app.rb
301
+ - gemfiles/Gemfile-rails.4.2.x
302
+ - gemfiles/Gemfile-rails.4.2.x.lock
300
303
  - gemfiles/Gemfile-rails.5.0.x
301
304
  - gemfiles/Gemfile-rails.5.1.x
302
305
  - gemfiles/Gemfile-rails.5.2.x
303
306
  - gemfiles/Gemfile-rails.5.2.x-cukes-4
304
307
  - gemfiles/Gemfile-rails.5.2.x-cukes-5
305
- - gemfiles/Gemfile-rails.6.0.x
308
+ - gemfiles/Gemfile-rails.6.0.x-cukes-3
309
+ - gemfiles/Gemfile-rails.6.0.x-cukes-4
306
310
  - gemfiles/Gemfile-rails.6.0.x-cukes-5
311
+ - gemfiles/Gemfile-rails.6.0.x-cukes-6
312
+ - gemfiles/Gemfile-rails.6.1.x-cukes-3
313
+ - gemfiles/Gemfile-rails.6.1.x-cukes-4
314
+ - gemfiles/Gemfile-rails.6.1.x-cukes-5
315
+ - gemfiles/Gemfile-rails.6.1.x-cukes-6
307
316
  - gemfiles/Gemfile-rails.edge
308
317
  - lib/generators/pickle_generator.rb
309
318
  - lib/pickle.rb
@@ -357,9 +366,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
357
366
  requirements:
358
367
  - - ">="
359
368
  - !ruby/object:Gem::Version
360
- version: 1.3.6
369
+ version: '2.0'
361
370
  requirements: []
362
- rubygems_version: 3.0.8
371
+ rubygems_version: 3.0.9
363
372
  signing_key:
364
373
  specification_version: 4
365
374
  summary: Easy model creation and reference in your cucumber features.