tc211-termbase 0.1.12 → 0.1.13

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: bbedd674f3ca0d280b3f8921777256f8bdc9c284bc41dbccd84dd5cc0dcd316d
4
- data.tar.gz: 5ef1960c4e677a1fd393060ee9e503ae4b684eb4bb1c65114e6bfd6e92ceba3a
3
+ metadata.gz: 598c63cdf96e8fa4d5abbdf60d08c1014dbbea28343cfc1b91ce6c185496a216
4
+ data.tar.gz: 20a9ebe8e8a72762dca37f501b655c3d38774b5a408eafc63954db71056362b2
5
5
  SHA512:
6
- metadata.gz: 4fc10ba509e19676c1163da651802cc3621a52568eab9c174a124fb3e29477df07c8720e340c90726eac71f064f25623cea2f0afd8755bcb4507b58fecae355b
7
- data.tar.gz: 017b323b2a4bb21391c951a16dd38699a3e18bebfca4311ddbddb808552b73f436b5d504d38279d222cab9ed0ee11a64d901731fad18334f924af585f9aa1148
6
+ metadata.gz: 4498aefcfbd0d89998b38c3067ce7a2887d553645128df21dc6810dbaa6cb94e71ee392e11bc1657af0f043ea748a87b4c78f82cd60c2c867fec36d29572d108
7
+ data.tar.gz: d6c90eeb56c15cfedc4a96bd6fa07e7a1148bf226fd71e2e89443f97634b17c0fe20d21e786c224d065d0c9a5da4f71e732c9721aa84ff92f0e5c01804e7545a
data/Gemfile.lock CHANGED
@@ -1,111 +1,118 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tc211-termbase (0.1.12)
4
+ tc211-termbase (0.1.13)
5
5
  creek
