emf2svg 1.0.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +28 -6
- data/.github/workflows/release.yml +10 -3
- data/.rubocop.yml +4 -1
- data/Rakefile +1 -0
- data/emf2svg.gemspec +1 -1
- data/lib/emf2svg/recipe.rb +3 -4
- data/lib/emf2svg/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2b1f0ca81775a0ea7d4b38e78d8dfbde2c80554f3fd89910e58bef0ec9416a2
|
4
|
+
data.tar.gz: d19bbcfdf6d8f4500b18f82da5c833737272b2a2c74289d60a42cfa61ef28fe6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7100719c74a62034e698ca8067e610d7f30d70ec346665fd8516bc7c02a0e0e74edf76daa41c95f607841feb2767be8278e0533cc1c7847dd3846b9688ff174a
|
7
|
+
data.tar.gz: 315ced97d3b83d0255b8058b199d3ae2fe9e8d7ac55f50bb5336185d7dce4679275455c80a32e7a24acd007217ba6eb774eb4d11b916dd279609ed2fe5b4a4be
|
data/.github/workflows/main.yml
CHANGED
@@ -4,6 +4,7 @@ on:
|
|
4
4
|
push:
|
5
5
|
branches: [ main, master ]
|
6
6
|
pull_request:
|
7
|
+
workflow_dispatch:
|
7
8
|
|
8
9
|
jobs:
|
9
10
|
test:
|
@@ -12,12 +13,16 @@ jobs:
|
|
12
13
|
fail-fast: false
|
13
14
|
matrix:
|
14
15
|
os: [ ubuntu-18.04, ubuntu-latest, windows-latest, macos-latest ]
|
16
|
+
ruby-version: [ '2.7' ]
|
17
|
+
include:
|
18
|
+
- os: windows-latest
|
19
|
+
ruby-version: '3.1'
|
15
20
|
steps:
|
16
21
|
- uses: actions/checkout@v2
|
17
22
|
|
18
23
|
- uses: ruby/setup-ruby@v1
|
19
24
|
with:
|
20
|
-
ruby-version:
|
25
|
+
ruby-version: ${{ matrix.ruby-version }}
|
21
26
|
bundler-cache: true
|
22
27
|
|
23
28
|
- run: bundle exec rake
|
@@ -30,18 +35,25 @@ jobs:
|
|
30
35
|
include:
|
31
36
|
- os: ubuntu-18.04
|
32
37
|
platform: any
|
38
|
+
ruby-version: '2.7'
|
33
39
|
- os: ubuntu-18.04
|
34
40
|
platform: x86_64-linux
|
41
|
+
ruby-version: '2.7'
|
35
42
|
- os: windows-latest
|
36
43
|
platform: x64-mingw32
|
44
|
+
ruby-version: '2.7'
|
45
|
+
- os: windows-latest
|
46
|
+
platform: x64-mingw-ucrt
|
47
|
+
ruby-version: '3.1'
|
37
48
|
- os: macos-latest
|
38
49
|
platform: x86_64-darwin
|
50
|
+
ruby-version: '2.7'
|
39
51
|
steps:
|
40
52
|
- uses: actions/checkout@v2
|
41
53
|
|
42
54
|
- uses: ruby/setup-ruby@v1
|
43
55
|
with:
|
44
|
-
ruby-version:
|
56
|
+
ruby-version: ${{ matrix.ruby-version }}
|
45
57
|
bundler-cache: true
|
46
58
|
|
47
59
|
- run: bundle exec rake gem:native:${{ matrix.platform }}
|
@@ -52,7 +64,7 @@ jobs:
|
|
52
64
|
path: pkg/*.gem
|
53
65
|
|
54
66
|
- name: Install gem
|
55
|
-
run: gem install
|
67
|
+
run: gem install -b pkg/emf2svg-*.gem
|
56
68
|
|
57
69
|
- name: Test conversion
|
58
70
|
run: |
|
@@ -67,24 +79,34 @@ jobs:
|
|
67
79
|
include:
|
68
80
|
- os: ubuntu-latest
|
69
81
|
platform: any
|
82
|
+
ruby-version: '2.7'
|
70
83
|
- os: windows-latest
|
71
84
|
platform: any
|
85
|
+
ruby-version: '2.7'
|
72
86
|
- os: macos-latest
|
73
87
|
platform: any
|
88
|
+
ruby-version: '2.7'
|
74
89
|
- os: ubuntu-18.04
|
75
90
|
platform: x86_64-linux
|
91
|
+
ruby-version: '2.7'
|
76
92
|
- os: ubuntu-latest
|
77
93
|
platform: x86_64-linux
|
94
|
+
ruby-version: '2.7'
|
78
95
|
- os: windows-latest
|
79
96
|
platform: x64-mingw32
|
97
|
+
ruby-version: '2.7'
|
98
|
+
- os: windows-latest
|
99
|
+
platform: x64-mingw-ucrt
|
100
|
+
ruby-version: '3.1'
|
80
101
|
- os: macos-latest
|
81
102
|
platform: x86_64-darwin
|
103
|
+
ruby-version: '2.7'
|
82
104
|
steps:
|
83
105
|
- uses: actions/checkout@v2
|
84
106
|
|
85
107
|
- uses: ruby/setup-ruby@v1
|
86
108
|
with:
|
87
|
-
ruby-version:
|
109
|
+
ruby-version: ${{ matrix.ruby-version }}
|
88
110
|
|
89
111
|
- uses: actions/download-artifact@v2
|
90
112
|
with:
|
@@ -93,11 +115,11 @@ jobs:
|
|
93
115
|
|
94
116
|
- name: Install native gem
|
95
117
|
if: matrix.platform == 'any'
|
96
|
-
run: gem install
|
118
|
+
run: gem install -b pkg/emf2svg-$(ruby -I lib -r emf2svg/version -e "puts Emf2svg::VERSION").gem
|
97
119
|
|
98
120
|
- name: Install binary gem
|
99
121
|
if: matrix.platform != 'any'
|
100
|
-
run: gem install
|
122
|
+
run: gem install -b pkg/emf2svg-*-${{ matrix.platform }}.gem
|
101
123
|
|
102
124
|
- name: Test conversion
|
103
125
|
run: |
|
@@ -14,18 +14,25 @@ jobs:
|
|
14
14
|
include:
|
15
15
|
- os: ubuntu-18.04
|
16
16
|
platform: any
|
17
|
+
ruby-version: '2.7'
|
17
18
|
- os: ubuntu-18.04
|
18
19
|
platform: x86_64-linux
|
20
|
+
ruby-version: '2.7'
|
19
21
|
- os: windows-latest
|
20
22
|
platform: x64-mingw32
|
23
|
+
ruby-version: '2.7'
|
24
|
+
- os: windows-latest
|
25
|
+
platform: x64-mingw-ucrt
|
26
|
+
ruby-version: '3.1'
|
21
27
|
- os: macos-latest
|
22
28
|
platform: x86_64-darwin
|
29
|
+
ruby-version: '2.7'
|
23
30
|
steps:
|
24
31
|
- uses: actions/checkout@v2
|
25
32
|
|
26
33
|
- uses: ruby/setup-ruby@v1
|
27
34
|
with:
|
28
|
-
ruby-version:
|
35
|
+
ruby-version: ${{ matrix.ruby-version }}
|
29
36
|
bundler-cache: true
|
30
37
|
|
31
38
|
- run: bundle exec rake gem:native:${{ matrix.platform }}
|
@@ -36,7 +43,7 @@ jobs:
|
|
36
43
|
path: pkg/*.gem
|
37
44
|
|
38
45
|
- name: Install gem
|
39
|
-
run: gem install
|
46
|
+
run: gem install -b pkg/emf2svg-*.gem
|
40
47
|
|
41
48
|
- name: Test conversion
|
42
49
|
run: |
|
@@ -50,7 +57,7 @@ jobs:
|
|
50
57
|
|
51
58
|
- uses: ruby/setup-ruby@v1
|
52
59
|
with:
|
53
|
-
ruby-version: '2.
|
60
|
+
ruby-version: '2.7'
|
54
61
|
bundler-cache: true
|
55
62
|
|
56
63
|
- uses: actions/download-artifact@v2
|
data/.rubocop.yml
CHANGED
data/Rakefile
CHANGED
data/emf2svg.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
spec.summary = "Ruby interface to libemf2svg."
|
12
12
|
spec.homepage = "https://github.com/metanorma/emf2svg-ruby"
|
13
13
|
spec.license = "BSD-2-Clause"
|
14
|
-
spec.required_ruby_version = ">= 2.
|
14
|
+
spec.required_ruby_version = ">= 2.7.0"
|
15
15
|
|
16
16
|
spec.metadata["homepage_uri"] = spec.homepage
|
17
17
|
spec.metadata["source_code_uri"] = "https://github.com/metanorma/emf2svg-ruby"
|
data/lib/emf2svg/recipe.rb
CHANGED
@@ -7,11 +7,11 @@ module Emf2svg
|
|
7
7
|
ROOT = Pathname.new(File.expand_path("../..", __dir__))
|
8
8
|
|
9
9
|
def initialize
|
10
|
-
super("libemf2svg", "1.3.
|
10
|
+
super("libemf2svg", "1.3.1")
|
11
11
|
|
12
12
|
@files << {
|
13
|
-
url: "https://github.com/metanorma/libemf2svg/releases/download/1.3.
|
14
|
-
sha256: "
|
13
|
+
url: "https://github.com/metanorma/libemf2svg/releases/download/1.3.1/libemf2svg.tar.gz",
|
14
|
+
sha256: "732c60c54d0692a8634221e6ffb0733ad0bb1d9a246a03ba2433c535441eb73e", # rubocop:disable Layout/LineLength
|
15
15
|
}
|
16
16
|
|
17
17
|
@target = ROOT.join(@target).to_s
|
@@ -39,7 +39,6 @@ module Emf2svg
|
|
39
39
|
|
40
40
|
if MiniPortile.windows?
|
41
41
|
opts << "-DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake"
|
42
|
-
opts << "-GVisual Studio 16 2019"
|
43
42
|
end
|
44
43
|
|
45
44
|
opts
|
data/lib/emf2svg/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: emf2svg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -123,14 +123,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
123
123
|
requirements:
|
124
124
|
- - ">="
|
125
125
|
- !ruby/object:Gem::Version
|
126
|
-
version: 2.
|
126
|
+
version: 2.7.0
|
127
127
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - ">="
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0'
|
132
132
|
requirements: []
|
133
|
-
rubygems_version: 3.
|
133
|
+
rubygems_version: 3.1.6
|
134
134
|
signing_key:
|
135
135
|
specification_version: 4
|
136
136
|
summary: Ruby interface to libemf2svg.
|