lutaml 0.7.4 → 0.7.5

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: 042ab4eb8ec87f5b350bc20a6342756892a3cd4929dfbbe537464590c8278dba
4
- data.tar.gz: 4cbadc50bdae9f93b5c882f060ac5532e491271ee455660d0dab9df0b1eaf87c
3
+ metadata.gz: 2e98f32430c5e68002bab47d845cb50bf8bddb3c7fb47313b16b3e90a0488786
4
+ data.tar.gz: 39843ef90934f8425b092cf1a3b312f8d1257d0a4cf18f4c7286c435c0545f20
5
5
  SHA512:
6
- metadata.gz: ad3d25038abb6ff22b79f1eb27eaa1439920b4d6bc582ed055049d8ad9de41eb9a8280f169e772b005ef5a4cc6978e5e3fa916a7b48ee6ef2a97509464c0747a
7
- data.tar.gz: 444254ebb4926068d2651f4e76c75c38c955efa514234fbfab9943e7973e473b9d4cb411f15348cfd9eb632d8a3abade0e95bfebd8ff8cb45d23ab6a3f1e7f26
6
+ metadata.gz: 68ab2ddac51f434300e1ffab94c441799b9cf053e7aab4e8e1b2811d22462077969fa2f66f1a48dce0e1f09ac68edb6a1cb87dfda96bf189712ac0b91ba335f2
7
+ data.tar.gz: af15335cecd82f6be6f5dc4138b82f829459b39f8f4033ee0baeb001b5eeab73a0e87dd80dc31d34a241726231661d755fad20aa99161862299ecd505280f672
@@ -0,0 +1,15 @@
1
+ # Auto-generated by Cimas: Do not edit it manually!
2
+ # See https://github.com/metanorma/cimas
3
+ name: rake
4
+
5
+ on:
6
+ push:
7
+ branches: [ master, main ]
8
+ tags: [ v* ]
9
+ pull_request:
10
+
11
+ jobs:
12
+ rake:
13
+ uses: metanorma/ci/.github/workflows/graphviz-rake.yml@main
14
+ secrets:
15
+ pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
@@ -0,0 +1,22 @@
1
+ name: release
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ next_version:
7
+ description: |
8
+ Next release version. Possible values: x.y.z, major, minor, patch or pre|rc|etc
9
+ required: true
10
+ default: 'skip'
11
+ push:
12
+ tags: [ v* ]
13
+
14
+ jobs:
15
+ release:
16
+ uses: metanorma/ci/.github/workflows/rubygems-release.yml@main
17
+ with:
18
+ next_version: ${{ github.event.inputs.next_version }}
19
+ secrets:
20
+ rubygems-api-key: ${{ secrets.LUTAML_CI_RUBYGEMS_API_KEY }}
21
+ pat_token: ${{ secrets.LUTAML_CI_PAT_TOKEN }}
22
+
data/.hound.yml ADDED
@@ -0,0 +1,5 @@
1
+ # Auto-generated by Cimas: Do not edit it manually!
2
+ # See https://github.com/metanorma/cimas
3
+ ruby:
4
+ enabled: true
5
+ config_file: .rubocop.yml
data/.rubocop.yml ADDED
@@ -0,0 +1,10 @@
1
+ # Auto-generated by Cimas: Do not edit it manually!
2
+ # See https://github.com/metanorma/cimas
3
+ inherit_from:
4
+ - https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml
5
+
6
+ # local repo-specific modifications
7
+ # ...
8
+
9
+ AllCops:
10
+ TargetRubyVersion: 2.5
@@ -8,6 +8,7 @@ module Lutaml
8
8
  class GraphVizEngine < Engine
9
9
  def render(type)
10
10
  Open3.popen3("dot -T#{type}") do |stdin, stdout, _stderr, _wait|
11
+ stdout.binmode
11
12
  stdin.puts(input)
12
13
  stdin.close
13
14
  stdout.read
@@ -1,3 +1,3 @@
1
1
  module Lutaml
2
- VERSION = "0.7.4".freeze
2
+ VERSION = "0.7.5".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lutaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.4
4
+ version: 0.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-07-06 00:00:00.000000000 Z
11
+ date: 2022-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lutaml-express
@@ -172,11 +172,12 @@ executables:
172
172
  extensions: []
173
173
  extra_rdoc_files: []
174
174
  files:
175
- - ".github/workflows/macos.yml"
176
- - ".github/workflows/ubuntu.yml"
177
- - ".github/workflows/windows.yml"
175
+ - ".github/workflows/rake.yml"
176
+ - ".github/workflows/release.yml"
178
177
  - ".gitignore"
178
+ - ".hound.yml"
179
179
  - ".rspec"
180
+ - ".rubocop.yml"
180
181
  - ".travis.yml"
181
182
  - CODE_OF_CONDUCT.md
182
183
  - Gemfile
@@ -206,7 +207,7 @@ metadata:
206
207
  homepage_uri: https://github.com/lutaml/lutaml
