birdseed 0.0.5 → 0.0.6

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: 936692d6d041c348be86ce8c99c3c8ee941f593d
4
- data.tar.gz: ecbba4f783997a24090a608d44f42b8a74cf42f3
3
+ metadata.gz: 256d33722af8800d0a0f217cb568156328a8eb94
4
+ data.tar.gz: 7b395c09459357a960fffb4c778e909d9982c5af
5
5
  SHA512:
6
- metadata.gz: 475ba25c29ad61485c838c401cce4af7344f4d681b44d727d8fe7d7d76778990e4af5ead3785f7ecde7dbb3400b393129ff7149354ff445d2458403766f399fb
7
- data.tar.gz: 554fad0140f46336cf177358c44316d91cb9ad40ed86c4e2c2b59ef76abbb6d6924d3630878f8da68a6f90b94ea2ff5b8cb7b14b1b81e57928cef250f340cce0
6
+ metadata.gz: 4624f624107c18775aa0eebaed37d59993b4b5ece8f89409c69cea5d29332a99c5f8ab0d83e10e008530db4d6a5338a8bd75ab2db3250cb61c2c8a11b3064ca9
7
+ data.tar.gz: e1b57a29ea2d5ba028d4cd4ea35654637bb9bec23231cf98231498d0d8dd63d1fbfb264544e1aa1254e4dad8e001114ad234bf64917796608ee0dc5539df2553
@@ -1,3 +1,3 @@
1
1
  module Birdseed
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
data/lib/birdseed.rb CHANGED
@@ -21,7 +21,7 @@ module Birdseed
21
21
 
22
22
  # See https://github.com/edmodo/fatbird#send-emails-using-rest-api
23
23
  def self.deliver(options={})
24
- api_key = options[:api_key] || @@api_key
24
+ api_key = options.delete(:api_key) || @@api_key
25
25
  response = RestClient.post(
26
26
  "#{self.fatbird_host}/deliveries",
27
27
  JSON.generate(options),
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: birdseed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jerry Luk