relaton-itu 0.2.1 → 0.2.2

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: c3a28ee1d4e888cee0a517af8cd8789b158af039
4
- data.tar.gz: 258f1376b52da45332a7884ac483fdc141e0053c
3
+ metadata.gz: 06af239fca985e01b1bf84c15ef3353adba66888
4
+ data.tar.gz: 07f56fe72469d205e2da95cf4e6c17c5d83742ad
5
5
  SHA512:
6
- metadata.gz: 70361e0a954f2f5d075a7d3349cae152268a84dee0b17840bf47a2a3693ca897cc56e73406c7d3ab27139961f9f698653ad8dc33d52e27f682be5c2deebb1606
7
- data.tar.gz: ca3e769b43e48db0b04ac2aeb74ff1091d6cc590baa61aa7603f10793484bc97917b6944786064bb45ce0a82825cf199cc66179e660b8850d253e83ebd829447
6
+ metadata.gz: a1b4e86236bc6ad52ab08366e03ac045f846ba56bd5b962852b95b9152bfcd21e1b23065388abb5635278ff37d1fc326d3cfe4c2037657a8af0d9e342ada6d01
7
+ data.tar.gz: 907809fe72f0293cfa0f0f9194bee933b61f1ced2c75010f6acaa92d29b5f3b3851b5a16d955d6e1b5caf3b5478e7e736b4d18897356b082089b83d48481e896
@@ -10,7 +10,7 @@ rvm:
10
10
  - 2.4
11
11
  - ruby-head
12
12
  before_install:
13
- - gem install bundler -v 2.0.1
13
+ - gem install bundler -v "~> 2"
14
14
  - bundle update
15
15
  matrix:
16
16
  allow_failures:
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- relaton-itu (0.2.1)
4
+ relaton-itu (0.2.2)
5
5
  relaton-iso-bib (~> 0.2.0)
6
6
 
7
7
  GEM
@@ -22,6 +22,7 @@ install:
22
22
  build_script:
23
23
  - set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
24
24
  - set GIT_TERMINAL_PROMPT=0
25
+ - gem install bundler -v "~> 2"
25
26
  - bundle config --local path vendor/bundle
26
27
  - bundle update
27
28
  - bundle install
@@ -5,18 +5,18 @@ module Relaton
5
5
  class Processor < Relaton::Processor
6
6
 
7
7
  def initialize
8
- @short = :relaton_ite
8
+ @short = :relaton_itu
9
9
  @prefix = "ITU"
10
10
  @defaultprefix = %r{^(ITU)}
11
11
  @idtype = "ITU"
12
12
  end
13
13
 
14
14
  def get(code, date, opts)
15
- ::RelatonItu::ItuBliography.get(code, date, opts)
15
+ ::RelatonItu::ItuBibliography.get(code, date, opts)
16
16
  end
17
17
 
18
18
  def from_xml(xml)
19
- RelatonItu::XMLParser.from_xml xml
19
+ ::RelatonItu::XMLParser.from_xml xml
20
20
  end
21
21
  end
22
22
  end
@@ -30,7 +30,7 @@ module RelatonItu
30
30
  # end
31
31
  url = "#{DOMAIN}/net4/ITU-T/search/GlobalSearch/Search"
32
32
  params = {
33
- "Input" => "163",
33
+ "Input" => ref_nbr,
34
34
  "Start" => 0,
35
35
  "Rows" => 10,
36
36
  "SortBy" => "RELEVANCE",
@@ -1,3 +1,3 @@
1
1
  module RelatonItu
2
- VERSION = "0.2.1".freeze
2
+ VERSION = "0.2.2".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.2.1
4
+ version: 0.2.2
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-06-27 00:00:00.000000000 Z
11
+ date: 2019-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler