userbin 1.0.3 → 1.0.4

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: 7498623491b9429af9d977c6db5f0fefb1e2c5f2
4
- data.tar.gz: a005397c6605710aa911f351f64a5c8dd8a9f039
3
+ metadata.gz: d9b8ce69ab60a585a76e9a70407998c381af3ff5
4
+ data.tar.gz: f28be477edf5edd04eb8a0d115b2f30e7925fa54
5
5
  SHA512:
6
- metadata.gz: b58a1b4ec62b33c6d2e816b7259d637e5c227bbc23d4407b41dd0e62f4439d0b1c40669df6454ccb7a5727e1a41608f816eb15f3b3453d14ccf9bea367ea785f
7
- data.tar.gz: 4d1e30e9d565c4c6978515769ca12c56238f04b767a38ae1323331f24760ef2caefc401f66b6e65a07942947c7839e6c3f92a012170dee14753a2a837b1097be
6
+ metadata.gz: 6dff1ce4527789fd98d09dad1ca96c735839ef1c40af6bd6d2cb0f551d7e326ac9ebd36dee7cef2de96f5a3291acfe2776ed583a57bed251b8e2bda419e659e2
7
+ data.tar.gz: 812f6a193e50662368adc8d193301005455034ae3e65b2ffc2f36b152893ff81da19d12d9890331fb538b09545eab3923af75288b75787a7ac50670bb64eea0a
@@ -34,7 +34,7 @@ module Userbin
34
34
  end
35
35
 
36
36
  def call(env)
37
- value = Base64.encode64("#{@api_secret || Userbin.config.api_secret}:")
37
+ value = Base64.encode64(":#{@api_secret || Userbin.config.api_secret}")
38
38
  value.gsub!("\n", '')
39
39
  env[:request_headers]["Authorization"] = "Basic #{value}"
40
40
  @app.call(env)
@@ -1,3 +1,3 @@
1
1
  module Userbin
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://secretkey:@secure.userbin.com/v1/users/user-2412/sessions
5
+ uri: https://:secretkey@secure.userbin.com/v1/users/user-2412/sessions
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"user":{"email":"valid@example.com"}}'
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://secretkey:@secure.userbin.com/v1/sessions/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImlzcyI6InVzZXItMjQxMiIsInN1YiI6IlMyb2R4UmVabkdxaHF4UGFRN1Y3a05rTG9Ya0daUEZ6IiwiYXVkIjoiODAwMDAwMDAwMDAwMDAwIiwiZXhwIjoxMzk5NDc5Njc1LCJpYXQiOjEzOTk0Nzk2NjUsImp0aSI6MH0.eyJjaGFsbGVuZ2UiOnsiaWQiOiJUVENqd3VyM3lwbTRUR1ZwWU43cENzTXFxOW9mWEVBSCIsInR5cGUiOiJvdHBfYXV0aGVudGljYXRvciJ9fQ.LT9mUzJEbsizbFxcpMo3zbms0aCDBzfgMbveMGSi1-s/refresh
5
+ uri: https://:secretkey@secure.userbin.com/v1/sessions/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImlzcyI6InVzZXItMjQxMiIsInN1YiI6IlMyb2R4UmVabkdxaHF4UGFRN1Y3a05rTG9Ya0daUEZ6IiwiYXVkIjoiODAwMDAwMDAwMDAwMDAwIiwiZXhwIjoxMzk5NDc5Njc1LCJpYXQiOjEzOTk0Nzk2NjUsImp0aSI6MH0.eyJjaGFsbGVuZ2UiOnsiaWQiOiJUVENqd3VyM3lwbTRUR1ZwWU43cENzTXFxOW9mWEVBSCIsInR5cGUiOiJvdHBfYXV0aGVudGljYXRvciJ9fQ.LT9mUzJEbsizbFxcpMo3zbms0aCDBzfgMbveMGSi1-s/refresh
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"user":{"name":"New Name"}}'
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://secretkey:@secure.userbin.com/v1/sessions/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImlzcyI6InVzZXItMjQxMiIsInN1YiI6IlMyb2R4UmVabkdxaHF4UGFRN1Y3a05rTG9Ya0daUEZ6IiwiYXVkIjoiODAwMDAwMDAwMDAwMDAwIiwiZXhwIjoxMzk5NDc5Njc1LCJpYXQiOjEzOTk0Nzk2NjUsImp0aSI6MH0.eyJjaGFsbGVuZ2UiOnsiaWQiOiJUVENqd3VyM3lwbTRUR1ZwWU43cENzTXFxOW9mWEVBSCIsInR5cGUiOiJvdHBfYXV0aGVudGljYXRvciJ9fQ.LT9mUzJEbsizbFxcpMo3zbms0aCDBzfgMbveMGSi1-s/verify
5
+ uri: https://:secretkey@secure.userbin.com/v1/sessions/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImlzcyI6InVzZXItMjQxMiIsInN1YiI6IlMyb2R4UmVabkdxaHF4UGFRN1Y3a05rTG9Ya0daUEZ6IiwiYXVkIjoiODAwMDAwMDAwMDAwMDAwIiwiZXhwIjoxMzk5NDc5Njc1LCJpYXQiOjEzOTk0Nzk2NjUsImp0aSI6MH0.eyJjaGFsbGVuZ2UiOnsiaWQiOiJUVENqd3VyM3lwbTRUR1ZwWU43cENzTXFxOW9mWEVBSCIsInR5cGUiOiJvdHBfYXV0aGVudGljYXRvciJ9fQ.LT9mUzJEbsizbFxcpMo3zbms0aCDBzfgMbveMGSi1-s/verify
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"response":"017010"}'
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://secretkey:@secure.userbin.com/v1/users/9RA2j3cYDxt8gefQUduKnxUxRRGy6Rz4
5
+ uri: https://:secretkey@secure.userbin.com/v1/users/9RA2j3cYDxt8gefQUduKnxUxRRGy6Rz4
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://secretkey:@secure.userbin.com/v1/users/non_existing
5
+ uri: https://:secretkey@secure.userbin.com/v1/users/non_existing
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://secretkey:@secure.userbin.com/v1/users/import
5
+ uri: https://:secretkey@secure.userbin.com/v1/users/import
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"users":[{"email":"10@example.com","username":"10"},{"email":"20@example.com","username":"20"}]}'
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: put
5
- uri: https://secretkey:@secure.userbin.com/v1/users/AKfwtfrAzdDKp55aty8o14MoudkaS9BL
5
+ uri: https://:secretkey@secure.userbin.com/v1/users/AKfwtfrAzdDKp55aty8o14MoudkaS9BL
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"id":"AKfwtfrAzdDKp55aty8o14MoudkaS9BL","email":"updated@example.com","created_at":"2014-04-27
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: userbin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-12 00:00:00.000000000 Z
11
+ date: 2014-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: her