rspec_in_context 1.1.0 → 1.1.0.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 +4 -4
- data/.github/workflows/test_and_publish.yml +3 -5
- data/.github/workflows/test_only.yml +1 -2
- data/.github/workflows/verify_version_change.yml +3 -3
- data/.gitignore +1 -0
- data/.rubocop.yml +1 -0
- data/CHANGELOG.md +8 -1
- data/lib/rspec_in_context/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ffe46e3cf41f69b6c43ba4a1ef3e6582a6b09edadbf23d09bda4e4532eac8ce2
|
|
4
|
+
data.tar.gz: eea652b3154c3843894184fbb2168cf181f2dddbd474b209aa6e330a144672b1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bf8e767db2af63f3a4f47abe2cdb2518bf9e5e1de8a67e7da11b4f82b3701e74b72763d5da29271a05e63e4f5ebf2a1e1c4960095ba5c6c8073fc787d7847a9a
|
|
7
|
+
data.tar.gz: f3a18c051527c777f7c5defd1880c047381f09c1609fc4941153d9a219a7afdfc5b6ebc4100c70f4cde85b2243ea924000047430e7688f3016d33ba39d57602e
|
|
@@ -18,8 +18,7 @@ jobs:
|
|
|
18
18
|
uses: ruby/setup-ruby@v1
|
|
19
19
|
with:
|
|
20
20
|
ruby-version: ${{ matrix.ruby }}
|
|
21
|
-
|
|
22
|
-
run: bundle install
|
|
21
|
+
bundler-cache: true
|
|
23
22
|
- name: Run linter
|
|
24
23
|
run: bundle exec rubocop
|
|
25
24
|
- name: Run tests
|
|
@@ -34,8 +33,7 @@ jobs:
|
|
|
34
33
|
uses: ruby/setup-ruby@v1
|
|
35
34
|
with:
|
|
36
35
|
ruby-version: 3.0
|
|
37
|
-
|
|
38
|
-
run: bundle install
|
|
36
|
+
bundler-cache: true
|
|
39
37
|
- name: Prepare credentials
|
|
40
38
|
env:
|
|
41
39
|
RUBYGEM_KEY: ${{ secrets.RUBYGEM_KEY }}
|
|
@@ -45,4 +43,4 @@ jobs:
|
|
|
45
43
|
- name: Fetch tags from remote
|
|
46
44
|
run: "git fetch -t"
|
|
47
45
|
- name: Publish if version change
|
|
48
|
-
run: 'git diff `git tag | tail -1` lib/rspec_in_context/version.rb | grep -E "^\+.*VERSION" && rake release || echo "No release for now"'
|
|
46
|
+
run: 'git diff `git tag | tail -1` -- lib/rspec_in_context/version.rb | grep -E "^\+.*VERSION" && rake release || echo "No release for now"'
|
|
@@ -14,8 +14,8 @@ jobs:
|
|
|
14
14
|
- name: Fetch main branch
|
|
15
15
|
run: git fetch origin main:main
|
|
16
16
|
- name: Verify if there's a change in version
|
|
17
|
-
run: "git diff main lib/rspec_in_context/version.rb | grep VERSION"
|
|
17
|
+
run: "git diff main -- lib/rspec_in_context/version.rb | grep VERSION"
|
|
18
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]+)?"'
|
|
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
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]+)?") ]]'
|
|
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]+)?") ]]'
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [1.0.0.1] - 2020-12-27
|
|
10
|
+
This is a release in order to test all type of actions
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- Cache support in github actions for ease of development
|
|
14
|
+
|
|
9
15
|
## [1.1.0] - 2020-12-27
|
|
10
16
|
### Added
|
|
11
17
|
- **BREAKING** Option to silence in_context block. They used to always wrap themself into a context block with their name. This is not the case anymore. All in_context are silent unless explicitely declared as not.
|
|
@@ -15,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
15
21
|
- Changelog
|
|
16
22
|
- Support ruby 3.0
|
|
17
23
|
|
|
18
|
-
[Unreleased]: https://github.com/zaratan/rspec_in_context/compare/v1.1.0...HEAD
|
|
24
|
+
[Unreleased]: https://github.com/zaratan/rspec_in_context/compare/v1.1.0.1...HEAD
|
|
25
|
+
[1.1.0.1]: https://github.com/zaratan/rspec_in_context/releases/tag/v1.1.0.1
|
|
19
26
|
[1.1.0]: https://github.com/zaratan/rspec_in_context/releases/tag/v1.1.0
|
|
20
27
|
[1.0.1.2]: https://github.com/zaratan/rspec_in_context/releases/tag/v1.0.1.2
|