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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aaded83dac523d93f00bf89646c22b668a77fb0d554229c62aaea03f609a7958
4
- data.tar.gz: b650764030c0211468326215d7720cc31ac51806da76ac134a7371cc92a59696
3
+ metadata.gz: 937ce9b1eb6e291efded282e837bd6b45662268fb1c157cb9be6bcc359648200
4
+ data.tar.gz: b93517fcec6dc23ab51c993339e91a2bec7d35f1bbdad412fdc0ffc0eda3615c
5
5
  SHA512:
6
- metadata.gz: 458e4c14516aa6ebb2afacf76fc0700521cd3acd2268217674af8c6fedea13c9ab96c54c25f523e272a1e5071fae8187383234e4a2b057e8e2c7fb9684835ac7
7
- data.tar.gz: 83003a7e2a1e4b7ec5267e190dd2f27495b48781bf5a4a7a72509584f6dc3afa3f24358a72cd82641fd64a94bf5cde9210b86505ea0c5cc34df2c6ed388f2145
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(api_key:, domain_name:)
214
- # @key = api_key
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
@@ -3,7 +3,7 @@
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "snails"
6
- s.version = '0.6.0'
6
+ s.version = '0.6.1'
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ['Tomás Pollak']
9
9
  s.email = ['tomas@forkhq.com']
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.0
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-14 00:00:00.000000000 Z
11
+ date: 2023-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler