epo-ops 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -3
- data/lib/epo/ops/bibliographic_document.rb +1 -1
- data/lib/epo/ops/register.rb +2 -2
- data/lib/epo/ops/search_query_builder.rb +1 -1
- data/lib/epo/ops/token_store.rb +1 -1
- data/lib/epo/ops/version.rb +2 -1
- metadata +21 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14d4527d80492bc9c65e4b9119155f8efbd5f306
|
4
|
+
data.tar.gz: 0ef4446294943bb1bcaf0af3bc34d3443c80d1fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 09e15e977dc99780a2519fec1b87328205b57aabc86fc02cfa26b755eae6680fc2c3cda513c53d357dac42a69315603a9b0108f0ceeab2b4d9459301ee5b9478
|
7
|
+
data.tar.gz: 2cb69673d63c1a3250a17002b110ada59db528837ae6adf36c9d2f728a8ed918e941f305c30ef3038787c2b7ed88811de5900e6bf5108d76ff181b2bfb03ff54
|
data/.travis.yml
CHANGED
@@ -27,7 +27,7 @@ module Epo
|
|
27
27
|
|
28
28
|
# @return [String] The URL at which you can query the original document.
|
29
29
|
def url
|
30
|
-
@url ||= "https://ops.epo.org/
|
30
|
+
@url ||= "https://ops.epo.org/#{Epo::Ops::API_VERSION}/rest-services/register/application/epodoc/#{application_nr}"
|
31
31
|
end
|
32
32
|
|
33
33
|
# @return [String] the english title of the patent @note Titles are
|
data/lib/epo/ops/register.rb
CHANGED
@@ -6,7 +6,7 @@ require 'epo/ops/logger'
|
|
6
6
|
|
7
7
|
module Epo
|
8
8
|
module Ops
|
9
|
-
# Access to the {http://ops.epo.org/3.
|
9
|
+
# Access to the {http://ops.epo.org/3.2/rest-services/register register}
|
10
10
|
# endpoint of the EPO OPS API.
|
11
11
|
#
|
12
12
|
# By now you can search and retrieve patents by using the type `application`
|
@@ -170,7 +170,7 @@ module Epo
|
|
170
170
|
end
|
171
171
|
|
172
172
|
def self.register_api_string
|
173
|
-
|
173
|
+
"/#{Epo::Ops::API_VERSION}/rest-services/register/"
|
174
174
|
end
|
175
175
|
end
|
176
176
|
end
|
@@ -7,7 +7,7 @@ module Epo
|
|
7
7
|
# {https://www.loc.gov/standards/sru/cql/ CQL} (Common Query Language or
|
8
8
|
# Contextual Query Language) with the identifies specified by the EPO in
|
9
9
|
# the OPS Documentation chapter 4.2 ( {https://www.epo.org/searching-for-patents/technical/espacenet/ops.html Link}
|
10
|
-
# - use tab Downloads and see file 'OPS version 3.
|
10
|
+
# - use tab Downloads and see file 'OPS version 3.2 documentation').
|
11
11
|
# Dont use a builder twice ;)
|
12
12
|
class SearchQueryBuilder
|
13
13
|
def initialize
|
data/lib/epo/ops/token_store.rb
CHANGED
@@ -19,7 +19,7 @@ module Epo
|
|
19
19
|
Epo::Ops.config.consumer_key,
|
20
20
|
Epo::Ops.config.consumer_secret,
|
21
21
|
site: 'https://ops.epo.org/',
|
22
|
-
token_url:
|
22
|
+
token_url: "/#{Epo::Ops::API_VERSION}/auth/accesstoken",
|
23
23
|
raise_errors: false
|
24
24
|
)
|
25
25
|
@token = client.client_credentials.get_token
|
data/lib/epo/ops/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: epo-ops
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Max Kießling
|
@@ -10,104 +10,104 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2017-06-26 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
|
-
- - ~>
|
19
|
+
- - "~>"
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: '1.3'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
|
-
- - ~>
|
26
|
+
- - "~>"
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
version: '1.3'
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: rake
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
|
-
- - ~>
|
33
|
+
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
35
|
version: '10.5'
|
36
36
|
type: :development
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- - ~>
|
40
|
+
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: '10.5'
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: minitest
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - ~>
|
47
|
+
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: '5.8'
|
50
50
|
type: :development
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
|
-
- - ~>
|
54
|
+
- - "~>"
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: '5.8'
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: vcr
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
-
- - ~>
|
61
|
+
- - "~>"
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: '2.9'
|
64
64
|
type: :development
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
|
-
- - ~>
|
68
|
+
- - "~>"
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '2.9'
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: webmock
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
|
-
- - ~>
|
75
|
+
- - "~>"
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '1.22'
|
78
78
|
type: :development
|
79
79
|
prerelease: false
|
80
80
|
version_requirements: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
|
-
- - ~>
|
82
|
+
- - "~>"
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '1.22'
|
85
85
|
- !ruby/object:Gem::Dependency
|
86
86
|
name: simplecov
|
87
87
|
requirement: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
|
-
- -
|
89
|
+
- - ">="
|
90
90
|
- !ruby/object:Gem::Version
|
91
91
|
version: '0'
|
92
92
|
type: :development
|
93
93
|
prerelease: false
|
94
94
|
version_requirements: !ruby/object:Gem::Requirement
|
95
95
|
requirements:
|
96
|
-
- -
|
96
|
+
- - ">="
|
97
97
|
- !ruby/object:Gem::Version
|
98
98
|
version: '0'
|
99
99
|
- !ruby/object:Gem::Dependency
|
100
100
|
name: oauth2
|
101
101
|
requirement: !ruby/object:Gem::Requirement
|
102
102
|
requirements:
|
103
|
-
- - ~>
|
103
|
+
- - "~>"
|
104
104
|
- !ruby/object:Gem::Version
|
105
105
|
version: '1.1'
|
106
106
|
type: :runtime
|
107
107
|
prerelease: false
|
108
108
|
version_requirements: !ruby/object:Gem::Requirement
|
109
109
|
requirements:
|
110
|
-
- - ~>
|
110
|
+
- - "~>"
|
111
111
|
- !ruby/object:Gem::Version
|
112
112
|
version: '1.1'
|
113
113
|
description: This gem allows simple access to the European Patent Offices (EPO) Open
|
@@ -117,8 +117,8 @@ executables: []
|
|
117
117
|
extensions: []
|
118
118
|
extra_rdoc_files: []
|
119
119
|
files:
|
120
|
-
- .gitignore
|
121
|
-
- .travis.yml
|
120
|
+
- ".gitignore"
|
121
|
+
- ".travis.yml"
|
122
122
|
- Gemfile
|
123
123
|
- LICENSE
|
124
124
|
- README.md
|
@@ -147,17 +147,17 @@ require_paths:
|
|
147
147
|
- lib
|
148
148
|
required_ruby_version: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- -
|
150
|
+
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
153
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
154
154
|
requirements:
|
155
|
-
- -
|
155
|
+
- - ">="
|
156
156
|
- !ruby/object:Gem::Version
|
157
157
|
version: '0'
|
158
158
|
requirements: []
|
159
159
|
rubyforge_project:
|
160
|
-
rubygems_version: 2.
|
160
|
+
rubygems_version: 2.6.11
|
161
161
|
signing_key:
|
162
162
|
specification_version: 4
|
163
163
|
summary: Ruby interface to the European Patent Office API (OPS)
|