epo-ops 0.2.5 → 0.2.6

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: e40ce1dbaed083f38c18e4e0f40f66f80381d270
4
- data.tar.gz: 7a69709812e5be2687ff4ccae2d7aa69372e3bf2
3
+ metadata.gz: 486c2b78a9d96a95206df411f2414bb58387f873
4
+ data.tar.gz: f512f54574ac9b6a98905545e24e0917ae59f333
5
5
  SHA512:
6
- metadata.gz: 6092ddb5f55b92f9156c5360f1436d3242468c00f2e40b21fd9fe50240f4c333ce7d8562022cdb7af9eb6aca59236c22171b6b2d72a4dd628bb9558422c75bbe
7
- data.tar.gz: f26525ce447f0882581228ea0bdc52c86a01aa90bd2b2be6f76e1b52c4f92ec00e59d3b6d3ffa785eb105ecb8122b6126ec7ade6f81bba20d4c9efdfaf701859
6
+ metadata.gz: ddca9237f9e562cd45901b8bbd4ae4b2c5b4f5fc460e6b3f4de7406415b8791ba0157e978d9b0dfb8b49803540ddd97c4042ae633058897594815570354736b9
7
+ data.tar.gz: 19cfcb49c74da598b5e6e8e5290e83b09e025ad253fcdbe9425b8a461a2afbfefcabbafb11e1bde971fe67e915185d4c50e7b1ee8af4593876725b3b4d98f6ba
data/.gitignore CHANGED
@@ -35,6 +35,3 @@ Gemfile.lock
35
35
 
36
36
  # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
37
37
  .rvmrc
38
-
39
- # IDEs
40
- /.idea/
@@ -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/3.1/rest-services/register/application/epodoc/#{application_nr}"
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
@@ -7,7 +7,7 @@ require 'epo/ops/ipc_class_util'
7
7
 
8
8
  module Epo
9
9
  module Ops
10
- # Access to the {http://ops.epo.org/3.1/rest-services/register register}
10
+ # Access to the {http://ops.epo.org/3.2/rest-services/register register}
11
11
  # endpoint of the EPO OPS API.
12
12
  #
13
13
  # By now you can search and retrieve patents by using the type `application`
@@ -145,7 +145,7 @@ module Epo
145
145
  end
146
146
 
147
147
  def self.register_api_string
148
- '/3.1/rest-services/register/'
148
+ "/#{Epo::Ops::API_VERSION}/rest-services/register/"
149
149
  end
150
150
  end
151
151
  end
@@ -24,7 +24,7 @@ module Epo
24
24
  Epo::Ops.config.consumer_key,
25
25
  Epo::Ops.config.consumer_secret,
26
26
  site: 'https://ops.epo.org/',
27
- token_url: '/3.1/auth/accesstoken',
27
+ token_url: "/#{Epo::Ops::API_VERSION}/auth/accesstoken",
28
28
  raise_errors: false
29
29
  )
30
30
 
@@ -1,5 +1,6 @@
1
1
  module Epo
2
2
  module Ops
3
- VERSION = '0.2.5'.freeze
3
+ VERSION = '0.2.6'.freeze
4
+ API_VERSION = '3.2'
4
5
  end
5
6
  end
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.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max Kießling
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2016-03-15 00:00:00.000000000 Z
13
+ date: 2017-07-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -174,7 +174,6 @@ extensions: []
174
174
  extra_rdoc_files: []
175
175
  files:
176
176
  - ".gitignore"
177
- - ".travis.yml"
178
177
  - Gemfile
179
178
  - LICENSE
180
179
  - README.md
@@ -216,7 +215,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
216
215
  version: '0'
217
216
  requirements: []
218
217
  rubyforge_project:
219
- rubygems_version: 2.5.1
218
+ rubygems_version: 2.5.2
220
219
  signing_key:
221
220
  specification_version: 4
222
221
  summary: Ruby interface to the European Patent Office API (OPS)
@@ -1,5 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - "2.0.0"
4
- - "2.1.0"
5
- - "2.2.0"