appmail-rails 0.0.1 → 0.0.2

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: a8729fece16dfea3925dfae0d93caa9934edb246
4
- data.tar.gz: aa120c57426f6fce905ab078955864c11db9f713
3
+ metadata.gz: e80db157221f34a3cf814d7bda280569abbe373f
4
+ data.tar.gz: f86b1a19a0fecfc3df0108113c8cd4c83008de90
5
5
  SHA512:
6
- metadata.gz: b398710e143d123abf007aa035db1542ffc7ba1094f04cf4b2100911bc3a6fd59b268e55384b4e5309ce1c7aa69698b1fc9fc1d3bb71bd28ff8982b93cc727cf
7
- data.tar.gz: e7c12c6acf9a3e8ba49cb624dca77643b443ad00fe79d185da40269e09779e7c218728731faf97e32d059a62a3a42fb1059c56f5c8581b102467a2fcb593f2af
6
+ metadata.gz: adcba1b4195522cd1a5794efd993fa72dfdcfffffa5720a5c269cfa12c7abd14540cccf109f26d1219fe680b2fd3502cf507edf7c6d8ff10cba28e1527bee70f
7
+ data.tar.gz: 4a79aaaadfd12fbe0c2f00fb395196bb9fb40d669991dafea0b8bb425084f91f3ef3686495b2d91bde816f1823cd46ff32584698eee0553620ea0fb8f3fdb7b9
@@ -23,7 +23,7 @@ module AppMail
23
23
  private
24
24
 
25
25
  def client
26
- @client ||= AppMail::Client.new(@settings[:host] || "api.appmail.io", @settings[:server_key])
26
+ @client ||= AppMail::Client.new(@settings[:host] || "api.appmail.io", @settings[:server_key] || ENV['APPMAIL_KEY'])
27
27
  end
28
28
 
29
29
  end
@@ -1,5 +1,5 @@
1
1
  module AppMail
2
2
  module Rails
3
- VERSION = '0.0.1'
3
+ VERSION = '0.0.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appmail-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Cooke