relaton-nist 0.4.1 → 0.5.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: 321e26c55edff3731aa62e1768f953c14c9f4ee7ae04d77ca8dfd06d85186fa7
4
- data.tar.gz: 1859e5e4202e2c5f728087a22b3bc72169834aaff46003955ac480a8a93f8bee
3
+ metadata.gz: af67a70401309cab1e7d7b4511db20533a82927fc71aa4c439ee895bce140d2a
4
+ data.tar.gz: aa32fd8f52b1b3513153fdf6ee2d0898d16dfe4e86b2890303002aa0720274d3
5
5
  SHA512:
6
- metadata.gz: f6bea05c6dc3745b2627521f4b2036f8900ce58d20cf03b5e908d8228c50a89a99c75971aba9b33e65d055efe226f41052c76948153f013f616ff27dc810d1f9
7
- data.tar.gz: b9cac12d8ded89c4688e31eb55a2f47b826a69267aebd2ae35c59d1fc73d16c42b45c3e780970b573c7d366ab94bc3a2ef835bdef375ec2cf11e9ea7c4b0d663
6
+ metadata.gz: d47764a549b16704b6672bed22add68438e0ef42be86f97a0d71dc2d3dbb8b371b96b1e120402ca2f9c3631ab57134dcf9341540b669bcdc7dcea11174a20336
7
+ data.tar.gz: 22e80353033d4b57d754a3b48b5515370cc1512a134bb534897c0e75cdcf72a3f1fe5444cc9e724aa6ac57bc6996ab825426547a513ebe4eb264cbecd03f354d
data/.gitignore CHANGED
@@ -12,3 +12,4 @@
12
12
  # rspec failure tracking
13
13
  .rspec_status
14
14
  pubs-export.json
15
+ Gemfile.lock
data/README.adoc CHANGED
@@ -1,9 +1,12 @@
1
1
  = RelatonNist: retrieve NIST Standards for bibliographic use using the BibliographicItem model
2
2
 
3
3
  image:https://img.shields.io/gem/v/relaton-nist.svg["Gem Version", link="https://rubygems.org/gems/relaton-nist"]
4
- image:https://img.shields.io/travis/metanorma/relaton-nist/master.svg["Build Status", link="https://travis-ci.com/metanorma/relaton-nist"]
5
- image:https://ci.appveyor.com/api/projects/status/vk85u3df4f3kertr?svg=true["Appveyor Build Status", link="https://ci.appveyor.com/project/ribose/relaton-nist"]
6
- image:https://codeclimate.com/github/metanorma/relaton-nist/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/relaton-nist"]
4
+ image:https://github.com/relaton/relaton-nist/workflows/macos/badge.svg["Build Status (macOS)", link="https://github.com/relaton/relaton-nist/actions?workflow=macos"]
5
+ image:https://github.com/relaton/relaton-nist/workflows/windows/badge.svg["Build Status (Windows)", link="https://github.com/relaton/relaton-nist/actions?workflow=windows"]
6
+ image:https://github.com/relaton/relaton-nist/workflows/ubuntu/badge.svg["Build Status (Ubuntu)", link="https://github.com/relaton/relaton-nist/actions?workflow=ubuntu"]
7
+ image:https://codeclimate.com/github/relaton/relaton-nist/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/relaton/relaton-nist"]
8
+ image:https://img.shields.io/github/issues-pr-raw/relaton/relaton-nist.svg["Pull Requests", link="https://github.com/relaton/relaton-nist/pulls"]
9
+ image:https://img.shields.io/github/commits-since/relaton/relaton-nist/latest.svg["Commits since latest",link="https://github.com/relaton/relaton-nist/releases"]
7
10
 
8
11
 
9
12
  RelatonNist is a Ruby gem that implements the https://github.com/metanorma/metanorma-model-iso#iso-bibliographic-item[IsoBibliographicItem model].
data/grammars/biblio.rng CHANGED
@@ -638,9 +638,9 @@
638
638
  <zeroOrMore>
639
639
  <ref name="license"/>
640
640
  </zeroOrMore>
641
- <optional>
641
+ <zeroOrMore>
642
642
  <ref name="bclassification"/>
643
- </optional>
643
+ </zeroOrMore>
644
644
  <zeroOrMore>
645
645
  <ref name="bkeyword"/>
646
646
  </zeroOrMore>
@@ -47,6 +47,7 @@ module RelatonNist
47
47
  docstatus: fetch_status(json, hit_data[:status]),
48
48
  copyright: fetch_copyright(json["published-date"]),
49
49
  relation: fetch_relations_json(json),
50
+ place: ["Gaithersburg, MD"],
50
51
  keyword: fetch_keywords(json),
51
52
  commentperiod: fetch_commentperiod_json(json),
52
53
  }
@@ -1,3 +1,3 @@
1
1
  module RelatonNist
2
- VERSION = "0.4.1".freeze
2
+ VERSION = "0.5.0".freeze
3
3
  end
data/relaton_nist.gemspec CHANGED
@@ -23,7 +23,6 @@ Gem::Specification.new do |spec|
23
23
  spec.require_paths = ["lib"]
