sms_manager 0.3.1 → 0.3.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 +4 -4
- data/CHANGELOG.md +5 -1
- data/Gemfile.lock +30 -42
- data/README.md +2 -3
- data/lib/sms_manager/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d7865913feb2292a81eb9e14979547f9a2e5ebbc
|
|
4
|
+
data.tar.gz: d26f564e2369c5c618d5a3354edcf2e287f85d37
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e069db5369f86723242fcc615e20f4c8081f9aa84756199591d488f99777b9ce4e251dcdf47372a26e9c55e3644bef7ae92d9b47acb95b5a9b5a855d3b471f39
|
|
7
|
+
data.tar.gz: 07e287a1fdfb9de91f3f69e35638f0d605bf59e838762b95f0ead8c0e7331e2c47d55f338d0501287f414bbf2e1c337fb722973e055e00c5502ebf8d49159906
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,65 +1,53 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
sms_manager (0.3.
|
|
4
|
+
sms_manager (0.3.2)
|
|
5
5
|
httpclient (~> 2.5)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
addressable (2.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
simplecov (~> 0.
|
|
10
|
+
addressable (2.5.0)
|
|
11
|
+
public_suffix (~> 2.0, >= 2.0.2)
|
|
12
|
+
coveralls (0.8.17)
|
|
13
|
+
json (>= 1.8, < 3)
|
|
14
|
+
simplecov (~> 0.12.0)
|
|
15
15
|
term-ansicolor (~> 1.3)
|
|
16
16
|
thor (~> 0.19.1)
|
|
17
|
-
tins (~> 1.6
|
|
17
|
+
tins (~> 1.6)
|
|
18
18
|
crack (0.4.3)
|
|
19
19
|
safe_yaml (~> 1.0.0)
|
|
20
20
|
diff-lcs (1.2.5)
|
|
21
21
|
docile (1.1.5)
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
mime-types (>= 1.16, < 3.0)
|
|
35
|
-
netrc (~> 0.7)
|
|
36
|
-
rspec (3.4.0)
|
|
37
|
-
rspec-core (~> 3.4.0)
|
|
38
|
-
rspec-expectations (~> 3.4.0)
|
|
39
|
-
rspec-mocks (~> 3.4.0)
|
|
40
|
-
rspec-core (3.4.1)
|
|
41
|
-
rspec-support (~> 3.4.0)
|
|
42
|
-
rspec-expectations (3.4.0)
|
|
22
|
+
hashdiff (0.3.2)
|
|
23
|
+
httpclient (2.8.3)
|
|
24
|
+
json (2.0.3)
|
|
25
|
+
public_suffix (2.0.5)
|
|
26
|
+
rake (12.0.0)
|
|
27
|
+
rspec (3.5.0)
|
|
28
|
+
rspec-core (~> 3.5.0)
|
|
29
|
+
rspec-expectations (~> 3.5.0)
|
|
30
|
+
rspec-mocks (~> 3.5.0)
|
|
31
|
+
rspec-core (3.5.4)
|
|
32
|
+
rspec-support (~> 3.5.0)
|
|
33
|
+
rspec-expectations (3.5.0)
|
|
43
34
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
44
|
-
rspec-support (~> 3.
|
|
45
|
-
rspec-mocks (3.
|
|
35
|
+
rspec-support (~> 3.5.0)
|
|
36
|
+
rspec-mocks (3.5.0)
|
|
46
37
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
47
|
-
rspec-support (~> 3.
|
|
48
|
-
rspec-support (3.
|
|
38
|
+
rspec-support (~> 3.5.0)
|
|
39
|
+
rspec-support (3.5.0)
|
|
49
40
|
safe_yaml (1.0.4)
|
|
50
|
-
simplecov (0.
|
|
41
|
+
simplecov (0.12.0)
|
|
51
42
|
docile (~> 1.1.0)
|
|
52
|
-
json (
|
|
43
|
+
json (>= 1.8, < 3)
|
|
53
44
|
simplecov-html (~> 0.10.0)
|
|
54
45
|
simplecov-html (0.10.0)
|
|
55
|
-
term-ansicolor (1.
|
|
46
|
+
term-ansicolor (1.4.0)
|
|
56
47
|
tins (~> 1.0)
|
|
57
|
-
thor (0.19.
|
|
58
|
-
tins (1.
|
|
59
|
-
|
|
60
|
-
unf_ext
|
|
61
|
-
unf_ext (0.0.7.1)
|
|
62
|
-
webmock (1.22.6)
|
|
48
|
+
thor (0.19.4)
|
|
49
|
+
tins (1.13.0)
|
|
50
|
+
webmock (2.3.2)
|
|
63
51
|
addressable (>= 2.3.6)
|
|
64
52
|
crack (>= 0.3.2)
|
|
65
53
|
hashdiff
|
|
@@ -77,4 +65,4 @@ DEPENDENCIES
|
|
|
77
65
|
webmock
|
|
78
66
|
|
|
79
67
|
BUNDLED WITH
|
|
80
|
-
1.
|
|
68
|
+
1.13.7
|
data/README.md
CHANGED
|
@@ -46,13 +46,12 @@ You can pass all the parameters available at [SmsManager API](http://smsmanager.
|
|
|
46
46
|
SmsManager.send number: '+420123456789', message: 'Hello!', gateway: 'lowcost', time: '2013-01-01T23:59:59'
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
-
If the service fails an exception is raised
|
|
49
|
+
If the service fails an exception is raised:
|
|
50
50
|
|
|
51
51
|
```ruby
|
|
52
52
|
begin
|
|
53
53
|
SmsManager.send number: '+420123456789', message: 'Hello!'
|
|
54
|
-
rescue SmsManager::
|
|
55
|
-
puts e.code # => 104
|
|
54
|
+
rescue SmsManager::Error => e
|
|
56
55
|
puts e.message # => Neplatný parametr gateway
|
|
57
56
|
end
|
|
58
57
|
```
|
data/lib/sms_manager/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sms_manager
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Hrachovy
|
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
81
81
|
version: '0'
|
|
82
82
|
requirements: []
|
|
83
83
|
rubyforge_project:
|
|
84
|
-
rubygems_version: 2.
|
|
84
|
+
rubygems_version: 2.6.8
|
|
85
85
|
signing_key:
|
|
86
86
|
specification_version: 4
|
|
87
87
|
summary: SmsManager is a Ruby library for sending SMS messages by smsmanager.cz provider
|