relaton-itu 0.3.4 → 0.3.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
  SHA1:
3
- metadata.gz: c505340cf51f026e98171ace6282f3ffadca33a2
4
- data.tar.gz: 882539f59bd8b411e61fb4a66c572efa9d4f1fc3
3
+ metadata.gz: fb722b2271d57d169b7f89c4ff87b0e16b3a9a25
4
+ data.tar.gz: 2755f77b6f20cb3f1f688ec1894132814f9401f0
5
5
  SHA512:
6
- metadata.gz: 3d3870241966cf20a8ed52654654bf905ce88983316bb48ad5a968ac276fbc1683f748a2a441f4ebe43a61cbc5877ce75430e0023912e022dfe3762a1d557ce2
7
- data.tar.gz: f17108f526f4bc1b31d494a36d3aaca81c3dc0a32979b47696f2296277ef5c28a50093c79db946c961de9db1453845374e0bf47c6732f029666b5495138eb987
6
+ metadata.gz: 8df40643d1c03fbe71338a898fa19aa0b398ff32cfccd4c0065e864c5dc5e60fefb521fe16c319d1c173711a83850236d86e7ada4b1fbf654be32a994b598995
7
+ data.tar.gz: 8a41125691555e4b69775e302717f0b8f95fe675e465757b25bfc9f3ec7d7949fdd589e78252045658c21d74db812b883f25743d24ca64e911f1acd1c445ffda
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- relaton-itu (0.3.4)
4
+ relaton-itu (0.3.5)
5
5
  relaton-iso-bib (~> 0.3.0)
6
6
 
7
7
  GEM
@@ -21,7 +21,7 @@ GEM
21
21
  equivalent-xml (0.6.0)
22
22
  nokogiri (>= 1.4.3)
23
23
  hashdiff (1.0.0)
24
- isoics (0.1.7)
24
+ isoics (0.1.8)
25
25
  json (2.2.0)
26
26
  method_source (0.9.2)
27
27
  mini_portile2 (2.4.0)
@@ -35,10 +35,10 @@ GEM
35
35
  pry (~> 0.10)
36
36
  public_suffix (4.0.1)
37
37
  rake (10.5.0)
38
- relaton-bib (0.3.8)
38
+ relaton-bib (0.3.9)
39
39
  addressable
40
40
  nokogiri
41
- relaton-iso-bib (0.3.7)
41
+ relaton-iso-bib (0.3.9)
42
42
  isoics (~> 0.1.6)
43
43
  relaton-bib (~> 0.3.0)
44
44
  ruby_deep_clone (~> 0.8.0)
@@ -8,9 +8,9 @@ module RelatonItu
8
8
  ].freeze
9
9
 
10
10
  def initialize(**args)
11
- @doctype = args.delete :type
11
+ @doctype = args.delete :doctype
12
12
  if doctype && !TYPES.include?(doctype)
13
- raise ArgumentError, "invalid type: #{doctype}"
13
+ raise ArgumentError, "invalid doctype: #{doctype}"
14
14
  end
15
15
 
16
16
  super
@@ -60,7 +60,7 @@ module RelatonItu
60
60
  language: ["en"],
61
61
  script: ["Latn"],
62
62
  title: fetch_titles(hit_data),
63
- type: hit_data[:type],
63
+ doctype: hit_data[:type],
64
64
  docstatus: fetch_status(doc),
65
65
  ics: [], # fetch_ics(doc),
66
66
  date: fetch_dates(doc),
@@ -1,3 +1,3 @@
1
1
  module RelatonItu
2
- VERSION = "0.3.4".freeze
2
+ VERSION = "0.3.5".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-itu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
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-09-27 00:00:00.000000000 Z
11
+ date: 2019-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler