siamese 0.1.0 → 0.1.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: d2e543fa8e7e3ab1a9935b09bed384b17ade1f858ea3ba14dd9fe4c375b1a23c
4
- data.tar.gz: 9deb13870059ece66e22e17358790eb892388858115d61f607ee74538c9c0487
3
+ metadata.gz: f68e3da35c7577d25e69a1bf18814da23560e64991ca3f469928458e7a87fd43
4
+ data.tar.gz: 69ae4a7e06e4338baad84b00f5ac068da9f397e31c38fd25f27658029fec2f16
5
5
  SHA512:
6
- metadata.gz: 6697ad02d5ffcd41c899d7ba3e1c2425da0af3324fd961760a50b2d33dc1868387267a029b8f3bbd29fcd6e1a533613c6487127cd77769a371b3decf9f316e0c
7
- data.tar.gz: 70be6ee4b77599d0ecd979194890a32adaa4244370c8400b03f5d67f13b0ece25a759e6e39336f3e86afa9fe0793ced4f45d59ad348364cdda8b2897fe6e11ad
6
+ metadata.gz: a30c644b961b91ddb8de949e612ed54112c45a668a236fcf84c6f416627222995b77120085411eecb6983f0067e7e8d814228cd7bacf03268dbdfe8d4352d353
7
+ data.tar.gz: 7d774be802878a04cafd3b0e4f15208a33907a2db30338882da6da63b18b309ba24878d58ea4123075b1cc06992db8f404dc0bf8511ca662cb25bcf2a256e9da
data/README.md CHANGED
@@ -15,8 +15,6 @@ gem 'siamese'
15
15
  Configure in an initializer:
16
16
  ```ruby
17
17
  # config/initializers/siamese.rb
18
- require "siamese"
19
-
20
18
  Siamese.configure do |config|
21
19
  config.twilio_account_sid = Rails.application.credentials[:twilio_account_sid]
22
20
  config.twilio_auth_token = Rails.application.credentials[:twilio_auth_token]
@@ -1,3 +1,3 @@
1
1
  module Siamese
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.2"
3
3
  end
data/lib/siamese.rb CHANGED
@@ -27,13 +27,13 @@ module Siamese
27
27
  if Rails.env.production?
28
28
  while deliveries.any?
29
29
  attributes = deliveries.pop
30
- client.api.account.messages.create(attributes)
30
+ client.api.account.messages.create(**attributes)
31
31
  end
32
32
  end
33
33
  end
34
34
 
35
35
  def client
36
- @client ||= Twilio::REST::Client.new(account_sid, auth_token)
36
+ @client ||= Twilio::REST::Client.new(twilio_account_sid, twilio_auth_token)
37
37
  end
38
38
  end
39
39
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: siamese
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-04-30 00:00:00.000000000 Z
11
+ date: 2023-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: twilio-ruby
@@ -65,7 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  - !ruby/object:Gem::Version
66
66
  version: '0'
67
67
  requirements: []
68
- rubygems_version: 3.0.3
68
+ rubygems_version: 3.2.32
69
69
  signing_key:
70
70
  specification_version: 4
71
71
  summary: Send SMS messages in Rails with Twilio