fera-api 0.2.3 → 0.2.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
  SHA256:
3
- metadata.gz: a57edbe52b6971a3d74201e5313ebe1f06166d2efa8f0be1013d3f4809c64c69
4
- data.tar.gz: 5d435cfed0ec28813cb6501c97f7919d0bf3197d946cbd9a4dd08687b30dc0d7
3
+ metadata.gz: c9efcac494fc05e6511996a41b748aa00edb1fed3534935dc28e2bb1a9b2af89
4
+ data.tar.gz: d4d1e227576311edc50fa0cc21087fc1cdf6f8fb5fd1c843dfd8bf455681fe0c
5
5
  SHA512:
6
- metadata.gz: f7951d6031da2542091c04c23092bfb89d4b60c2666c00883a067aa5a25b07c4ea9cf1f44695ebc7a55706621fc55f992d4eec8b39b90b29f3822b447dbbd822
7
- data.tar.gz: c9ab5cffab575258f506eb6ffec0fed26c2fa1e4c5e04f22e77b2849153f62f97f7a73f18c522a7788bb39f586cebf78c9f6599ecc51e6f33a54817e24cf299a
6
+ metadata.gz: f85c210b94b9e2463aedb8fde956a39554cce75f3b2a306f35be8bed471cb90fc732ba8b642e38f42577c0073e27c453661eb8ccccded04283ebdf13aeb4e7e7
7
+ data.tar.gz: 42708cfa646b44fc936ebf1195c48985fa700e8a9eaf397fa39944e00aaf1f7175b7b32fe567eae08314fcf57541ee841f13e59d2178f08d4f7fd8fac040aeac
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fera-api (0.2.3)
4
+ fera-api (0.2.4)
5
5
  activemodel (>= 4)
6
6
  activeresource (>= 6)
7
7
  activesupport (>= 4.0)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Fera
4
4
  module API
5
- VERSION = "0.2.3"
5
+ VERSION = "0.2.4"
6
6
  end
7
7
  end
data/lib/fera/api.rb CHANGED
@@ -25,7 +25,7 @@ module Fera
25
25
  previous_debug_mode = @debug_mode
26
26
 
27
27
  api_url ||= 'https://api.fera.ai'
28
- api_type ||= api_key.include?('sk_') ? 'private' : 'public'
28
+ api_type ||= api_key.include?('pk_') ? 'public' : 'private'
29
29
  Base.site = "#{ api_url.chomp('/') }/v3/#{ api_type }"
30
30
 
31
31
  @debug_mode = debug_mode
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fera-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fera Commerce Inc
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-11-07 00:00:00.000000000 Z
11
+ date: 2022-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel