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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 62b1b797ece9560dc8833b7970da8aa0bfd31174
4
- data.tar.gz: 14cb6dcbb454a509f69497bf3b4b32e3ac9410f1
3
+ metadata.gz: d7865913feb2292a81eb9e14979547f9a2e5ebbc
4
+ data.tar.gz: d26f564e2369c5c618d5a3354edcf2e287f85d37
5
5
  SHA512:
6
- metadata.gz: 241cda25b8153225e5484c4c998a34b92f81609fe141140eab2a51a8da371868ec058b67c9e9c841490c043c1652163a44f608ce9fa0c7498ca82e74d1e077dc
7
- data.tar.gz: 8a88c6d97bbe2aecf871dfdb04390696b28e9105232a56762955047420d7526908a2b77be50a2b1c86f5b30506294f8b121d0371661aeae5e5e471c525a42ca8
6
+ metadata.gz: e069db5369f86723242fcc615e20f4c8081f9aa84756199591d488f99777b9ce4e251dcdf47372a26e9c55e3644bef7ae92d9b47acb95b5a9b5a855d3b471f39
7
+ data.tar.gz: 07e287a1fdfb9de91f3f69e35638f0d605bf59e838762b95f0ead8c0e7331e2c47d55f338d0501287f414bbf2e1c337fb722973e055e00c5502ebf8d49159906
data/CHANGELOG.md CHANGED
@@ -22,4 +22,8 @@ begin
22
22
  rescue SmsManager::Error => e
23
23
  puts e.message # => Neplatný parametr gateway
24
24
  end
25
- ```
25
+ ```
26
+
27
+ 0.3.2
28
+ -----
29
+ * Update dependencies
data/Gemfile.lock CHANGED
@@ -1,65 +1,53 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sms_manager (0.3.1)
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.4.0)
11
- coveralls (0.8.10)
12
- json (~> 1.8)
13
- rest-client (>= 1.6.8, < 2)
14
- simplecov (~> 0.11.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.0)
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
- domain_name (0.5.25)
23
- unf (>= 0.0.5, < 1.0.0)
24
- hashdiff (0.2.3)
25
- http-cookie (1.0.2)
26
- domain_name (~> 0.5)
27
- httpclient (2.7.1)
28
- json (1.8.3)
29
- mime-types (2.99)
30
- netrc (0.11.0)
31
- rake (10.5.0)
32
- rest-client (1.8.0)
33
- http-cookie (>= 1.0.2, < 2.0)
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.4.0)
45
- rspec-mocks (3.4.1)
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.4.0)
48
- rspec-support (3.4.1)
38
+ rspec-support (~> 3.5.0)
39
+ rspec-support (3.5.0)
49
40
  safe_yaml (1.0.4)
50
- simplecov (0.11.1)
41
+ simplecov (0.12.0)
51
42
  docile (~> 1.1.0)
52
- json (~> 1.8)
43
+ json (>= 1.8, < 3)
53
44
  simplecov-html (~> 0.10.0)
54
45
  simplecov-html (0.10.0)
55
- term-ansicolor (1.3.2)
46
+ term-ansicolor (1.4.0)
56
47
  tins (~> 1.0)
57
- thor (0.19.1)
58
- tins (1.6.0)
59
- unf (0.1.4)
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.11.2
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. The exception contains error code as well as error message.
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::SendingError => e
55
- puts e.code # => 104
54
+ rescue SmsManager::Error => e
56
55
  puts e.message # => Neplatný parametr gateway
57
56
  end
58
57
  ```
@@ -2,7 +2,7 @@ module SmsManager
2
2
  class Version
3
3
  MAJOR = 0
4
4
  MINOR = 3
5
- PATCH = 1
5
+ PATCH = 2
6
6
 
7
7
  class << self
8
8
  def to_s
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.1
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.4.6
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