snails 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/snails/mailer.rb +3 -2
- data/snails.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 937ce9b1eb6e291efded282e837bd6b45662268fb1c157cb9be6bcc359648200
|
4
|
+
data.tar.gz: b93517fcec6dc23ab51c993339e91a2bec7d35f1bbdad412fdc0ffc0eda3615c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 398b80b121279775d0acca31128773220981aaa75aaeed4742dc70c2b2aa6e084c2f170e74fc1b1700f2fc2db6fbf936ba815cd078f755a084d674d9538e9806
|
7
|
+
data.tar.gz: 4377e251ecdad20d0affd72be365aac86e78d6675b1b612f924b2b2e46d927893e4bf2e64f9a801293501720801e3ba1be26f9df90ed6a41fb0f9bebf48a9c32
|
data/lib/snails/mailer.rb
CHANGED
@@ -210,8 +210,9 @@ A <%= @exception.class %> occurred in <%= @url %>:
|
|
210
210
|
end
|
211
211
|
end
|
212
212
|
|
213
|
-
def initialize(
|
214
|
-
|
213
|
+
def initialize(options = {})
|
214
|
+
api_key = options[:api_key]
|
215
|
+
domain_name = options[:domain_name]
|
215
216
|
@url = "https://api:#{api_key}@api.mailgun.net/v3/#{domain_name}/messages"
|
216
217
|
end
|
217
218
|
|
data/snails.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomás Pollak
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|