eniyismsapi 0.1.3 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eniyismsapi/send.rb +10 -29
- data/lib/eniyismsapi/version.rb +1 -1
- metadata +2 -156
- data/test/dummy/README.rdoc +0 -28
- data/test/dummy/Rakefile +0 -6
- data/test/dummy/app/assets/javascripts/application.js +0 -13
- data/test/dummy/app/assets/javascripts/smstest.js +0 -2
- data/test/dummy/app/assets/stylesheets/application.css +0 -15
- data/test/dummy/app/assets/stylesheets/smstest.css +0 -4
- data/test/dummy/app/controllers/application_controller.rb +0 -7
- data/test/dummy/app/controllers/smstest_controller.rb +0 -37
- data/test/dummy/app/helpers/application_helper.rb +0 -2
- data/test/dummy/app/helpers/smstest_helper.rb +0 -2
- data/test/dummy/app/views/layouts/application.html.erb +0 -14
- data/test/dummy/app/views/smstest/home.html.erb +0 -13
- data/test/dummy/bin/bundle +0 -3
- data/test/dummy/bin/rails +0 -4
- data/test/dummy/bin/rake +0 -4
- data/test/dummy/bin/setup +0 -29
- data/test/dummy/config/application.rb +0 -26
- data/test/dummy/config/boot.rb +0 -5
- data/test/dummy/config/database.yml +0 -25
- data/test/dummy/config/environment.rb +0 -5
- data/test/dummy/config/environments/development.rb +0 -41
- data/test/dummy/config/environments/production.rb +0 -79
- data/test/dummy/config/environments/test.rb +0 -42
- data/test/dummy/config/initializers/assets.rb +0 -11
- data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/test/dummy/config/initializers/cookies_serializer.rb +0 -3
- data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
- data/test/dummy/config/initializers/inflections.rb +0 -16
- data/test/dummy/config/initializers/mime_types.rb +0 -4
- data/test/dummy/config/initializers/session_store.rb +0 -3
- data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/test/dummy/config/locales/en.yml +0 -23
- data/test/dummy/config/routes.rb +0 -58
- data/test/dummy/config/secrets.yml +0 -22
- data/test/dummy/config.ru +0 -4
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -1455
- data/test/dummy/log/test.log +0 -12
- data/test/dummy/public/404.html +0 -67
- data/test/dummy/public/422.html +0 -67
- data/test/dummy/public/500.html +0 -66
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/test/controllers/smstest_controller_test.rb +0 -9
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/2V/2VCmtLBHaDkxVeAF1OHps3p_cSWA_kL9gqO5o14lrZw.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/4g/4gsBiByraB2GGxpwGfYZ-FDTg-55g1SuqQQexyxLkUM.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/4m/4mNRBrNByIZhSIGrZoatOzthEypSxNaxYIaqcAfIMFY.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/56/561SK9MVmpHjuvyhsNK0VPzkdTMIBj6mLaSrYLbq-sE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/5x/5xIQaRt4Sl1iPdJjVQ2UNLiJdoAgevhEYV5cTdwBESM.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/C-/C-jYWXUZB3Qyk2L4QAkiyr1lsdTz1VkWkNO5dpA2xbY.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/DS/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ex/Ex6RtOPSE5cmYvinvwk2aHXFdtVVxCyiX9WguJlkaw8.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/HC/HC73CMLvVlZSNgBAErDvjAvcP845em3U4hu1vZFcd4U.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Hu/HuhpBocRlFIzJAKry69L7u7cyXA1ex5Mo7lFWBF1o8E.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/JL/JL9h1NrP3CM_njOMpJ9FNR1NtQu-iOfwV5LLA4IyeNA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Kq/Kq_WbQm_5sn1FFQEVMrxiYIptkc7MwMIkqGwtsvXYNU.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/ML/MLI8cujXvep44vCHddPC3T9LFlWMDUyrB3traB8ph8o.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/MM/MMyL06F3k4oLEkWQjlXTVgLnA5pGogQgC7sXv6BefFY.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/PD/PD6mKQx9w43RGMmoAYqbot64WOc_YnRkZ8abCO76PSQ.cache +0 -3
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/XK/XKMMBuV58Vh_YTkgNybz2HKlit1yGIUfmBM-cnSSCwM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/bI/bITz7EBRX5iKH56NzayOaNB2e43pEYwcBiUXCOTGl_s.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/bs/bs0s2uDj_xLnObaFd3fT0Q4SZCgZGhzw0VV6dUapex4.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/f0/f08zZ1vPja7lfHw9lzC1VmyULRsF20l-fR7rnk22vcw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/gZ/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/gr/grRICJEifEGENnBOXkiFMpk1jXFX5d5VAaeRLgo2jHs.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/hF/hFq8B-JgJk4NouMdZ_g6VC-RKO6b_g3ARLFfh7pM8dU.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/kC/kCZpeAfimeyRythEHL7sxye9VYD-8ROsB2qjiDD88j8.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/oT/oTgCpfeuEaXyN2WrPzXpV2tXbr1cPRMCBgHpVe3JxSI.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/u0/u05BwImVFoX77OZegOjIqgXEWo-BJWRl5HXudNP1wOs.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/yS/ySVb-wjRslagAHSDFJi0j-gNo8SHrdXG_8tV-fhodcg.cache +0 -3
- data/test/dummy/tmp/pids/server.pid +0 -1
- data/test/eniyismsapi_test.rb +0 -7
- data/test/test_helper.rb +0 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 419f600c1b192456498efaa16a3c94c0ac92af3a
|
4
|
+
data.tar.gz: 1efda82121ed80d36bf223aefc4efd60d25cbd7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb27deabb341c398f280d4ce7f08e272b28a72f5c4f198d0020ab73ba7674aac13a54377959513f451393814f4396591f0bdeefe573ea4cc09427d19c883bca0
|
7
|
+
data.tar.gz: 57bc72fc06af5a7af4b76821f83166e8b995580a23e65ee5155775bd216026a72283a524f1c63a4cf696316b4e797d91092df86ee478ece9264d7ba9746ff9e0
|
data/lib/eniyismsapi/send.rb
CHANGED
@@ -51,14 +51,16 @@ module Eniyismsapi
|
|
51
51
|
# return build_xml.to_xml
|
52
52
|
end
|
53
53
|
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
57
|
-
#
|
58
|
-
#
|
59
|
-
#
|
60
|
-
#
|
61
|
-
#
|
54
|
+
# multi = Eniyismsapi::SMS.new '544xxxxxxx', '123456' #First: Username, Second: Password
|
55
|
+
# params = {
|
56
|
+
# coding: 'Default', # Can be Turkish, Default, UCS2
|
57
|
+
# originator: 'EMRE KURT',
|
58
|
+
# messages: [
|
59
|
+
# {number: '544xxxxxxx', message: 'Emre Ruby GEM Api Test'},
|
60
|
+
# {number: '542xxxxxxx', message: 'Samet Ruby GEM Api Test'}
|
61
|
+
# ]
|
62
|
+
# }
|
63
|
+
# @response = multi.multi_send params
|
62
64
|
# Description: Multi Message => Multi Number (Birden fazla farklı mesajı birden fazla farklı kişiye göndermeye yarar.)
|
63
65
|
|
64
66
|
def multi_send params
|
@@ -95,26 +97,5 @@ module Eniyismsapi
|
|
95
97
|
return r.request
|
96
98
|
end
|
97
99
|
|
98
|
-
# Usage: sms = IletimerkeziSMS::SMS.new("5545967632","5173539")
|
99
|
-
# sms.cancel("4152")
|
100
|
-
# Description: Gönderilen sms paketini iptal etmeye yarar.
|
101
|
-
# def cancel(order_id)
|
102
|
-
# path = "cancel-order"
|
103
|
-
# xml_build = Nokogiri::XML::Builder.new do |xlm|
|
104
|
-
# xlm.request {
|
105
|
-
# xlm.authentication {
|
106
|
-
# xlm.username @username
|
107
|
-
# xlm.password @password
|
108
|
-
# }
|
109
|
-
# xlm.order {
|
110
|
-
# xlm.id_ order_id.to_s
|
111
|
-
# }
|
112
|
-
# }
|
113
|
-
# end
|
114
|
-
# r = REQUEST.new(path,xml_build.to_xml)
|
115
|
-
# return r.request
|
116
|
-
# end
|
117
|
-
|
118
|
-
|
119
100
|
end
|
120
101
|
end
|
data/lib/eniyismsapi/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eniyismsapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emre KURT
|
@@ -85,83 +85,6 @@ files:
|
|
85
85
|
- lib/eniyismsapi/request.rb
|
86
86
|
- lib/eniyismsapi/send.rb
|
87
87
|
- lib/eniyismsapi/version.rb
|
88
|
-
- test/dummy/README.rdoc
|
89
|
-
- test/dummy/Rakefile
|
90
|
-
- test/dummy/app/assets/javascripts/application.js
|
91
|
-
- test/dummy/app/assets/javascripts/smstest.js
|
92
|
-
- test/dummy/app/assets/stylesheets/application.css
|
93
|
-
- test/dummy/app/assets/stylesheets/smstest.css
|
94
|
-
- test/dummy/app/controllers/application_controller.rb
|
95
|
-
- test/dummy/app/controllers/smstest_controller.rb
|
96
|
-
- test/dummy/app/helpers/application_helper.rb
|
97
|
-
- test/dummy/app/helpers/smstest_helper.rb
|
98
|
-
- test/dummy/app/views/layouts/application.html.erb
|
99
|
-
- test/dummy/app/views/smstest/home.html.erb
|
100
|
-
- test/dummy/bin/bundle
|
101
|
-
- test/dummy/bin/rails
|
102
|
-
- test/dummy/bin/rake
|
103
|
-
- test/dummy/bin/setup
|
104
|
-
- test/dummy/config.ru
|
105
|
-
- test/dummy/config/application.rb
|
106
|
-
- test/dummy/config/boot.rb
|
107
|
-
- test/dummy/config/database.yml
|
108
|
-
- test/dummy/config/environment.rb
|
109
|
-
- test/dummy/config/environments/development.rb
|
110
|
-
- test/dummy/config/environments/production.rb
|
111
|
-
- test/dummy/config/environments/test.rb
|
112
|
-
- test/dummy/config/initializers/assets.rb
|
113
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
114
|
-
- test/dummy/config/initializers/cookies_serializer.rb
|
115
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
116
|
-
- test/dummy/config/initializers/inflections.rb
|
117
|
-
- test/dummy/config/initializers/mime_types.rb
|
118
|
-
- test/dummy/config/initializers/session_store.rb
|
119
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
120
|
-
- test/dummy/config/locales/en.yml
|
121
|
-
- test/dummy/config/routes.rb
|
122
|
-
- test/dummy/config/secrets.yml
|
123
|
-
- test/dummy/db/development.sqlite3
|
124
|
-
- test/dummy/db/test.sqlite3
|
125
|
-
- test/dummy/log/development.log
|
126
|
-
- test/dummy/log/test.log
|
127
|
-
- test/dummy/public/404.html
|
128
|
-
- test/dummy/public/422.html
|
129
|
-
- test/dummy/public/500.html
|
130
|
-
- test/dummy/public/favicon.ico
|
131
|
-
- test/dummy/test/controllers/smstest_controller_test.rb
|
132
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/2V/2VCmtLBHaDkxVeAF1OHps3p_cSWA_kL9gqO5o14lrZw.cache
|
133
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/4g/4gsBiByraB2GGxpwGfYZ-FDTg-55g1SuqQQexyxLkUM.cache
|
134
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/4m/4mNRBrNByIZhSIGrZoatOzthEypSxNaxYIaqcAfIMFY.cache
|
135
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/56/561SK9MVmpHjuvyhsNK0VPzkdTMIBj6mLaSrYLbq-sE.cache
|
136
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache
|
137
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/5x/5xIQaRt4Sl1iPdJjVQ2UNLiJdoAgevhEYV5cTdwBESM.cache
|
138
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/C-/C-jYWXUZB3Qyk2L4QAkiyr1lsdTz1VkWkNO5dpA2xbY.cache
|
139
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/DS/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache
|
140
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/Ex/Ex6RtOPSE5cmYvinvwk2aHXFdtVVxCyiX9WguJlkaw8.cache
|
141
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/HC/HC73CMLvVlZSNgBAErDvjAvcP845em3U4hu1vZFcd4U.cache
|
142
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/Hu/HuhpBocRlFIzJAKry69L7u7cyXA1ex5Mo7lFWBF1o8E.cache
|
143
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/JL/JL9h1NrP3CM_njOMpJ9FNR1NtQu-iOfwV5LLA4IyeNA.cache
|
144
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/Kq/Kq_WbQm_5sn1FFQEVMrxiYIptkc7MwMIkqGwtsvXYNU.cache
|
145
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/ML/MLI8cujXvep44vCHddPC3T9LFlWMDUyrB3traB8ph8o.cache
|
146
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/MM/MMyL06F3k4oLEkWQjlXTVgLnA5pGogQgC7sXv6BefFY.cache
|
147
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache
|
148
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/PD/PD6mKQx9w43RGMmoAYqbot64WOc_YnRkZ8abCO76PSQ.cache
|
149
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/XK/XKMMBuV58Vh_YTkgNybz2HKlit1yGIUfmBM-cnSSCwM.cache
|
150
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/bI/bITz7EBRX5iKH56NzayOaNB2e43pEYwcBiUXCOTGl_s.cache
|
151
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/bs/bs0s2uDj_xLnObaFd3fT0Q4SZCgZGhzw0VV6dUapex4.cache
|
152
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/f0/f08zZ1vPja7lfHw9lzC1VmyULRsF20l-fR7rnk22vcw.cache
|
153
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/gZ/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache
|
154
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/gr/grRICJEifEGENnBOXkiFMpk1jXFX5d5VAaeRLgo2jHs.cache
|
155
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/hF/hFq8B-JgJk4NouMdZ_g6VC-RKO6b_g3ARLFfh7pM8dU.cache
|
156
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache
|
157
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/kC/kCZpeAfimeyRythEHL7sxye9VYD-8ROsB2qjiDD88j8.cache
|
158
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/oT/oTgCpfeuEaXyN2WrPzXpV2tXbr1cPRMCBgHpVe3JxSI.cache
|
159
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache
|
160
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/u0/u05BwImVFoX77OZegOjIqgXEWo-BJWRl5HXudNP1wOs.cache
|
161
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/yS/ySVb-wjRslagAHSDFJi0j-gNo8SHrdXG_8tV-fhodcg.cache
|
162
|
-
- test/dummy/tmp/pids/server.pid
|
163
|
-
- test/eniyismsapi_test.rb
|
164
|
-
- test/test_helper.rb
|
165
88
|
homepage: https://github.com/wemrekurt/eniyismsapi
|
166
89
|
licenses:
|
167
90
|
- MIT
|
@@ -186,81 +109,4 @@ rubygems_version: 2.4.8
|
|
186
109
|
signing_key:
|
187
110
|
specification_version: 4
|
188
111
|
summary: http://eniyisms.com/Api Eniyismsapi Ruby Gem.
|
189
|
-
test_files:
|
190
|
-
- test/dummy/Rakefile
|
191
|
-
- test/dummy/app/controllers/smstest_controller.rb
|
192
|
-
- test/dummy/app/controllers/application_controller.rb
|
193
|
-
- test/dummy/app/views/layouts/application.html.erb
|
194
|
-
- test/dummy/app/views/smstest/home.html.erb
|
195
|
-
- test/dummy/app/helpers/smstest_helper.rb
|
196
|
-
- test/dummy/app/helpers/application_helper.rb
|
197
|
-
- test/dummy/app/assets/javascripts/application.js
|
198
|
-
- test/dummy/app/assets/javascripts/smstest.js
|
199
|
-
- test/dummy/app/assets/stylesheets/application.css
|
200
|
-
- test/dummy/app/assets/stylesheets/smstest.css
|
201
|
-
- test/dummy/bin/setup
|
202
|
-
- test/dummy/bin/bundle
|
203
|
-
- test/dummy/bin/rails
|
204
|
-
- test/dummy/bin/rake
|
205
|
-
- test/dummy/README.rdoc
|
206
|
-
- test/dummy/tmp/pids/server.pid
|
207
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/4m/4mNRBrNByIZhSIGrZoatOzthEypSxNaxYIaqcAfIMFY.cache
|
208
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache
|
209
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/gr/grRICJEifEGENnBOXkiFMpk1jXFX5d5VAaeRLgo2jHs.cache
|
210
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/PD/PD6mKQx9w43RGMmoAYqbot64WOc_YnRkZ8abCO76PSQ.cache
|
211
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/MM/MMyL06F3k4oLEkWQjlXTVgLnA5pGogQgC7sXv6BefFY.cache
|
212
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/bI/bITz7EBRX5iKH56NzayOaNB2e43pEYwcBiUXCOTGl_s.cache
|
213
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/JL/JL9h1NrP3CM_njOMpJ9FNR1NtQu-iOfwV5LLA4IyeNA.cache
|
214
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/XK/XKMMBuV58Vh_YTkgNybz2HKlit1yGIUfmBM-cnSSCwM.cache
|
215
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/Hu/HuhpBocRlFIzJAKry69L7u7cyXA1ex5Mo7lFWBF1o8E.cache
|
216
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/yS/ySVb-wjRslagAHSDFJi0j-gNo8SHrdXG_8tV-fhodcg.cache
|
217
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/4g/4gsBiByraB2GGxpwGfYZ-FDTg-55g1SuqQQexyxLkUM.cache
|
218
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/gZ/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache
|
219
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/oT/oTgCpfeuEaXyN2WrPzXpV2tXbr1cPRMCBgHpVe3JxSI.cache
|
220
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache
|
221
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache
|
222
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/56/561SK9MVmpHjuvyhsNK0VPzkdTMIBj6mLaSrYLbq-sE.cache
|
223
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache
|
224
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/HC/HC73CMLvVlZSNgBAErDvjAvcP845em3U4hu1vZFcd4U.cache
|
225
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/DS/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache
|
226
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/5x/5xIQaRt4Sl1iPdJjVQ2UNLiJdoAgevhEYV5cTdwBESM.cache
|
227
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/Kq/Kq_WbQm_5sn1FFQEVMrxiYIptkc7MwMIkqGwtsvXYNU.cache
|
228
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/Ex/Ex6RtOPSE5cmYvinvwk2aHXFdtVVxCyiX9WguJlkaw8.cache
|
229
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/f0/f08zZ1vPja7lfHw9lzC1VmyULRsF20l-fR7rnk22vcw.cache
|
230
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/C-/C-jYWXUZB3Qyk2L4QAkiyr1lsdTz1VkWkNO5dpA2xbY.cache
|
231
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/kC/kCZpeAfimeyRythEHL7sxye9VYD-8ROsB2qjiDD88j8.cache
|
232
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/u0/u05BwImVFoX77OZegOjIqgXEWo-BJWRl5HXudNP1wOs.cache
|
233
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/ML/MLI8cujXvep44vCHddPC3T9LFlWMDUyrB3traB8ph8o.cache
|
234
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/2V/2VCmtLBHaDkxVeAF1OHps3p_cSWA_kL9gqO5o14lrZw.cache
|
235
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/hF/hFq8B-JgJk4NouMdZ_g6VC-RKO6b_g3ARLFfh7pM8dU.cache
|
236
|
-
- test/dummy/tmp/cache/assets/sprockets/v3.0/bs/bs0s2uDj_xLnObaFd3fT0Q4SZCgZGhzw0VV6dUapex4.cache
|
237
|
-
- test/dummy/config.ru
|
238
|
-
- test/dummy/test/controllers/smstest_controller_test.rb
|
239
|
-
- test/dummy/public/favicon.ico
|
240
|
-
- test/dummy/public/422.html
|
241
|
-
- test/dummy/public/500.html
|
242
|
-
- test/dummy/public/404.html
|
243
|
-
- test/dummy/config/environment.rb
|
244
|
-
- test/dummy/config/locales/en.yml
|
245
|
-
- test/dummy/config/secrets.yml
|
246
|
-
- test/dummy/config/application.rb
|
247
|
-
- test/dummy/config/initializers/session_store.rb
|
248
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
249
|
-
- test/dummy/config/initializers/assets.rb
|
250
|
-
- test/dummy/config/initializers/cookies_serializer.rb
|
251
|
-
- test/dummy/config/initializers/mime_types.rb
|
252
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
253
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
254
|
-
- test/dummy/config/initializers/inflections.rb
|
255
|
-
- test/dummy/config/boot.rb
|
256
|
-
- test/dummy/config/routes.rb
|
257
|
-
- test/dummy/config/environments/production.rb
|
258
|
-
- test/dummy/config/environments/test.rb
|
259
|
-
- test/dummy/config/environments/development.rb
|
260
|
-
- test/dummy/config/database.yml
|
261
|
-
- test/dummy/log/development.log
|
262
|
-
- test/dummy/log/test.log
|
263
|
-
- test/dummy/db/test.sqlite3
|
264
|
-
- test/dummy/db/development.sqlite3
|
265
|
-
- test/eniyismsapi_test.rb
|
266
|
-
- test/test_helper.rb
|
112
|
+
test_files: []
|
data/test/dummy/README.rdoc
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
== README
|
2
|
-
|
3
|
-
This README would normally document whatever steps are necessary to get the
|
4
|
-
application up and running.
|
5
|
-
|
6
|
-
Things you may want to cover:
|
7
|
-
|
8
|
-
* Ruby version
|
9
|
-
|
10
|
-
* System dependencies
|
11
|
-
|
12
|
-
* Configuration
|
13
|
-
|
14
|
-
* Database creation
|
15
|
-
|
16
|
-
* Database initialization
|
17
|
-
|
18
|
-
* How to run the test suite
|
19
|
-
|
20
|
-
* Services (job queues, cache servers, search engines, etc.)
|
21
|
-
|
22
|
-
* Deployment instructions
|
23
|
-
|
24
|
-
* ...
|
25
|
-
|
26
|
-
|
27
|
-
Please feel free to use a different markup language if you do not plan to run
|
28
|
-
<tt>rake doc:app</tt>.
|
data/test/dummy/Rakefile
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
-
// listed below.
|
3
|
-
//
|
4
|
-
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
-
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
|
6
|
-
//
|
7
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
-
// compiled file.
|
9
|
-
//
|
10
|
-
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
11
|
-
// about supported directives.
|
12
|
-
//
|
13
|
-
//= require_tree .
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
-
* listed below.
|
4
|
-
*
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
-
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
7
|
-
*
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
-
* compiled file so the styles you add here take precedence over styles defined in any styles
|
10
|
-
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
|
11
|
-
* file per style scope.
|
12
|
-
*
|
13
|
-
*= require_tree .
|
14
|
-
*= require_self
|
15
|
-
*/
|
@@ -1,37 +0,0 @@
|
|
1
|
-
class SmstestController < ApplicationController
|
2
|
-
require 'eniyismsapi'
|
3
|
-
|
4
|
-
def home
|
5
|
-
# 64335
|
6
|
-
report_object = Eniyismsapi::REPORT.new '5444059964', '123456'
|
7
|
-
rep = {msisdn: ' ', id:'64335'}
|
8
|
-
@a = report_object.report rep
|
9
|
-
|
10
|
-
bal = Eniyismsapi::REPORT.new '5444059964', '123456'
|
11
|
-
@b = bal.balance
|
12
|
-
#
|
13
|
-
# sen = Eniyismsapi::SMS.new '5444059964', '123456'
|
14
|
-
# params = {
|
15
|
-
# coding: 'Default',
|
16
|
-
# originator: 'EMRE KURT',
|
17
|
-
# message: 'Ruby Gem Test API',
|
18
|
-
# numbers: ['5444059964']
|
19
|
-
# }
|
20
|
-
# @send = sen.send params
|
21
|
-
|
22
|
-
multi = Eniyismsapi::SMS.new '5444059964', '123456'
|
23
|
-
params = {
|
24
|
-
coding: 'Default',
|
25
|
-
originator: 'EMRE KURT',
|
26
|
-
messages: [
|
27
|
-
{number: '5444059964', message: 'Emre Ruby GEM Api Test'},
|
28
|
-
{number: '5424891217', message: 'Samet Ruby GEM Api Test (Mesaj ulastiysa eline haber ver bana)'}
|
29
|
-
]
|
30
|
-
}
|
31
|
-
|
32
|
-
@mul = multi.multi_send params
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
end
|
37
|
-
end
|
@@ -1,14 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Dummy</title>
|
5
|
-
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
|
6
|
-
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
|
7
|
-
<%= csrf_meta_tags %>
|
8
|
-
</head>
|
9
|
-
<body>
|
10
|
-
|
11
|
-
<%= yield %>
|
12
|
-
|
13
|
-
</body>
|
14
|
-
</html>
|
data/test/dummy/bin/bundle
DELETED
data/test/dummy/bin/rails
DELETED
data/test/dummy/bin/rake
DELETED
data/test/dummy/bin/setup
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require 'pathname'
|
3
|
-
|
4
|
-
# path to your application root.
|
5
|
-
APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
|
6
|
-
|
7
|
-
Dir.chdir APP_ROOT do
|
8
|
-
# This script is a starting point to setup your application.
|
9
|
-
# Add necessary setup steps to this file:
|
10
|
-
|
11
|
-
puts "== Installing dependencies =="
|
12
|
-
system "gem install bundler --conservative"
|
13
|
-
system "bundle check || bundle install"
|
14
|
-
|
15
|
-
# puts "\n== Copying sample files =="
|
16
|
-
# unless File.exist?("config/database.yml")
|
17
|
-
# system "cp config/database.yml.sample config/database.yml"
|
18
|
-
# end
|
19
|
-
|
20
|
-
puts "\n== Preparing database =="
|
21
|
-
system "bin/rake db:setup"
|
22
|
-
|
23
|
-
puts "\n== Removing old logs and tempfiles =="
|
24
|
-
system "rm -f log/*"
|
25
|
-
system "rm -rf tmp/cache"
|
26
|
-
|
27
|
-
puts "\n== Restarting application server =="
|
28
|
-
system "touch tmp/restart.txt"
|
29
|
-
end
|
@@ -1,26 +0,0 @@
|
|
1
|
-
require File.expand_path('../boot', __FILE__)
|
2
|
-
|
3
|
-
require 'rails/all'
|
4
|
-
|
5
|
-
Bundler.require(*Rails.groups)
|
6
|
-
require "eniyismsapi"
|
7
|
-
|
8
|
-
module Dummy
|
9
|
-
class Application < Rails::Application
|
10
|
-
# Settings in config/environments/* take precedence over those specified here.
|
11
|
-
# Application configuration should go into files in config/initializers
|
12
|
-
# -- all .rb files in that directory are automatically loaded.
|
13
|
-
|
14
|
-
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
15
|
-
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
16
|
-
# config.time_zone = 'Central Time (US & Canada)'
|
17
|
-
|
18
|
-
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
19
|
-
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
20
|
-
# config.i18n.default_locale = :de
|
21
|
-
|
22
|
-
# Do not swallow errors in after_commit/after_rollback callbacks.
|
23
|
-
config.active_record.raise_in_transactional_callbacks = true
|
24
|
-
end
|
25
|
-
end
|
26
|
-
|
data/test/dummy/config/boot.rb
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
# SQLite version 3.x
|
2
|
-
# gem install sqlite3
|
3
|
-
#
|
4
|
-
# Ensure the SQLite 3 gem is defined in your Gemfile
|
5
|
-
# gem 'sqlite3'
|
6
|
-
#
|
7
|
-
default: &default
|
8
|
-
adapter: sqlite3
|
9
|
-
pool: 5
|
10
|
-
timeout: 5000
|
11
|
-
|
12
|
-
development:
|
13
|
-
<<: *default
|
14
|
-
database: db/development.sqlite3
|
15
|
-
|
16
|
-
# Warning: The database defined as "test" will be erased and
|
17
|
-
# re-generated from your development database when you run "rake".
|
18
|
-
# Do not set this db to the same as development or production.
|
19
|
-
test:
|
20
|
-
<<: *default
|
21
|
-
database: db/test.sqlite3
|
22
|
-
|
23
|
-
production:
|
24
|
-
<<: *default
|
25
|
-
database: db/production.sqlite3
|
@@ -1,41 +0,0 @@
|
|
1
|
-
Rails.application.configure do
|
2
|
-
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
-
|
4
|
-
# In the development environment your application's code is reloaded on
|
5
|
-
# every request. This slows down response time but is perfect for development
|
6
|
-
# since you don't have to restart the web server when you make code changes.
|
7
|
-
config.cache_classes = false
|
8
|
-
|
9
|
-
# Do not eager load code on boot.
|
10
|
-
config.eager_load = false
|
11
|
-
|
12
|
-
# Show full error reports and disable caching.
|
13
|
-
config.consider_all_requests_local = true
|
14
|
-
config.action_controller.perform_caching = false
|
15
|
-
|
16
|
-
# Don't care if the mailer can't send.
|
17
|
-
config.action_mailer.raise_delivery_errors = false
|
18
|
-
|
19
|
-
# Print deprecation notices to the Rails logger.
|
20
|
-
config.active_support.deprecation = :log
|
21
|
-
|
22
|
-
# Raise an error on page load if there are pending migrations.
|
23
|
-
config.active_record.migration_error = :page_load
|
24
|
-
|
25
|
-
# Debug mode disables concatenation and preprocessing of assets.
|
26
|
-
# This option may cause significant delays in view rendering with a large
|
27
|
-
# number of complex assets.
|
28
|
-
config.assets.debug = true
|
29
|
-
|
30
|
-
# Asset digests allow you to set far-future HTTP expiration dates on all assets,
|
31
|
-
# yet still be able to expire them through the digest params.
|
32
|
-
config.assets.digest = true
|
33
|
-
|
34
|
-
# Adds additional error checking when serving assets at runtime.
|
35
|
-
# Checks for improperly declared sprockets dependencies.
|
36
|
-
# Raises helpful error messages.
|
37
|
-
config.assets.raise_runtime_errors = true
|
38
|
-
|
39
|
-
# Raises error for missing translations
|
40
|
-
# config.action_view.raise_on_missing_translations = true
|
41
|
-
end
|
@@ -1,79 +0,0 @@
|
|
1
|
-
Rails.application.configure do
|
2
|
-
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
-
|
4
|
-
# Code is not reloaded between requests.
|
5
|
-
config.cache_classes = true
|
6
|
-
|
7
|
-
# Eager load code on boot. This eager loads most of Rails and
|
8
|
-
# your application in memory, allowing both threaded web servers
|
9
|
-
# and those relying on copy on write to perform better.
|
10
|
-
# Rake tasks automatically ignore this option for performance.
|
11
|
-
config.eager_load = true
|
12
|
-
|
13
|
-
# Full error reports are disabled and caching is turned on.
|
14
|
-
config.consider_all_requests_local = false
|
15
|
-
config.action_controller.perform_caching = true
|
16
|
-
|
17
|
-
# Enable Rack::Cache to put a simple HTTP cache in front of your application
|
18
|
-
# Add `rack-cache` to your Gemfile before enabling this.
|
19
|
-
# For large-scale production use, consider using a caching reverse proxy like
|
20
|
-
# NGINX, varnish or squid.
|
21
|
-
# config.action_dispatch.rack_cache = true
|
22
|
-
|
23
|
-
# Disable serving static files from the `/public` folder by default since
|
24
|
-
# Apache or NGINX already handles this.
|
25
|
-
config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
|
26
|
-
|
27
|
-
# Compress JavaScripts and CSS.
|
28
|
-
config.assets.js_compressor = :uglifier
|
29
|
-
# config.assets.css_compressor = :sass
|
30
|
-
|
31
|
-
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
32
|
-
config.assets.compile = false
|
33
|
-
|
34
|
-
# Asset digests allow you to set far-future HTTP expiration dates on all assets,
|
35
|
-
# yet still be able to expire them through the digest params.
|
36
|
-
config.assets.digest = true
|
37
|
-
|
38
|
-
# `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
|
39
|
-
|
40
|
-
# Specifies the header that your server uses for sending files.
|
41
|
-
# config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
|
42
|
-
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
|
43
|
-
|
44
|
-
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
45
|
-
# config.force_ssl = true
|
46
|
-
|
47
|
-
# Use the lowest log level to ensure availability of diagnostic information
|
48
|
-
# when problems arise.
|
49
|
-
config.log_level = :debug
|
50
|
-
|
51
|
-
# Prepend all log lines with the following tags.
|
52
|
-
# config.log_tags = [ :subdomain, :uuid ]
|
53
|
-
|
54
|
-
# Use a different logger for distributed setups.
|
55
|
-
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
|
56
|
-
|
57
|
-
# Use a different cache store in production.
|
58
|
-
# config.cache_store = :mem_cache_store
|
59
|
-
|
60
|
-
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
|
61
|
-
# config.action_controller.asset_host = 'http://assets.example.com'
|
62
|
-
|
63
|
-
# Ignore bad email addresses and do not raise email delivery errors.
|
64
|
-
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
|
65
|
-
# config.action_mailer.raise_delivery_errors = false
|
66
|
-
|
67
|
-
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
68
|
-
# the I18n.default_locale when a translation cannot be found).
|
69
|
-
config.i18n.fallbacks = true
|
70
|
-
|
71
|
-
# Send deprecation notices to registered listeners.
|
72
|
-
config.active_support.deprecation = :notify
|
73
|
-
|
74
|
-
# Use default logging formatter so that PID and timestamp are not suppressed.
|
75
|
-
config.log_formatter = ::Logger::Formatter.new
|
76
|
-
|
77
|
-
# Do not dump schema after migrations.
|
78
|
-
config.active_record.dump_schema_after_migration = false
|
79
|
-
end
|