relaton-itu 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: 50710245f8a86370d9f66f3938c448473dafcca514cedddd9cf3367b6c0bcc08
4
- data.tar.gz: 33cf38c9227ca340b6ddcb2de358b9e056ef7b558a21d89dceecc6f9ec817649
3
+ metadata.gz: 1ccad34f52057d4ecff6b9748c81f88a53485fb4e763990e4900ff00b3193a07
4
+ data.tar.gz: 4b29b42b12a819a2221240f54dc4e097aef37a349cee057253462eacf434d8c8
5
5
  SHA512:
6
- metadata.gz: 131e9892926055ff04102b14ade86f69fc67b3bef22124ecc82311f5c69e87c584b261c27ceb49dfe1f04f78dc63c9751ee16501654264bf632307ae8b179ff2
7
- data.tar.gz: a75f751088b893ad3ac8f8e9d220b48939a8cd5d6a95e32b61904fc0b7305b264914127ef4d99d61462392a599e8c1f1a4c1ce114c39022e76d074aa11c47da6
6
+ metadata.gz: eabd169ef47a80302fadc9b7b7e64f0b31f83f9197a890d398f550ff82a052c79cfc4eed5cee9ab3570717f2c57661c9ebdb8dc27f955d5097c6140263769377
7
+ data.tar.gz: 44461881e272c54af192a3fb17d92a557ba69cf3c7622d92649b6addb83ff3e8148640817e2ee9dcd6933f3092009541f2171f8353f7caa89f75ed98f7860db9
data/.gitignore CHANGED
@@ -11,3 +11,4 @@
11
11
 
12
12
  # rspec failure tracking
13
13
  .rspec_status
14
+ Gemfile.lock
data/README.adoc CHANGED
@@ -1,8 +1,12 @@
1
1
  = RelatonItu: retrieve ITU Standards for bibliographic use using the BibliographicItem model
2
2
 
3
- image:https://img.shields.io/gem/v/relaton-bib.svg["Gem Version", link="https://rubygems.org/gems/relaton-bib"]
4
- image:https://travis-ci.com/metanorma/relaton-bib.svg?branch=master["Build Status", link="https://travis-ci.com/metanorma/relaton-bib"]
5
- image:https://ci.appveyor.com/api/projects/status/fd39m2762jo8ve04?svg=true["Appveyor Build Status", link="https://ci.appveyor.com/project/ribose/relaton-bib"]
3
+ image:https://img.shields.io/gem/v/relaton-itu.svg["Gem Version", link="https://rubygems.org/gems/relaton-itu"]
4
+ image:https://github.com/relaton/relaton-itu/workflows/macos/badge.svg["Build Status (macOS)", link="https://github.com/relaton/relaton-itu/actions?workflow=macos"]
5
+ image:https://github.com/relaton/relaton-itu/workflows/windows/badge.svg["Build Status (Windows)", link="https://github.com/relaton/relaton-itu/actions?workflow=windows"]
6
+ image:https://github.com/relaton/relaton-itu/workflows/ubuntu/badge.svg["Build Status (Ubuntu)", link="https://github.com/relaton/relaton-itu/actions?workflow=ubuntu"]
7
+ image:https://codeclimate.com/github/relaton/relaton-itu/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/relaton/relaton-itu"]
8
+ image:https://img.shields.io/github/issues-pr-raw/relaton/relaton-itu.svg["Pull Requests", link="https://github.com/relaton/relaton-itu/pulls"]
9
+ image:https://img.shields.io/github/commits-since/relaton/relaton-itu/latest.svg["Commits since latest",link="https://github.com/relaton/relaton-itu/releases"]
6
10
 
7
11
  RelatonItu is a Ruby gem that implements the https://github.com/metanorma/metanorma-model-iso#iso-bibliographic-item[IsoBibliographicItem model].
8
12
 
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>
@@ -70,6 +70,7 @@ module RelatonItu
70
70
  copyright: fetch_copyright(hit_data[:code], doc),
71
71
  link: fetch_link(doc, url),
72
72
  relation: fetch_relations(doc),
73
+ place: ["Geneva"],
73
74
  )
74
75
  end
75
76
  # rubocop:enable Metrics/AbcSize, Metrics/MethodLength
@@ -1,3 +1,3 @@
1
1
  module RelatonItu
2
- VERSION = "0.4.1".freeze
2
+ VERSION = "0.5.0".freeze
3
3
  end
@@ -26,7 +26,6 @@ Gem::Specification.new do |spec|
26
26
  spec.require_paths = ["lib"]
27
27
  spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
28
28
 
29
- spec.add_development_dependency "bundler", "~> 2.0"
30
29
  spec.add_development_dependency "debase"
31
30
  spec.add_development_dependency "equivalent-xml", "~> 0.6"
32
31
  spec.add_development_dependency "pry-byebug"
@@ -38,5 +37,5 @@ Gem::Specification.new do |spec|
38
37
  spec.add_development_dependency "webmock"
