SMS 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/sms.rb +3 -3
  2. data/lib/sms/version.rb +1 -1
  3. metadata +3 -3
data/lib/sms.rb CHANGED
@@ -45,7 +45,7 @@ class SMS
45
45
  recipients = Array(recipients)
46
46
  recipients.map! { |r| r.to_s }
47
47
  from = opts && opts[:from] || twilio_from
48
- raise "You must set a twlio from number. Please put your from number" +
48
+ raise "You must set a twilio from number. Please put your from number" +
49
49
  " in the environment variable as TWILIO_FROM or set it with SMS.from=" unless from
50
50
  messages = Array(messages)
51
51
  messages.map! { |m| m.to_s }
@@ -61,9 +61,9 @@ class SMS
61
61
 
62
62
  private
63
63
  def setup!
64
- !twilio_account_id.nil? or raise "You must set a twlio account id. Please put your account id" +
64
+ !twilio_account_id.nil? or raise "You must set a twilio account id. Please put your account id" +
65
65
  " in the environment variable as TWILIO_ACCOUNT_ID or set it with SMS.twilio_account_id="
66
- !twilio_auth_token.nil? or raise "You must set a twlio auth token. Please put your auth token" +
66
+ !twilio_auth_token.nil? or raise "You must set a twilio auth token. Please put your auth token" +
67
67
  " in the environment variable as TWILIO_AUTH_TOKEN or set it with SMS.twilio_auth_token="
68
68
  end
69
69
  end
@@ -1,3 +1,3 @@
1
1
  class SMS
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: SMS
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Josh Hull