smsdigital 1.1.1 → 1.2.0
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 +4 -4
- data/.tool-versions +1 -0
- data/Gemfile.lock +32 -30
- data/README.md +5 -1
- data/lib/smsdigital/version.rb +1 -1
- data/lib/smsdigital.rb +5 -4
- data/smsdigital.gemspec +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d955d7bd899566e5927c2f8eafb3c96be4741d7e7246ea1c243a112255293527
|
|
4
|
+
data.tar.gz: eb36f1b04e338c08eeb8d7f7a7ced946df0833c861a4fcd9e6ac4bdf8ad209dd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7bb9a52831db85b80ffb1d3b35269f62566fac41b0b3fdea3f240ec1c3b6c0e7bd1d839fd75aecb133790841d635512378608a9976f74b3ffec81994ff19da2e
|
|
7
|
+
data.tar.gz: 7d4788b7d0d7fe2863c2fb2e7eedba516d674a3923e9cf56f81e2801cfd1f3fea9a59c2c9b81eda12a5833f82b4e16314ee4961b204dc78a295b84bedf34a838
|
data/.tool-versions
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ruby 2.7.0
|
data/Gemfile.lock
CHANGED
|
@@ -1,45 +1,47 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
smsdigital (1.
|
|
4
|
+
smsdigital (1.1.1)
|
|
5
5
|
httparty
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
addressable (2.
|
|
11
|
-
public_suffix (>= 2.0.2, <
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
addressable (2.8.9)
|
|
11
|
+
public_suffix (>= 2.0.2, < 8.0)
|
|
12
|
+
bigdecimal (4.0.1)
|
|
13
|
+
byebug (11.1.3)
|
|
14
|
+
crack (1.0.1)
|
|
15
|
+
bigdecimal
|
|
16
|
+
rexml
|
|
17
|
+
csv (3.3.5)
|
|
18
|
+
diff-lcs (1.6.2)
|
|
19
|
+
hashdiff (1.2.1)
|
|
20
|
+
httparty (0.24.2)
|
|
21
|
+
csv
|
|
22
|
+
mini_mime (>= 1.0.0)
|
|
19
23
|
multi_xml (>= 0.5.2)
|
|
20
|
-
|
|
21
|
-
mime-types-data (~> 3.2015)
|
|
22
|
-
mime-types-data (3.2019.1009)
|
|
24
|
+
mini_mime (1.1.5)
|
|
23
25
|
multi_xml (0.6.0)
|
|
24
|
-
public_suffix (
|
|
26
|
+
public_suffix (5.1.1)
|
|
25
27
|
rake (12.3.3)
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
rspec-
|
|
29
|
-
rspec-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
28
|
+
rexml (3.4.4)
|
|
29
|
+
rspec (3.13.2)
|
|
30
|
+
rspec-core (~> 3.13.0)
|
|
31
|
+
rspec-expectations (~> 3.13.0)
|
|
32
|
+
rspec-mocks (~> 3.13.0)
|
|
33
|
+
rspec-core (3.13.6)
|
|
34
|
+
rspec-support (~> 3.13.0)
|
|
35
|
+
rspec-expectations (3.13.5)
|
|
33
36
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
34
|
-
rspec-support (~> 3.
|
|
35
|
-
rspec-mocks (3.
|
|
37
|
+
rspec-support (~> 3.13.0)
|
|
38
|
+
rspec-mocks (3.13.8)
|
|
36
39
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
37
|
-
rspec-support (~> 3.
|
|
38
|
-
rspec-support (3.
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
addressable (>= 2.3.6)
|
|
40
|
+
rspec-support (~> 3.13.0)
|
|
41
|
+
rspec-support (3.13.7)
|
|
42
|
+
vcr (6.4.0)
|
|
43
|
+
webmock (3.26.2)
|
|
44
|
+
addressable (>= 2.8.0)
|
|
43
45
|
crack (>= 0.3.2)
|
|
44
46
|
hashdiff (>= 0.4.0, < 2.0.0)
|
|
45
47
|
|
|
@@ -55,4 +57,4 @@ DEPENDENCIES
|
|
|
55
57
|
webmock
|
|
56
58
|
|
|
57
59
|
BUNDLED WITH
|
|
58
|
-
2.1.
|
|
60
|
+
2.1.2
|
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#SMSDigital
|
|
1
|
+
# SMSDigital
|
|
2
2
|
|
|
3
3
|
Welcome to SMSDigital gem, a ruby gem to use Smsdigital service.
|
|
4
4
|
|
|
@@ -18,6 +18,10 @@ Or install it yourself as:
|
|
|
18
18
|
|
|
19
19
|
$ gem install SMSDigital
|
|
20
20
|
|
|
21
|
+
## Ruby Version
|
|
22
|
+
|
|
23
|
+
This gem requires Ruby **>= 2.7.0**.
|
|
24
|
+
|
|
21
25
|
## Usage
|
|
22
26
|
|
|
23
27
|
|
data/lib/smsdigital/version.rb
CHANGED
data/lib/smsdigital.rb
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
require "httparty"
|
|
2
|
+
require "forwardable"
|
|
2
3
|
|
|
3
4
|
require "smsdigital/version"
|
|
4
5
|
require "smsdigital/configuration"
|
|
@@ -26,12 +27,12 @@ module SMSDigital
|
|
|
26
27
|
|
|
27
28
|
def send_sms(phone, message)
|
|
28
29
|
sms = SMSDigital::SMS.new phone, message
|
|
29
|
-
|
|
30
|
+
|
|
30
31
|
sms.send
|
|
31
|
-
|
|
32
|
+
|
|
32
33
|
return sms.sent?
|
|
33
34
|
end
|
|
34
35
|
end
|
|
35
36
|
|
|
36
|
-
class Error < StandardError; end
|
|
37
|
-
end
|
|
37
|
+
class Error < StandardError; end
|
|
38
|
+
end
|
data/smsdigital.gemspec
CHANGED
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
|
10
10
|
spec.description = "A ruby gem to use Smsdigital service. In this first version only one message and one recipient are allowed"
|
|
11
11
|
spec.homepage = "https://github.com/brunotoral/smsdigital"
|
|
12
12
|
spec.license = "MIT"
|
|
13
|
-
spec.required_ruby_version = Gem::Requirement.new(">= 2.
|
|
13
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
|
|
14
14
|
|
|
15
15
|
spec.metadata["homepage_uri"] = "https://github.com/brunotoral/smsdigital"
|
|
16
16
|
spec.metadata["source_code_uri"] = "https://github.com/brunotoral/smsdigital"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: smsdigital
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bruno Toral
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-03-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|
|
@@ -104,6 +104,7 @@ extra_rdoc_files: []
|
|
|
104
104
|
files:
|
|
105
105
|
- ".byebug_history"
|
|
106
106
|
- ".gitignore"
|
|
107
|
+
- ".tool-versions"
|
|
107
108
|
- ".travis.yml"
|
|
108
109
|
- Gemfile
|
|
109
110
|
- Gemfile.lock
|
|
@@ -132,14 +133,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
132
133
|
requirements:
|
|
133
134
|
- - ">="
|
|
134
135
|
- !ruby/object:Gem::Version
|
|
135
|
-
version: 2.
|
|
136
|
+
version: 2.7.0
|
|
136
137
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
138
|
requirements:
|
|
138
139
|
- - ">="
|
|
139
140
|
- !ruby/object:Gem::Version
|
|
140
141
|
version: '0'
|
|
141
142
|
requirements: []
|
|
142
|
-
rubygems_version: 3.
|
|
143
|
+
rubygems_version: 3.1.2
|
|
143
144
|
signing_key:
|
|
144
145
|
specification_version: 4
|
|
145
146
|
summary: A ruby gem to use Smsdigital service.
|