interscript 2.4.3 → 2.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/assets.yml +2 -1
- data/.github/workflows/rake.yml +9 -11
- data/.github/workflows/release.yml +2 -1
- data/lib/interscript/dsl/metadata.rb +4 -5
- data/lib/interscript/dsl.rb +6 -1
- data/lib/interscript/version.rb +1 -1
- data/lib/interscript/visualize/map.html.erb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d70ba0bcf8f6cf72951983b6aacd3a0089e2d79ceb62b441bd4549a7731bfcb
|
4
|
+
data.tar.gz: 1fd552a2803d7c67cd12ec7ed3f2b956c1fc603d624673e3cace9f2db3bc2adb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0ed290794bc0724ece2c4e9ce547fe7a716566b119061c3ee6ec65240b92d81b2b41be833a257ca130aba9f440294ad9626accc4fd905d96a21a644fdaa6c00
|
7
|
+
data.tar.gz: ba5ed46ba6dddf8c422fbc671492e41bc8898ed0cb1622e63310a77c6972352ee6285f9eb01d038f576dbd926a120ea41f7aa41fb60df66318c2274144551634
|
data/.github/workflows/rake.yml
CHANGED
@@ -2,7 +2,7 @@ name: rake
|
|
2
2
|
|
3
3
|
on:
|
4
4
|
push:
|
5
|
-
branches: [ main, v
|
5
|
+
branches: [ main, v*, ci-check ]
|
6
6
|
tags: [ v* ]
|
7
7
|
pull_request:
|
8
8
|
|
@@ -10,23 +10,21 @@ jobs:
|
|
10
10
|
rspec:
|
11
11
|
name: Test on Ruby ${{ matrix.ruby }} ${{ matrix.os }}
|
12
12
|
runs-on: ${{ matrix.os }}
|
13
|
-
continue-on-error:
|
13
|
+
continue-on-error: true
|
14
14
|
strategy:
|
15
15
|
fail-fast: false
|
16
16
|
matrix:
|
17
|
-
ruby: [
|
17
|
+
ruby: [ "3.0", 2.7, 2.6 ]
|
18
18
|
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
19
|
-
experimental: [ false ]
|
20
19
|
include:
|
21
|
-
- ruby: "3.
|
20
|
+
- ruby: "3.1"
|
22
21
|
os: 'ubuntu-latest'
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
- ruby: "3.
|
22
|
+
- ruby: "3.2"
|
23
|
+
os: 'ubuntu-latest'
|
24
|
+
- ruby: "3.1"
|
25
|
+
os: 'macos-latest'
|
26
|
+
- ruby: "3.2"
|
28
27
|
os: 'macos-latest'
|
29
|
-
experimental: true
|
30
28
|
|
31
29
|
env:
|
32
30
|
BUNDLE_WITHOUT: "secryst"
|
@@ -19,7 +19,7 @@ jobs:
|
|
19
19
|
|
20
20
|
- uses: ruby/setup-ruby@v1
|
21
21
|
with:
|
22
|
-
ruby-version: '
|
22
|
+
ruby-version: '3.0'
|
23
23
|
|
24
24
|
- uses: actions/setup-node@v1
|
25
25
|
with:
|
@@ -44,6 +44,7 @@ jobs:
|
|
44
44
|
RUBYGEMS_API_KEY: ${{secrets.INTERSCRIPT_RUBYGEMS_API_KEY}}
|
45
45
|
run: |
|
46
46
|
gem install gem-release
|
47
|
+
mkdir -p ~/.gem
|
47
48
|
touch ~/.gem/credentials
|
48
49
|
cat > ~/.gem/credentials << EOF
|
49
50
|
---
|
@@ -20,13 +20,12 @@ class Interscript::DSL::Metadata
|
|
20
20
|
|
21
21
|
STANDARD_STRING_KEYS = %i{authority_id id
|
22
22
|
language source_script destination_script
|
23
|
-
name
|
24
|
-
character source confirmation_date}
|
23
|
+
name creation_date adoption_date description
|
24
|
+
character source confirmation_date original_description}
|
25
25
|
|
26
|
-
STANDARD_ARRAY_KEYS = %i{notes}
|
26
|
+
STANDARD_ARRAY_KEYS = %i{notes implementation_notes original_notes url}
|
27
27
|
|
28
|
-
NONSTANDARD_KEYS = %i{special_rules
|
29
|
-
implementation_notes}
|
28
|
+
NONSTANDARD_KEYS = %i{special_rules}
|
30
29
|
|
31
30
|
NECESSARY_KEYS = %i{name language source_script destination_script}
|
32
31
|
|
data/lib/interscript/dsl.rb
CHANGED
@@ -76,7 +76,12 @@ module Interscript::DSL
|
|
76
76
|
yaml = if yaml =~ /\A\s*\z/
|
77
77
|
{}
|
78
78
|
else
|
79
|
-
YAML.
|
79
|
+
unsafe_load = if YAML.respond_to? :unsafe_load
|
80
|
+
:unsafe_load
|
81
|
+
else
|
82
|
+
:load
|
83
|
+
end
|
84
|
+
YAML.public_send(unsafe_load, yaml, filename: exc_fname)
|
80
85
|
end
|
81
86
|
|
82
87
|
md = Interscript::DSL::Metadata.new(yaml: true, map_name: map_name, library: library) do
|
data/lib/interscript/version.rb
CHANGED
@@ -35,7 +35,7 @@
|
|
35
35
|
|
36
36
|
<% case k
|
37
37
|
when :url %>
|
38
|
-
<dd
|
38
|
+
<dd><% v.each do |i| %><a href="<%= h i %>"><%= h i %></a><% if i != v.last %>; <% end %><% end %>
|
39
39
|
<% when :notes, :implementation_notes, :special_rules, :original_notes, :original_description # We ignore notes for now %>
|
40
40
|
<% else %>
|
41
41
|
<dd><%= h v %>
|
@@ -43,4 +43,4 @@
|
|
43
43
|
<% end %>
|
44
44
|
</dl>
|
45
45
|
|
46
|
-
<%= render_stage(self.map.name, :main) %>
|
46
|
+
<%= render_stage(self.map.name, :main) %>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: interscript
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
@@ -167,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
167
167
|
- !ruby/object:Gem::Version
|
168
168
|
version: '0'
|
169
169
|
requirements: []
|
170
|
-
rubygems_version: 3.
|
170
|
+
rubygems_version: 3.2.33
|
171
171
|
signing_key:
|
172
172
|
specification_version: 4
|
173
173
|
summary: Interoperable script conversion systems
|