sms-easy 1.3.3 → 1.4.0

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
- SHA1:
3
- metadata.gz: 6193e41ab1a36d2ba7504db5e3d00bbb2f372c65
4
- data.tar.gz: ccee067ec9d968aeeb736a6a6e4d3179302762d5
2
+ SHA256:
3
+ metadata.gz: 2530399f357c40eceac931904b38b014d3c5bb246ee37522f6f63e792d0b8329
4
+ data.tar.gz: 6e8a6ce75a65bf2570873a534aa2b1819b4c30025cd703f9e5100b3719652ecf
5
5
  SHA512:
6
- metadata.gz: 0d9e88f9b125f8bf0cd6ea872e0a66b4c2cf300eb940f081fce6e6403ad605496f7834b7e4f221007c1cc2da74a85a0b92fde31b1c7707eccdd50a9766ae19af
7
- data.tar.gz: cdc8f73fc1c4f438679a1ab957f18984e934dc338587ba3ab71c6091e8104269affeea478c4555c93260b86152c7a40400790f20e282a2f489ea75cf787b8798
6
+ metadata.gz: 1fda205899b79a533ff450506678cbf3cbc18a50fd2f05c688d7008787bbb9226620e183a1104fe6ae3862dbe31323f8d90fee9a7dcceda38ecd88c62140386d
7
+ data.tar.gz: 339a731eeae375083ffc0be118eec71d3b9d5706b97007ce4f6d46755df2e4e3376e1b49719591f9b3818fd90a6f2f36f7b4b3e82a9378d9bc98a1866ebc3a8d
@@ -1,4 +1,4 @@
1
- (Modifications to original code 2013-2015 by Preston Lee.)
1
+ (Modifications to original code 2013-2019 by Preston Lee.)
2
2
 
3
3
  Copyright (c) 2008-2010 Brendan G. Lim (brendan@intridea.com)
4
4
 
data/README.md CHANGED
@@ -4,7 +4,7 @@ SMSEasy allows you to send SMS messages from your Ruby application for free usin
4
4
 
5
5
  This is largely based on Brendan Lim's sms-fu for older apps. (https://github.com/brendanlim/sms-fu) If you're replacing sms-fu, SMSEasy is very similar, but not identical, and does not support legacy versions of activerecord.
6
6
 
7
- Rails 4 integration is supported, though not required. Additionally, SMSEasy works perfectly well with background job processing gems such as Sidekiq and delayed_job.
7
+ Rails 5.2 integration is supported, though not required. Additionally, SMSEasy works perfectly well with background job processing gems such as Sidekiq and delayed_job.
8
8
 
9
9
 
10
10
  ## Supported Carriers (US & International):
@@ -23,7 +23,7 @@ limitation. Some of these carriers are include, Mobitel, Etisalat, T-Mobile (Ne
23
23
 
24
24
  ## Requirements
25
25
 
26
- * SMSEasy requires the use of a recent version of 'action\_mailer'. Unlike the older sms-fu gem, **_only_ action\_mailer 4/5 is supported**. If you have an older app, please try one of the older variants that supports action\_mailer 3 and/or pony email agents.
26
+ * SMSEasy requires the use of a recent version of 'action\_mailer'. **_Only_ action\_mailer 5.2+ is supported**. If you have an older app, please try one of the older variants that supports action\_mailer 3/4 and/or pony email agents.
27
27
 
28
28
 
29
29
  ## Setup Instructions
@@ -32,9 +32,6 @@ Install the sms-easy gem:
32
32
 
33
33
  gem install sms-easy
34
34
 
35
-
36
-
37
-
38
35
  ## Numbers and Carriers
39
36
 
40
37
  * You'll need 10-digit phone numbers, stripped of any non-numeric characters.
@@ -131,6 +128,7 @@ I want to thank the following individuals with their help with adding some patch
131
128
  * Brent Collier (brentmc79)
132
129
  * Peter Boling (pboling)
133
130
  * Mike (mic)
131
+ * chptung
134
132
 
135
133
  Copyright (c) 2010 Brendan G. Lim, Intridea, Inc., released under the MIT license
136
134
 
@@ -1,8 +1,8 @@
1
1
  class SMSEasyNotifier < ActionMailer::Base
2
2
  def send_sms(recipient, message, sender_email)
3
3
  mail(:to => recipient, :from => sender_email, :subject => '') do |format|
4
- format.text { render :text => message }
5
- format.html { render :text => message }
4
+ format.text { render :plain => message, :layout => false }
5
+ format.html { render :plain => message, :layout => false }
6
6
  end
7
7
  end
8
8
  end
@@ -1,3 +1,3 @@
1
1
  module SMSEasy
2
- VERSION = "1.3.3"
2
+ VERSION = "1.4.0"
3
3
  end
@@ -18,9 +18,9 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "actionmailer", '>= 4.2.5' # Already depends on minitest, so we don't need to add it. :)
21
+ spec.add_dependency "actionmailer", '>= 5.2.0' # Already depends on minitest, so we don't need to add it. :)
22
22
 
23
- spec.add_development_dependency 'bundler', '>= 1.14.6'
24
- spec.add_development_dependency 'rake', '>= 12.0.0'
23
+ spec.add_development_dependency 'bundler', '>= 2.0.0'
24
+ spec.add_development_dependency 'rake', '>= 12.3.0'
25
25
 
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sms-easy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brendan G. Lim
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-05-30 00:00:00.000000000 Z
13
+ date: 2019-07-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: actionmailer
@@ -18,42 +18,42 @@ dependencies:
18
18
  requirements:
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 4.2.5
21
+ version: 5.2.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - ">="
27
27
  - !ruby/object:Gem::Version
28
- version: 4.2.5
28
+ version: 5.2.0
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: bundler
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - ">="
34
34
  - !ruby/object:Gem::Version
35
- version: 1.14.6
35
+ version: 2.0.0
36
36
  type: :development
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: 1.14.6
42
+ version: 2.0.0
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: rake
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: 12.0.0
49
+ version: 12.3.0
50
50
  type: :development
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - ">="
55
55
  - !ruby/object:Gem::Version
56
- version: 12.0.0
56
+ version: 12.3.0
57
57
  description: SMSEasy allows you to send text messages to a mobile recipient for free. It
58
58
  leverages ActionMailer for delivery of text messages through e-mail. Based on the
59
59
  Brendan Lim's sms-easy.
@@ -98,8 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  - !ruby/object:Gem::Version
99
99
  version: '0'
100
100
  requirements: []
101
- rubyforge_project:
102
- rubygems_version: 2.6.12
101
+ rubygems_version: 3.0.3
103
102
  signing_key:
104
103
  specification_version: 4
105
104
  summary: SMSEasy allows you to send text messages to a mobile recipient for free.