3scale_client 2.5.0.pre1 → 2.5.0

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: ab7fb31122fd7138a87cb410914466949e6f7034
4
- data.tar.gz: 077f77ad68034e85e57a32d529aaaffb0078b9fd
3
+ metadata.gz: 303ebb36b8ecc494d886bfd138dab48c971ac2df
4
+ data.tar.gz: ce3cec845d48ee1fb376fa98b5f07d5eb4f285e9
5
5
  SHA512:
6
- metadata.gz: 1a987bb2bdc1cfcfa1472ca5c5180fa6211ac781bf8a264afbb01083a83ef7cfb1f64ab45e7753928790967f86144dd076a84fcb64c336bedff7c5a72ce30deb
7
- data.tar.gz: ae03b5bac34c9da2b53d11445ecf795ead9ff875f6840e44234f3a09029405ee1cf6b00fae2c92883158d41db60e6e709b8f6d703e6a0b3de6f04f95d96d4515
6
+ metadata.gz: e28bdc9a3e385adb6b7f7facb3008a49c626c023965fc36aab95d3292d0818121d4a0fa61afaed68c1ae630ade4c7e57632a3625f1407d6be5817814cd44204d
7
+ data.tar.gz: fa3a5341087146e026d460d3868dc2adcc72926dcee77131c8c72820d2a79cb658eefca0e15d218c83cd555efc7f90599e7ffe21511d9666a74bda9ead0d0a3f
data/.travis.yml CHANGED
@@ -1,5 +1,6 @@
1
1
  language: ruby
2
2
  cache: bundler
3
+ sudo: false
3
4
  rvm:
4
5
  - 1.9.3
5
6
  - 2.0.0
data/CHANGELOG.md CHANGED
@@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file.
5
5
  ### Fixed
6
6
  ### Added
7
7
 
8
+ ## [2.5.0] - 2015-12-14
9
+ No changes. Stable release.
10
+
8
11
  ## [2.5.0.pre1] - 2015-01-29
9
12
  ### Added
10
13
  - Native support for persistent connections (without net-http-persistent gem)
data/README.md CHANGED
@@ -106,7 +106,7 @@ class ApplicationController < ActionController
106
106
  def authenticate
107
107
  response = create_client.authrep(:app_id => params["app_id"],
108
108
  :app_key => params["app_key"],
109
- :usage => { params[:metric].to_sym => 1 }
109
+ :usage => { params[:metric].to_sym => 1 })
110
110
  if response.success?
111
111
  return true
112
112
  # All fine, the usage will be reported automatically. Proceeed.
@@ -260,5 +260,6 @@ response.error_message # "provider key \"foo\" is invalid"
260
260
  You can use our Rack middleware to automatically authenticate your Rack applications.
261
261
 
262
262
  ```ruby
263
+ require '3scale/middleware'
263
264
  use ThreeScale::Middleware, provider_key, :user_key # or :app_id
264
265
  ```
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.2.7
1
+ 2.5.0
@@ -1,5 +1,5 @@
1
1
  module ThreeScale
2
2
  class Client
3
- VERSION = '2.5.0.pre1'
3
+ VERSION = '2.5.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: 3scale_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0.pre1
4
+ version: 2.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Cichra
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2015-01-29 00:00:00.000000000 Z
15
+ date: 2015-12-14 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: bundler
@@ -185,12 +185,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
185
185
  version: '0'
186
186
  required_rubygems_version: !ruby/object:Gem::Requirement
187
187
  requirements:
188
- - - ">"
188
+ - - ">="
189
189
  - !ruby/object:Gem::Version
190
- version: 1.3.1
190
+ version: '0'
191
191
  requirements: []
192
192
  rubyforge_project:
193
- rubygems_version: 2.4.5
193
+ rubygems_version: 2.4.8
194
194
  signing_key:
195
195
  specification_version: 4
196
196
  summary: Client for 3scale Web Service Management System API