24
24
  spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
25
25
 
26
- spec.add_development_dependency "bundler", "~> 2.0"
27
26
  spec.add_development_dependency "byebug"
28
27
  spec.add_development_dependency "debase"
29
28
  spec.add_development_dependency "equivalent-xml", "~> 0.6"
@@ -36,6 +35,6 @@ Gem::Specification.new do |spec|
36
35
  spec.add_development_dependency "webmock"
37
36
  spec.add_development_dependency "ruby-jing"
38
37
 
39
- spec.add_dependency "relaton-bib", "~> 0.4.0"
38
+ spec.add_dependency "relaton-bib", "~> 0.5.0"
40
39
  spec.add_dependency "rubyzip"
41
40
  end
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-nist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-12-16 00:00:00.000000000 Z
11
+ date: 2020-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '2.0'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '2.0'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: byebug
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -184,14 +170,14 @@ dependencies:
184
170
  requirements:
185
171
  - - "~>"
186
172
  - !ruby/object:Gem::Version
187
- version: 0.4.0
173
+ version: 0.5.0
188
174
  type: :runtime
189
175
  prerelease: false
190
176
  version_requirements: !ruby/object:Gem::Requirement
191
177
  requirements:
192
178
  - - "~>"
193
179
  - !ruby/object:Gem::Version
194
- version: 0.4.0
180
+ version: 0.5.0
195
181
  - !ruby/object:Gem::Dependency
196
182
  name: rubyzip
197
183
  requirement: !ruby/object:Gem::Requirement
@@ -220,7 +206,6 @@ files:
220
206
  - ".rspec"
221
207
  - ".rubocop.yml"
222
208
  - Gemfile
223
- - Gemfile.lock
224
209
  - LICENSE.txt
225
210
  - README.adoc
226
211
  - Rakefile
data/Gemfile.lock DELETED
@@ -1,91 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- relaton-nist (0.4.1)
5
- relaton-bib (~> 0.4.0)
6
- rubyzip
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- addressable (2.7.0)
12
- public_suffix (>= 2.0.2, < 5.0)
13
- byebug (11.0.1)
14
- coderay (1.1.2)
15
- crack (0.4.3)
16
- safe_yaml (~> 1.0.0)
17
- debase (0.2.2)
18
- debase-ruby_core_source (>= 0.10.2)
19
- debase-ruby_core_source (0.10.5)
20
- diff-lcs (1.3)
21
- docile (1.3.2)
22
- equivalent-xml (0.6.0)
23
- nokogiri (>= 1.4.3)
24
- hashdiff (0.4.0)
25
- json (2.2.0)
26
- method_source (0.9.2)
27
- mini_portile2 (2.4.0)
28
- nokogiri (1.10.7)
29
- mini_portile2 (~> 2.4.0)
30
- optout (0.0.2)
31
- pry (0.12.2)
32
- coderay (~> 1.1.0)
33
- method_source (~> 0.9.0)
34
- pry-byebug (3.7.0)
35
- byebug (~> 11.0)
36
- pry (~> 0.10)
37
- public_suffix (4.0.1)
38
- rake (10.5.0)
39
- relaton-bib (0.4.1)
40
- addressable
41
- nokogiri
42
- rspec (3.8.0)
43
- rspec-core (~> 3.8.0)
44
- rspec-expectations (~> 3.8.0)
45
- rspec-mocks (~> 3.8.0)
46
- rspec-core (3.8.1)
47
- rspec-support (~> 3.8.0)
48
- rspec-expectations (3.8.4)
49
- diff-lcs (>= 1.2.0, < 2.0)
50
- rspec-support (~> 3.8.0)
51
- rspec-mocks (3.8.1)
52
- diff-lcs (>= 1.2.0, < 2.0)
53
- rspec-support (~> 3.8.0)
54
- rspec-support (3.8.2)
55
- ruby-debug-ide (0.7.0)
56
- rake (>= 0.8.1)
57
- ruby-jing (0.0.1)
58
- optout (>= 0.0.2)
59
- rubyzip (2.0.0)
60
- safe_yaml (1.0.5)
61
- simplecov (0.16.1)
62
- docile (~> 1.1)
63
- json (>= 1.8, < 3)
64
- simplecov-html (~> 0.10.0)
65
- simplecov-html (0.10.2)
66
- vcr (5.0.0)
67
- webmock (3.6.0)
68
- addressable (>= 2.3.6)
69
- crack (>= 0.3.2)
70
- hashdiff (>= 0.4.0, < 2.0.0)
71
-
72
- PLATFORMS
73
- ruby
74
-
75
- DEPENDENCIES
76
- bundler (~> 2.0)
77
- byebug
78
- debase
79
- equivalent-xml (~> 0.6)
80
- pry-byebug
81
- rake (~> 10.0)
82
- relaton-nist!
83
- rspec (~> 3.0)
84
- ruby-debug-ide
85
- ruby-jing
86
- simplecov
87
- vcr
88
- webmock
89
-
90
- BUNDLED WITH
91
- 2.0.2