File tree Expand file tree Collapse file tree 2 files changed +42
-6
lines changed Expand file tree Collapse file tree 2 files changed +42
-6
lines changed Original file line number Diff line number Diff line change
1
+ name : Release gem
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - v*
7
+
8
+ permissions :
9
+ contents : read
10
+
11
+ jobs :
12
+ push :
13
+ if : github.repository == 'svoop/minitest-substitute'
14
+ runs-on : ubuntu-latest
15
+
16
+ permissions :
17
+ contents : write
18
+ id-token : write
19
+
20
+ environment : release
21
+
22
+ steps :
23
+ - name : Harden runner
24
+ uses :
step-security/[email protected]
25
+ with :
26
+ egress-policy : audit
27
+ - uses : actions/checkout@v4
28
+ with :
29
+ persist-credentials : false
30
+ - name : Set up Ruby
31
+ uses : ruby/setup-ruby@v1
32
+ with :
33
+ bundler-cache : true
34
+ ruby-version : ruby
35
+ - uses : rubygems/release-gem@v1
Original file line number Diff line number Diff line change 1
1
## Main
2
2
3
- #### Changes
3
+ ### Changes
4
4
* Update Ruby to 3.4
5
+ * Add action for trusted release
5
6
6
7
## 1.0.0
7
8
8
- #### Breaking Changes
9
+ ### Breaking Changes
9
10
* Switch from ` with ` to ` substitute ` because Rails 7 pollutes ` Object ` for
10
11
everybody by introducing ` Object#with ` . 💣
11
12
12
13
## 0.3.0
13
14
14
- #### Additions
15
+ ### Additions
15
16
* Substition of constants
16
17
17
18
## 0.2.1
18
19
19
- #### Changes
20
+ ### Changes
20
21
* Defer evaluation of the substitution value block for specs
21
22
22
23
## 0.2.0
23
24
24
- #### Additions
25
+ ### Additions
25
26
* Refactor to support class variables as well
26
27
* Use declared subject as default target for with helper
27
28
28
29
## 0.1.0
29
30
30
- #### Initial Implementation
31
+ ### Initial Implementation
31
32
* Require Ruby 3.0
32
33
* Substitution of instance variables
33
34
* Substitution of global variables
You can’t perform that action at this time.
0 commit comments