sms_manager 0.3.2 → 0.4.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 +5 -5
- data/.github/workflows/ci.yml +29 -0
- data/.gitignore +2 -1
- data/CHANGELOG.md +10 -0
- data/Gemfile +1 -4
- data/Gemfile.lock +31 -46
- data/README.md +7 -14
- data/lib/sms_manager/version.rb +4 -4
- data/sms_manager.gemspec +2 -2
- data/spec/spec_helper.rb +3 -8
- metadata +11 -13
- data/.coveralls.yml +0 -1
- data/.travis.yml +0 -26
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 116db5dcbd5c5b1dc77ef1d45a51f025ae0acd4074d77e3a248ba15915e24be6
|
|
4
|
+
data.tar.gz: 3eb7c3d427149a66860005381ed42622317d4ad981d1f19bd9e1b849c1cbd876
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3d9c523be6481d6fbdf6a014a1b81f74ba3ea157076e410c5aeb063133ac4ae0c9e29489dc34dee2efc129b59c5058c8dcd80f6f5973df80113e06a6cad0ff38
|
|
7
|
+
data.tar.gz: a7d77a34d09ccb94e3b2ddd46bfa64414662337e04090b44ee276200b225f886fb88c3fde485a202fef87fa419f4c013d8ef4b7b86c7d30b8c4e30f664a45744
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ master ]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [ master ]
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
test:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
strategy:
|
|
13
|
+
fail-fast: false
|
|
14
|
+
matrix:
|
|
15
|
+
ruby:
|
|
16
|
+
- '3.2'
|
|
17
|
+
- '3.3'
|
|
18
|
+
- '3.4'
|
|
19
|
+
- head
|
|
20
|
+
|
|
21
|
+
name: Ruby ${{ matrix.ruby }}
|
|
22
|
+
steps:
|
|
23
|
+
- uses: actions/checkout@v5
|
|
24
|
+
- uses: ruby/setup-ruby@v1
|
|
25
|
+
with:
|
|
26
|
+
ruby-version: ${{ matrix.ruby }}
|
|
27
|
+
bundler-cache: true
|
|
28
|
+
|
|
29
|
+
- run: bundle exec rake
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,68 +1,53 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
sms_manager (0.
|
|
5
|
-
httpclient (
|
|
4
|
+
sms_manager (0.4.0)
|
|
5
|
+
httpclient (>= 2.8)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
addressable (2.
|
|
11
|
-
public_suffix (
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
rspec-
|
|
30
|
-
|
|
31
|
-
rspec-core (3.5.4)
|
|
32
|
-
rspec-support (~> 3.5.0)
|
|
33
|
-
rspec-expectations (3.5.0)
|
|
10
|
+
addressable (2.8.7)
|
|
11
|
+
public_suffix (>= 2.0.2, < 7.0)
|
|
12
|
+
bigdecimal (3.3.1)
|
|
13
|
+
crack (0.4.6)
|
|
14
|
+
bigdecimal
|
|
15
|
+
rexml
|
|
16
|
+
diff-lcs (1.6.2)
|
|
17
|
+
hashdiff (1.2.1)
|
|
18
|
+
httpclient (2.9.0)
|
|
19
|
+
mutex_m
|
|
20
|
+
mutex_m (0.3.0)
|
|
21
|
+
public_suffix (6.0.2)
|
|
22
|
+
rake (13.3.0)
|
|
23
|
+
rexml (3.4.4)
|
|
24
|
+
rspec (3.13.2)
|
|
25
|
+
rspec-core (~> 3.13.0)
|
|
26
|
+
rspec-expectations (~> 3.13.0)
|
|
27
|
+
rspec-mocks (~> 3.13.0)
|
|
28
|
+
rspec-core (3.13.6)
|
|
29
|
+
rspec-support (~> 3.13.0)
|
|
30
|
+
rspec-expectations (3.13.5)
|
|
34
31
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
35
|
-
rspec-support (~> 3.
|
|
36
|
-
rspec-mocks (3.
|
|
32
|
+
rspec-support (~> 3.13.0)
|
|
33
|
+
rspec-mocks (3.13.6)
|
|
37
34
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
38
|
-
rspec-support (~> 3.
|
|
39
|
-
rspec-support (3.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
docile (~> 1.1.0)
|
|
43
|
-
json (>= 1.8, < 3)
|
|
44
|
-
simplecov-html (~> 0.10.0)
|
|
45
|
-
simplecov-html (0.10.0)
|
|
46
|
-
term-ansicolor (1.4.0)
|
|
47
|
-
tins (~> 1.0)
|
|
48
|
-
thor (0.19.4)
|
|
49
|
-
tins (1.13.0)
|
|
50
|
-
webmock (2.3.2)
|
|
51
|
-
addressable (>= 2.3.6)
|
|
35
|
+
rspec-support (~> 3.13.0)
|
|
36
|
+
rspec-support (3.13.6)
|
|
37
|
+
webmock (3.26.0)
|
|
38
|
+
addressable (>= 2.8.0)
|
|
52
39
|
crack (>= 0.3.2)
|
|
53
|
-
hashdiff
|
|
40
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
|
54
41
|
|
|
55
42
|
PLATFORMS
|
|
56
43
|
ruby
|
|
57
44
|
|
|
58
45
|
DEPENDENCIES
|
|
59
46
|
bundler
|
|
60
|
-
coveralls
|
|
61
47
|
rake
|
|
62
48
|
rspec
|
|
63
|
-
simplecov
|
|
64
49
|
sms_manager!
|
|
65
50
|
webmock
|
|
66
51
|
|
|
67
52
|
BUNDLED WITH
|
|
68
|
-
|
|
53
|
+
2.7.2
|
data/README.md
CHANGED
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
# SmsManager
|
|
2
2
|
|
|
3
3
|
[](http://badge.fury.io/rb/sms_manager)
|
|
4
|
-
[](https://travis-ci.org/dayweek/sms_manager)
|
|
5
|
-
[](https://gemnasium.com/dayweek/sms_manager)
|
|
6
|
-
[](https://codeclimate.com/github/dayweek/sms_manager)
|
|
7
|
-
[](https://coveralls.io/github/dayweek/sms_manager?branch=master)
|
|
8
4
|
|
|
9
|
-
|
|
5
|
+
[](https://github.com/PrimeHammer/sms_manager/actions)
|
|
10
6
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
`gem install sms_manager`
|
|
7
|
+
A Ruby SDK for [smsmanager.cz](http://smsmanager.cz/) - Czech SMS provider. Supports SMS sending and error handling. Uses legacy endpoint.
|
|
14
8
|
|
|
15
|
-
|
|
9
|
+
## Installation
|
|
16
10
|
|
|
17
|
-
`
|
|
11
|
+
`bundle add sms_manager`
|
|
18
12
|
|
|
19
13
|
## Usage
|
|
20
14
|
|
|
@@ -56,9 +50,8 @@ rescue SmsManager::Error => e
|
|
|
56
50
|
end
|
|
57
51
|
```
|
|
58
52
|
|
|
59
|
-
##
|
|
53
|
+
## Changelog & License
|
|
54
|
+
|
|
55
|
+
See [CHANGELOG][] and [LICENSE][] for details.
|
|
60
56
|
|
|
61
|
-
Copyright (c) 2013 David Hrachovy
|
|
62
|
-
See [LICENSE][] for details.
|
|
63
57
|
|
|
64
|
-
[license]: LICENSE.md
|
data/lib/sms_manager/version.rb
CHANGED
data/sms_manager.gemspec
CHANGED
|
@@ -12,8 +12,8 @@ Gem::Specification.new do |gem|
|
|
|
12
12
|
gem.description = %q{Ruby SDK for smsmanager.cz API}
|
|
13
13
|
gem.summary = %q{SmsManager is a Ruby library for sending SMS messages by smsmanager.cz provider}
|
|
14
14
|
gem.homepage = "https://github.com/PrimeHammer/sms_manager"
|
|
15
|
-
gem.required_ruby_version = '>= 2
|
|
16
|
-
gem.add_dependency "httpclient", "
|
|
15
|
+
gem.required_ruby_version = '>= 3.2'
|
|
16
|
+
gem.add_dependency "httpclient", ">= 2.8"
|
|
17
17
|
gem.add_development_dependency "bundler"
|
|
18
18
|
gem.files = `git ls-files`.split($/)
|
|
19
19
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
data/spec/spec_helper.rb
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
require
|
|
2
|
-
require
|
|
3
|
-
require 'coveralls'
|
|
4
|
-
require 'sms_manager'
|
|
1
|
+
require "webmock/rspec"
|
|
2
|
+
require "sms_manager"
|
|
5
3
|
|
|
6
|
-
|
|
7
|
-
SimpleCov.start
|
|
8
|
-
|
|
9
|
-
WebMock.disable_net_connect!
|
|
4
|
+
WebMock.disable_net_connect!
|
metadata
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sms_manager
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Hrachovy
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
date: 2016-01-18 00:00:00.000000000 Z
|
|
@@ -14,16 +14,16 @@ dependencies:
|
|
|
14
14
|
name: httpclient
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - "
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '2.
|
|
19
|
+
version: '2.8'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- - "
|
|
24
|
+
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '2.
|
|
26
|
+
version: '2.8'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: bundler
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -45,9 +45,8 @@ executables: []
|
|
|
45
45
|
extensions: []
|
|
46
46
|
extra_rdoc_files: []
|
|
47
47
|
files:
|
|
48
|
-
- ".
|
|
48
|
+
- ".github/workflows/ci.yml"
|
|
49
49
|
- ".gitignore"
|
|
50
|
-
- ".travis.yml"
|
|
51
50
|
- CHANGELOG.md
|
|
52
51
|
- Gemfile
|
|
53
52
|
- Gemfile.lock
|
|
@@ -65,7 +64,7 @@ homepage: https://github.com/PrimeHammer/sms_manager
|
|
|
65
64
|
licenses:
|
|
66
65
|
- MIT
|
|
67
66
|
metadata: {}
|
|
68
|
-
post_install_message:
|
|
67
|
+
post_install_message:
|
|
69
68
|
rdoc_options: []
|
|
70
69
|
require_paths:
|
|
71
70
|
- lib
|
|
@@ -73,16 +72,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
73
72
|
requirements:
|
|
74
73
|
- - ">="
|
|
75
74
|
- !ruby/object:Gem::Version
|
|
76
|
-
version: '2
|
|
75
|
+
version: '3.2'
|
|
77
76
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
78
77
|
requirements:
|
|
79
78
|
- - ">="
|
|
80
79
|
- !ruby/object:Gem::Version
|
|
81
80
|
version: '0'
|
|
82
81
|
requirements: []
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
signing_key:
|
|
82
|
+
rubygems_version: 3.4.1
|
|
83
|
+
signing_key:
|
|
86
84
|
specification_version: 4
|
|
87
85
|
summary: SmsManager is a Ruby library for sending SMS messages by smsmanager.cz provider
|
|
88
86
|
test_files:
|
data/.coveralls.yml
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
service_name: travis-ci
|
data/.travis.yml
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
cache: bundler
|
|
2
|
-
|
|
3
|
-
language: ruby
|
|
4
|
-
|
|
5
|
-
rvm:
|
|
6
|
-
- 2.0.0
|
|
7
|
-
- 2.1
|
|
8
|
-
- 2.2
|
|
9
|
-
- jruby-head
|
|
10
|
-
- rbx-2
|
|
11
|
-
- ruby-head
|
|
12
|
-
|
|
13
|
-
sudo: false
|
|
14
|
-
|
|
15
|
-
bundler_args: --without development --retry=3 --jobs=3
|
|
16
|
-
|
|
17
|
-
env:
|
|
18
|
-
global:
|
|
19
|
-
- JRUBY_OPTS="$JRUBY_OPTS --debug"
|
|
20
|
-
|
|
21
|
-
matrix:
|
|
22
|
-
allow_failures:
|
|
23
|
-
- rvm: jruby-head
|
|
24
|
-
- rvm: rbx-2
|
|
25
|
-
- rvm: ruby-head
|
|
26
|
-
fast_finish: true
|