mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Mark ruby scripts in YAML [ci skip]
```elisp (mmm-ify-by-regexp 'ruby-mode "^ *#!.*ruby" 0 "^ *shell: *ruby.*{0}" 0 0) ```
This commit is contained in:
parent
c0aa8ee947
commit
e330dceb3f
2 changed files with 3 additions and 0 deletions
1
.github/workflows/bundled_gems.yml
vendored
1
.github/workflows/bundled_gems.yml
vendored
|
@ -50,6 +50,7 @@ jobs:
|
||||||
|
|
||||||
- name: Maintain updated gems list in NEWS
|
- name: Maintain updated gems list in NEWS
|
||||||
run: |
|
run: |
|
||||||
|
#!ruby
|
||||||
require 'json'
|
require 'json'
|
||||||
news = File.read("NEWS.md")
|
news = File.read("NEWS.md")
|
||||||
prev = news[/since the \*+(\d+\.\d+\.\d+)\*+/, 1]
|
prev = news[/since the \*+(\d+\.\d+\.\d+)\*+/, 1]
|
||||||
|
|
2
.github/workflows/check_misc.yml
vendored
2
.github/workflows/check_misc.yml
vendored
|
@ -39,6 +39,7 @@ jobs:
|
||||||
|
|
||||||
- name: Make default gems list
|
- name: Make default gems list
|
||||||
run: |
|
run: |
|
||||||
|
#!ruby
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
$:.unshift "lib"
|
$:.unshift "lib"
|
||||||
rgver = File.foreach("lib/rubygems.rb") do |line|
|
rgver = File.foreach("lib/rubygems.rb") do |line|
|
||||||
|
@ -56,6 +57,7 @@ jobs:
|
||||||
|
|
||||||
- name: Maintain updated gems list in NEWS
|
- name: Maintain updated gems list in NEWS
|
||||||
run: |
|
run: |
|
||||||
|
#!ruby
|
||||||
require 'json'
|
require 'json'
|
||||||
news = File.read("NEWS.md")
|
news = File.read("NEWS.md")
|
||||||
prev = news[/since the \*+(\d+\.\d+\.\d+)\*+/, 1]
|
prev = news[/since the \*+(\d+\.\d+\.\d+)\*+/, 1]
|
||||||
|
|
Loading…
Reference in a new issue