3scale_client 2.5.0.pre1 → 2.5.0
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 +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +3 -0
- data/README.md +2 -1
- data/VERSION +1 -1
- data/lib/3scale/client/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 303ebb36b8ecc494d886bfd138dab48c971ac2df
|
|
4
|
+
data.tar.gz: ce3cec845d48ee1fb376fa98b5f07d5eb4f285e9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e28bdc9a3e385adb6b7f7facb3008a49c626c023965fc36aab95d3292d0818121d4a0fa61afaed68c1ae630ade4c7e57632a3625f1407d6be5817814cd44204d
|
|
7
|
+
data.tar.gz: fa3a5341087146e026d460d3868dc2adcc72926dcee77131c8c72820d2a79cb658eefca0e15d218c83cd555efc7f90599e7ffe21511d9666a74bda9ead0d0a3f
|
data/.travis.yml
CHANGED
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.
|
|
1
|
+
2.5.0
|
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
|
|
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-
|
|
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:
|
|
190
|
+
version: '0'
|
|
191
191
|
requirements: []
|
|
192
192
|
rubyforge_project:
|
|
193
|
-
rubygems_version: 2.4.
|
|
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
|