queenbee 1.4.0 → 1.4.1

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: cab732f16b643efe93cceaf0044247931c3576cbb99eae5d9ccfeb3d4d27025c
4
- data.tar.gz: 8b5bc0f6775dc2313102155c3b08630f24c57c851fa29bb84bd68d759752f361
3
+ metadata.gz: 16b223a7e964ee43ca53e6c0e1b274eb5c041ff1f5b6494da48054784f00230b
4
+ data.tar.gz: 123d1ceda4adfa6226bd8e20c64accff1e8d6aef24fe636691f9a227cd371d4a
5
5
  SHA512:
6
- metadata.gz: d26e9371cab7b33d862e96c749868a7d6bfaadc9a03c480d65efe79b57c3c00dd85ecf1fc00f7a91d0f0a2cc3d1124b6730bc50bba632a3cde77456b27f88844
7
- data.tar.gz: 7f5f61f23c1a6a9e6851fefd2c291b583963eefdaf98f416611d4a1f7579759b3e0bb67b57dc8cc9b184ebb9ad4f16b061cc68fc2581c490f06f90ad2796e83d
6
+ metadata.gz: 5b88696f5abfe45cc27824635cb07cbd9764d3f0c3680c8e17e330fb0bb3d7827cd415d0c51ca126fd42b991d38f39d02928a1be975300aa9d58bc49d9cd9275
7
+ data.tar.gz: 29a1c0573bb116849ec55f0868b7d5e38fa4fdb14e3ba6828741ea3171955a78d293f5eda649a6e96988839b4fae5902368d17d14ea61995c2f5df8d6e5ade6d
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Queenbee
2
2
 
3
- [![Build Status](https://semaphoreci.com/api/v1/olimart/queenbee-ruby/branches/master/badge.svg)](https://semaphoreci.com/olimart/queenbee-ruby)
3
+ [![Tests](https://github.com/olimart/queenbee-ruby/actions/workflows/ci.yml/badge.svg)](https://github.com/olimart/queenbee-ruby/actions/workflows/ci.yml)
4
4
 
5
5
  Simple gem for communicating with external API. Heavily inspired by stripe gem.
6
6
 
@@ -1,3 +1,3 @@
1
1
  module Queenbee
2
- VERSION = "1.4.0"
2
+ VERSION = "1.4.1"
3
3
  end
data/lib/queenbee.rb CHANGED
@@ -123,15 +123,15 @@ module Queenbee
123
123
  end
124
124
 
125
125
  def self.invalid_request_error(message, rcode, rbody, error_obj)
126
- InvalidRequestError.new(error[:message], error[:param], rcode, rbody, error_obj)
126
+ InvalidRequestError.new(message, rcode, rbody, error_obj)
127
127
  end
128
128
 
129
129
  def self.authentication_error(message, rcode, rbody, error_obj)
130
- AuthenticationError.new(error[:message], rcode, rbody, error_obj)
130
+ AuthenticationError.new(message, rcode, rbody, error_obj)
131
131
  end
132
132
 
133
133
  def self.api_error(message, rcode, rbody, error_obj)
134
- APIError.new(error[:message], rcode, rbody, error_obj)
134
+ APIError.new(message, rcode, rbody, error_obj)
135
135
  end
136
136
 
137
137
  def self.general_api_error(rcode, rbody)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: queenbee
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olivier