buckybox-api 1.6.1 → 1.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/buckybox-api.gemspec +1 -1
- data/lib/buckybox/api.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e0b8ea139527f94b16a01bb4ab5db41e224e35a
|
4
|
+
data.tar.gz: 58e07a21dab75bdcd43922faffa33587d28e9109
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbe8161c7edf1363aa0741adba90a834d0e7e7de0079b35cece3129db20ae69c49544c83c1df65deae6919c808afdae07051eb5cd58d2d3f8ca6fcab048dfb99
|
7
|
+
data.tar.gz: ac9782d110274c64728a16142e00323bbf77f1d59e60de5a28c8eb4ffe64a60077bf70b7784143bc4f9398b51cc4e813c190787dc43a0f5f8737b3c597b0463f
|
data/buckybox-api.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "buckybox-api"
|
7
|
-
spec.version = "1.6.
|
7
|
+
spec.version = "1.6.2"
|
8
8
|
spec.authors = ["Cédric Félizard"]
|
9
9
|
spec.email = ["cedric@felizard.fr"]
|
10
10
|
spec.summary = %q{RubyGem wrapper for the Bucky Box API}
|
data/lib/buckybox/api.rb
CHANGED
@@ -33,7 +33,7 @@ module BuckyBox
|
|
33
33
|
|
34
34
|
include HTTParty
|
35
35
|
format :json
|
36
|
-
base_uri ENDPOINTS.fetch(ENV.fetch("RAILS_ENV", "
|
36
|
+
base_uri ENDPOINTS.fetch(ENV.fetch("RAILS_ENV", "production").to_sym)
|
37
37
|
|
38
38
|
def initialize(headers)
|
39
39
|
self.class.headers(headers)
|