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 +5 -5
- data/MIT-LICENSE +1 -1
- data/README.md +3 -5
- data/lib/sms/easy/notifier.rb +2 -2
- data/lib/sms/easy/version.rb +1 -1
- data/sms-easy.gemspec +3 -3
- metadata +9 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2530399f357c40eceac931904b38b014d3c5bb246ee37522f6f63e792d0b8329
|
4
|
+
data.tar.gz: 6e8a6ce75a65bf2570873a534aa2b1819b4c30025cd703f9e5100b3719652ecf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fda205899b79a533ff450506678cbf3cbc18a50fd2f05c688d7008787bbb9226620e183a1104fe6ae3862dbe31323f8d90fee9a7dcceda38ecd88c62140386d
|
7
|
+
data.tar.gz: 339a731eeae375083ffc0be118eec71d3b9d5706b97007ce4f6d46755df2e4e3376e1b49719591f9b3818fd90a6f2f36f7b4b3e82a9378d9bc98a1866ebc3a8d
|
data/MIT-LICENSE
CHANGED
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
|
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'.
|
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
|
|
data/lib/sms/easy/notifier.rb
CHANGED
@@ -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 :
|
5
|
-
format.html { render :
|
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
|
data/lib/sms/easy/version.rb
CHANGED
data/sms-easy.gemspec
CHANGED
@@ -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", '>=
|
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', '>=
|
24
|
-
spec.add_development_dependency 'rake', '>= 12.
|
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.
|
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:
|
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:
|
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:
|
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:
|
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:
|
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.
|
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.
|
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
|
-
|
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.
|