relaton-gb 0.6.4 → 0.6.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: 336b0dad1db25e1dc760826a5dacd5c51b8d3474
4
- data.tar.gz: 9a96b99a428609cde287180b25f9180f935f80b7
3
+ metadata.gz: 0e0abd3ddd075ddc49a6526f7f15b3c8739e3fc9
4
+ data.tar.gz: 3ab167194c8af992e0148e8214c9837ddbbfa3da
5
5
  SHA512:
6
- metadata.gz: 4cd41437829efb602bddb92fae108ed1dd2388fc9246941e5da3f18892cc5cd09af7068d5bfc8694c5fd16b3aa3dd1221ee598e20e4f4030f21e66fb6f53d6bb
7
- data.tar.gz: eb023ac929868578b7986bb181416b1f86d5c8211c63394bc4047a32d7f59229e480ab3b91c92a49d55f70ad1f2168b8aa9807aa1e411adb582d6cba66b19b7f
6
+ metadata.gz: bd00fe7a05537aa92148fb4b2ec402cc8227bdbf916ed10bcabb91068369162a50b359790c94ea4fede35c6694031c54211b45c1c186842dba7d0223f266e0ce
7
+ data.tar.gz: 5ee8ccb6404200dd2ae9e3e2868d505d204fde624bd0d483650489c264b9e93cb03e9efaf05124118d3659d4a780699193d43e5a24ab1eddd267cbdd244b9265
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- relaton-gb (0.6.4)
4
+ relaton-gb (0.6.5)
5
5
  cnccs (~> 0.1.1)
6
6
  gb-agencies (~> 0.0.1)
7
7
  relaton-iso-bib (~> 0.3.0)
@@ -12,7 +12,7 @@ GEM
12
12
  addressable (2.7.0)
13
13
  public_suffix (>= 2.0.2, < 5.0)
14
14
  byebug (11.0.1)
15
- cnccs (0.1.3)
15
+ cnccs (0.1.4)
16
16
  coderay (1.1.2)
17
17
  crack (0.4.3)
18
18
  safe_yaml (~> 1.0.0)
@@ -23,9 +23,9 @@ GEM
23
23
  docile (1.3.2)
24
24
  equivalent-xml (0.6.0)
25
25
  nokogiri (>= 1.4.3)
26
- gb-agencies (0.0.5)
26
+ gb-agencies (0.0.6)
27
27
  hashdiff (1.0.0)
28
- isoics (0.1.7)
28
+ isoics (0.1.8)
29
29
  json (2.2.0)
30
30
  method_source (0.9.2)
31
31
  mini_portile2 (2.4.0)
@@ -39,10 +39,10 @@ GEM
39
39
  pry (~> 0.10)
40
40
  public_suffix (4.0.1)
41
41
  rake (10.5.0)
42
- relaton-bib (0.3.8)
42
+ relaton-bib (0.3.9)
43
43
  addressable
44
44
  nokogiri
45
- relaton-iso-bib (0.3.7)
45
+ relaton-iso-bib (0.3.9)
46
46
  isoics (~> 0.1.6)
47
47
  relaton-bib (~> 0.3.0)
48
48
  ruby_deep_clone (~> 0.8.0)
@@ -34,7 +34,6 @@ module RelatonGb
34
34
  args[:committee] && @committee = GbTechnicalCommittee.new(args[:committee])
35
35
  @ccs = args[:ccs].map { |c| c.is_a?(Cnccs::Ccs) ? c : Cnccs.fetch(c) }
36
36
  @gbtype = GbStandardType.new args[:gbtype]
37
- @type = args[:type]
38
37
  @gbplannumber = args[:gbplannumber] || structuredidentifier&.project_number
39
38
  end
40
39
 
@@ -16,11 +16,12 @@ module RelatonGb
16
16
  # @return [Hash]
17
17
  def scrapped_data(doc, src, hit)
18
18
  {
19
+ fetched: Date.today.to_s,
19
20
  committee: get_committee(doc, hit.docref),
20
21
  docid: get_docid(hit.docref),
21
22
  title: get_titles(doc),
22
23
  contributor: get_contributors(doc, hit.docref),
23
- type: get_type,
24
+ doctype: get_type,
24
25
  docstatus: get_status(doc, hit.status),
25
26
  gbtype: get_gbtype(doc, hit.docref),
26
27
  ccs: get_ccs(doc),
@@ -62,7 +62,7 @@ module RelatonGb
62
62
  committee: get_committee(doc, hit.docref),
63
63
  docid: get_docid(hit.docref),
64
64
  title: get_titles(doc),
65
- type: get_type,
65
+ doctype: get_type,
66
66
  docstatus: get_status(doc, hit.status),
67
67
  gbtype: gbtype,
68
68
  ccs: get_ccs(doc),
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RelatonGb
4
- VERSION = "0.6.4"
4
+ VERSION = "0.6.5"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-gb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.4
4
+ version: 0.6.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