infobip-sms 0.1.1

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 43a0c6d82556bd74bf2d34a02dfce371443b054447c857ecabf43981f6e305b3
4
+ data.tar.gz: e6e3ff5485ab4d6ff21581a8021d073c47f43677a5635c9a981b8f22dcd17823
5
+ SHA512:
6
+ metadata.gz: d83a05701ae12ce6a48418f6519cdec432532db359960c4548645bf51bdf3df4e4906fa74802d1de5593d230b7eecd0025ae03c0db3f6f70c1c274bf69362f26
7
+ data.tar.gz: 6caf838bcdd9de1b37dcac566e62a1e245e32fc35bbdf50396d32e51fbd0f6492e609dc310b634111f28549650fb30aef5cda8b049843864a8acd38382b4f8ca
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,8 @@
1
+ AllCops:
2
+ TargetRubyVersion: 3.4.2
3
+
4
+ Style/StringLiterals:
5
+ EnforcedStyle: double_quotes
6
+
7
+ Style/StringLiteralsInInterpolation:
8
+ EnforcedStyle: double_quotes
data/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ ## [0.1.0] - 2025-04-04
2
+
3
+ - Initial release
4
+ - sms/sms bulk via infobip functionalities added
5
+ - single sms message send
6
+ - bulk sms send
7
+ - sms single or bulk status check
@@ -0,0 +1,132 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, caste, color, religion, or sexual
10
+ identity and orientation.
11
+
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
14
+
15
+ ## Our Standards
16
+
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
19
+
20
+ * Demonstrating empathy and kindness toward other people
21
+ * Being respectful of differing opinions, viewpoints, and experiences
22
+ * Giving and gracefully accepting constructive feedback
23
+ * Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ * Focusing on what is best not just for us as individuals, but for the overall
26
+ community
27
+
28
+ Examples of unacceptable behavior include:
29
+
30
+ * The use of sexualized language or imagery, and sexual attention or advances of
31
+ any kind
32
+ * Trolling, insulting or derogatory comments, and personal or political attacks
33
+ * Public or private harassment
34
+ * Publishing others' private information, such as a physical or email address,
35
+ without their explicit permission
36
+ * Other conduct which could reasonably be considered inappropriate in a
37
+ professional setting
38
+
39
+ ## Enforcement Responsibilities
40
+
41
+ Community leaders are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
45
+
46
+ Community leaders have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
50
+
51
+ ## Scope
52
+
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official email address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
58
+
59
+ ## Enforcement
60
+
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders responsible for enforcement at
63
+ [INSERT CONTACT METHOD].
64
+ All complaints will be reviewed and investigated promptly and fairly.
65
+
66
+ All community leaders are obligated to respect the privacy and security of the
67
+ reporter of any incident.
68
+
69
+ ## Enforcement Guidelines
70
+
71
+ Community leaders will follow these Community Impact Guidelines in determining
72
+ the consequences for any action they deem in violation of this Code of Conduct:
73
+
74
+ ### 1. Correction
75
+
76
+ **Community Impact**: Use of inappropriate language or other behavior deemed
77
+ unprofessional or unwelcome in the community.
78
+
79
+ **Consequence**: A private, written warning from community leaders, providing
80
+ clarity around the nature of the violation and an explanation of why the
81
+ behavior was inappropriate. A public apology may be requested.
82
+
83
+ ### 2. Warning
84
+
85
+ **Community Impact**: A violation through a single incident or series of
86
+ actions.
87
+
88
+ **Consequence**: A warning with consequences for continued behavior. No
89
+ interaction with the people involved, including unsolicited interaction with
90
+ those enforcing the Code of Conduct, for a specified period of time. This
91
+ includes avoiding interactions in community spaces as well as external channels
92
+ like social media. Violating these terms may lead to a temporary or permanent
93
+ ban.
94
+
95
+ ### 3. Temporary Ban
96
+
97
+ **Community Impact**: A serious violation of community standards, including
98
+ sustained inappropriate behavior.
99
+
100
+ **Consequence**: A temporary ban from any sort of interaction or public
101
+ communication with the community for a specified period of time. No public or
102
+ private interaction with the people involved, including unsolicited interaction
103
+ with those enforcing the Code of Conduct, is allowed during this period.
104
+ Violating these terms may lead to a permanent ban.
105
+
106
+ ### 4. Permanent Ban
107
+
108
+ **Community Impact**: Demonstrating a pattern of violation of community
109
+ standards, including sustained inappropriate behavior, harassment of an
110
+ individual, or aggression toward or disparagement of classes of individuals.
111
+
112
+ **Consequence**: A permanent ban from any sort of public interaction within the
113
+ community.
114
+
115
+ ## Attribution
116
+
117
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
+ version 2.1, available at
119
+ [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
120
+
121
+ Community Impact Guidelines were inspired by
122
+ [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
123
+
124
+ For answers to common questions about this code of conduct, see the FAQ at
125
+ [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
126
+ [https://www.contributor-covenant.org/translations][translations].
127
+
128
+ [homepage]: https://www.contributor-covenant.org
129
+ [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
130
+ [Mozilla CoC]: https://github.com/mozilla/diversity
131
+ [FAQ]: https://www.contributor-covenant.org/faq
132
+ [translations]: https://www.contributor-covenant.org/translations
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2025 Michal Andros
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,157 @@
1
+ # Infobip::Sms
2
+
3
+ Library to interact with INFOBIP SMS provider
4
+
5
+ To experiment with the code, run `bin/console` for an interactive prompt.
6
+
7
+ ## Installation
8
+
9
+ Install the gem and add to the application's Gemfile by executing:
10
+
11
+ ```bash
12
+ $ bundle add infobip-sms
13
+ ```
14
+
15
+ If bundler is not being used to manage dependencies, install the gem by executing:
16
+
17
+ ```bash
18
+ $ gem install infobip-sms
19
+ ```
20
+
21
+ ## Usage
22
+
23
+ When bundled, set up a initializer to provide URL and the Identifier
24
+
25
+ Simply create a protool_api_client.rb file in the initializers directory, and set it up like this:
26
+
27
+ ```ruby
28
+ ::Infobip::Sms::Request.configure do |c|
29
+ c.identifier = 'Application name to identify in headers by'
30
+ c.base_url = 'Infobip api base url configured'
31
+ c.api_key = 'Infobip Api Key'
32
+ c.sms_identifier = 'Message sender name'
33
+ c.sms_endpoint = '/send_endpoint'
34
+ c.sms_reports_endpoint = '/report_endpoint'
35
+ end
36
+ ```
37
+
38
+ Examples use for Infobip::Sms CLIENT
39
+
40
+ ```ruby
41
+ ::Infobip::Sms::Connection.new.send_single_sms(phone_number_with_prefix: +48600500400, content: "Some Message", custom_identifier: nil || "SMS_SENDER_NAME")
42
+ ```
43
+
44
+ response:
45
+ ```ruby
46
+ {
47
+ "messages": [
48
+ {
49
+ "to": "41793026727",
50
+ "status": {
51
+ "groupId": 1,
52
+ "groupName": "PENDING",
53
+ "id": 26,
54
+ "name": "PENDING_ACCEPTED",
55
+ "description": "Message sent to next instance"
56
+ },
57
+ "messageId": "33644496xxxx05285365"
58
+ }
59
+ ]
60
+ }
61
+ ```
62
+
63
+ ```ruby
64
+ Infobip::Sms::Connection.new.get_reports(query: {bulkId: '44368913xxxxx434966'})
65
+ ```
66
+
67
+ response:
68
+ ```ruby
69
+ {
70
+ results: [
71
+ { bulk_id: "443689xxxxxx35434966",
72
+ message_id: "44368913715xx4967",
73
+ to: "4860xxx",
74
+ from: "TEST",
75
+ sent_at: "2025-04-03T14:05:37.157+0000",
76
+ done_at: "2025-04-03T14:05:37.615+0000",
77
+ sms_count: 1,
78
+ mcc_mnc: "null",
79
+ price: { price_per_message: 0.0558194, currency: "PLN" },
80
+ status: { group_id: 3, group_name: "DELIVERED", id: 5, name: "DELIVERED_TO_HANDSET", description: "Message delivered to handset" },
81
+ error: { group_id: 0, group_name: "OK", id: 0, name: "NO_ERROR", description: "No Error", permanent: false }
82
+ },
83
+ {
84
+ bulk_id: "443689xxxxxx434966",
85
+ message_id: "443689xx35434968",
86
+ to: "4866xxx",
87
+ from: "TEST",
88
+ sent_at: "2025-04-03T14:05:37.157+0000",
89
+ done_at: "2025-04-03T14:05:38.793+0000",
90
+ sms_count: 1,
91
+ mcc_mnc: "null",
92
+ price: { price_per_message: 0.0558194, currency: "PLN" },
93
+ status: { group_id: 3, group_name: "DELIVERED", id: 5, name: "DELIVERED_TO_HANDSET", description: "Message delivered to handset" },
94
+ error: { group_id: 0, group_name: "OK", id: 0, name: "NO_ERROR", description: "No Error", permanent: false }
95
+ }
96
+ ]
97
+ }
98
+ ```
99
+
100
+ ```ruby
101
+ ::Infobip::Sms::Connection.new.send_bulk_sms(query: { bulkId: '123', messageId: '123' })
102
+ ```
103
+
104
+ response:
105
+ ```ruby
106
+ {
107
+ "results": [
108
+ {
109
+ "bulkId": "33649386xxx572262",
110
+ "messageId": "336xx86024303572263",
111
+ "to": "41793026727",
112
+ "from": "InfoSMS",
113
+ "sentAt": "2021-11-09T21:37:40.258+0000",
114
+ "doneAt": "2021-11-09T21:37:42.910+0000",
115
+ "smsCount": 1,
116
+ "mccMnc": "null",
117
+ "price": {
118
+ "pricePerMessage": 0,
119
+ "currency": "EUR"
120
+ },
121
+ "status": {
122
+ "groupId": 3,
123
+ "groupName": "DELIVERED",
124
+ "id": 5,
125
+ "name": "DELIVERED_TO_HANDSET",
126
+ "description": "Message delivered to handset"
127
+ },
128
+ "error": {
129
+ "groupId": 0,
130
+ "groupName": "OK",
131
+ "id": 0,
132
+ "name": "NO_ERROR",
133
+ "description": "No Error",
134
+ "permanent": false
135
+ }
136
+ }
137
+ ]
138
+ }
139
+ ```
140
+
141
+ ## Development
142
+
143
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
144
+
145
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
146
+
147
+ ## Contributing
148
+
149
+ Bug reports and pull requests are welcome on GitHub at https://github.com/mandros1985/infobip-sms. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/mandros1985/infobip-sms/blob/name/CODE_OF_CONDUCT.md).
150
+
151
+ ## License
152
+
153
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
154
+
155
+ ## Code of Conduct
156
+
157
+ Everyone interacting in the Infobip::Sms project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/infobip-sms/blob/name/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require "rubocop/rake_task"
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[spec rubocop]
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Infobip
4
+ module Sms
5
+ class Configuration
6
+ attr_accessor :identifier, :base_url, :api_key, :sms_identifier, :sms_endpoint, :sms_reports_endpoint
7
+
8
+ def initialize
9
+ @identifier = nil
10
+ @base_url = nil
11
+ @sms_identifier = nil
12
+ @api_key = nil
13
+ @sms_endpoint = nil
14
+ @sms_reports_endpoint = nil
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,62 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Infobip
4
+ module Sms
5
+ class Connection
6
+ def call(path:, method: :post, body: nil, query: nil)
7
+ ::Infobip::Sms::Request.new(method: method, body: body, query: query).make_request(path: path)
8
+ end
9
+
10
+ # Send sms message - single sms
11
+ # @param phone_number_with_prefix [String]
12
+ # @param content [String]
13
+ # @param custom_identifier [String]
14
+ def send_single_sms(phone_number_with_prefix:, content:, custom_identifier: nil)
15
+ body = {
16
+ "messages": [
17
+ {
18
+ "from": custom_identifier || ::Infobip::Sms::Request.configuration.sms_identifier,
19
+ "destinations": [
20
+ {
21
+ "to": phone_number_with_prefix
22
+ }
23
+ ],
24
+ "text": content
25
+ }
26
+ ]
27
+ }
28
+ call(path: ::Infobip::Sms::Request.configuration.sms_endpoint || "/sms/2/text/advanced", method: :post, body: body)
29
+ end
30
+
31
+ # Send sms message - bulk sms
32
+ # @param phone_numbers_with_prefix [Array]
33
+ # @param content [String]
34
+ # @param custom_identifier [String]
35
+ def send_bulk_sms(phone_numbers_with_prefix:, content:, custom_identifier: nil)
36
+ body = { "messages": [] }
37
+ phone_numbers_with_prefix.each do |phone_number|
38
+ body[:"messages"] << {
39
+ "from": custom_identifier || ::Infobip::Sms::Request.configuration.sms_identifier,
40
+ "destinations": [
41
+ {
42
+ "to": phone_number
43
+ }
44
+ ],
45
+ "text": content
46
+ }
47
+ end
48
+
49
+ call(path: ::Infobip::Sms::Request.configuration.sms_endpoint || "/sms/2/text/advanced", method: :post, body: body)
50
+ end
51
+
52
+ # Check report for bulk or for message_id
53
+ # @param query [Ruby Hash]
54
+ # {bulkId: '123', messageId: '123'}
55
+ # /sms/1/reports?bulkId={{recentBulkId}}&messageId={{recentMessageId}}&limit=453367
56
+ # LOGS CAN ONLY BE QUERIED ONCE ! after that results are empty
57
+ def get_reports(query:)
58
+ call(path: ::Infobip::Sms::Request.configuration.sms_reports_endpoint || "/sms/1/reports", method: :get, query: query)
59
+ end
60
+ end
61
+ end
62
+ end
@@ -0,0 +1,112 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Infobip
4
+ module Sms
5
+ class Request
6
+ attr_accessor :response, :request
7
+
8
+ class << self
9
+ attr_accessor :configuration
10
+ end
11
+
12
+ def self.configure
13
+ self.configuration ||= ::Infobip::Sms::Configuration.new
14
+ yield(configuration)
15
+ end
16
+
17
+ def initialize(base_url: nil, method: nil, payload: nil,
18
+ open_timeout: nil, read_timeout: nil, keep_alive_timeout: nil,
19
+ verify_mode: nil, body: nil, query: nil)
20
+ raise "No configuration credentials provided !" if ::Infobip::Sms::Request.configuration.blank?
21
+
22
+ @base_url = ::Infobip::Sms::Request.configuration.base_url
23
+ @method = method.present? ? method.to_s.downcase.intern : :get
24
+ @payload = payload
25
+ @body = body
26
+ @query = query
27
+ @open_timeout = open_timeout || 2.minutes
28
+ @read_timeout = read_timeout || 2.minutes
29
+ @keep_alive_timeout = keep_alive_timeout || 20.seconds
30
+ @verify_mode = verify_mode || OpenSSL::SSL::VERIFY_NONE
31
+ end
32
+
33
+ def make_request(path:)
34
+ retry_count ||= 0
35
+ @path = "/#{path}" if path[0] != "/" && path.size >= 1
36
+
37
+ uri_obj = uri(host: base_url, path: path)
38
+
39
+ resp = Net::HTTP.start(uri_obj.host, uri_obj.port, use_ssl: uri_obj.scheme == "https",
40
+ open_timeout: open_timeout, read_timeout: read_timeout,
41
+ keep_alive_timeout: keep_alive_timeout, verify_mode: verify_mode) do |http|
42
+ @request = build_request_method(uri: uri_obj)
43
+ http.request(request)
44
+ end
45
+ case resp
46
+ when Net::HTTPSuccess
47
+ parse(body: resp.body)
48
+ else
49
+ resp.value
50
+ end
51
+ rescue Net::HTTPServerException => e
52
+ raise(e) unless (retry_count += 1) <= 3
53
+
54
+ retry
55
+ end
56
+
57
+ def build_request_method(uri:)
58
+ r = case method
59
+ when :get
60
+ Net::HTTP::Get.new uri
61
+ when :post
62
+ Net::HTTP::Post.new uri
63
+ when :patch
64
+ Net::HTTP::Patch.new uri
65
+ when :put
66
+ Net::HTTP::Put.new uri
67
+ else
68
+ raise "Unexpected method: #{method}"
69
+ end
70
+ r["OpenStack-Identity"] = ::Infobip::Sms::Request.configuration.identifier
71
+ r["Authorization"] = "App #{::Infobip::Sms::Request.configuration.api_key}"
72
+ if body.present?
73
+ r["Content-Type"] = "application/json"
74
+ r.body = body.try(:to_json)
75
+ end
76
+ r.set_form_data(payload) if payload.present?
77
+ # r.basic_auth user, password
78
+ # binding.pry
79
+ r
80
+ end
81
+
82
+ def parse(body:)
83
+ body = JSON.parse(body)
84
+ symbolize(body)
85
+ rescue JSON::ParserError
86
+ body
87
+ end
88
+
89
+ def symbolize(body)
90
+ if body.is_a?(Array)
91
+ body.map do |array|
92
+ symbolize(array)
93
+ end
94
+ else
95
+ body.deep_transform_keys(&:underscore).deep_symbolize_keys
96
+ end
97
+ end
98
+
99
+ def uri(host:, path:)
100
+ uri = URI.parse(host + path)
101
+ uri.query = URI.encode_www_form(query) if query.present?
102
+ uri
103
+ end
104
+
105
+ private
106
+
107
+ attr_reader :base_url, :method, :payload, :open_timeout,
108
+ :read_timeout, :keep_alive_timeout, :verify_mode,
109
+ :path, :body, :query
110
+ end
111
+ end
112
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Infobip
4
+ module Sms
5
+ VERSION = "0.1.1"
6
+ end
7
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'sms/version'
4
+ require "openssl"
5
+ require "json"
6
+ require "net/http"
7
+ # require 'pry'
8
+ require "active_support/all"
9
+ require "infobip/sms/request"
10
+ require "infobip/sms/configuration"
11
+ require "infobip/sms/connection"
12
+
13
+
14
+
15
+ module Infobip
16
+ module Sms
17
+ class Error < StandardError; end
18
+ end
19
+ end
@@ -0,0 +1,6 @@
1
+ module Infobip
2
+ module Sms
3
+ VERSION: String
4
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
5
+ end
6
+ end
metadata ADDED
@@ -0,0 +1,98 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: infobip-sms
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Michal Andros
8
+ bindir: exe
9
+ cert_chain: []
10
+ date: 2025-04-03 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: activesupport
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - "~>"
17
+ - !ruby/object:Gem::Version
18
+ version: '7.2'
19
+ type: :development
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - "~>"
24
+ - !ruby/object:Gem::Version
25
+ version: '7.2'
26
+ - !ruby/object:Gem::Dependency
27
+ name: rspec
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - "~>"
31
+ - !ruby/object:Gem::Version
32
+ version: '3.13'
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '3.13'
40
+ - !ruby/object:Gem::Dependency
41
+ name: rubocop
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.74'
47
+ type: :development
48
+ prerelease: false
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '1.74'
54
+ description: single and bulk sms send and status check capabilities
55
+ email:
56
+ - michalandros@amcode.eu
57
+ executables: []
58
+ extensions: []
59
+ extra_rdoc_files: []
60
+ files:
61
+ - ".rspec"
62
+ - ".rubocop.yml"
63
+ - CHANGELOG.md
64
+ - CODE_OF_CONDUCT.md
65
+ - LICENSE.txt
66
+ - README.md
67
+ - Rakefile
68
+ - lib/infobip/sms.rb
69
+ - lib/infobip/sms/configuration.rb
70
+ - lib/infobip/sms/connection.rb
71
+ - lib/infobip/sms/request.rb
72
+ - lib/infobip/sms/version.rb
73
+ - sig/infobip/sms.rbs
74
+ homepage: https://github.com/mandros1985/infobip-sms
75
+ licenses:
76
+ - MIT
77
+ metadata:
78
+ allowed_push_host: https://rubygems.org
79
+ homepage_uri: https://github.com/mandros1985/infobip-sms
80
+ source_code_uri: https://github.com/mandros1985/infobip-sms
81
+ rdoc_options: []
82
+ require_paths:
83
+ - lib
84
+ required_ruby_version: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: 3.1.0
89
+ required_rubygems_version: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ requirements: []
95
+ rubygems_version: 3.6.6
96
+ specification_version: 4
97
+ summary: Specs for main functionalities
98
+ test_files: []