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
@@ -1,42 +0,0 @@
|
|
1
|
-
Rails.application.configure do
|
2
|
-
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
-
|
4
|
-
# The test environment is used exclusively to run your application's
|
5
|
-
# test suite. You never need to work with it otherwise. Remember that
|
6
|
-
# your test database is "scratch space" for the test suite and is wiped
|
7
|
-
# and recreated between test runs. Don't rely on the data there!
|
8
|
-
config.cache_classes = true
|
9
|
-
|
10
|
-
# Do not eager load code on boot. This avoids loading your whole application
|
11
|
-
# just for the purpose of running a single test. If you are using a tool that
|
12
|
-
# preloads Rails for running tests, you may have to set it to true.
|
13
|
-
config.eager_load = false
|
14
|
-
|
15
|
-
# Configure static file server for tests with Cache-Control for performance.
|
16
|
-
config.serve_static_files = true
|
17
|
-
config.static_cache_control = 'public, max-age=3600'
|
18
|
-
|
19
|
-
# Show full error reports and disable caching.
|
20
|
-
config.consider_all_requests_local = true
|
21
|
-
config.action_controller.perform_caching = false
|
22
|
-
|
23
|
-
# Raise exceptions instead of rendering exception templates.
|
24
|
-
config.action_dispatch.show_exceptions = false
|
25
|
-
|
26
|
-
# Disable request forgery protection in test environment.
|
27
|
-
config.action_controller.allow_forgery_protection = false
|
28
|
-
|
29
|
-
# Tell Action Mailer not to deliver emails to the real world.
|
30
|
-
# The :test delivery method accumulates sent emails in the
|
31
|
-
# ActionMailer::Base.deliveries array.
|
32
|
-
config.action_mailer.delivery_method = :test
|
33
|
-
|
34
|
-
# Randomize the order test cases are executed.
|
35
|
-
config.active_support.test_order = :random
|
36
|
-
|
37
|
-
# Print deprecation notices to the stderr.
|
38
|
-
config.active_support.deprecation = :stderr
|
39
|
-
|
40
|
-
# Raises error for missing translations
|
41
|
-
# config.action_view.raise_on_missing_translations = true
|
42
|
-
end
|
@@ -1,11 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# Version of your assets, change this if you want to expire all your assets.
|
4
|
-
Rails.application.config.assets.version = '1.0'
|
5
|
-
|
6
|
-
# Add additional assets to the asset load path
|
7
|
-
# Rails.application.config.assets.paths << Emoji.images_path
|
8
|
-
|
9
|
-
# Precompile additional assets.
|
10
|
-
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
11
|
-
# Rails.application.config.assets.precompile += %w( search.js )
|
@@ -1,7 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
-
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
-
|
6
|
-
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
-
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -1,16 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# Add new inflection rules using the following format. Inflections
|
4
|
-
# are locale specific, and you may define rules for as many different
|
5
|
-
# locales as you wish. All of these examples are active by default:
|
6
|
-
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
7
|
-
# inflect.plural /^(ox)$/i, '\1en'
|
8
|
-
# inflect.singular /^(ox)en/i, '\1'
|
9
|
-
# inflect.irregular 'person', 'people'
|
10
|
-
# inflect.uncountable %w( fish sheep )
|
11
|
-
# end
|
12
|
-
|
13
|
-
# These inflection rules are supported but not enabled by default:
|
14
|
-
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
15
|
-
# inflect.acronym 'RESTful'
|
16
|
-
# end
|
@@ -1,14 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
-
# is enabled by default.
|
5
|
-
|
6
|
-
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
-
ActiveSupport.on_load(:action_controller) do
|
8
|
-
wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
|
9
|
-
end
|
10
|
-
|
11
|
-
# To enable root element in JSON for ActiveRecord objects.
|
12
|
-
# ActiveSupport.on_load(:active_record) do
|
13
|
-
# self.include_root_in_json = true
|
14
|
-
# end
|
@@ -1,23 +0,0 @@
|
|
1
|
-
# Files in the config/locales directory are used for internationalization
|
2
|
-
# and are automatically loaded by Rails. If you want to use locales other
|
3
|
-
# than English, add the necessary files in this directory.
|
4
|
-
#
|
5
|
-
# To use the locales, use `I18n.t`:
|
6
|
-
#
|
7
|
-
# I18n.t 'hello'
|
8
|
-
#
|
9
|
-
# In views, this is aliased to just `t`:
|
10
|
-
#
|
11
|
-
# <%= t('hello') %>
|
12
|
-
#
|
13
|
-
# To use a different locale, set it with `I18n.locale`:
|
14
|
-
#
|
15
|
-
# I18n.locale = :es
|
16
|
-
#
|
17
|
-
# This would use the information in config/locales/es.yml.
|
18
|
-
#
|
19
|
-
# To learn more, please read the Rails Internationalization guide
|
20
|
-
# available at http://guides.rubyonrails.org/i18n.html.
|
21
|
-
|
22
|
-
en:
|
23
|
-
hello: "Hello world"
|
data/test/dummy/config/routes.rb
DELETED
@@ -1,58 +0,0 @@
|
|
1
|
-
Rails.application.routes.draw do
|
2
|
-
get 'smstest/home'
|
3
|
-
|
4
|
-
# The priority is based upon order of creation: first created -> highest priority.
|
5
|
-
# See how all your routes lay out with "rake routes".
|
6
|
-
|
7
|
-
# You can have the root of your site routed with "root"
|
8
|
-
root 'smstest#home'
|
9
|
-
|
10
|
-
# Example of regular route:
|
11
|
-
# get 'products/:id' => 'catalog#view'
|
12
|
-
|
13
|
-
# Example of named route that can be invoked with purchase_url(id: product.id)
|
14
|
-
# get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
|
15
|
-
|
16
|
-
# Example resource route (maps HTTP verbs to controller actions automatically):
|
17
|
-
# resources :products
|
18
|
-
|
19
|
-
# Example resource route with options:
|
20
|
-
# resources :products do
|
21
|
-
# member do
|
22
|
-
# get 'short'
|
23
|
-
# post 'toggle'
|
24
|
-
# end
|
25
|
-
#
|
26
|
-
# collection do
|
27
|
-
# get 'sold'
|
28
|
-
# end
|
29
|
-
# end
|
30
|
-
|
31
|
-
# Example resource route with sub-resources:
|
32
|
-
# resources :products do
|
33
|
-
# resources :comments, :sales
|
34
|
-
# resource :seller
|
35
|
-
# end
|
36
|
-
|
37
|
-
# Example resource route with more complex sub-resources:
|
38
|
-
# resources :products do
|
39
|
-
# resources :comments
|
40
|
-
# resources :sales do
|
41
|
-
# get 'recent', on: :collection
|
42
|
-
# end
|
43
|
-
# end
|
44
|
-
|
45
|
-
# Example resource route with concerns:
|
46
|
-
# concern :toggleable do
|
47
|
-
# post 'toggle'
|
48
|
-
# end
|
49
|
-
# resources :posts, concerns: :toggleable
|
50
|
-
# resources :photos, concerns: :toggleable
|
51
|
-
|
52
|
-
# Example resource route within a namespace:
|
53
|
-
# namespace :admin do
|
54
|
-
# # Directs /admin/products/* to Admin::ProductsController
|
55
|
-
# # (app/controllers/admin/products_controller.rb)
|
56
|
-
# resources :products
|
57
|
-
# end
|
58
|
-
end
|
@@ -1,22 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# Your secret key is used for verifying the integrity of signed cookies.
|
4
|
-
# If you change this key, all old signed cookies will become invalid!
|
5
|
-
|
6
|
-
# Make sure the secret is at least 30 characters and all random,
|
7
|
-
# no regular words or you'll be exposed to dictionary attacks.
|
8
|
-
# You can use `rake secret` to generate a secure secret key.
|
9
|
-
|
10
|
-
# Make sure the secrets in this file are kept private
|
11
|
-
# if you're sharing your code publicly.
|
12
|
-
|
13
|
-
development:
|
14
|
-
secret_key_base: 55ad74df10e4c17ad04d98d869815792b0990e67fce3468e52b9da8c8e8e66015a828a1aee24d978bcbb430e357b0816214021ad50dc39f335fee7c027c7266f
|
15
|
-
|
16
|
-
test:
|
17
|
-
secret_key_base: ece3e067636beba41990b94bb47edfd9b233a78cecce1f88c741b57c53692d96411ef1904a3c3e2299b6e50790b6b997bbad282860a4b426faa876de5ae3f2a0
|
18
|
-
|
19
|
-
# Do not keep production secrets in the repository,
|
20
|
-
# instead read values from the environment.
|
21
|
-
production:
|
22
|
-
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
data/test/dummy/config.ru
DELETED
File without changes
|
data/test/dummy/db/test.sqlite3
DELETED
File without changes
|