207
208
  source_code_uri: https://github.com/lutaml/lutaml
208
209
  changelog_uri: https://github.com/lutaml/lutaml/releases
209
- post_install_message:
210
+ post_install_message:
210
211
  rdoc_options: []
211
212
  require_paths:
212
213
  - lib
@@ -221,8 +222,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
221
222
  - !ruby/object:Gem::Version
222
223
  version: '0'
223
224
  requirements: []
224
- rubygems_version: 3.0.3
225
- signing_key:
225
+ rubygems_version: 3.1.6
226
+ signing_key:
226
227
  specification_version: 4
227
228
  summary: 'LutaML: data models in textual form'
228
229
  test_files: []
@@ -1,41 +0,0 @@
1
- name: macos
2
-
3
- on:
4
- push:
5
- branches: [ master ]
6
- pull_request:
7
- paths-ignore:
8
- - .github/workflows/ubuntu.yml
9
- - .github/workflows/windows.yml
10
-
11
- jobs:
12
- test-macos:
13
- name: Test on Ruby ${{ matrix.ruby }} macOS
14
- runs-on: macos-latest
15
- continue-on-error: ${{ matrix.experimental }}
16
- strategy:
17
- fail-fast: false
18
- matrix:
19
- ruby: [ '2.6', '2.5' ]
20
- experimental: [false]
21
- include:
22
- - ruby: '2.7'
23
- experimental: true
24
- steps:
25
- - uses: actions/checkout@master
26
- - name: Install build tools
27
- run: |
28
- brew install automake libtool
29
- - name: Use Ruby
30
- uses: actions/setup-ruby@v1
31
- with:
32
- ruby-version: ${{ matrix.ruby }}
33
- - name: Install Grpahviz macOS
34
- run: brew install graphviz
35
- - name: Update gems
36
- run: |
37
- sudo gem install bundler --force
38
- bundle install --jobs 4 --retry 3
39
- - name: Run specs
40
- run: |
41
- bundle exec rake
@@ -1,40 +0,0 @@
1
- name: ubuntu
2
-
3
- on:
4
- push:
5
- branches: [ master ]
6
- tags:
7
- - '*'
8
- pull_request:
9
- paths-ignore:
10
- - .github/workflows/macos.yml
11
- - .github/workflows/windows.yml
12
-
13
- jobs:
14
- test-linux:
15
- name: Test on Ruby ${{ matrix.ruby }} Ubuntu
16
- runs-on: ubuntu-latest
17
- continue-on-error: ${{ matrix.experimental }}
18
- strategy:
19
- fail-fast: false
20
- matrix:
21
- ruby: [ '2.6', '2.5' ]
22
- experimental: [false]
23
- include:
24
- - ruby: '2.7'
25
- experimental: true
26
- steps:
27
- - uses: actions/checkout@master
28
- - name: Use Ruby
29
- uses: actions/setup-ruby@v1
30
- with:
31
- ruby-version: ${{ matrix.ruby }}
32
- - name: Install Grpahviz Ubuntu
33
- run: sudo apt-get install graphviz
34
- - name: Update gems
35
- run: |
36
- gem install bundler
37
- bundle install --jobs 4 --retry 3
38
- - name: Run specs
39
- run: |
40
- bundle exec rake
@@ -1,48 +0,0 @@
1
- name: windows
2
-
3
- on:
4
- push:
5
- branches: [ master ]
6
- pull_request:
7
- paths-ignore:
8
- - .github/workflows/macos.yml
9
- - .github/workflows/ubuntu.yml
10
-
11
- jobs:
12
- test-windows:
13
- name: Test on Ruby ${{ matrix.ruby }} Windows
14
- runs-on: windows-latest
15
- continue-on-error: ${{ matrix.experimental }}
16
- strategy:
17
- fail-fast: false
18
- matrix:
19
- ruby: [ '2.6', '2.5' ]
20
- experimental: [false]
21
- # Does not supported yet:
22
- # Ruby (< 2.7.dev, >= 2.3), which is required by gem 'nokogiri (~> 1.10)', is not
23
- # available in the local ruby installation
24
- # include:
25
- # - ruby: '2.7'
26
- # experimental: true
27
- steps:
28
- - uses: actions/checkout@master
29
- - name: Use Ruby
30
- uses: actions/setup-ruby@v1
31
- with:
32
- ruby-version: ${{ matrix.ruby }}
33
- - name: Install graphviz
34
- uses: nick-invision/retry@v1
35
- with:
36
- polling_interval_seconds: 5
37
- timeout_minutes: 5
38
- max_attempts: 3
39
- command: choco install --no-progress graphviz --version 2.38.0.20190211
40
- - name: Update gems
41
- shell: pwsh
42
- run: |
43
- gem install bundler
44
- bundle config --local path vendor/bundle
45
- bundle install --jobs 4 --retry 3
46
- - name: Run specs
47
- run: |
48
- bundle exec rake