rutabaga 3.0.1 → 3.0.2

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: 5a428f0756500bdf33b08768d84ce7ce8fc3aa9c8ee071c99b921d88042b2f89
4
- data.tar.gz: 57ad954ce4765e539343405560428fc89bbdb2aa128e4191e3f92a052680ab38
3
+ metadata.gz: 3d6c51a32cd3abeb7753144e65c1166230b9e728d2ca2b34908b08b434454810
4
+ data.tar.gz: 3e0926f70210244f08f675b1e4fb4684b3553705a8b50e4acdf8812f87173955
5
5
  SHA512:
6
- metadata.gz: 4b30b188a8e070606fac177a662d41cb1ab27ef11fa0294cfd5526fd733f5c81a88552e9ef92a62a28367719cf97e1657a1b29d2e0bb2eb736f7b126e3e20d53
7
- data.tar.gz: fddbe585d7eb6b91954f9097b7b4b1dbe791430644df58f9f576390f10aa89acfb5db9bc06a2d880e4908ce907a284344e142a159c190c1775aa9c4d63dcdab4
6
+ metadata.gz: 3dd9b6d369a01336b575178686f32b92a2b3f99c2597f604427985278a080f650e80421966a7099a2606123ba576ef04feb0c069809e381c77803d001410dab1
7
+ data.tar.gz: 53bd5a7dfaef0c4af85e2dfa967c83a68916ab0048c7ec2444b5a0936e636c31bf91072e205cedadce122e77c17146c862e0213a4398ff08cfc67d1e4d7c7662
@@ -0,0 +1,36 @@
1
+ name: Development
2
+
3
+ on:
4
+ push:
5
+ pull_request:
6
+ types: [opened, reopened]
7
+
8
+ jobs:
9
+ test:
10
+ strategy:
11
+ fail-fast: false
12
+ matrix:
13
+ os: [ubuntu-latest, macos-latest]
14
+ ruby: [2.5, 2.6, 2.7, jruby]
15
+ gemfile: [Gemfile, Gemfile.turnip3]
16
+ runs-on: ${{ matrix.os }}
17
+ steps:
18
+ - uses: actions/checkout@v2
19
+
20
+ - uses: ruby/setup-ruby@v1
21
+ with:
22
+ ruby-version: ${{matrix.ruby}}
23
+
24
+ - uses: actions/cache@v1
25
+ with:
26
+ path: vendor/bundle
27
+ key: bundle-use-ruby-${{matrix.os}}-${{matrix.ruby}}-${{hashFiles('**/${{matrix.gemfile}}')}}
28
+ restore-keys: |
29
+ bundle-use-ruby-${{matrix.os}}-${{matrix.ruby}}-${{hashFiles('**/${{matrix.gemfile}}')}}
30
+
31
+ - name: Bundle install...
32
+ run: |
33
+ bundle config path vendor/bundle
34
+ bundle install --gemfile=${{matrix.gemfile}}
35
+
36
+ - run: bundle exec rspec spec
@@ -0,0 +1,30 @@
1
+ name: Ruby Gem
2
+
3
+ on:
4
+ push:
5
+ branches: [ master ]
6
+ paths:
7
+ - 'lib/rutabaga/version.rb'
8
+
9
+ jobs:
10
+ build:
11
+ name: Build + Publish
12
+ runs-on: ubuntu-latest
13
+
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ - name: Set up Ruby 2.6
17
+ uses: actions/setup-ruby@v1
18
+ with:
19
+ version: 2.6.x
20
+
21
+ - name: Publish to RubyGems
22
+ run: |
23
+ gem install gem-release
24
+ mkdir -p $HOME/.gem
25
+ touch $HOME/.gem/credentials
26
+ chmod 0600 $HOME/.gem/credentials
27
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
28
+ gem release --tag --push
29
+ env:
30
+ GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
@@ -1,5 +1,10 @@
1
1
  # Changes
2
2
 
3
+ ## Version 3.0.2
4
+
5
+ - Implement auto deploy
6
+ - Remove support for ruby 2.4
7
+
3
8
  ## Version 3.0.1
4
9
 
5
10
  - Removes legacy compatibility hack which stops `capybara-screenshot` from working.
data/README.md CHANGED
@@ -8,7 +8,7 @@ Rutabaga allows you to invert the control of feature files, so that features are
8
8
 
9
9
  This means that it is simple to create tests that are described by a class (such as controller tests in rspec-rails).
