sms-uslugi-api 0.5.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 +7 -0
- data/.document +5 -0
- data/.rspec +2 -0
- data/Gemfile +19 -0
- data/Gemfile.lock +105 -0
- data/LICENSE.txt +20 -0
- data/README.md +8 -0
- data/Rakefile +51 -0
- data/VERSION +1 -0
- data/fixtures/vcr_cassettes/info.yml +43 -0
- data/fixtures/vcr_cassettes/send.yml +42 -0
- data/lib/sms-uslugi-api.rb +48 -0
- data/spec/sms_uslugi_api_spec.rb +49 -0
- data/spec/spec_helper.rb +21 -0
- metadata +184 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 1c1c3e83269ee43aa03d9ebd0b7d4055bcc1c624
|
4
|
+
data.tar.gz: 819f955ae5f05e00752e97acd623020887201802
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0a3aba3676ecfea9f116a03bdb5e0acaeff81da3549bba85855609bf12210b435db9d5788b990790fad6f01efd1ca285a365fb2e32c91f6e200c30793b6194c7
|
7
|
+
data.tar.gz: 5f5e5971c03685ced70c00a38450da69e7f8bf3d0849298a8d689448c38a973c046ca6d0fe3ce53fac6ce13ceefada85e029cb30062bfa1f73624a3e6f10aa3b
|
data/.document
ADDED
data/.rspec
ADDED
data/Gemfile
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
source "http://rubygems.org"
|
2
|
+
# Add dependencies required to use your gem here.
|
3
|
+
# Example:
|
4
|
+
# gem "activesupport", ">= 2.3.5"
|
5
|
+
|
6
|
+
gem "faraday"
|
7
|
+
|
8
|
+
# Add dependencies to develop your gem here.
|
9
|
+
# Include everything needed to run rake, tests, features, etc.
|
10
|
+
group :development do
|
11
|
+
gem "shoulda", ">= 0"
|
12
|
+
gem "rdoc", "~> 3.12"
|
13
|
+
gem "bundler", "~> 1.0"
|
14
|
+
gem "jeweler", "~> 2.0.1"
|
15
|
+
gem "simplecov", ">= 0"
|
16
|
+
gem "rspec"
|
17
|
+
gem "vcr"
|
18
|
+
gem "webmock"
|
19
|
+
end
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,105 @@
|
|
1
|
+
GEM
|
2
|
+
remote: http://rubygems.org/
|
3
|
+
specs:
|
4
|
+
activesupport (4.0.2)
|
5
|
+
i18n (~> 0.6, >= 0.6.4)
|
6
|
+
minitest (~> 4.2)
|
7
|
+
multi_json (~> 1.3)
|
8
|
+
thread_safe (~> 0.1)
|
9
|
+
tzinfo (~> 0.3.37)
|
10
|
+
addressable (2.3.5)
|
11
|
+
atomic (1.1.14)
|
12
|
+
bourne (1.1.2)
|
13
|
+
mocha (= 0.10.5)
|
14
|
+
builder (3.1.4)
|
15
|
+
crack (0.4.1)
|
16
|
+
safe_yaml (~> 0.9.0)
|
17
|
+
descendants_tracker (0.0.3)
|
18
|
+
diff-lcs (1.2.5)
|
19
|
+
faraday (0.8.8)
|
20
|
+
multipart-post (~> 1.2.0)
|
21
|
+
git (1.2.5)
|
22
|
+
github_api (0.11.2)
|
23
|
+
addressable (~> 2.3)
|
24
|
+
descendants_tracker (~> 0.0.1)
|
25
|
+
faraday (~> 0.8, < 0.10)
|
26
|
+
hashie (>= 1.2)
|
27
|
+
multi_json (>= 1.7.5, < 2.0)
|
28
|
+
nokogiri (~> 1.6.0)
|
29
|
+
oauth2
|
30
|
+
hashie (2.0.5)
|
31
|
+
highline (1.6.20)
|
32
|
+
httpauth (0.2.0)
|
33
|
+
i18n (0.6.9)
|
34
|
+
jeweler (2.0.1)
|
35
|
+
builder
|
36
|
+
bundler (>= 1.0)
|
37
|
+
git (>= 1.2.5)
|
38
|
+
github_api
|
39
|
+
highline (>= 1.6.15)
|
40
|
+
nokogiri (>= 1.5.10)
|
41
|
+
rake
|
42
|
+
rdoc
|
43
|
+
json (1.8.1)
|
44
|
+
jwt (0.1.8)
|
45
|
+
multi_json (>= 1.5)
|
46
|
+
metaclass (0.0.1)
|
47
|
+
mini_portile (0.5.2)
|
48
|
+
minitest (4.7.5)
|
49
|
+
mocha (0.10.5)
|
50
|
+
metaclass (~> 0.0.1)
|
51
|
+
multi_json (1.8.4)
|
52
|
+
multipart-post (1.2.0)
|
53
|
+
nokogiri (1.6.1)
|
54
|
+
mini_portile (~> 0.5.0)
|
55
|
+
oauth2 (0.8.1)
|
56
|
+
faraday (~> 0.8)
|
57
|
+
httpauth (~> 0.1)
|
58
|
+
jwt (~> 0.1.4)
|
59
|
+
multi_json (~> 1.0)
|
60
|
+
rack (~> 1.2)
|
61
|
+
rack (1.5.2)
|
62
|
+
rake (10.1.1)
|
63
|
+
rdoc (3.12.2)
|
64
|
+
json (~> 1.4)
|
65
|
+
rspec (2.14.1)
|
66
|
+
rspec-core (~> 2.14.0)
|
67
|
+
rspec-expectations (~> 2.14.0)
|
68
|
+
rspec-mocks (~> 2.14.0)
|
69
|
+
rspec-core (2.14.7)
|
70
|
+
rspec-expectations (2.14.4)
|
71
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
72
|
+
rspec-mocks (2.14.4)
|
73
|
+
safe_yaml (0.9.7)
|
74
|
+
shoulda (3.3.2)
|
75
|
+
shoulda-context (~> 1.0.1)
|
76
|
+
shoulda-matchers (~> 1.4.1)
|
77
|
+
shoulda-context (1.0.2)
|
78
|
+
shoulda-matchers (1.4.2)
|
79
|
+
activesupport (>= 3.0.0)
|
80
|
+
bourne (~> 1.1.2)
|
81
|
+
simplecov (0.7.1)
|
82
|
+
multi_json (~> 1.0)
|
83
|
+
simplecov-html (~> 0.7.1)
|
84
|
+
simplecov-html (0.7.1)
|
85
|
+
thread_safe (0.1.3)
|
86
|
+
atomic
|
87
|
+
tzinfo (0.3.38)
|
88
|
+
vcr (2.6.0)
|
89
|
+
webmock (1.15.0)
|
90
|
+
addressable (>= 2.2.7)
|
91
|
+
crack (>= 0.3.2)
|
92
|
+
|
93
|
+
PLATFORMS
|
94
|
+
ruby
|
95
|
+
|
96
|
+
DEPENDENCIES
|
97
|
+
bundler (~> 1.0)
|
98
|
+
faraday
|
99
|
+
jeweler (~> 2.0.1)
|
100
|
+
rdoc (~> 3.12)
|
101
|
+
rspec
|
102
|
+
shoulda
|
103
|
+
simplecov
|
104
|
+
vcr
|
105
|
+
webmock
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2014 Alexander Maslov
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
data/Rakefile
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'rubygems'
|
4
|
+
require 'bundler'
|
5
|
+
begin
|
6
|
+
Bundler.setup(:default, :development)
|
7
|
+
rescue Bundler::BundlerError => e
|
8
|
+
$stderr.puts e.message
|
9
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
10
|
+
exit e.status_code
|
11
|
+
end
|
12
|
+
require 'rake'
|
13
|
+
|
14
|
+
require 'jeweler'
|
15
|
+
Jeweler::Tasks.new do |gem|
|
16
|
+
# gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
|
17
|
+
gem.name = "sms-uslugi-api"
|
18
|
+
gem.homepage = "http://github.com/drakmail/sms-uslugi-api"
|
19
|
+
gem.license = "MIT"
|
20
|
+
gem.summary = %Q{API for sms-uslugi service}
|
21
|
+
gem.description = %Q{Simple gem for send SMS through sms-uslugi service}
|
22
|
+
gem.email = "drakmail@delta.pm"
|
23
|
+
gem.authors = ["Alexander Maslov"]
|
24
|
+
# dependencies defined in Gemfile
|
25
|
+
end
|
26
|
+
Jeweler::RubygemsDotOrgTasks.new
|
27
|
+
|
28
|
+
require 'rake/testtask'
|
29
|
+
Rake::TestTask.new(:test) do |test|
|
30
|
+
test.libs << 'lib' << 'test'
|
31
|
+
test.pattern = 'test/**/test_*.rb'
|
32
|
+
test.verbose = true
|
33
|
+
end
|
34
|
+
|
35
|
+
desc "Code coverage detail"
|
36
|
+
task :simplecov do
|
37
|
+
ENV['COVERAGE'] = "true"
|
38
|
+
Rake::Task['test'].execute
|
39
|
+
end
|
40
|
+
|
41
|
+
task :default => :test
|
42
|
+
|
43
|
+
require 'rdoc/task'
|
44
|
+
Rake::RDocTask.new do |rdoc|
|
45
|
+
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
46
|
+
|
47
|
+
rdoc.rdoc_dir = 'rdoc'
|
48
|
+
rdoc.title = "sms-uslugi-api #{version}"
|
49
|
+
rdoc.rdoc_files.include('README*')
|
50
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
51
|
+
end
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.5.0
|
@@ -0,0 +1,43 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://lcab.sms-uslugi.ru/lcabApi/info.php?login=demo&password=demo
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.8.8
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
15
|
+
- '*/*'
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- nginx
|
23
|
+
Date:
|
24
|
+
- Sat, 22 Feb 2014 11:06:49 GMT
|
25
|
+
Content-Type:
|
26
|
+
- text/json; charset:utf-8;
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
X-Powered-By:
|
32
|
+
- PHP/5.5.9
|
33
|
+
X-Content-Type-Options:
|
34
|
+
- nosniff
|
35
|
+
X-Xss-Protection:
|
36
|
+
- 1; mode=block;
|
37
|
+
body:
|
38
|
+
encoding: UTF-8
|
39
|
+
string: '{"code":1,"descr":"\u041e\u043f\u0435\u0440\u0430\u0446\u0438\u044f
|
40
|
+
\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0430 \u0443\u0441\u043f\u0435\u0448\u043d\u043e","account":"583.12","ocode":"80009999999","tarif":"\u0410\u0432\u0430\u043d\u0441::50","price":"0.50","source":["systemTest","Ded Moroz"],"receive_numbers":["79029999999","79028888888"],"userAccess":{"canExportContacts":"1","canDeleteGroups":"1","canDeleteContacts":"1","canConfig":"1","canViewReportNums":"1","canViewNumbersInPhonebook":"1","canEditPhonebook":"1","canEditContacts":"1","canUseAllGroups":"1","canModifyContent":"1","canDealerConfig":"1","canTarifConfig":"1","canManageAllOrgs":"1","canReportsCenter":"1","canViewAllReports":"1","canTarifInfo":"1","canChangeTarif":"1","canManageInputNumbers":"1","canManageClientLoginPassword":"1","canSendSMS":"1","canDopModules":"1","canOnline":"1","canMakePayment":"1","canChangeUseAlfaSourceAll":"1","canPm":"1","canOrgList":"1","canDutyAndSkipped":"0","canUseAllSmsTemplates":"1","canPager":"1","canMyFinReports":"1","canDoc":"1"}}'
|
41
|
+
http_version:
|
42
|
+
recorded_at: Sat, 22 Feb 2014 11:06:49 GMT
|
43
|
+
recorded_with: VCR 2.6.0
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://lcab.sms-uslugi.ru/lcabApi/sendSms.php?dateTimeSend&discountID&flash=0&idGroup&login=demo&onlydelivery=0&password=demo&source=79021111111&to=81111111111&txt=%D0%A2%D0%B5%D1%81%D1%82%D0%BE%D0%B2%D0%BE%D0%B5%20%D1%81%D0%BE%D0%BE%D0%B1%D1%89%D0%B5%D0%BD%D0%B8%D0%B5&use_alfasource
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.8.8
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
15
|
+
- '*/*'
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- nginx
|
23
|
+
Date:
|
24
|
+
- Sat, 22 Feb 2014 11:37:20 GMT
|
25
|
+
Content-Type:
|
26
|
+
- text/json; charset:utf-8;
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
X-Powered-By:
|
32
|
+
- PHP/5.5.9
|
33
|
+
X-Content-Type-Options:
|
34
|
+
- nosniff
|
35
|
+
X-Xss-Protection:
|
36
|
+
- 1; mode=block;
|
37
|
+
body:
|
38
|
+
encoding: UTF-8
|
39
|
+
string: '{"code":1,"descr":"\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043e","smsid":"0d46ec94e6ed10c91c66737dbf12e910","colsmsOfSending":1,"priceOfSending":"0.50","colAbonentSend":1}'
|
40
|
+
http_version:
|
41
|
+
recorded_at: Sat, 22 Feb 2014 11:37:20 GMT
|
42
|
+
recorded_with: VCR 2.6.0
|
@@ -0,0 +1,48 @@
|
|
1
|
+
require "faraday"
|
2
|
+
require "json"
|
3
|
+
|
4
|
+
class SmsUslugiApi
|
5
|
+
|
6
|
+
BASE_API_URL = "https://lcab.sms-uslugi.ru/lcabApi"
|
7
|
+
|
8
|
+
def initialize(username, password)
|
9
|
+
@username = username
|
10
|
+
@password = password
|
11
|
+
@api = Faraday.new
|
12
|
+
end
|
13
|
+
|
14
|
+
# https://lcab.sms-uslugi.ru/integration/lcabApi#main/Другое/orgInfo
|
15
|
+
def info
|
16
|
+
api_request("info.php")
|
17
|
+
end
|
18
|
+
|
19
|
+
# https://lcab.sms-uslugi.ru/integration/lcabApi#main/pager/send
|
20
|
+
# txt must be in UTF-8 encoding!
|
21
|
+
def send(txt, to, idGroup = nil, source = nil, flash = 0, dateTimeSend = nil, onlydelivery = 0, use_alfasource = nil, discountID = nil)
|
22
|
+
api_request("sendSms.php", {
|
23
|
+
txt: txt,
|
24
|
+
to: to,
|
25
|
+
idGroup: idGroup,
|
26
|
+
source: source,
|
27
|
+
flash: flash,
|
28
|
+
dateTimeSend: dateTimeSend,
|
29
|
+
onlydelivery: onlydelivery,
|
30
|
+
use_alfasource: use_alfasource,
|
31
|
+
discountID: discountID
|
32
|
+
}, :get)
|
33
|
+
end
|
34
|
+
|
35
|
+
private
|
36
|
+
|
37
|
+
def api_request(url, options = {}, method = :get)
|
38
|
+
url = "#{BASE_API_URL}/#{url}"
|
39
|
+
options[:login] = @username
|
40
|
+
options[:password] = @password
|
41
|
+
if method == :post
|
42
|
+
JSON::parse @api.post(url, options).body, symbolize_names: true
|
43
|
+
else
|
44
|
+
JSON::parse @api.get(url, options).body, symbolize_names: true
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe SmsUslugiApi do
|
4
|
+
before do
|
5
|
+
@sms = SmsUslugiApi.new("demo", "demo") # Changed in VCR
|
6
|
+
end
|
7
|
+
|
8
|
+
describe "minimal functionality" do
|
9
|
+
it "should instantiate class" do
|
10
|
+
expect(@sms).to be_an_instance_of(SmsUslugiApi)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
describe "account info" do
|
15
|
+
it "should get account info" do
|
16
|
+
VCR.use_cassette("info") do
|
17
|
+
info = @sms.info
|
18
|
+
expect(info).to include(
|
19
|
+
code: 1,
|
20
|
+
descr: "Операция завершена успешно",
|
21
|
+
account: "583.12",
|
22
|
+
ocode: "80009999999",
|
23
|
+
tarif: "Аванс::50",
|
24
|
+
price: "0.50",
|
25
|
+
source: ["systemTest", "Ded Moroz"],
|
26
|
+
receive_numbers: [
|
27
|
+
"79029999999",
|
28
|
+
"79028888888"
|
29
|
+
]
|
30
|
+
)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
describe "sms sending" do
|
36
|
+
it "should send sms" do
|
37
|
+
VCR.use_cassette("send") do
|
38
|
+
status = @sms.send("Тестовое сообщение", "81111111111", nil, "79021111111")
|
39
|
+
expect(status).to include(
|
40
|
+
code: 1,
|
41
|
+
descr: "Успешно обработано",
|
42
|
+
colsmsOfSending: 1,
|
43
|
+
priceOfSending: '0.50'
|
44
|
+
)
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# This file was generated by the `rspec --init` command. Conventionally, all
|
2
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
+
# Require this file using `require "spec_helper"` to ensure that it is only
|
4
|
+
# loaded once.
|
5
|
+
#
|
6
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
7
|
+
|
8
|
+
require 'sms-uslugi-api'
|
9
|
+
require 'vcr'
|
10
|
+
|
11
|
+
VCR.configure do |c|
|
12
|
+
c.cassette_library_dir = 'fixtures/vcr_cassettes'
|
13
|
+
c.hook_into :webmock
|
14
|
+
end
|
15
|
+
|
16
|
+
RSpec.configure do |config|
|
17
|
+
config.treat_symbols_as_metadata_keys_with_true_values = true
|
18
|
+
config.run_all_when_everything_filtered = true
|
19
|
+
config.filter_run :focus
|
20
|
+
config.order = 'random'
|
21
|
+
end
|
metadata
ADDED
@@ -0,0 +1,184 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sms-uslugi-api
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.5.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Alexander Maslov
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-02-22 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: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: shoulda
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rdoc
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.12'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.12'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: jeweler
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 2.0.1
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ~>
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 2.0.1
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: simplecov
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: vcr
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: webmock
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '>='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
description: Simple gem for send SMS through sms-uslugi service
|
140
|
+
email: drakmail@delta.pm
|
141
|
+
executables: []
|
142
|
+
extensions: []
|
143
|
+
extra_rdoc_files:
|
144
|
+
- LICENSE.txt
|
145
|
+
- README.md
|
146
|
+
files:
|
147
|
+
- .document
|
148
|
+
- .rspec
|
149
|
+
- Gemfile
|
150
|
+
- Gemfile.lock
|
151
|
+
- LICENSE.txt
|
152
|
+
- README.md
|
153
|
+
- Rakefile
|
154
|
+
- VERSION
|
155
|
+
- fixtures/vcr_cassettes/info.yml
|
156
|
+
- fixtures/vcr_cassettes/send.yml
|
157
|
+
- lib/sms-uslugi-api.rb
|
158
|
+
- spec/sms_uslugi_api_spec.rb
|
159
|
+
- spec/spec_helper.rb
|
160
|
+
homepage: http://github.com/drakmail/sms-uslugi-api
|
161
|
+
licenses:
|
162
|
+
- MIT
|
163
|
+
metadata: {}
|
164
|
+
post_install_message:
|
165
|
+
rdoc_options: []
|
166
|
+
require_paths:
|
167
|
+
- lib
|
168
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - '>='
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '0'
|
173
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
174
|
+
requirements:
|
175
|
+
- - '>='
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
version: '0'
|
178
|
+
requirements: []
|
179
|
+
rubyforge_project:
|
180
|
+
rubygems_version: 2.0.0
|
181
|
+
signing_key:
|
182
|
+
specification_version: 4
|
183
|
+
summary: API for sms-uslugi service
|
184
|
+
test_files: []
|