smstools_api 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 4e7f08aab83edfe08f0ac3198c2a566cd697c82074eb7ca6fd03794fd1e6f61c
4
+ data.tar.gz: 95b5b7b88144956dde519df037b1316443d7c89d30fdab3f002ac146469e11e5
5
+ SHA512:
6
+ metadata.gz: b1f3cc3e080c49499987f9cf1c01ade368bd0b0ddeba804c18758adbbec4e6ab600d82cc3a399678f7571a2751ce8cc89ba88d71040991aa26c3f5e8352d172f
7
+ data.tar.gz: e2ac7bf51bccca62000b67a913318531be40760c59bbb2a225da5dc8747537872951014053e33a1cc9e9fd968783e8ddeeef834d8b203d7680cc955324277f44
@@ -0,0 +1,48 @@
1
+ name: Ruby Gem
2
+
3
+ on:
4
+ push:
5
+ branches: [ "main" ]
6
+ paths:
7
+ - 'lib/**/version.rb'
8
+
9
+ jobs:
10
+ build:
11
+ name: Build + Publish
12
+ runs-on: ubuntu-latest
13
+ permissions:
14
+ contents: read
15
+ packages: write
16
+
17
+ steps:
18
+ - uses: actions/checkout@v3
19
+ - name: Set up Ruby 3.2
20
+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
21
+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
22
+ # uses: ruby/setup-ruby@v1
23
+ uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
24
+ with:
25
+ ruby-version: 3.2.2
26
+
27
+ - name: Publish to GPR
28
+ run: |
29
+ mkdir -p $HOME/.gem
30
+ touch $HOME/.gem/credentials
31
+ chmod 0600 $HOME/.gem/credentials
32
+ printf -- "---\n:github: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
33
+ gem build *.gemspec
34
+ gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
35
+ env:
36
+ GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}"
37
+ OWNER: ${{ github.repository_owner }}
38
+
39
+ - name: Publish to RubyGems
40
+ run: |
41
+ mkdir -p $HOME/.gem
42
+ touch $HOME/.gem/credentials
43
+ chmod 0600 $HOME/.gem/credentials
44
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
45
+ gem build *.gemspec
46
+ gem push *.gem
47
+ env:
48
+ GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ Gemfile.lock
data/.travis.yml ADDED
@@ -0,0 +1,6 @@
1
+ ---
2
+ language: ruby
3
+ cache: bundler
4
+ rvm:
5
+ - 3.1.2
6
+ before_install: gem install bundler -v 2.1.4
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at tom@degrunt.nl. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [https://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: https://contributor-covenant.org
74
+ [version]: https://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in smstools_api.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2024 Tom de Grunt
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,52 @@
1
+ # SmstoolsApi
2
+
3
+ Smstools API - https://www.smstools.nl/nl/sms-gateway-api
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'smstools_api'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle install
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install smstools_api
20
+
21
+ ## Usage
22
+
23
+ For text messages:
24
+ ```ruby
25
+ @client = SmstoolsApi::Client.new(client_id: ENV["CLIENT_ID"], client_secret: ENV["CLIENT_SECRET"])
26
+ response = @client.messages.create(message: "Hi", to: "+31612345678", sender: "Ruby SDK")
27
+ ```
28
+
29
+ For voice messages:
30
+ ```ruby
31
+ @client = SmstoolsApi::Client.new(client_id: ENV["CLIENT_ID"], client_secret: ENV["CLIENT_SECRET"])
32
+ response = @client.voice_messages.create(message: "Hi", to: "+31612345678", sender: "Ruby SDK")
33
+ ```
34
+
35
+ ## Development
36
+
37
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
38
+
39
+ 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 tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
40
+
41
+ ## Contributing
42
+
43
+ Bug reports and pull requests are welcome on GitHub at https://github.com/entdec/smstools_api. 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/entdec/smstools_api/blob/master/CODE_OF_CONDUCT.md).
44
+
45
+
46
+ ## License
47
+
48
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
49
+
50
+ ## Code of Conduct
51
+
52
+ Everyone interacting in the SmstoolsApi project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/entdec/smstools_api/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList["test/**/*_test.rb"]
8
+ end
9
+
10
+ task default: :test
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "smstools_api"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,45 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.smsgatewayapi.com/v1/message/send
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"to":"+3161245678","message":"Hello this is a test message!","sender":"Ruby SDK"}'
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v2.11.0
12
+ Content-Type:
13
+ - application/json
14
+ accept:
15
+ - application/json
16
+ x-client-id:
17
+ - "434421713782941511298"
18
+ X-Client-Secret:
19
+ - FGbWCZrjtY64E31BaBkz9
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ date:
26
+ - Wed, 28 Aug 2024 13:04:54 GMT
27
+ access-control-allow-origin:
28
+ - "*"
29
+ access-control-allow-headers:
30
+ - X-Client-Id, X-Client-Secret, X-Authorization, Content-Type
31
+ access-control-allow-methods:
32
+ - GET, POST, PUT, PATCH, DELETE, OPTIONS
33
+ vary:
34
+ - Accept-Encoding
35
+ content-encoding:
36
+ - gzip
37
+ content-length:
38
+ - "66"
39
+ content-type:
40
+ - application/json; charset=utf-8
41
+ body:
42
+ encoding: UTF-8
43
+ string: '{"messageid":"e0ncuxht345hjmbjvv2feky0azflcw"}'
44
+ recorded_at: Wed, 28 Aug 2024 13:04:54 GMT
45
+ recorded_with: VCR 6.2.0
@@ -0,0 +1,47 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.smsgatewayapi.com/v1/voice/send
6
+ body:
7
+ encoding: UTF-8
8
+ string:
9
+ '{"to":"+3161245678","message":"Hello this is a test message!","sender":"Ruby
10
+ SDK"}'
11
+ headers:
12
+ User-Agent:
13
+ - Faraday v2.11.0
14
+ Content-Type:
15
+ - application/json
16
+ accept:
17
+ - application/json
18
+ x-client-id:
19
+ - "434421713782941511298"
20
+ X-Client-Secret:
21
+ - FGbWCZrjtY64E31BaBkz9
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ date:
28
+ - Thu, 29 Aug 2024 12:54:50 GMT
29
+ access-control-allow-origin:
30
+ - "*"
31
+ access-control-allow-headers:
32
+ - X-Client-Id, X-Client-Secret, X-Authorization, Content-Type
33
+ access-control-allow-methods:
34
+ - GET, POST, PUT, PATCH, DELETE, OPTIONS
35
+ vary:
36
+ - Accept-Encoding
37
+ content-encoding:
38
+ - gzip
39
+ content-length:
40
+ - "66"
41
+ content-type:
42
+ - application/json; charset=utf-8
43
+ body:
44
+ encoding: UTF-8
45
+ string: '{"messageid":"ug3g0s0aa7qahuujjkdknhwigvrcjy"}'
46
+ recorded_at: Thu, 29 Aug 2024 12:54:50 GMT
47
+ recorded_with: VCR 6.2.0
@@ -0,0 +1,39 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'smstools_api/middleware/response/hashie_json'
4
+ require 'smstools_api/middleware/request/authorization'
5
+ require 'smstools_api/messages'
6
+ require 'smstools_api/voice_messages'
7
+
8
+ module SmstoolsApi
9
+ class Client
10
+ extend Forwardable
11
+
12
+ attr_reader :config, :messages, :voice_messages
13
+
14
+ def initialize(config = {})
15
+ @config = Hashie::Mash.new(config)
16
+ @messages = Messages.new(self)
17
+ @voice_messages = VoiceMessages.new(self)
18
+ end
19
+
20
+ private
21
+
22
+ delegate %i[get post put delete head patch options trace] => :connection
23
+
24
+ def connection
25
+ @connection ||= build_connection
26
+ end
27
+
28
+ def build_connection
29
+ Faraday.new('https://api.smsgatewayapi.com/v1') do |builder|
30
+ # Request
31
+ builder.request :json
32
+ builder.use SmstoolsApi::Middleware::Request::Authorization, self
33
+
34
+ # Response
35
+ builder.use SmstoolsApi::Middleware::Response::HashieJson, self
36
+ end
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,13 @@
1
+ module SmstoolsApi
2
+ class Messages
3
+ attr_reader :client
4
+
5
+ def initialize(client)
6
+ @client = client
7
+ end
8
+
9
+ def create(message:, to:, sender:, date: nil, reference: nil, test: false, subid: nil)
10
+ @client.post('message/send', to: to, message: message, sender: sender)
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,30 @@
1
+ require "faraday/middleware"
2
+
3
+ module SmstoolsApi
4
+ # @private
5
+ module Middleware
6
+ # @private
7
+ module Request
8
+ class Authorization < Faraday::Middleware
9
+
10
+ ACCEPT = "accept".freeze
11
+ CLIENTID = "x-client-id".freeze
12
+ CLIENTSECRET = "X-Client-Secret".freeze
13
+
14
+ attr_reader :client
15
+
16
+ def initialize(app, client)
17
+ super(app)
18
+ @client = client
19
+ end
20
+
21
+ def call(env)
22
+ env.request_headers[ACCEPT] = "application/json"
23
+ env.request_headers[CLIENTID] = client.config.client_id
24
+ env.request_headers[CLIENTSECRET] = client.config.client_secret
25
+ @app.call(env)
26
+ end
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,27 @@
1
+ module SmstoolsApi
2
+ # @private
3
+ module Middleware
4
+ # @private
5
+ module Response
6
+ class HashieJson < Faraday::Middleware
7
+ CONTENT_TYPE = "Content-Type".freeze
8
+
9
+ def initialize(app, client)
10
+ super(app)
11
+ @client = client
12
+ end
13
+
14
+ def on_complete(env)
15
+ type = env[:response_headers][CONTENT_TYPE].to_s
16
+ type = type.split(";", 2).first if type.index(";")
17
+
18
+ return unless type == "application/json"
19
+
20
+ unless env[:body].strip.empty?
21
+ env[:body] = Hashie::Mash.new(JSON.parse(env[:body]))
22
+ end
23
+ end
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,3 @@
1
+ module SmstoolsApi
2
+ VERSION = "0.1.3"
3
+ end
@@ -0,0 +1,13 @@
1
+ module SmstoolsApi
2
+ class VoiceMessages
3
+ attr_reader :client
4
+
5
+ def initialize(client)
6
+ @client = client
7
+ end
8
+
9
+ def create(message:, to:, sender:, date: nil, reference: nil, language: nil, gender: nil, test: false)
10
+ @client.post('voice/send', to: to, message: message, sender: sender)
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,11 @@
1
+ require "faraday"
2
+ require "hashie"
3
+ require 'debug'
4
+
5
+ require "smstools_api/client"
6
+ require "smstools_api/version"
7
+
8
+ module SmstoolsApi
9
+ class Error < StandardError; end
10
+ # Your code goes here...
11
+ end
@@ -0,0 +1,36 @@
1
+ require_relative 'lib/smstools_api/version'
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = 'smstools_api'
5
+ spec.version = SmstoolsApi::VERSION
6
+ spec.authors = ['Tom de Grunt']
7
+ spec.email = ['tom@degrunt.nl']
8
+
9
+ spec.summary = 'Smstools API'
10
+ spec.description = 'Smstools API'
11
+ spec.homepage = 'https://github.com/entdec/smstools_api'
12
+ spec.license = 'MIT'
13
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
14
+
15
+ spec.metadata['homepage_uri'] = spec.homepage
16
+ spec.metadata['source_code_uri'] = 'https://github.com/entdec/smstools_api'
17
+
18
+ # Specify which files should be added to the gem when it is released.
19
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
20
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
21
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
22
+ end
23
+ spec.bindir = 'exe'
24
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
+ spec.require_paths = ['lib']
26
+
27
+ spec.add_runtime_dependency 'faraday', '>= 2.9'
28
+ spec.add_runtime_dependency 'hashie', '>= 5'
29
+
30
+ spec.add_development_dependency 'debug'
31
+ spec.add_development_dependency 'minitest', '~> 5.0'
32
+ spec.add_development_dependency 'rake', '~> 12.0'
33
+ spec.add_development_dependency 'rubocop', '~> 1.65'
34
+ spec.add_development_dependency 'standard', '~> 1.35'
35
+ spec.add_development_dependency 'vcr', '>= 6'
36
+ end
metadata ADDED
@@ -0,0 +1,177 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: smstools_api
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.3
5
+ platform: ruby
6
+ authors:
7
+ - Tom de Grunt
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-08-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: faraday
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '2.9'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '2.9'
27
+ - !ruby/object:Gem::Dependency
28
+ name: hashie
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '5'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '5'
41
+ - !ruby/object:Gem::Dependency
42
+ name: debug
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: minitest
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '5.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '5.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '12.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '12.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '1.65'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '1.65'
97
+ - !ruby/object:Gem::Dependency
98
+ name: standard
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '1.35'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '1.35'
111
+ - !ruby/object:Gem::Dependency
112
+ name: vcr
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '6'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '6'
125
+ description: Smstools API
126
+ email:
127
+ - tom@degrunt.nl
128
+ executables: []
129
+ extensions: []
130
+ extra_rdoc_files: []
131
+ files:
132
+ - ".github/workflows/gem-push.yml"
133
+ - ".gitignore"
134
+ - ".travis.yml"
135
+ - CODE_OF_CONDUCT.md
136
+ - Gemfile
137
+ - LICENSE.txt
138
+ - README.md
139
+ - Rakefile
140
+ - bin/console
141
+ - bin/setup
142
+ - fixtures/vcr_cassettes/messages.yml
143
+ - fixtures/vcr_cassettes/voice_messages.yml
144
+ - lib/smstools_api.rb
145
+ - lib/smstools_api/client.rb
146
+ - lib/smstools_api/messages.rb
147
+ - lib/smstools_api/middleware/request/authorization.rb
148
+ - lib/smstools_api/middleware/response/hashie_json.rb
149
+ - lib/smstools_api/version.rb
150
+ - lib/smstools_api/voice_messages.rb
151
+ - smstools_api.gemspec
152
+ homepage: https://github.com/entdec/smstools_api
153
+ licenses:
154
+ - MIT
155
+ metadata:
156
+ homepage_uri: https://github.com/entdec/smstools_api
157
+ source_code_uri: https://github.com/entdec/smstools_api
158
+ post_install_message:
159
+ rdoc_options: []
160
+ require_paths:
161
+ - lib
162
+ required_ruby_version: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: 2.3.0
167
+ required_rubygems_version: !ruby/object:Gem::Requirement
168
+ requirements:
169
+ - - ">="
170
+ - !ruby/object:Gem::Version
171
+ version: '0'
172
+ requirements: []
173
+ rubygems_version: 3.4.10
174
+ signing_key:
175
+ specification_version: 4
176
+ summary: Smstools API
177
+ test_files: []