relaton-omg 1.13.0 → 1.14.0

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: 44825fb5d8d0a174d72f4a202c0a66b845aeaa0f7e4e6f216ecc9d556241e367
4
- data.tar.gz: b00a2d0fd55cae2e2d7a5257827aacf127d9d3832c8191b43be416b2abc3cdc6
3
+ metadata.gz: 16901d647bffb0b9f3e61729c1c43f43ce961e0f09e132e678b248f2289b338e
4
+ data.tar.gz: 550eb3e6edc11281ae1ee3e794d1c973a8c0cc7920a44918f881ad8dcdd1a8b3
5
5
  SHA512:
6
- metadata.gz: e5e89af97870269acec49f2f7760789b4ceb0ee055144b23941a9d475dc7f2abc9ab7bbd6d68b55ebbe5207fa00b668c29dabc821d7b0e00c0f2f18e59b015e3
7
- data.tar.gz: bb3719aedbe064ab9a7c7f47b5df1764538a1c514d559c73595fb6068af3f09bf9a4a5b1876f9ed9f2f17c06faaef5c626ca8dc3428448ee3a63ae1d5f86172e
6
+ metadata.gz: 33eb37bdb3abe8d6eae1179e1c8b647f9b9d0efbcf661c5adf9079ae8971ff87acc387022027b5ffce313e70fdc28410b791be0bc5d2511892a5efb0c16c5d55
7
+ data.tar.gz: 31a2bdeb94d1327376785daea0f033af744403c03a7eea07098953aca29bc88b25adfffdbabed71cc08b28e5efe9eabe03c41f7ee38530e6701cdc93a26a2df0
@@ -5,7 +5,6 @@ name: rake
5
5
  on:
6
6
  push:
7
7
  branches: [ master, main ]
8
- tags: [ v* ]
9
8
  pull_request:
10
9
 
11
10
  jobs:
@@ -0,0 +1,22 @@
1
+ # Auto-generated by Cimas: Do not edit it manually!
2
+ # See https://github.com/metanorma/cimas
3
+ name: release
4
+
5
+ on:
6
+ workflow_dispatch:
7
+ inputs:
8
+ next_version:
9
+ description: |
10
+ Next release version. Possible values: x.y.z, major, minor, patch or pre|rc|etc
11
+ required: true
12
+ default: 'skip'
13
+ push:
14
+ tags: [ v* ]
15
+
16
+ jobs:
17
+ release:
18
+ uses: relaton/support/.github/workflows/release.yml@master
19
+ with:
20
+ next_version: ${{ github.event.inputs.next_version }}
21
+ secrets:
22
+ rubygems-api-key: ${{ secrets.RELATON_CI_RUBYGEMS_API_KEY }}
data/README.adoc CHANGED
@@ -8,7 +8,7 @@ image:https://codeclimate.com/github/relaton/relaton-omg/badges/gpa.svg["Code Cl
8
8
  image:https://img.shields.io/github/issues-pr-raw/relaton/relaton-omg.svg["Pull Requests", link="https://github.com/relaton/relaton-omg/pulls"]
9
9
  image:https://img.shields.io/github/commits-since/relaton/relaton-omg/latest.svg["Commits since latest",link="https://github.com/relaton/relaton-omg/releases"]
10
10
 
11
- RelatonOmg is a Ruby gem that search and fetch standards from https://www.omg.org[The Object Management Group (OMG)].
11
+ RelatonOmg is a Ruby gem that searches and fetches standards from https://www.omg.org[The Object Management Group (OMG)].
12
12
 
13
13
  The standards scrape form https://www.omg.org/spec
14
14
 
@@ -47,7 +47,7 @@ item = RelatonOmg::OmgBibliography.get 'OMG AMI4CCM 1.0'
47
47
  => #<RelatonOmg::OmgBibliographicItem:0x007fda17eab2f0
48
48
  ...
49
49
 
50
- # Return nil if document doesn't exist.
50
+ # Return nil if the document doesn't exist.
51
51
  RelatonOmg::OmgBibliography.get 'OMG 1111'
52
52
  [relaton-omg] no document found for "OMG 1111" reference.
53
53
  => nil
@@ -58,27 +58,14 @@ RelatonOmg::OmgBibliography.get 'OMG 1111'
58
58
  [source,ruby]
59
59
  ----
60
60
  item.to_xml
61
- =>"<bibitem id="AMI4CCM1.0">
62
- <fetched>2020-02-17</fetched>
63
- <title type="main" format="text/plain" language="en" script="Latn">Asynchronous Method Invocation for CCM</title>
64
- <uri type="src">https://www.omg.org/spec/AMI4CCM/1.0/</uri>
65
- <uri type="pdf">https://www.omg.org/spec/AMI4CCM/1.0/PDF</uri>
66
- <docidentifier type="OMG">AMI4CCM 1.0</docidentifier>
67
- <date type="published">
68
- <on>2013-03</on>
69
- </date>
70
- <version>
71
- <revision-date>2013-03-01</revision-date>
72
- <draft>1.0</draft>
73
- </version>
74
- <abstract format="text/plain" language="en" script="Latn">This specification defines a mechanism to perform asynchronous method invocation for CCM (AMI4CCM).</abstract>
75
- <status>
76
- <stage>formal</stage>
77
- </status>
78
- <license>RF-Limited</license>
79
- <keyword>Corba Platform</keyword>
80
- <keyword>Component Architecture</keyword>
81
- </bibitem>"
61
+ => "<bibitem id="AMI4CCM1.0" schema-version="v1.2.1">
62
+ <fetched>2022-12-05</fetched>
63
+ <title type="main" format="text/plain" language="en" script="Latn">Asynchronous Method Invocation for CCM</title>
64
+ <uri type="src">https://www.omg.org/spec/AMI4CCM/1.0/About-AMI4CCM</uri>
65
+ <uri type="pdf">https://www.omg.org/spec/AMI4CCM/1.0/PDF</uri>
66
+ <docidentifier type="OMG" primary="true">AMI4CCM 1.0</docidentifier>
67
+ ...
68
+ </bibitem>"
82
69
  ----
83
70
 
84
71
  === Typed links
@@ -105,7 +92,8 @@ item = RelatonOmg::OmgBibliographicItem.from_xml 'spec/fixtures/omg_ami4ccm_1_0.
105
92
  [source,ruby]
106
93
  ----
107
94
  hash = YAML.load_file 'spec/fixtures/omg_ami4ccm_1_0.yaml'
108
- => {"id"=>"AMI4CCM1.0",
95
+ => {"schema-version"=>"v1.2.1",
96
+ "id"=>"AMI4CCM1.0",
109
97
  ...
110
98
 
111
99
  item = RelatonOmg::OmgBibliographicItem.from_hash hash