emf2svg 1.0.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa122aad222e0fd176cfc1866e0cdb5aad0bfb21374ec8c6ee75003c86332423
4
- data.tar.gz: 44eaa239f4747d9aca2303848ac1e620f5777d495c6e91731a82e948ccfc9032
3
+ metadata.gz: d2b1f0ca81775a0ea7d4b38e78d8dfbde2c80554f3fd89910e58bef0ec9416a2
4
+ data.tar.gz: d19bbcfdf6d8f4500b18f82da5c833737272b2a2c74289d60a42cfa61ef28fe6
5
5
  SHA512:
6
- metadata.gz: ed4f0f3dd1169d4e47228f169f56240a8025132e92eb5a5c84318cd99cfeb62f777c0ac945bfd666def89a0db88f990f4e8d0ae1e162d02bd0aa464defce6fa4
7
- data.tar.gz: cfe0a4cbef936aa876fd72686f493a08886a44e4dda501394bd935236c5152989b8fba80a4db3502a83b7f96899c3687715f922805381e53af117d5f5a94e430
6
+ metadata.gz: 7100719c74a62034e698ca8067e610d7f30d70ec346665fd8516bc7c02a0e0e74edf76daa41c95f607841feb2767be8278e0533cc1c7847dd3846b9688ff174a
7
+ data.tar.gz: 315ced97d3b83d0255b8058b199d3ae2fe9e8d7ac55f50bb5336185d7dce4679275455c80a32e7a24acd007217ba6eb774eb4d11b916dd279609ed2fe5b4a4be
@@ -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: 2.6.6
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: '2.6'
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 --no-document pkg/emf2svg-*.gem
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: '2.6'
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 --no-document pkg/emf2svg-$(ruby -I lib -r emf2svg/version -e "puts Emf2svg::VERSION").gem
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 --no-document pkg/emf2svg-*-${{ matrix.platform }}.gem
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: '2.6'
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 --no-document pkg/emf2svg-*.gem
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.6'
60
+ ruby-version: '2.7'
54
61
  bundler-cache: true
55
62
 
56
63
  - uses: actions/download-artifact@v2
data/.rubocop.yml CHANGED
@@ -2,4 +2,7 @@ inherit_from:
2
2
  - 'https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml'
3
3
 
4
4
  AllCops:
5
- TargetRubyVersion: 2.5
5
+ TargetRubyVersion: 2.7
6
+
7
+ Gemspec/RequireMFA:
8
+ Enabled: false
data/Rakefile CHANGED
@@ -32,6 +32,7 @@ end
32
32
 
33
33
  platforms = [
34
34
  "x64-mingw32",
35
+ "x64-mingw-ucrt",
35
36
  "x86_64-linux",
36
37
  "x86_64-darwin",
37
38
  ]
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.5.0"
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"
@@ -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.0")
10
+ super("libemf2svg", "1.3.1")
11
11
 
12
12
  @files << {
13
- url: "https://github.com/metanorma/libemf2svg/releases/download/1.3.0/libemf2svg.tar.gz",
14
- sha256: "aacbf001701e3f863e97c6c117146ee710636283851d866b715de653fb79343e", # rubocop:disable Layout/LineLength
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Emf2svg
4
- VERSION = "1.0.0"
4
+ VERSION = "1.1.1"
5
5
  end
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.0.0
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: 2021-09-06 00:00:00.000000000 Z
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.5.0
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.0.3.1
133
+ rubygems_version: 3.1.6
134
134
  signing_key:
135
135
  specification_version: 4
136
136
  summary: Ruby interface to libemf2svg.