sms_manager 0.3.3 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9ce5d3d0c84b03809117d80dccc6c9dd9557b91bcf2c640769a0b2960b34f95e
4
- data.tar.gz: 1e1d7678bd7d001dd4e262d4417eb05844b3a1f22cc3bc28f0e7927327b41dbd
3
+ metadata.gz: 116db5dcbd5c5b1dc77ef1d45a51f025ae0acd4074d77e3a248ba15915e24be6
4
+ data.tar.gz: 3eb7c3d427149a66860005381ed42622317d4ad981d1f19bd9e1b849c1cbd876
5
5
  SHA512:
6
- metadata.gz: 5e8c203c37f783b727901318dc2a47dc6908bbec72e94f2b265e2e3947be7948c2853b11c8f0a772b9b5617ac34968d0bb6ba57b1ea319e4ff84e32f1c80c217
7
- data.tar.gz: f525650bcb376bec5542666100ef502f0c132653b4fd8c59734b74dcd3c52eb4e0ffca430effcaee357b6add465406cf57cc867a3f00a6ed4ef70615e65c80db
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
@@ -15,4 +15,5 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
- .DS_Store
18
+ .DS_Store
19
+ .ruby-version
data/CHANGELOG.md CHANGED
@@ -30,4 +30,10 @@ end
30
30
 
31
31
  0.3.3
32
32
  -----
33
+ * Update dependencies
34
+
35
+ 0.4.0
36
+ -----
37
+ * Support only Ruby >= 3.2
38
+ * Drop support for JRuby, Rubinius
33
39
  * Update dependencies
data/Gemfile CHANGED
@@ -1,10 +1,7 @@
1
- source 'https://rubygems.org'
1
+ source "https://rubygems.org"
2
2
 
3
3
  gem "rake"
4
4
  gem "rspec"
5
5
  gem "webmock"
6
- gem "coveralls", require: false
7
- gem "simplecov"
8
6
 
9
- # Specify your gem's dependencies in gemspec
10
7
  gemspec
data/Gemfile.lock CHANGED
@@ -1,68 +1,53 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sms_manager (0.3.3)
5
- httpclient (~> 2.8)
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.6.0)
11
- public_suffix (>= 2.0.2, < 4.0)
12
- coveralls (0.8.23)
13
- json (>= 1.8, < 3)
14
- simplecov (~> 0.16.1)
15
- term-ansicolor (~> 1.3)
16
- thor (>= 0.19.4, < 2.0)
17
- tins (~> 1.6)
18
- crack (0.4.3)
19
- safe_yaml (~> 1.0.0)
20
- diff-lcs (1.3)
21
- docile (1.3.1)
22
- hashdiff (0.3.9)
23
- httpclient (2.8.3)
24
- json (2.2.0)
25
- public_suffix (2.0.5)
26
- rake (12.3.2)
27
- rspec (3.8.0)
28
- rspec-core (~> 3.8.0)
29
- rspec-expectations (~> 3.8.0)
30
- rspec-mocks (~> 3.8.0)
31
- rspec-core (3.8.0)
32
- rspec-support (~> 3.8.0)
33
- rspec-expectations (3.8.3)
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.8.0)
36
- rspec-mocks (3.8.0)
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.8.0)
39
- rspec-support (3.8.0)
40
- safe_yaml (1.0.5)
41
- simplecov (0.16.1)
42
- docile (~> 1.1)
43
- json (>= 1.8, < 3)
44
- simplecov-html (~> 0.10.0)
45
- simplecov-html (0.10.2)
46
- term-ansicolor (1.7.1)
47
- tins (~> 1.0)
48
- thor (0.20.3)
49
- tins (1.20.2)
50
- webmock (3.5.1)
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
- 1.16.6
53
+ 2.7.2
data/README.md CHANGED
@@ -1,20 +1,14 @@
1
1
  # SmsManager
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/sms_manager.png)](http://badge.fury.io/rb/sms_manager)
4
- [![Build Status](https://travis-ci.org/PrimeHammer/sms_manager.png?branch=master)](https://travis-ci.org/PrimeHammer/sms_manager)
5
- [![Dependency Status](https://gemnasium.com/PrimeHammer/sms_manager.png)](https://gemnasium.com/PrimeHammer/sms_manager)
6
- [![Code Climate](https://codeclimate.com/github/PrimeHammer/sms_manager.png)](https://codeclimate.com/github/PrimeHammer/sms_manager)
7
- [![Coverage Status](https://coveralls.io/repos/PrimeHammer/sms_manager/badge.svg?branch=master&service=github)](https://coveralls.io/github/PrimeHammer/sms_manager?branch=master)
8
4
 
9
- A Ruby SDK for [smsmanager.cz](http://smsmanager.cz/) - Czech SMS provider.
5
+ [![Build Status](https://github.com/PrimeHammer/sms_manager/actions/workflows/ci.yml/badge.svg)](https://github.com/PrimeHammer/sms_manager/actions)
10
6
 
11
- ## Installation
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
- Or add to Gemfile:
9
+ ## Installation
16
10
 
17
- `gem 'sms_manager'`
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
- ## Copyright
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
@@ -1,13 +1,13 @@
1
1
  module SmsManager
2
2
  class Version
3
3
  MAJOR = 0
4
- MINOR = 3
5
- PATCH = 3
4
+ MINOR = 4
5
+ PATCH = 0
6
6
 
7
7
  class << self
8
8
  def to_s
9
- [MAJOR, MINOR, PATCH].compact.join('.')
9
+ [MAJOR, MINOR, PATCH].compact.join(".")
10
10
  end
11
11
  end
12
12
  end
13
- end
13
+ end
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.0'
16
- gem.add_dependency "httpclient", "~> 2.8"
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 'simplecov'
2
- require 'coveralls'
3
- SimpleCov.start
4
- Coveralls.wear!
1
+ require "webmock/rspec"
2
+ require "sms_manager"
5
3
 
6
- require 'webmock/rspec'
7
- require 'sms_manager'
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.3.3
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,28 +14,28 @@ dependencies:
14
14
  name: httpclient
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
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
26
  version: '2.8'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description: Ruby SDK for smsmanager.cz API
@@ -45,9 +45,8 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
- - .coveralls.yml
49
- - .gitignore
50
- - .travis.yml
48
+ - ".github/workflows/ci.yml"
49
+ - ".gitignore"
51
50
  - CHANGELOG.md
52
51
  - Gemfile
53
52
  - Gemfile.lock
@@ -65,24 +64,23 @@ 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
72
71
  required_ruby_version: !ruby/object:Gem::Requirement
73
72
  requirements:
74
- - - '>='
73
+ - - ">="
75
74
  - !ruby/object:Gem::Version
76
- version: '2.0'
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
- rubyforge_project:
84
- rubygems_version: 2.7.9
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