39
38
  spec.add_development_dependency "ruby-jing"
40
39
 
41
- spec.add_dependency "relaton-iso-bib", "~> 0.4.0"
40
+ spec.add_dependency "relaton-iso-bib", "~> 0.5.0"
42
41
  end
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-itu
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: debase
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -170,14 +156,14 @@ dependencies:
170
156
  requirements:
171
157
  - - "~>"
172
158
  - !ruby/object:Gem::Version
173
- version: 0.4.0
159
+ version: 0.5.0
174
160
  type: :runtime
175
161
  prerelease: false
176
162
  version_requirements: !ruby/object:Gem::Requirement
177
163
  requirements:
178
164
  - - "~>"
179
165
  - !ruby/object:Gem::Version
180
- version: 0.4.0
166
+ version: 0.5.0
181
167
  description: 'RelatonItu: retrieve ITU Standards for bibliographic use using the BibliographicItem
182
168
  model'
183
169
  email:
@@ -193,7 +179,6 @@ files:
193
179
  - ".rspec"
194
180
  - ".rubocop.yml"
195
181
  - Gemfile
196
- - Gemfile.lock
197
182
  - LICENSE.txt
198
183
  - README.adoc
199
184
  - Rakefile
@@ -205,7 +190,6 @@ files:
205
190
  - grammars/isostandard.rng
206
191
  - grammars/itu.rng
207
192
  - grammars/reqt.rng
208
- - itubib.gemspec
209
193
  - lib/relaton_itu.rb
210
194
  - lib/relaton_itu/editorial_group.rb
211
195
  - lib/relaton_itu/hash_converter.rb
@@ -218,6 +202,7 @@ files:
218
202
  - lib/relaton_itu/scrapper.rb
219
203
  - lib/relaton_itu/version.rb
220
204
  - lib/relaton_itu/xml_parser.rb
205
+ - relaton-itu.gemspec
221
206
  homepage: https://github.com/metanorma/relaton-itu
222
207
  licenses:
223
208
  - MIT
data/Gemfile.lock DELETED
@@ -1,94 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- relaton-itu (0.4.1)
5
- relaton-iso-bib (~> 0.4.0)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- addressable (2.7.0)
11
- public_suffix (>= 2.0.2, < 5.0)
12
- byebug (11.0.1)
13
- coderay (1.1.2)
14
- crack (0.4.3)
15
- safe_yaml (~> 1.0.0)
16
- debase (0.2.4.1)
17
- debase-ruby_core_source (>= 0.10.2)
18
- debase-ruby_core_source (0.10.5)
19
- diff-lcs (1.3)
20
- docile (1.3.2)
21
- equivalent-xml (0.6.0)
22
- nokogiri (>= 1.4.3)
23
- hashdiff (1.0.0)
24
- isoics (0.1.8)
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
- relaton-iso-bib (0.4.1)
43
- isoics (~> 0.1.6)
44
- relaton-bib (~> 0.4.0)
45
- ruby_deep_clone (~> 0.8.0)
46
- rspec (3.8.0)
47
- rspec-core (~> 3.8.0)
48
- rspec-expectations (~> 3.8.0)
49
- rspec-mocks (~> 3.8.0)
50
- rspec-core (3.8.2)
51
- rspec-support (~> 3.8.0)
52
- rspec-expectations (3.8.4)
53
- diff-lcs (>= 1.2.0, < 2.0)
54
- rspec-support (~> 3.8.0)
55
- rspec-mocks (3.8.1)
56
- diff-lcs (>= 1.2.0, < 2.0)
57
- rspec-support (~> 3.8.0)
58
- rspec-support (3.8.2)
59
- ruby-debug-ide (0.7.0)
60
- rake (>= 0.8.1)
61
- ruby-jing (0.0.1)
62
- optout (>= 0.0.2)
63
- ruby_deep_clone (0.8.0)
64
- safe_yaml (1.0.5)
65
- simplecov (0.17.0)
66
- docile (~> 1.1)
67
- json (>= 1.8, < 3)
68
- simplecov-html (~> 0.10.0)
69
- simplecov-html (0.10.2)
70
- vcr (5.0.0)
71
- webmock (3.7.2)
72
- addressable (>= 2.3.6)
73
- crack (>= 0.3.2)
74
- hashdiff (>= 0.4.0, < 2.0.0)
75
-
76
- PLATFORMS
77
- ruby
78
-
79
- DEPENDENCIES
80
- bundler (~> 2.0)
81
- debase
82
- equivalent-xml (~> 0.6)
83
- pry-byebug
84
- rake (~> 10.0)
85
- relaton-itu!
86
- rspec (~> 3.0)
87
- ruby-debug-ide
88
- ruby-jing
89
- simplecov
90
- vcr (~> 5.0.0)
91
- webmock
92
-
93
- BUNDLED WITH
94
- 2.0.2