action_smser 3.4.1 → 4.0.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 +4 -4
- data/lib/action_smser/version.rb +1 -1
- metadata +25 -120
- data/test/action_smser_test.rb +0 -8
- data/test/dummy/Rakefile +0 -7
- data/test/dummy/app/assets/config/manifest.js +0 -1
- data/test/dummy/app/assets/javascripts/application.js +0 -7
- data/test/dummy/app/assets/stylesheets/application.css +0 -7
- data/test/dummy/app/controllers/application_controller.rb +0 -3
- data/test/dummy/app/helpers/application_helper.rb +0 -2
- data/test/dummy/app/mailers/hello_smser.rb +0 -14
- data/test/dummy/app/views/layouts/application.html.erb +0 -14
- data/test/dummy/config/application.rb +0 -40
- data/test/dummy/config/boot.rb +0 -10
- data/test/dummy/config/database.yml +0 -26
- data/test/dummy/config/environment.rb +0 -5
- data/test/dummy/config/environments/development.rb +0 -32
- data/test/dummy/config/environments/production.rb +0 -60
- data/test/dummy/config/environments/test.rb +0 -42
- data/test/dummy/config/initializers/action_smser.rb +0 -11
- data/test/dummy/config/initializers/assets.rb +0 -12
- data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/test/dummy/config/initializers/git_ignored_passwords.rb +0 -15
- data/test/dummy/config/initializers/inflections.rb +0 -10
- data/test/dummy/config/initializers/mime_types.rb +0 -5
- data/test/dummy/config/initializers/secret_token.rb +0 -7
- data/test/dummy/config/initializers/session_store.rb +0 -8
- data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/test/dummy/config/locales/en.yml +0 -5
- data/test/dummy/config/routes.rb +0 -4
- 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/production.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +0 -34
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +0 -9632
- data/test/dummy/public/404.html +0 -26
- data/test/dummy/public/422.html +0 -26
- data/test/dummy/public/500.html +0 -26
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +0 -6
- data/test/functional/action_smser/delivery_reports_controller_test.rb +0 -148
- data/test/integration/navigation_test.rb +0 -11
- data/test/test_helper.rb +0 -28
- data/test/unit/action_smser/base_test.rb +0 -105
- data/test/unit/action_smser/delivery_methods/delayed_job_test.rb +0 -53
- data/test/unit/action_smser/delivery_methods/nexmo_test.rb +0 -97
- data/test/unit/action_smser/delivery_methods/simple_http_test.rb +0 -48
- data/test/unit/action_smser/delivery_methods/smstrade_test.rb +0 -68
- data/test/unit/action_smser/delivery_methods/test_array_test.rb +0 -42
- data/test/unit/action_smser/delivery_report_test.rb +0 -100
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
|
2
|
-
|
|
3
|
-
Dummy::Application.config.session_store :cookie_store, :key => '_dummy_session'
|
|
4
|
-
|
|
5
|
-
# Use the database for sessions instead of the cookie-based default,
|
|
6
|
-
# which shouldn't be used to store highly confidential information
|
|
7
|
-
# (create the session table with "rails generate session_migration")
|
|
8
|
-
# Dummy::Application.config.session_store :active_record_store
|
|
@@ -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]
|
|
9
|
-
end
|
|
10
|
-
|
|
11
|
-
# Disable root element in JSON by default.
|
|
12
|
-
ActiveSupport.on_load(:active_record) do
|
|
13
|
-
self.include_root_in_json = false
|
|
14
|
-
end
|
data/test/dummy/config/routes.rb
DELETED
|
@@ -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: 2f27d866330c869a1776a0fae46509c39183c2f8395bf4c37dca319b4bb5cdba8574d1b70994831c5791c0f646935a6db7be14e1c0be82d994148e10e8f6bdd4
|
|
15
|
-
|
|
16
|
-
test:
|
|
17
|
-
secret_key_base: a4ad8b210ae43305955732fcf9046d87424f0a376df13a8067c4bf0197cf27b8578f9b0c6fc0f32e02130d72d88bded2e8d5f054aebc8c29278700a658d29b10
|
|
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
|
Binary file
|
|
Binary file
|
data/test/dummy/db/schema.rb
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# encoding: UTF-8
|
|
2
|
-
# This file is auto-generated from the current state of the database. Instead
|
|
3
|
-
# of editing this file, please use the migrations feature of Active Record to
|
|
4
|
-
# incrementally modify your database, and then regenerate this schema definition.
|
|
5
|
-
#
|
|
6
|
-
# Note that this schema.rb definition is the authoritative source for your
|
|
7
|
-
# database schema. If you need to create the application database on another
|
|
8
|
-
# system, you should be using db:schema:load, not running all the migrations
|
|
9
|
-
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
|
10
|
-
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
|
11
|
-
#
|
|
12
|
-
# It's strongly recommended that you check this file into your version control system.
|
|
13
|
-
|
|
14
|
-
ActiveRecord::Schema.define(version: 20120102215215) do
|
|
15
|
-
|
|
16
|
-
create_table "action_smser_delivery_reports", force: :cascade do |t|
|
|
17
|
-
t.string "msg_id"
|
|
18
|
-
t.string "status"
|
|
19
|
-
t.datetime "status_updated_at"
|
|
20
|
-
t.string "sms_type"
|
|
21
|
-
t.text "log"
|
|
22
|
-
t.string "to"
|
|
23
|
-
t.string "from"
|
|
24
|
-
t.string "body"
|
|
25
|
-
t.string "gateway"
|
|
26
|
-
t.integer "re_delivery_of_delivery_report_id"
|
|
27
|
-
t.boolean "re_delivered"
|
|
28
|
-
t.datetime "created_at"
|
|
29
|
-
t.datetime "updated_at"
|
|
30
|
-
end
|
|
31
|
-
|
|
32
|
-
add_index "action_smser_delivery_reports", ["msg_id"], name: "index_action_smser_delivery_reports_on_msg_id"
|
|
33
|
-
|
|
34
|
-
end
|
data/test/dummy/db/test.sqlite3
DELETED
|
Binary file
|