patentscope 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +3 -0
- data/.ruby-version +1 -1
- data/.travis.yml +6 -0
- data/README.md +9 -2
- data/Rakefile +9 -0
- data/lib/patentscope/configuration.rb +1 -4
- data/lib/patentscope/version.rb +1 -1
- data/patentscope.gemspec +7 -6
- data/spec/configuration_spec.rb +173 -85
- data/spec/patentscope_spec.rb +1 -1
- data/spec/spec_helper.rb +2 -0
- data/spec/webservice_spec.rb +1 -1
- metadata +47 -52
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 0b523ee313b0b12c65cb68e78290344465927835
|
4
|
+
data.tar.gz: ba4a83db30178a6b82c356749732ff8850d96289
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 4671bda95ce98bdb5258b33e65b8a2919e1489b8173d8a8d3cc167d9fab95af416e5de334344b551fa93a4e28df8c97621395998326bf56e60a74dd36c44a759
|
7
|
+
data.tar.gz: b0d0a48b09c52f15b0d75c4763dc67981ce89d3c28049dad29d1accc74cbb840b471e4f10b7749ac282a36ee6963855bea8df96fde4328dd32f30dbf6a8a848b
|
data/.gitignore
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
2.1.2
|
data/.travis.yml
ADDED
data/README.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# patentscope gem
|
2
|
-
Gem
|
2
|
+
[](http://badge.fury.io/rb/patentscope)
|
3
|
+
[](https://codeclimate.com/github/cantab/patentscope)
|
4
|
+
|
5
|
+
Gem to allow easy access to data from the WIPO PATENTSCOPE Web Service.
|
3
6
|
|
4
7
|
## Introduction
|
5
8
|
|
@@ -103,7 +106,7 @@ The `get_iasr` method takes an International Application number, with or without
|
|
103
106
|
|
104
107
|
Example output for SG2003000062:
|
105
108
|
|
106
|
-
Patentscope.get_iasr('SG2003000062')
|
109
|
+
Patentscope.get_iasr('SG2003000062')
|
107
110
|
#=>
|
108
111
|
<?xml version="1.0"?>
|
109
112
|
<wo-international-application-status>
|
@@ -202,6 +205,10 @@ For support on the PATENTSCOPE Web Service, please see the resources in the sect
|
|
202
205
|
|
203
206
|
## Resources
|
204
207
|
|
208
|
+
### Web App Using Patentscope Gem
|
209
|
+
|
210
|
+
* The [PCT National Phase](http://guides.cantab-ip.com/singapore-national-phase) Guide fetches IASR data from WIPO PATENTSCOPE and displays a customised guide for the national phase entry of a PCT application
|
211
|
+
|
205
212
|
### PATENTSCOPE Web Service
|
206
213
|
* [PATENTSCOPE Web Service](http://www.wipo.int/patentscope/en/data/products.html)
|
207
214
|
* [Terms and Conditions](http://www.wipo.int/patentscope/en/data/terms.html)
|
data/Rakefile
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'bundler/gem_tasks'
|
2
2
|
require 'rspec/core/rake_task'
|
3
|
+
require 'dotenv/tasks'
|
3
4
|
|
4
5
|
desc 'Run RSpec examples (all)'
|
5
6
|
|
@@ -20,7 +21,15 @@ namespace :spec do
|
|
20
21
|
task.pattern = "./spec/**/*_spec.rb"
|
21
22
|
task.rspec_opts = '--tag more'
|
22
23
|
end
|
24
|
+
end
|
23
25
|
|
26
|
+
task console: :dotenv do
|
27
|
+
require 'irb'
|
28
|
+
require 'irb/completion'
|
29
|
+
require 'patentscope'
|
30
|
+
Patentscope.configure_from_env
|
31
|
+
ARGV.clear
|
32
|
+
IRB.start
|
24
33
|
end
|
25
34
|
|
26
35
|
task default: :spec
|
@@ -20,9 +20,7 @@ module Patentscope
|
|
20
20
|
end
|
21
21
|
|
22
22
|
def configured?
|
23
|
-
configuration &&
|
24
|
-
configuration.username &&
|
25
|
-
configuration.password
|
23
|
+
(configuration && configuration.username && configuration.password)? true : false
|
26
24
|
end
|
27
25
|
|
28
26
|
def reset_configuration
|
@@ -38,5 +36,4 @@ module Patentscope
|
|
38
36
|
@password = ''
|
39
37
|
end
|
40
38
|
end
|
41
|
-
|
42
39
|
end
|
data/lib/patentscope/version.rb
CHANGED
data/patentscope.gemspec
CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |gem|
|
|
8
8
|
gem.version = Patentscope::VERSION
|
9
9
|
gem.authors = ["Chong-Yee Khoo"]
|
10
10
|
gem.email = ["mail@cykhoo.com"]
|
11
|
-
gem.description = %q{Ruby interface to the
|
12
|
-
gem.summary = %q{Ruby interface with WIPO
|
11
|
+
gem.description = %q{Ruby interface to the PATENTSCOPE Web Service provided by the World Intellectual Property Organisation. Requires a subscription to the Patentscope Web Service}
|
12
|
+
gem.summary = %q{Ruby interface with WIPO PATENTSCOPE Web Service}
|
13
13
|
gem.homepage = "http://www.cantab-ip.com"
|
14
14
|
|
15
15
|
gem.files = `git ls-files`.split($/)
|
@@ -17,10 +17,11 @@ Gem::Specification.new do |gem|
|
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
18
|
gem.require_paths = ["lib"]
|
19
19
|
|
20
|
-
gem.add_development_dependency '
|
21
|
-
gem.add_development_dependency '
|
22
|
-
gem.add_development_dependency '
|
23
|
-
gem.add_development_dependency '
|
20
|
+
gem.add_development_dependency 'dotenv', '~> 1.0'
|
21
|
+
gem.add_development_dependency 'rake', '~> 10.3'
|
22
|
+
gem.add_development_dependency 'rspec', '~> 3.1'
|
23
|
+
gem.add_development_dependency 'vcr', '~> 2.9.2'
|
24
|
+
gem.add_development_dependency 'webmock', '~> 1.19'
|
24
25
|
|
25
26
|
gem.add_runtime_dependency 'nokogiri'
|
26
27
|
gem.add_runtime_dependency 'unicode_titlecase'
|
data/spec/configuration_spec.rb
CHANGED
@@ -2,136 +2,224 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
module Patentscope
|
4
4
|
|
5
|
-
describe
|
5
|
+
describe Configuration, :core do
|
6
6
|
|
7
|
-
|
8
|
-
expect(Patentscope).to respond_to(:configure)
|
9
|
-
end
|
7
|
+
describe 'instance methods' do
|
10
8
|
|
11
|
-
|
12
|
-
|
13
|
-
|
9
|
+
it 'has a username instance method' do
|
10
|
+
expect(Configuration.new).to respond_to(:username)
|
11
|
+
end
|
14
12
|
|
15
|
-
|
16
|
-
|
13
|
+
it 'has a password instance method' do
|
14
|
+
expect(Configuration.new).to respond_to(:password)
|
15
|
+
end
|
17
16
|
end
|
18
17
|
|
19
|
-
|
20
|
-
expect(Patentscope).to respond_to(:reset_configuration)
|
21
|
-
end
|
18
|
+
describe 'initialize' do
|
22
19
|
|
23
|
-
|
24
|
-
|
20
|
+
let(:configuration) { Configuration.new }
|
21
|
+
|
22
|
+
describe 'default values' do
|
23
|
+
|
24
|
+
it 'username is blank' do
|
25
|
+
expect(configuration.username).to eq('')
|
26
|
+
end
|
27
|
+
|
28
|
+
it 'password is blank' do
|
29
|
+
expect(configuration.password).to eq('')
|
30
|
+
end
|
31
|
+
end
|
25
32
|
end
|
26
33
|
end
|
27
34
|
|
28
|
-
describe
|
35
|
+
describe Patentscope, :core, :vcr do
|
29
36
|
|
30
|
-
|
31
|
-
|
37
|
+
before(:each) do
|
38
|
+
Patentscope.reset_configuration
|
32
39
|
end
|
33
40
|
|
34
|
-
|
35
|
-
|
41
|
+
after(:each) do
|
42
|
+
Patentscope.reset_configuration
|
36
43
|
end
|
37
|
-
end
|
38
44
|
|
39
|
-
|
45
|
+
describe 'class methods' do
|
40
46
|
|
41
|
-
|
47
|
+
it 'has configure class method' do
|
48
|
+
expect(Patentscope).to respond_to(:configure)
|
49
|
+
end
|
42
50
|
|
43
|
-
|
44
|
-
|
45
|
-
|
51
|
+
it 'has configure_from_env class method' do
|
52
|
+
expect(Patentscope).to respond_to(:configure_from_env)
|
53
|
+
end
|
54
|
+
|
55
|
+
it 'has configured? class method' do
|
56
|
+
expect(Patentscope).to respond_to(:configured?)
|
57
|
+
end
|
46
58
|
|
47
|
-
|
48
|
-
|
59
|
+
it 'has reset_configuration class method' do
|
60
|
+
expect(Patentscope).to respond_to(:reset_configuration)
|
61
|
+
end
|
49
62
|
end
|
50
63
|
|
51
|
-
it '
|
52
|
-
expect
|
53
|
-
Webservice.new.get_iasr(ia_number: 'SG2009000062')
|
54
|
-
end.to raise_error(Patentscope::NoCredentialsError)
|
64
|
+
it 'has an class level accessor to the configuration instance' do
|
65
|
+
expect(Patentscope).to respond_to(:configuration)
|
55
66
|
end
|
56
|
-
end
|
57
67
|
|
58
|
-
|
68
|
+
describe 'unconfigured' do
|
59
69
|
|
60
|
-
|
70
|
+
describe 'configuration state' do
|
61
71
|
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
end
|
72
|
+
it 'is not configured' do
|
73
|
+
expect(Patentscope.configured?).to be false
|
74
|
+
end
|
66
75
|
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
76
|
+
it 'configuration object is nil' do
|
77
|
+
expect(Patentscope.configuration).to be_nil
|
78
|
+
end
|
79
|
+
end
|
71
80
|
|
72
|
-
|
73
|
-
expect do
|
74
|
-
Webservice.new.get_iasr(ia_number: 'SG2009000062')
|
75
|
-
end.to raise_error(Patentscope::NoCredentialsError)
|
76
|
-
end
|
77
|
-
end
|
81
|
+
describe 'behaviours when called' do
|
78
82
|
|
79
|
-
|
83
|
+
it 'raises an error when trying to access username' do
|
84
|
+
expect do
|
85
|
+
Patentscope.configuration.username
|
86
|
+
end.to raise_error(NoMethodError)
|
87
|
+
end
|
88
|
+
|
89
|
+
it 'raises an error when trying to access password' do
|
90
|
+
expect do
|
91
|
+
Patentscope.configuration.password
|
92
|
+
end.to raise_error(NoMethodError)
|
93
|
+
end
|
80
94
|
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
95
|
+
it 'raises an error during client operations' do
|
96
|
+
expect do
|
97
|
+
Webservice.new.get_iasr(ia_number: 'SG2009000062')
|
98
|
+
end.to raise_error(Patentscope::NoCredentialsError)
|
99
|
+
end
|
85
100
|
end
|
86
101
|
end
|
87
102
|
|
88
|
-
|
89
|
-
Patentscope.reset_configuration
|
90
|
-
end
|
103
|
+
describe 'Patentscope.configure' do
|
91
104
|
|
92
|
-
|
93
|
-
expect(Patentscope.configuration.username).to eq('joe_bloggs')
|
94
|
-
expect(Patentscope.configuration.password).to eq('b10ggsy')
|
95
|
-
end
|
96
|
-
end
|
105
|
+
context 'Patentscope.configure called but no credentials given in block' do
|
97
106
|
|
98
|
-
|
107
|
+
before { Patentscope.configure }
|
99
108
|
|
100
|
-
|
101
|
-
|
102
|
-
|
109
|
+
describe 'configuration state' do
|
110
|
+
|
111
|
+
it 'is configured' do
|
112
|
+
expect(Patentscope.configured?).to be true
|
113
|
+
end
|
103
114
|
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
115
|
+
it 'configuration object exists' do
|
116
|
+
expect(Patentscope.configuration).to_not be_nil
|
117
|
+
end
|
118
|
+
|
119
|
+
it 'username defaults to null string if not explicitly set in the configure block' do
|
120
|
+
expect(Patentscope.configuration.username).to eq('')
|
121
|
+
end
|
122
|
+
|
123
|
+
it 'password defaults to null string if not explicitly set in the configure block' do
|
124
|
+
expect(Patentscope.configuration.password).to eq('')
|
125
|
+
end
|
109
126
|
end
|
110
|
-
end
|
111
127
|
|
112
|
-
|
113
|
-
|
128
|
+
describe 'behaviours when called' do
|
129
|
+
|
130
|
+
it 'does not raise an error when trying to access username' do
|
131
|
+
expect do
|
132
|
+
Patentscope.configuration.username
|
133
|
+
end.to_not raise_error
|
134
|
+
end
|
135
|
+
|
136
|
+
it 'does not raise an error when trying to access password' do
|
137
|
+
expect do
|
138
|
+
Patentscope.configuration.password
|
139
|
+
end.to_not raise_error
|
140
|
+
end
|
141
|
+
|
142
|
+
it 'raises an error during client operations' do
|
143
|
+
expect do
|
144
|
+
Webservice.new.get_iasr(ia_number: 'SG2009000062')
|
145
|
+
end.to raise_error(Patentscope::WrongCredentialsError)
|
146
|
+
end
|
147
|
+
end
|
114
148
|
end
|
115
149
|
|
116
|
-
|
117
|
-
|
118
|
-
|
150
|
+
context 'Patentscope.configure called with credentials set in block' do
|
151
|
+
|
152
|
+
before(:each) do
|
153
|
+
Patentscope.configure do |config|
|
154
|
+
config.username = 'joe_bloggs'
|
155
|
+
config.password = 'b10ggsy'
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
it 'configures the username' do
|
160
|
+
expect(Patentscope.configuration.username).to eq('joe_bloggs')
|
161
|
+
end
|
119
162
|
|
120
|
-
|
121
|
-
|
163
|
+
it 'configures the password' do
|
164
|
+
expect(Patentscope.configuration.password).to eq('b10ggsy')
|
165
|
+
end
|
122
166
|
end
|
123
167
|
end
|
124
168
|
|
125
|
-
describe '
|
169
|
+
describe 'Patentscope.configure_from_env"'do
|
170
|
+
|
171
|
+
context 'with no existing configuration' do
|
172
|
+
|
173
|
+
it 'loading operation succeeds' do
|
174
|
+
expect(Patentscope.configure_from_env).to be true
|
175
|
+
end
|
176
|
+
|
177
|
+
describe 'loads configurations from environment variables' do
|
126
178
|
|
127
|
-
|
128
|
-
|
179
|
+
before do
|
180
|
+
ENV['PATENTSCOPE_WEBSERVICE_USERNAME'] = 'joe_bloggs'
|
181
|
+
ENV['PATENTSCOPE_WEBSERVICE_PASSWORD'] = 'b10ggsy'
|
182
|
+
Patentscope.configure_from_env
|
183
|
+
end
|
184
|
+
|
185
|
+
it 'loads the username' do
|
186
|
+
expect(Patentscope.configuration.username).to eq('joe_bloggs')
|
187
|
+
end
|
188
|
+
|
189
|
+
it 'loads the password' do
|
190
|
+
expect(Patentscope.configuration.password).to eq('b10ggsy')
|
191
|
+
end
|
192
|
+
end
|
129
193
|
end
|
130
194
|
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
195
|
+
context 'with an existing configuration already loaded' do
|
196
|
+
|
197
|
+
before do
|
198
|
+
ENV['PATENTSCOPE_WEBSERVICE_USERNAME'] = 'foo'
|
199
|
+
ENV['PATENTSCOPE_WEBSERVICE_PASSWORD'] = 'bar'
|
200
|
+
Patentscope.configure_from_env
|
201
|
+
end
|
202
|
+
|
203
|
+
it 'loading operation fails' do
|
204
|
+
expect(Patentscope.configure_from_env).to be false
|
205
|
+
end
|
206
|
+
|
207
|
+
describe 'does not load configurations from environment variables' do
|
208
|
+
|
209
|
+
before do
|
210
|
+
ENV['PATENTSCOPE_WEBSERVICE_USERNAME'] = 'joe_bloggs'
|
211
|
+
ENV['PATENTSCOPE_WEBSERVICE_PASSWORD'] = 'b10ggsy'
|
212
|
+
Patentscope.configure_from_env
|
213
|
+
end
|
214
|
+
|
215
|
+
it 'keeps the already configured username' do
|
216
|
+
expect(Patentscope.configuration.username).to eq('foo')
|
217
|
+
end
|
218
|
+
|
219
|
+
it 'keeps the already configured password' do
|
220
|
+
expect(Patentscope.configuration.password).to eq('bar')
|
221
|
+
end
|
222
|
+
end
|
135
223
|
end
|
136
224
|
end
|
137
225
|
end
|
data/spec/patentscope_spec.rb
CHANGED
@@ -34,7 +34,7 @@ module Patentscope
|
|
34
34
|
it 'returns an appropriate XML document for the get_available_documents operation' do
|
35
35
|
response = patentscope.get_available_documents('SG2009000062')
|
36
36
|
expect(response).to include('<?xml version="1.0"?>')
|
37
|
-
expect(response).to include('<doc ocrPresence="
|
37
|
+
expect(response).to include('<doc ocrPresence="yes" gazette="35/2009" docType="PAMPH" docId="id00000008693323"/>')
|
38
38
|
expect(response).to_not include('<getAvailableDocumentsResponse xmlns="http://www.wipo.org/wsdl/ps">')
|
39
39
|
end
|
40
40
|
end
|
data/spec/spec_helper.rb
CHANGED
data/spec/webservice_spec.rb
CHANGED
@@ -40,7 +40,7 @@ module Patentscope
|
|
40
40
|
it 'returns an appropriate XML document for the get_available_documents operation' do
|
41
41
|
response = webservice.get_available_documents(ia_number: 'SG2009000062')
|
42
42
|
expect(response).to include('<?xml version="1.0"?>')
|
43
|
-
expect(response).to include('<doc ocrPresence="
|
43
|
+
expect(response).to include('<doc ocrPresence="yes" gazette="35/2009" docType="PAMPH" docId="id00000008693323"/>')
|
44
44
|
expect(response).to_not include('<getAvailableDocumentsResponse xmlns="http://www.wipo.org/wsdl/ps">')
|
45
45
|
end
|
46
46
|
end
|
metadata
CHANGED
@@ -1,113 +1,114 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: patentscope
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Chong-Yee Khoo
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2014-
|
11
|
+
date: 2014-10-09 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: dotenv
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.0'
|
14
27
|
- !ruby/object:Gem::Dependency
|
15
28
|
name: rake
|
16
29
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
30
|
requirements:
|
19
|
-
- -
|
31
|
+
- - "~>"
|
20
32
|
- !ruby/object:Gem::Version
|
21
|
-
version: '
|
33
|
+
version: '10.3'
|
22
34
|
type: :development
|
23
35
|
prerelease: false
|
24
36
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
37
|
requirements:
|
27
|
-
- -
|
38
|
+
- - "~>"
|
28
39
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
40
|
+
version: '10.3'
|
30
41
|
- !ruby/object:Gem::Dependency
|
31
42
|
name: rspec
|
32
43
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
44
|
requirements:
|
35
|
-
- - ~>
|
45
|
+
- - "~>"
|
36
46
|
- !ruby/object:Gem::Version
|
37
|
-
version: 3.
|
47
|
+
version: '3.1'
|
38
48
|
type: :development
|
39
49
|
prerelease: false
|
40
50
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
51
|
requirements:
|
43
|
-
- - ~>
|
52
|
+
- - "~>"
|
44
53
|
- !ruby/object:Gem::Version
|
45
|
-
version: 3.
|
54
|
+
version: '3.1'
|
46
55
|
- !ruby/object:Gem::Dependency
|
47
56
|
name: vcr
|
48
57
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
58
|
requirements:
|
51
|
-
- -
|
59
|
+
- - "~>"
|
52
60
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
61
|
+
version: 2.9.2
|
54
62
|
type: :development
|
55
63
|
prerelease: false
|
56
64
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
65
|
requirements:
|
59
|
-
- -
|
66
|
+
- - "~>"
|
60
67
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
68
|
+
version: 2.9.2
|
62
69
|
- !ruby/object:Gem::Dependency
|
63
70
|
name: webmock
|
64
71
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
72
|
requirements:
|
67
|
-
- -
|
73
|
+
- - "~>"
|
68
74
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
75
|
+
version: '1.19'
|
70
76
|
type: :development
|
71
77
|
prerelease: false
|
72
78
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
79
|
requirements:
|
75
|
-
- -
|
80
|
+
- - "~>"
|
76
81
|
- !ruby/object:Gem::Version
|
77
|
-
version: '
|
82
|
+
version: '1.19'
|
78
83
|
- !ruby/object:Gem::Dependency
|
79
84
|
name: nokogiri
|
80
85
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
86
|
requirements:
|
83
|
-
- -
|
87
|
+
- - ">="
|
84
88
|
- !ruby/object:Gem::Version
|
85
89
|
version: '0'
|
86
90
|
type: :runtime
|
87
91
|
prerelease: false
|
88
92
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
93
|
requirements:
|
91
|
-
- -
|
94
|
+
- - ">="
|
92
95
|
- !ruby/object:Gem::Version
|
93
96
|
version: '0'
|
94
97
|
- !ruby/object:Gem::Dependency
|
95
98
|
name: unicode_titlecase
|
96
99
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
100
|
requirements:
|
99
|
-
- -
|
101
|
+
- - ">="
|
100
102
|
- !ruby/object:Gem::Version
|
101
103
|
version: '0'
|
102
104
|
type: :runtime
|
103
105
|
prerelease: false
|
104
106
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
107
|
requirements:
|
107
|
-
- -
|
108
|
+
- - ">="
|
108
109
|
- !ruby/object:Gem::Version
|
109
110
|
version: '0'
|
110
|
-
description: Ruby interface to the
|
111
|
+
description: Ruby interface to the PATENTSCOPE Web Service provided by the World Intellectual
|
111
112
|
Property Organisation. Requires a subscription to the Patentscope Web Service
|
112
113
|
email:
|
113
114
|
- mail@cykhoo.com
|
@@ -115,9 +116,10 @@ executables: []
|
|
115
116
|
extensions: []
|
116
117
|
extra_rdoc_files: []
|
117
118
|
files:
|
118
|
-
- .gitignore
|
119
|
-
- .rspec
|
120
|
-
- .ruby-version
|
119
|
+
- ".gitignore"
|
120
|
+
- ".rspec"
|
121
|
+
- ".ruby-version"
|
122
|
+
- ".travis.yml"
|
121
123
|
- Gemfile
|
122
124
|
- License.txt
|
123
125
|
- README.md
|
@@ -143,34 +145,27 @@ files:
|
|
143
145
|
- spec/wipo_test_suite_spec.rb
|
144
146
|
homepage: http://www.cantab-ip.com
|
145
147
|
licenses: []
|
148
|
+
metadata: {}
|
146
149
|
post_install_message:
|
147
150
|
rdoc_options: []
|
148
151
|
require_paths:
|
149
152
|
- lib
|
150
153
|
required_ruby_version: !ruby/object:Gem::Requirement
|
151
|
-
none: false
|
152
154
|
requirements:
|
153
|
-
- -
|
155
|
+
- - ">="
|
154
156
|
- !ruby/object:Gem::Version
|
155
157
|
version: '0'
|
156
|
-
segments:
|
157
|
-
- 0
|
158
|
-
hash: -3671612522132073202
|
159
158
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
160
|
-
none: false
|
161
159
|
requirements:
|
162
|
-
- -
|
160
|
+
- - ">="
|
163
161
|
- !ruby/object:Gem::Version
|
164
162
|
version: '0'
|
165
|
-
segments:
|
166
|
-
- 0
|
167
|
-
hash: -3671612522132073202
|
168
163
|
requirements: []
|
169
164
|
rubyforge_project:
|
170
|
-
rubygems_version:
|
165
|
+
rubygems_version: 2.2.2
|
171
166
|
signing_key:
|
172
|
-
specification_version:
|
173
|
-
summary: Ruby interface with WIPO
|
167
|
+
specification_version: 4
|
168
|
+
summary: Ruby interface with WIPO PATENTSCOPE Web Service
|
174
169
|
test_files:
|
175
170
|
- spec/client_spec.rb
|
176
171
|
- spec/configuration_spec.rb
|