rspec_in_context 1.0.1 → 1.0.1.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: 35f493281fd575342fb7d7bf2c8d2f396e34ea4db19645eb273ef429fa8041f5
4
- data.tar.gz: 21572e717ab9f0ebba78b8775e3e18bc1be8985c2c8b2f3abed798d9aa6ea37b
3
+ metadata.gz: c7c9ce48730994c41296831fa62cb76861329e04e46dde28a82c5b2da31054ba
4
+ data.tar.gz: bff86ef5d087b97ab83fcd7ea53f81ce68af81d7374110381b905cbabc07b7db
5
5
  SHA512:
6
- metadata.gz: d2b5ff94e3a48b19e91de9d19b3974605c59f6d3fc53668505f9fa6eab74015f076986abf0074914ad6360c1c9294bcd2989fef6e31827451da1f1852fff9e36
7
- data.tar.gz: 73f5ef4703d47491bebbbdb15ec9f3f40c12da5c76eb7fb124232fca0c06d9c4a55a27d501b1425f2fa336319a5827a87a9dcd447301ada35abec0715fa2dbc8
6
+ metadata.gz: d6888ee0ac9be1c58d3a18a640614fddcf9b52af9409a8082ce03de8930cd678b150ffd4ce9a4afaba02e9727e36e53a23cdfa8ac087fb08c3c72c9bcc930419
7
+ data.tar.gz: 97d4576d9d1c822406196f2ab3323c24f8e7ff18e29734d69d327869d87482a95e6e6c7db151ae317ec6dde4c1e97211d4677393dd12c59272324f8ae884120f
@@ -0,0 +1,53 @@
1
+ name: Tests
2
+
3
+ on:
4
+ push:
5
+ branches-ignore:
6
+ - main
7
+
8
+ jobs:
9
+ test-2_5:
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - name: Set up Ruby
15
+ uses: ruby/setup-ruby@v1
16
+ with:
17
+ ruby-version: 2.5
18
+ - name: Install dependencies
19
+ run: bundle install
20
+ - name: Run linter
21
+ run: bundle exec rubocop
22
+ - name: Run tests
23
+ run: bundle exec rspec
24
+ test-2_6:
25
+ runs-on: ubuntu-latest
26
+
27
+ steps:
28
+ - uses: actions/checkout@v2
29
+ - name: Set up Ruby
30
+ uses: ruby/setup-ruby@v1
31
+ with:
32
+ ruby-version: 2.6
33
+ - name: Install dependencies
34
+ run: bundle install
35
+ - name: Run linter
36
+ run: bundle exec rubocop
37
+ - name: Run tests
38
+ run: bundle exec rspec
39
+ test-2_7:
40
+ runs-on: ubuntu-latest
41
+
42
+ steps:
43
+ - uses: actions/checkout@v2
44
+ - name: Set up Ruby
45
+ uses: ruby/setup-ruby@v1
46
+ with:
47
+ ruby-version: 2.7
48
+ - name: Install dependencies
49
+ run: bundle install
50
+ - name: Run linter
51
+ run: bundle exec rubocop
52
+ - name: Run tests
53
+ run: bundle exec rspec
@@ -0,0 +1,21 @@
1
+ name: Verify version change
2
+
3
+ on:
4
+ pull_request:
5
+ branches:
6
+ - main
7
+
8
+ jobs:
9
+ version_change:
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - name: Fetch main branch
15
+ run: git fetch origin main:main
16
+ - name: Verify if there's a change in version
17
+ run: "git diff main lib/rspec_in_context/version.rb | grep VERSION"
18
+ - name: Print new version
19
+ run: 'git diff main lib/rspec_in_context/version.rb | grep -E "^\+.*VERSION" | grep -E -o "[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?"'
20
+ - name: Verify if higher version
21
+ run: '[[ $(git diff main lib/rspec_in_context/version.rb | grep -E "^\+.*VERSION" | grep -E -o "[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?") > $(git diff main lib/rspec_in_context/version.rb | grep -E "^-.*VERSION" | grep -E -o "[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?") ]]'
@@ -2,5 +2,5 @@
2
2
 
3
3
  module RspecInContext
4
4
  # Version of the gem
5
- VERSION = "1.0.1"
5
+ VERSION = "1.0.1.1"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_in_context
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis <Zaratan> Pasin
@@ -228,6 +228,8 @@ extensions: []
228
228
  extra_rdoc_files: []
229
229
  files:
230
230
  - ".github/workflows/test_and_publish.yml"
231
+ - ".github/workflows/test_only.yml"
232
+ - ".github/workflows/verify_version_change.yml"
231
233
  - ".gitignore"
232
234
  - ".overcommit.yml"
233
235
  - ".rspec"