mailcapture 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b82a93320ce53b88da07377c0ce9084835c9dfe45896d46a8a627f1a9fc48b74
4
- data.tar.gz: a2eea48b9d7c072a99a4ad09cc6c0d188cb3d17dfe2284f2e4488ff78f2415b0
3
+ metadata.gz: 674fb0c1d27f96dc0211fcd9713e164a415209a19596a427a26dda66b5d876f5
4
+ data.tar.gz: 143d6c1e1b62f86874f19e1b1a9ec5792717f2269c6444b541ab2117cf252b0a
5
5
  SHA512:
6
- metadata.gz: d02cd3198a105ff281f6056a211a613322d49c320a0246a30df485cb8b4d0193de9095524043b77c36430d64893c427c23d97e6dfce877a9e62eab2266231dfc
7
- data.tar.gz: 59e469b24c71060e17e8536098d0116955ba4248b433f677db0c10329229c32668f3a09c6ef71b51534bb377f0937de4bae4f1fc67c52daa355af2642e1c009f
6
+ metadata.gz: 26f9560e35b91d32f5dd3a123f398211a16567e089f24ac7c23fd165b454f1ff3b68002c51204ae3f919624d0d95f939ca5350ebd2a81a9181f01755fc93e1c4
7
+ data.tar.gz: 657d3e665f70341a4fa278cd3319ecccd1947b6ab024ce9696af405f96b73256404dddeef8d90b83ee6ab609d76cfe211cf0a486afb2abb6d47edad481636610
@@ -43,7 +43,7 @@ module MailCapture
43
43
  # @param base_url [String] API base URL (override for local dev)
44
44
  # @param timeout [Numeric] default request timeout in seconds
45
45
  # @param username [String, nil] pre-set username to skip +ping+
46
- def initialize(api_key:, base_url: 'https://mailcapture.app', timeout: 10, username: nil)
46
+ def initialize(api_key:, base_url: 'https://api.mailcapture.app', timeout: 10, username: nil)
47
47
  raise ArgumentError,
48
48
  "MailCapture: api_key is required.\n" \
49
49
  " MailCapture.new(api_key: ENV['MAILCAPTURE_API_KEY'])" if api_key.to_s.empty?
@@ -1,3 +1,3 @@
1
1
  module MailCapture
2
- VERSION = '1.0.1'
2
+ VERSION = '1.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailcapture
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - MailCapture