6
- relaton (~> 0.5)
6
+ relaton (~> 1.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
11
  addressable (2.7.0)
12
12
  public_suffix (>= 2.0.2, < 5.0)
13
+ bibtex-ruby (5.1.4)
14
+ latex-decode (~> 0.0)
13
15
  cnccs (0.1.5)
14
- creek (2.4.4)
15
- http (~> 4.0)
16
- nokogiri (>= 1.7.0)
16
+ creek (2.5.2)
17
+ nokogiri (>= 1.10.0)
17
18
  rubyzip (>= 1.0.0)
18
19
  debase (0.2.4.1)
19
20
  debase-ruby_core_source (>= 0.10.2)
20
- debase-ruby_core_source (0.10.6)
21
+ debase-ruby_core_source (0.10.9)
21
22
  diff-lcs (1.3)
22
23
  domain_name (0.5.20190701)
23
24
  unf (>= 0.0.5, < 1.0.0)
24
- faraday (0.17.0)
25
+ faraday (1.0.1)
25
26
  multipart-post (>= 1.2, < 3)
26
- ffi (1.11.1)
27
- ffi-compiler (1.0.1)
28
- ffi (>= 1.0.0)
29
- rake
30
27
  gb-agencies (0.0.6)
31
- http (4.2.0)
32
- addressable (~> 2.3)
33
- http-cookie (~> 1.0)
34
- http-form_data (~> 2.0)
35
- http-parser (~> 1.2.0)
36
28
  http-cookie (1.0.3)
37
29
  domain_name (~> 0.5)
38
- http-form_data (2.1.1)
39
- http-parser (1.2.1)
40
- ffi-compiler (>= 1.0, < 2.0)
30
+ iso639 (1.3.2)
41
31
  isoics (0.1.8)
32
+ latex-decode (0.3.1)
42
33
  mini_portile2 (2.4.0)
43
34
  multipart-post (2.1.1)
44
- nokogiri (1.10.4)
35
+ nokogiri (1.10.9)
45
36
  mini_portile2 (~> 2.4.0)
46
- public_suffix (4.0.1)
37
+ public_suffix (4.0.5)
47
38
  rake (10.5.0)
48
- relaton (0.5.7)
49
- relaton-gb (~> 0.6.0)
50
- relaton-iec (~> 0.4.0)
51
- relaton-ietf (~> 0.6.0)
52
- relaton-iso (~> 0.6.0)
53
- relaton-itu (~> 0.3.0)
54
- relaton-nist (~> 0.3.0)
55
- relaton-ogc (~> 0.1.0)
56
- relaton-bib (0.3.11)
39
+ relaton (1.0.1)
40
+ relaton-calconnect (~> 1.0.0)
41
+ relaton-gb (~> 1.0.0)
42
+ relaton-iec (~> 1.0.0)
43
+ relaton-ietf (~> 1.0.0)
44
+ relaton-iso (~> 1.0.0)
45
+ relaton-itu (~> 1.0.0)
46
+ relaton-nist (~> 1.0.0)
47
+ relaton-ogc (~> 1.0.0)
48
+ relaton-omg (~> 1.0.0)
49
+ relaton-un (~> 1.0.0)
50
+ relaton-w3c (~> 1.0.0)
51
+ relaton-bib (1.0.2)
57
52
  addressable
53
+ bibtex-ruby
54
+ iso639
58
55
  nokogiri
59
- relaton-gb (0.6.6)
56
+ relaton-calconnect (1.0.0)
57
+ faraday
58
+ relaton-iso-bib (~> 1.0.0)
59
+ relaton-gb (1.0.0)
60
60
  cnccs (~> 0.1.1)
61
61
  gb-agencies (~> 0.0.1)
62
- relaton-iso-bib (~> 0.3.0)
63
- relaton-iec (0.4.9)
62
+ relaton-iso-bib (~> 1.0.0)
63
+ relaton-iec (1.0.0)
64
64
  addressable
65
- relaton-iso-bib (~> 0.3.0)
66
- relaton-ietf (0.6.7)
67
- relaton-bib (~> 0.3.0)
68
- relaton-iso (0.6.8)
69
- relaton-iec (~> 0.4.0)
70
- relaton-iso-bib (~> 0.3.0)
71
- relaton-iso-bib (0.3.11)
65
+ relaton-iso-bib (~> 1.0.0)
66
+ relaton-ietf (1.0.0)
67
+ relaton-bib (~> 1.0.0)
68
+ relaton-iso (1.0.1)
69
+ relaton-iec (~> 1.0.0)
70
+ relaton-iso-bib (~> 1.0.0)
71
+ relaton-iso-bib (1.0.0)
72
72
  isoics (~> 0.1.6)
73
- relaton-bib (~> 0.3.0)
74
- ruby_deep_clone (~> 0.8.0)
75
- relaton-itu (0.3.6)
76
- relaton-iso-bib (~> 0.3.0)
77
- relaton-nist (0.3.7)
78
- relaton-bib (~> 0.3.0)
73
+ relaton-bib (~> 1.0.0)
74
+ relaton-itu (1.0.2)
75
+ relaton-iso-bib (~> 1.0.0)
76
+ relaton-nist (1.0.0)
77
+ relaton-bib (~> 1.0.0)
79
78
  rubyzip
80
- relaton-ogc (0.1.3)
79
+ relaton-ogc (1.0.0)
80
+ faraday (~> 1.0.0)
81
+ relaton-iso-bib (~> 1.0.0)
82
+ relaton-omg (1.0.0)
83
+ relaton-bib (~> 1.0.0)
84
+ relaton-un (1.0.0)
81
85
  faraday
82
- relaton-iso-bib (~> 0.3.0)
86
+ http-cookie
87
+ relaton-iso-bib (~> 1.0.0)
88
+ unf_ext (>= 0.0.7.7)
89
+ relaton-w3c (1.0.0)
90
+ relaton-bib (>= 1.0.0)
83
91
  rspec (3.9.0)
84
92
  rspec-core (~> 3.9.0)
85
93
  rspec-expectations (~> 3.9.0)
86
94
  rspec-mocks (~> 3.9.0)
87
- rspec-core (3.9.0)
88
- rspec-support (~> 3.9.0)
89
- rspec-expectations (3.9.0)
95
+ rspec-core (3.9.2)
96
+ rspec-support (~> 3.9.3)
97
+ rspec-expectations (3.9.2)
90
98
  diff-lcs (>= 1.2.0, < 2.0)
91
99
  rspec-support (~> 3.9.0)
92
- rspec-mocks (3.9.0)
100
+ rspec-mocks (3.9.1)
93
101
  diff-lcs (>= 1.2.0, < 2.0)
94
102
  rspec-support (~> 3.9.0)
95
- rspec-support (3.9.0)
96
- ruby-debug-ide (0.7.0)
103
+ rspec-support (3.9.3)
104
+ ruby-debug-ide (0.7.2)
97
105
  rake (>= 0.8.1)
98
- ruby_deep_clone (0.8.0)
99
- rubyzip (2.0.0)
106
+ rubyzip (2.3.0)
100
107
  unf (0.1.4)
101
108
  unf_ext
102
- unf_ext (0.0.7.6)
109
+ unf_ext (0.0.7.7)
103
110
 
104
111
  PLATFORMS
105
112
  ruby
106
113
 
107
114
  DEPENDENCIES
108
- bundler (~> 2.0.1)
115
+ bundler (~> 2.0)
109
116
  debase
110
117
  rake (~> 10.0)
111
118
  rspec (~> 3.0)
@@ -113,4 +120,4 @@ DEPENDENCIES
113
120
  tc211-termbase!
114
121
 
115
122
  BUNDLED WITH
116
- 2.0.2
123
+ 2.1.4
@@ -0,0 +1,16 @@
1
+
2
+ module Tc211::Termbase
3
+ module Cli
4
+ class Command < Thor
5
+ desc "fetch CODE", "Fetch Relaton XML for Standard identifier CODE"
6
+ option :type, aliases: :t, required: true, desc: "Type of standard to get bibliographic entry for"
7
+ option :year, aliases: :y, type: :numeric, desc: "Year the standard was published"
8
+
9
+ def fetch(code)
10
+ Relaton::Cli.relaton
11
+ say(fetch_document(code, options) || supported_type_message)
12
+ end
13
+
14
+ end
15
+ end
16
+ end
@@ -1,5 +1,5 @@
1
1
  module Tc211
2
2
  module Termbase
3
- VERSION = "0.1.12"
3
+ VERSION = "0.1.13"
4
4
  end
5
5
  end
@@ -23,9 +23,9 @@ Gem::Specification.new do |spec|
23
23
  spec.require_paths = ["lib"]
24
24
 
25
25
  spec.add_runtime_dependency "creek"
26
- spec.add_runtime_dependency "relaton", "~> 0.5"
26
+ spec.add_runtime_dependency "relaton", "~> 1.0"
27
27
 
28
- spec.add_development_dependency "bundler", "~> 2.0.1"
28
+ spec.add_development_dependency "bundler", "~> 2.0"
29
29
  spec.add_development_dependency "debase"
30
30
  spec.add_development_dependency "rake", "~> 10.0"
31
31
  spec.add_development_dependency "rspec", "~> 3.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tc211-termbase
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-25 00:00:00.000000000 Z
11
+ date: 2020-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: creek
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.5'
33
+ version: '1.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0.5'
40
+ version: '1.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 2.0.1
47
+ version: '2.0'
48
48
  type: :development
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: 2.0.1
54
+ version: '2.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: debase
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -118,7 +118,6 @@ extra_rdoc_files: []
118
118
  files:
119
119
  - ".gitignore"
120
120
  - ".rspec"
121
- - ".travis.yml"
122
121
  - CODE_OF_CONDUCT.md
123
122
  - Gemfile
124
123
  - Gemfile.lock
@@ -128,6 +127,7 @@ files:
128
127
  - bin/setup
129
128
  - exe/tc211-termbase-xlsx2yaml
130
129
  - lib/tc211/termbase.rb
130
+ - lib/tc211/termbase/cli/command.rb
131
131
  - lib/tc211/termbase/concept.rb
132
132
  - lib/tc211/termbase/concept_collection.rb
133
133
  - lib/tc211/termbase/information_sheet.rb
data/.travis.yml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- sudo: false
3
- language: ruby
4
- cache: bundler
5
- rvm:
6
- - 2.4.3
7
- before_install: gem install bundler -v 1.17.1