10
10
 
11
- [![Build Status](https://travis-ci.org/simplybusiness/rutabaga.svg?branch=master)](https://travis-ci.org/simplybusiness/rutabaga)
11
+ [![Build Status](https://github.com/simplybusiness/rutabaga/workflows/.github/workflows/ci.yml/badge.svg)](https://github.com/simplybusiness/rutabaga/actions?query=workflow%3ADevelopment)
12
12
  [![Gem Version](https://badge.fury.io/rb/rutabaga.svg)](https://badge.fury.io/rb/rutabaga)
13
13
 
14
14
  ## Installation
@@ -171,31 +171,9 @@ The goal is to test just the business rule in Rutabaga, and not the login, the h
171
171
 
172
172
  ## For maintainers
173
173
 
174
- Use `gem-release` to maintain versions https://github.com/svenfuchs/gem-release.
175
-
176
- To update the patch version (e.g. 0.0.1 to 0.0.2), after merging the PR to `master` run:
177
-
178
- ```
179
- gem bump --tag --release --push
180
- ```
181
-
182
- if instead you want to bump the minor version (e.g. 0.0.1 to 0.1.0):
183
-
184
- ```
185
- gem bump --version minor --tag --release --push
186
- ```
187
-
188
- or major version (e.g. 0.0.1 to 1.0.0):
189
-
190
- ```
191
- gem bump --version major --tag --release --push
192
- ```
193
-
194
- If you've updated the version already, after merging to `master` run:
195
-
196
- ```
197
- gem release --tag --push
198
- ```
174
+ To release a new version of the gem, bump the version in `lib/rutabaga/version.rb`
175
+ using Semantic Versioning and merge to master. This will trigger a new version to
176
+ be deployed.
199
177
 
200
178
  ## Testing alternate versions
201
179
 
@@ -210,4 +188,4 @@ gem 'turnip', '3.1.0'
210
188
 
211
189
  ## Copyright
212
190
 
213
- Copyright © 2012-2019 Simply Business. See LICENSE for details.
191
+ Copyright © 2012-2020 Simply Business. See LICENSE for details.
@@ -1,3 +1,3 @@
1
1
  module Rutabaga
2
- VERSION = '3.0.1'
2
+ VERSION = '3.0.2'
3
3
  end
@@ -47,7 +47,7 @@ describe 'integration', :type => :integration do
47
47
  end
48
48
 
49
49
  it "should provide failure messages that allow a specific scenario to be run" do
50
- expect(@result).to include("rspec ./examples/test_feature_example_group_spec.rb[1:1:1:4:1]")
50
+ expect(@result).to match(/rspec '{0,1}.\/examples\/test_feature_example_group_spec.rb\[1:1:1:4:1\]'{0,1}/)
51
51
  end
52
52
  end
53
53
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rutabaga
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lukas Oberhuber
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-09 00:00:00.000000000 Z
11
+ date: 2020-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: turnip
@@ -79,8 +79,9 @@ executables: []
79
79
  extensions: []
80
80
  extra_rdoc_files: []
81
81
  files:
82
+ - ".github/workflows/ci.yml"
83
+ - ".github/workflows/gempush.yml"
82
84
  - ".gitignore"
83
- - ".travis.yml"
84
85
  - CHANGELOG.md
85
86
  - Gemfile
86
87
  - Gemfile.turnip3
@@ -137,11 +138,4 @@ signing_key:
137
138
  specification_version: 4
138
139
  summary: Calling Turnip feature files from RSpec, which allows encapsulating a feature
139
140
  inside a describe block
140
- test_files:
141
- - spec/feature_spec.rb
142
- - spec/features/fixture.feature
143
- - spec/formatter_spec.rb
144
- - spec/no_turnip_spec.rb
145
- - spec/rspec_formatter/formatter.rb
146
- - spec/rutabaga/util_spec.rb
147
- - spec/spec_helper.rb
141
+ test_files: []
@@ -1,17 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.4
4
- - 2.5
5
- - 2.6
6
- - jruby
7
-
8
- gemfile:
9
- - Gemfile
10
- - ./Gemfile.turnip3
11
-
12
- matrix:
13
- allow_failures:
14
- - rvm: jruby # Google protobuf, requirement for turnip 4 not compatible yet
15
- gemfile: Gemfile
16
-
17
- script: bundle exec rspec spec