relaton-ogc 1.14.3 → 1.16.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: df9aa5c8876eed257c8bba8f85d6f59e917f5239c17a8937f233209c2318a6cc
4
- data.tar.gz: 829cb72c24ba23c1762fb90f51f683fb889eaa8cb6a2b318de02932b5c4b07cc
3
+ metadata.gz: 152c757b6f64d56ff90726fea30e01bbbb3d9314e1d7a1227ef8eb37f60a62c9
4
+ data.tar.gz: 7440398d287b9db7afc8a18f7ccb22eff2c4628ea947b2ae8e88a732c527a807
5
5
  SHA512:
6
- metadata.gz: 8fcb76f8709b72a4e50f9a163d9e7234c08dd67690cf38b72395047f23347be69feff9c460392b95554889a9fdff40b1b737de892bb489f4632931830792d6c1
7
- data.tar.gz: 6b4ebf6cb8538a543db51ca9dca4dba2fab47287229a2ce864516d063c6f634e653a6b25f8fe5817bf74301c4657d66efb1fd7631e56ea8ef5f48d45803e72b4
6
+ metadata.gz: cdae3988f8c6baf95a5d961b226b1f2f6fd30656b0a5db1e2763f07f0943e5797ed44e269a8a6192763fbd25d3569524dde5c4930ebeab289021825ac8a7e283
7
+ data.tar.gz: 35483c4022a25d73fdfa8a5ee10eb136fce36192acc943fb7c98621f15d8abcf50014fd035135c65ea54dfe24e0b6e02fc990530017acc074f07da02734bfb9e
@@ -7,7 +7,8 @@ on:
7
7
  inputs:
8
8
  next_version:
9
9
  description: |
10
- Next release version. Possible values: x.y.z, major, minor, patch or pre|rc|etc
10
+ Next release version. Possible values: x.y.z, major, minor, patch (or pre|rc|etc).
11
+ Also, you can pass 'skip' to skip 'git tag' and do 'gem push' for the current version
11
12
  required: true
12
13
  default: 'skip'
13
14
  repository_dispatch:
data/grammars/biblio.rng CHANGED
@@ -1283,7 +1283,7 @@
1283
1283
  <value>mergedInto</value>
1284
1284
  <value>splits</value>
1285
1285
  <value>splitInto</value>
1286
- <value>instance</value>
1286
+ <value>instanceOf</value>
1287
1287
  <value>hasInstance</value>
1288
1288
  <value>exemplarOf</value>
1289
1289
  <value>hasExemplar</value>
@@ -0,0 +1,10 @@
1
+ module RelatonOgc
2
+ module Config
3
+ include RelatonBib::Config
4
+ end
5
+ extend Config
6
+
7
+ class Configuration < RelatonBib::Configuration
8
+ PROGNAME = "relaton-ogc".freeze
9
+ end
10
+ end
@@ -0,0 +1,9 @@
1
+ module RelatonOgc
2
+ module Util
3
+ extend RelatonBib::Util
4
+
5
+ def self.logger
6
+ RelatonOgc.configuration.logger
7
+ end
8
+ end
9
+ end
@@ -1,3 +1,3 @@
1
1
  module RelatonOgc
2
- VERSION = "1.14.3".freeze
2
+ VERSION = "1.16.1".freeze
3
3
  end
data/lib/relaton_ogc.rb CHANGED
@@ -1,6 +1,8 @@
1
1
  require "relaton/index"
2
2
  require "relaton_iso_bib"
3
3
  require "relaton_ogc/version"
4
+ require "relaton_ogc/config"
5
+ require "relaton_ogc/util"
4
6
  require "relaton_ogc/ogc_bibliographic_item"
5
7
  require "relaton_ogc/ogc_bibliography"
6
8
  require "relaton_ogc/data_fetcher"
@@ -17,9 +19,9 @@ module RelatonOgc
17
19
  # Returns hash of XML reammar
18
20
  # @return [String]
19
21
  def self.grammar_hash
20
- gem_path = File.expand_path "..", __dir__
21
- grammars_path = File.join gem_path, "grammars", "*"
22
- grammars = Dir[grammars_path].sort.map { |gp| File.read gp }.join
23
- Digest::MD5.hexdigest grammars
22
+ # gem_path = File.expand_path "..", __dir__
23
+ # grammars_path = File.join gem_path, "grammars", "*"
24
+ # grammars = Dir[grammars_path].sort.map { |gp| File.read gp }.join
25
+ Digest::MD5.hexdigest RelatonOgc::VERSION + RelatonIsoBib::VERSION + RelatonBib::VERSION # grammars
24
26
  end
25
27
  end
data/relaton_ogc.gemspec CHANGED
@@ -27,5 +27,5 @@ Gem::Specification.new do |spec|
27
27
 
28
28
  spec.add_dependency "faraday", "~> 2.7.0"
29
29
  spec.add_dependency "relaton-index", "~> 0.2.0"
30
- spec.add_dependency "relaton-iso-bib", "~> 1.14.0"
30
+ spec.add_dependency "relaton-iso-bib", "~> 1.16.0"
31
31
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-ogc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.3
4
+ version: 1.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-30 00:00:00.000000000 Z
11
+ date: 2023-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.14.0
47
+ version: 1.16.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 1.14.0
54
+ version: 1.16.0
55
55
  description: 'RelatonOgc: retrieve OGC Standards for bibliographic use using the OgcBibliographicItem
56
56
  model'
57
57
  email:
@@ -78,6 +78,7 @@ files:
78
78
  - grammars/relaton-ogc-compile.rng
79
79
  - grammars/relaton-ogc.rng
80
80
  - lib/relaton_ogc.rb
81
+ - lib/relaton_ogc/config.rb
81
82
  - lib/relaton_ogc/data_fetcher.rb
82
83
  - lib/relaton_ogc/editorial_group.rb
83
84
  - lib/relaton_ogc/hash_converter.rb
@@ -87,6 +88,7 @@ files:
87
88
  - lib/relaton_ogc/ogc_bibliography.rb
88
89
  - lib/relaton_ogc/processor.rb
89
90
  - lib/relaton_ogc/scrapper.rb
91
+ - lib/relaton_ogc/util.rb
90
92
  - lib/relaton_ogc/version.rb
91
93
  - lib/relaton_ogc/xml_parser.rb
92
94
  - relaton_ogc.gemspec