omniauth-bitreserve 0.0.1.pre.alpha → 0.0.2.pre.alpha

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: 00cb57c03671f5faedc11023814a6c365bd32562
4
- data.tar.gz: 72a319370061da170ad663c9ee13a88a426391ca
3
+ metadata.gz: 56494e75a8b1f3321efd3818d7cb409b23d214a7
4
+ data.tar.gz: a9ef0240d5336339fb5f35dea1ccd4b304ee2601
5
5
  SHA512:
6
- metadata.gz: 68d67f38b79597c781ae8eafb7978557053b9c7ae914baa1572eaef43d49001c8c5cc7c1c3d21926dba0e57021d5074d90c70ab82ef604f3aaec4ed2e65ac38c
7
- data.tar.gz: 69049fa7d71af02a0e37fd2054e0dfa7737808019113bc460c393fc3b665b9b7da19b01cf4757a08bb6a6ed06ad81f5afc13b69a69065419e1571e5c3a8742b0
6
+ metadata.gz: 1467de730bab369e63720943f61231bf88d5c65b56550a590a6909812de6a63e8664917d233aa5fbfd9077b5f59f96ccb7ef099df2ee5635bcbd5e3eb6d9de04
7
+ data.tar.gz: 8374723aeca3e99243ce7c72bc6f8ec46c001ad8566cc57741b03cecd575cb9b18403bbed0154b3c5b72b83f23452baaab98a9ddbaef7de459ebd950af96e21d
data/README.md CHANGED
@@ -26,6 +26,10 @@ Rails.application.config.middleware.use OmniAuth::Builder do
26
26
  end
27
27
  ```
28
28
 
29
+ ## Sandbox API
30
+
31
+ Bitreserve supports a sandbox environment for testing purposes. The API for it is located at `https://api-sandbox.bitreserve.org`. To use that, you have to override the environment variable `BITRESERVE_API_URL` with the previously mentioned URL before loading the gem. We recommend [dotenv](https://github.com/bkeepers/dotenv).
32
+
29
33
  ## Contributing
30
34
 
31
35
  1. Fork it ( https://github.com/[my-github-username]/omniauth-Bitreserve/fork )
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Bitreserve
3
- VERSION = '0.0.1-alpha'
3
+ VERSION = '0.0.2-alpha'
4
4
  end
5
5
  end
@@ -6,7 +6,7 @@ module OmniAuth
6
6
  include ::OmniAuth::Strategy
7
7
 
8
8
  URL = ENV['BITRESERVE_API_URL'] || 'https://api.bitreserve.org'
9
- PATH = '/oauth/authorize'
9
+ PATH = '/oauth2/authorize'
10
10
 
11
11
  option :name, :bitreserve
12
12
  option :client_options, site: URL, authorize_url: PATH
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-bitreserve
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.pre.alpha
4
+ version: 0.0.2.pre.alpha
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Palhas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-11 00:00:00.000000000 Z
11
+ date: 2015-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth