1
0
Fork 0
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:
Nobuyoshi Nakada 2022-07-17 08:29:23 +09:00
parent c0aa8ee947
commit e330dceb3f
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6
2 changed files with 3 additions and 0 deletions

View file

@ -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]

View file

@ -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]