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 11## Main  
22
3- ####  Changes  
3+ ### Changes  
44*  Update Ruby to 3.4
5+ *  Add action for trusted release
56
67## 1.0.0  
78
8- ####  Breaking Changes  
9+ ### Breaking Changes  
910*  Switch from ` with `  to ` substitute `  because Rails 7 pollutes ` Object `  for
1011  everybody by introducing ` Object#with ` . 💣
1112
1213## 0.3.0  
1314
14- ####  Additions  
15+ ### Additions  
1516*  Substition of constants
1617
1718## 0.2.1  
1819
19- ####  Changes  
20+ ### Changes  
2021*  Defer evaluation of the substitution value block for specs
2122
2223## 0.2.0  
2324
24- ####  Additions  
25+ ### Additions  
2526*  Refactor to support class variables as well
2627*  Use declared subject as default target for with helper
2728
2829## 0.1.0  
2930
30- ####  Initial Implementation  
31+ ### Initial Implementation  
3132*  Require Ruby 3.0
3233*  Substitution of instance variables
3334*  Substitution of global variables
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments