killbill-avatax 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -5
- data/app/assets/javascripts/application.js +0 -6
- data/app/assets/stylesheets/application.css +1 -1
- data/app/assets/stylesheets/bootstrap_and_overrides.css +0 -4
- data/app/controllers/avatax/configuration_controller.rb +1 -1
- data/lib/avatax/engine.rb +3 -4
- data/lib/avatax/version.rb +1 -1
- data/test/avatax_test.rb +2 -1
- data/test/dummy/bin/rails +1 -1
- data/test/dummy/bin/setup +21 -12
- data/test/dummy/bin/update +29 -0
- data/test/dummy/bin/yarn +11 -0
- data/test/dummy/config/application.rb +14 -20
- data/test/dummy/config/boot.rb +2 -4
- data/test/dummy/config/environment.rb +1 -1
- data/test/dummy/config/environments/development.rb +26 -13
- data/test/dummy/config/environments/production.rb +29 -17
- data/test/dummy/config/environments/test.rb +7 -7
- data/test/dummy/config/initializers/application_controller_renderer.rb +6 -0
- data/test/dummy/config/initializers/assets.rb +6 -3
- data/test/dummy/config/initializers/cookies_serializer.rb +2 -0
- data/test/dummy/config/initializers/new_framework_defaults_5_1.rb +14 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +2 -2
- data/test/dummy/config/locales/en.yml +10 -0
- data/test/dummy/config/secrets.yml +15 -5
- data/test/integration/navigation_test.rb +12 -3
- data/test/test_helper.rb +0 -2
- metadata +68 -244
- data/test/dummy/config/database.yml +0 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed75ee5c1c2f516b27653d8637450884bec662ee
|
4
|
+
data.tar.gz: 41ac07257f67ba73ca6de8a3badfb24d1804a564
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41e61ad758ebc8da02ff220f243836989ece838fbd39cc8c04d573927648a39d0fb9bd792977e62ca4edc8a945468f07bbd241c8edbe64022fd4b34a4a3a6893
|
7
|
+
data.tar.gz: 4d9f72ad79daba87e81f952326d43487553ce59e5d06992b7dcc4d6844d6f30ef547437abf5f5e0224f390ead83e1251b146cdb88528442e874ec570f4afbba9
|
data/README.md
CHANGED
@@ -13,7 +13,8 @@ Kill Bill compatibility
|
|
13
13
|
| Avatax UI version | Kill Bill version |
|
14
14
|
| ----------------: | ----------------: |
|
15
15
|
| 0.0.y | 0.16.z |
|
16
|
-
| 0.1.y | 0.18.z
|
16
|
+
| 0.1.y | 0.18.z (Rails 4) |
|
17
|
+
| 0.2.y | 0.18.z (Rails 5) |
|
17
18
|
|
18
19
|
Functionality
|
19
20
|
-------------
|
@@ -40,8 +41,12 @@ KillBillClient.api_secret = 'lazar'
|
|
40
41
|
Then, simply run:
|
41
42
|
|
42
43
|
```
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
44
|
+
rails s
|
45
|
+
```
|
46
|
+
|
47
|
+
|
48
|
+
To run tests:
|
49
|
+
|
50
|
+
```
|
51
|
+
rails t
|
47
52
|
```
|
@@ -10,15 +10,9 @@
|
|
10
10
|
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
11
11
|
// about supported directives.
|
12
12
|
//
|
13
|
-
//= require js-routes
|
14
|
-
//= require moment
|
15
|
-
//= require spin
|
16
13
|
//= require jquery
|
17
14
|
//= require jquery_ujs
|
18
15
|
//= require twitter/bootstrap
|
19
16
|
//= require dataTables/jquery.dataTables
|
20
17
|
//= require dataTables/bootstrap/3/jquery.dataTables.bootstrap
|
21
|
-
//= require d3
|
22
|
-
//= require bootstrap-datepicker
|
23
|
-
//= require jquery.spin
|
24
18
|
//= require avatax/avatax
|
@@ -11,9 +11,9 @@
|
|
11
11
|
* file per style scope.
|
12
12
|
*
|
13
13
|
*= require_self
|
14
|
-
*= require bootstrap-datepicker3
|
15
14
|
*= require dataTables/jquery.dataTables
|
16
15
|
*= require dataTables/bootstrap/3/jquery.dataTables.bootstrap
|
16
|
+
*= require font-awesome
|
17
17
|
*= require bootstrap_and_overrides
|
18
18
|
*= require avatax/avatax
|
19
19
|
*/
|
@@ -1,9 +1,5 @@
|
|
1
1
|
/*
|
2
2
|
*= require twitter-bootstrap-static/bootstrap
|
3
|
-
*
|
4
|
-
* Use Font Awesome icons (default)
|
5
|
-
* To use Glyphicons sprites instead of Font Awesome, replace with "require twitter-bootstrap-static/sprites"
|
6
|
-
*= require twitter-bootstrap-static/fontawesome
|
7
3
|
*/
|
8
4
|
|
9
5
|
/* Override Bootstrap 3 font locations */
|
@@ -13,7 +13,7 @@ module Avatax
|
|
13
13
|
#
|
14
14
|
|
15
15
|
def set_tax_code
|
16
|
-
@products = KillBillClient::Model::Catalog.simple_catalog(options_for_klient).products.map(&:name)
|
16
|
+
@products = KillBillClient::Model::Catalog.simple_catalog(options_for_klient).last.products.map(&:name)
|
17
17
|
end
|
18
18
|
|
19
19
|
def do_set_tax_code
|
data/lib/avatax/engine.rb
CHANGED
@@ -6,14 +6,13 @@
|
|
6
6
|
# See also https://github.com/carlhuda/bundler/issues/49
|
7
7
|
require 'jquery-rails'
|
8
8
|
require 'jquery-datatables-rails'
|
9
|
-
require '
|
10
|
-
require '
|
11
|
-
require 'momentjs-rails'
|
12
|
-
require 'spinjs-rails'
|
9
|
+
require 'font-awesome-rails'
|
10
|
+
require 'twitter-bootstrap-rails'
|
13
11
|
require 'killbill_client'
|
14
12
|
|
15
13
|
module Avatax
|
16
14
|
class Engine < ::Rails::Engine
|
15
|
+
|
17
16
|
isolate_namespace Avatax
|
18
17
|
end
|
19
18
|
end
|
data/lib/avatax/version.rb
CHANGED
data/test/avatax_test.rb
CHANGED
data/test/dummy/bin/rails
CHANGED
data/test/dummy/bin/setup
CHANGED
@@ -1,29 +1,38 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
require 'pathname'
|
3
|
+
require 'fileutils'
|
4
|
+
include FileUtils
|
3
5
|
|
4
6
|
# path to your application root.
|
5
|
-
APP_ROOT = Pathname.new File.expand_path('../../',
|
7
|
+
APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
|
6
8
|
|
7
|
-
|
9
|
+
def system!(*args)
|
10
|
+
system(*args) || abort("\n== Command #{args} failed ==")
|
11
|
+
end
|
12
|
+
|
13
|
+
chdir APP_ROOT do
|
8
14
|
# This script is a starting point to setup your application.
|
9
|
-
# Add necessary setup steps to this file
|
15
|
+
# Add necessary setup steps to this file.
|
16
|
+
|
17
|
+
puts '== Installing dependencies =='
|
18
|
+
system! 'gem install bundler --conservative'
|
19
|
+
system('bundle check') || system!('bundle install')
|
20
|
+
|
21
|
+
# Install JavaScript dependencies if using Yarn
|
22
|
+
# system('bin/yarn')
|
10
23
|
|
11
|
-
puts "== Installing dependencies =="
|
12
|
-
system "gem install bundler --conservative"
|
13
|
-
system "bundle check || bundle install"
|
14
24
|
|
15
25
|
# puts "\n== Copying sample files =="
|
16
|
-
# unless File.exist?(
|
17
|
-
#
|
26
|
+
# unless File.exist?('config/database.yml')
|
27
|
+
# cp 'config/database.yml.sample', 'config/database.yml'
|
18
28
|
# end
|
19
29
|
|
20
30
|
puts "\n== Preparing database =="
|
21
|
-
system
|
31
|
+
system! 'bin/rails db:setup'
|
22
32
|
|
23
33
|
puts "\n== Removing old logs and tempfiles =="
|
24
|
-
system
|
25
|
-
system "rm -rf tmp/cache"
|
34
|
+
system! 'bin/rails log:clear tmp:clear'
|
26
35
|
|
27
36
|
puts "\n== Restarting application server =="
|
28
|
-
system
|
37
|
+
system! 'bin/rails restart'
|
29
38
|
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'pathname'
|
3
|
+
require 'fileutils'
|
4
|
+
include FileUtils
|
5
|
+
|
6
|
+
# path to your application root.
|
7
|
+
APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
|
8
|
+
|
9
|
+
def system!(*args)
|
10
|
+
system(*args) || abort("\n== Command #{args} failed ==")
|
11
|
+
end
|
12
|
+
|
13
|
+
chdir APP_ROOT do
|
14
|
+
# This script is a way to update your development environment automatically.
|
15
|
+
# Add necessary update steps to this file.
|
16
|
+
|
17
|
+
puts '== Installing dependencies =='
|
18
|
+
system! 'gem install bundler --conservative'
|
19
|
+
system('bundle check') || system!('bundle install')
|
20
|
+
|
21
|
+
puts "\n== Updating database =="
|
22
|
+
system! 'bin/rails db:migrate'
|
23
|
+
|
24
|
+
puts "\n== Removing old logs and tempfiles =="
|
25
|
+
system! 'bin/rails log:clear tmp:clear'
|
26
|
+
|
27
|
+
puts "\n== Restarting application server =="
|
28
|
+
system! 'bin/rails restart'
|
29
|
+
end
|
data/test/dummy/bin/yarn
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
VENDOR_PATH = File.expand_path('..', __dir__)
|
3
|
+
Dir.chdir(VENDOR_PATH) do
|
4
|
+
begin
|
5
|
+
exec "yarnpkg #{ARGV.join(" ")}"
|
6
|
+
rescue Errno::ENOENT
|
7
|
+
$stderr.puts "Yarn executable was not detected in the system."
|
8
|
+
$stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install"
|
9
|
+
exit 1
|
10
|
+
end
|
11
|
+
end
|
@@ -1,32 +1,26 @@
|
|
1
|
-
|
1
|
+
require_relative 'boot'
|
2
2
|
|
3
|
-
require '
|
3
|
+
require 'action_controller/railtie'
|
4
|
+
require 'action_view/railtie'
|
5
|
+
require 'rails/test_unit/railtie'
|
6
|
+
require 'sprockets/railtie'
|
4
7
|
|
8
|
+
# Require the gems listed in Gemfile, including any gems
|
9
|
+
# you've limited to :test, :development, or :production.
|
5
10
|
Bundler.require(*Rails.groups)
|
6
|
-
require "avatax"
|
7
11
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
require "js-routes"
|
12
|
+
#
|
13
|
+
# Required to load the Avatax UI engine into the dummy app
|
14
|
+
#
|
15
|
+
require File.expand_path('../../../../lib/avatax.rb', __FILE__)
|
13
16
|
|
14
17
|
module Dummy
|
15
18
|
class Application < Rails::Application
|
19
|
+
# Initialize configuration defaults for originally generated Rails version.
|
20
|
+
config.load_defaults 5.1
|
21
|
+
|
16
22
|
# Settings in config/environments/* take precedence over those specified here.
|
17
23
|
# Application configuration should go into files in config/initializers
|
18
24
|
# -- all .rb files in that directory are automatically loaded.
|
19
|
-
|
20
|
-
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
21
|
-
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
22
|
-
# config.time_zone = 'Central Time (US & Canada)'
|
23
|
-
|
24
|
-
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
25
|
-
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
26
|
-
# config.i18n.default_locale = :de
|
27
|
-
|
28
|
-
# Do not swallow errors in after_commit/after_rollback callbacks.
|
29
|
-
config.active_record.raise_in_transactional_callbacks = true
|
30
25
|
end
|
31
26
|
end
|
32
|
-
|
data/test/dummy/config/boot.rb
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
|
2
|
-
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../Gemfile', __FILE__)
|
1
|
+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
|
3
2
|
|
4
|
-
require 'bundler/setup'
|
5
|
-
$LOAD_PATH.unshift File.expand_path('../../../../lib', __FILE__)
|
3
|
+
require 'bundler/setup' # Set up gems listed in the Gemfile.
|
@@ -9,33 +9,46 @@ Rails.application.configure do
|
|
9
9
|
# Do not eager load code on boot.
|
10
10
|
config.eager_load = false
|
11
11
|
|
12
|
-
# Show full error reports
|
13
|
-
config.consider_all_requests_local
|
14
|
-
|
12
|
+
# Show full error reports.
|
13
|
+
config.consider_all_requests_local = true
|
14
|
+
|
15
|
+
# Enable/disable caching. By default caching is disabled.
|
16
|
+
if Rails.root.join('tmp/caching-dev.txt').exist?
|
17
|
+
config.action_controller.perform_caching = true
|
18
|
+
|
19
|
+
config.cache_store = :memory_store
|
20
|
+
config.public_file_server.headers = {
|
21
|
+
'Cache-Control' => "public, max-age=#{2.days.seconds.to_i}"
|
22
|
+
}
|
23
|
+
else
|
24
|
+
config.action_controller.perform_caching = false
|
25
|
+
|
26
|
+
config.cache_store = :null_store
|
27
|
+
end
|
15
28
|
|
16
29
|
# Don't care if the mailer can't send.
|
17
|
-
config.action_mailer.raise_delivery_errors = false
|
30
|
+
# config.action_mailer.raise_delivery_errors = false
|
31
|
+
|
32
|
+
# config.action_mailer.perform_caching = false
|
18
33
|
|
19
34
|
# Print deprecation notices to the Rails logger.
|
20
35
|
config.active_support.deprecation = :log
|
21
36
|
|
22
37
|
# Raise an error on page load if there are pending migrations.
|
23
|
-
config.active_record.migration_error = :page_load
|
38
|
+
# config.active_record.migration_error = :page_load
|
24
39
|
|
25
40
|
# Debug mode disables concatenation and preprocessing of assets.
|
26
41
|
# This option may cause significant delays in view rendering with a large
|
27
42
|
# number of complex assets.
|
28
43
|
config.assets.debug = true
|
29
44
|
|
30
|
-
#
|
31
|
-
|
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
|
45
|
+
# Suppress logger output for asset requests.
|
46
|
+
config.assets.quiet = true
|
38
47
|
|
39
48
|
# Raises error for missing translations
|
40
49
|
# config.action_view.raise_on_missing_translations = true
|
50
|
+
|
51
|
+
# Use an evented file watcher to asynchronously detect changes in source code,
|
52
|
+
# routes, locales, etc. This feature depends on the listen gem.
|
53
|
+
config.file_watcher = ActiveSupport::EventedFileUpdateChecker
|
41
54
|
end
|
@@ -14,15 +14,14 @@ Rails.application.configure do
|
|
14
14
|
config.consider_all_requests_local = false
|
15
15
|
config.action_controller.perform_caching = true
|
16
16
|
|
17
|
-
#
|
18
|
-
#
|
19
|
-
#
|
20
|
-
|
21
|
-
# config.action_dispatch.rack_cache = true
|
17
|
+
# Attempt to read encrypted secrets from `config/secrets.yml.enc`.
|
18
|
+
# Requires an encryption key in `ENV["RAILS_MASTER_KEY"]` or
|
19
|
+
# `config/secrets.yml.key`.
|
20
|
+
config.read_encrypted_secrets = true
|
22
21
|
|
23
22
|
# Disable serving static files from the `/public` folder by default since
|
24
23
|
# Apache or NGINX already handles this.
|
25
|
-
config.
|
24
|
+
config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
|
26
25
|
|
27
26
|
# Compress JavaScripts and CSS.
|
28
27
|
config.assets.js_compressor = :uglifier
|
@@ -31,16 +30,20 @@ Rails.application.configure do
|
|
31
30
|
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
32
31
|
config.assets.compile = false
|
33
32
|
|
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
33
|
# `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
|
39
34
|
|
35
|
+
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
|
36
|
+
# config.action_controller.asset_host = 'http://assets.example.com'
|
37
|
+
|
40
38
|
# Specifies the header that your server uses for sending files.
|
41
39
|
# config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
|
42
40
|
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
|
43
41
|
|
42
|
+
# Mount Action Cable outside main process or domain
|
43
|
+
# config.action_cable.mount_path = nil
|
44
|
+
# config.action_cable.url = 'wss://example.com/cable'
|
45
|
+
# config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
|
46
|
+
|
44
47
|
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
45
48
|
# config.force_ssl = true
|
46
49
|
|
@@ -49,16 +52,15 @@ Rails.application.configure do
|
|
49
52
|
config.log_level = :debug
|
50
53
|
|
51
54
|
# Prepend all log lines with the following tags.
|
52
|
-
|
53
|
-
|
54
|
-
# Use a different logger for distributed setups.
|
55
|
-
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
|
55
|
+
config.log_tags = [ :request_id ]
|
56
56
|
|
57
57
|
# Use a different cache store in production.
|
58
58
|
# config.cache_store = :mem_cache_store
|
59
59
|
|
60
|
-
#
|
61
|
-
# config.
|
60
|
+
# Use a real queuing backend for Active Job (and separate queues per environment)
|
61
|
+
# config.active_job.queue_adapter = :resque
|
62
|
+
# config.active_job.queue_name_prefix = "dummy_#{Rails.env}"
|
63
|
+
# config.action_mailer.perform_caching = false
|
62
64
|
|
63
65
|
# Ignore bad email addresses and do not raise email delivery errors.
|
64
66
|
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
|
@@ -74,6 +76,16 @@ Rails.application.configure do
|
|
74
76
|
# Use default logging formatter so that PID and timestamp are not suppressed.
|
75
77
|
config.log_formatter = ::Logger::Formatter.new
|
76
78
|
|
79
|
+
# Use a different logger for distributed setups.
|
80
|
+
# require 'syslog/logger'
|
81
|
+
# config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
|
82
|
+
|
83
|
+
if ENV["RAILS_LOG_TO_STDOUT"].present?
|
84
|
+
logger = ActiveSupport::Logger.new(STDOUT)
|
85
|
+
logger.formatter = config.log_formatter
|
86
|
+
config.logger = ActiveSupport::TaggedLogging.new(logger)
|
87
|
+
end
|
88
|
+
|
77
89
|
# Do not dump schema after migrations.
|
78
|
-
config.active_record.dump_schema_after_migration = false
|
90
|
+
# config.active_record.dump_schema_after_migration = false
|
79
91
|
end
|
@@ -12,9 +12,11 @@ Rails.application.configure do
|
|
12
12
|
# preloads Rails for running tests, you may have to set it to true.
|
13
13
|
config.eager_load = false
|
14
14
|
|
15
|
-
# Configure
|
16
|
-
config.
|
17
|
-
config.
|
15
|
+
# Configure public file server for tests with Cache-Control for performance.
|
16
|
+
config.public_file_server.enabled = true
|
17
|
+
config.public_file_server.headers = {
|
18
|
+
'Cache-Control' => "public, max-age=#{1.hour.seconds.to_i}"
|
19
|
+
}
|
18
20
|
|
19
21
|
# Show full error reports and disable caching.
|
20
22
|
config.consider_all_requests_local = true
|
@@ -25,14 +27,12 @@ Rails.application.configure do
|
|
25
27
|
|
26
28
|
# Disable request forgery protection in test environment.
|
27
29
|
config.action_controller.allow_forgery_protection = false
|
30
|
+
# config.action_mailer.perform_caching = false
|
28
31
|
|
29
32
|
# Tell Action Mailer not to deliver emails to the real world.
|
30
33
|
# The :test delivery method accumulates sent emails in the
|
31
34
|
# 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
|
35
|
+
# config.action_mailer.delivery_method = :test
|
36
36
|
|
37
37
|
# Print deprecation notices to the stderr.
|
38
38
|
config.active_support.deprecation = :stderr
|
@@ -3,9 +3,12 @@
|
|
3
3
|
# Version of your assets, change this if you want to expire all your assets.
|
4
4
|
Rails.application.config.assets.version = '1.0'
|
5
5
|
|
6
|
-
# Add additional assets to the asset load path
|
6
|
+
# Add additional assets to the asset load path.
|
7
7
|
# Rails.application.config.assets.paths << Emoji.images_path
|
8
|
+
# Add Yarn node_modules folder to the asset load path.
|
9
|
+
Rails.application.config.assets.paths << Rails.root.join('node_modules')
|
8
10
|
|
9
11
|
# Precompile additional assets.
|
10
|
-
# application.js, application.css, and all non-JS/CSS in app/assets
|
11
|
-
#
|
12
|
+
# application.js, application.css, and all non-JS/CSS in the app/assets
|
13
|
+
# folder are already added.
|
14
|
+
# Rails.application.config.assets.precompile += %w( admin.js admin.css )
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
#
|
3
|
+
# This file contains migration options to ease your Rails 5.1 upgrade.
|
4
|
+
#
|
5
|
+
# Once upgraded flip defaults one by one to migrate to the new default.
|
6
|
+
#
|
7
|
+
# Read the Guide for Upgrading Ruby on Rails for more info on each option.
|
8
|
+
|
9
|
+
# Make `form_with` generate non-remote forms.
|
10
|
+
Rails.application.config.action_view.form_with_generates_remote_forms = false
|
11
|
+
|
12
|
+
# Unknown asset fallback will return the path passed in when the given
|
13
|
+
# asset is not present in the asset pipeline.
|
14
|
+
# Rails.application.config.assets.unknown_asset_fallback = false
|
@@ -5,10 +5,10 @@
|
|
5
5
|
|
6
6
|
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
7
|
ActiveSupport.on_load(:action_controller) do
|
8
|
-
wrap_parameters format: [:json]
|
8
|
+
wrap_parameters format: [:json]
|
9
9
|
end
|
10
10
|
|
11
11
|
# To enable root element in JSON for ActiveRecord objects.
|
12
12
|
# ActiveSupport.on_load(:active_record) do
|
13
|
-
#
|
13
|
+
# self.include_root_in_json = true
|
14
14
|
# end
|
@@ -16,6 +16,16 @@
|
|
16
16
|
#
|
17
17
|
# This would use the information in config/locales/es.yml.
|
18
18
|
#
|
19
|
+
# The following keys must be escaped otherwise they will not be retrieved by
|
20
|
+
# the default I18n backend:
|
21
|
+
#
|
22
|
+
# true, false, on, off, yes, no
|
23
|
+
#
|
24
|
+
# Instead, surround them with single quotes.
|
25
|
+
#
|
26
|
+
# en:
|
27
|
+
# 'true': 'foo'
|
28
|
+
#
|
19
29
|
# To learn more, please read the Rails Internationalization guide
|
20
30
|
# available at http://guides.rubyonrails.org/i18n.html.
|
21
31
|
|
@@ -5,18 +5,28 @@
|
|
5
5
|
|
6
6
|
# Make sure the secret is at least 30 characters and all random,
|
7
7
|
# no regular words or you'll be exposed to dictionary attacks.
|
8
|
-
# You can use `
|
8
|
+
# You can use `rails secret` to generate a secure secret key.
|
9
9
|
|
10
10
|
# Make sure the secrets in this file are kept private
|
11
11
|
# if you're sharing your code publicly.
|
12
12
|
|
13
|
+
# Shared secrets are available across all environments.
|
14
|
+
|
15
|
+
# shared:
|
16
|
+
# api_key: a1B2c3D4e5F6
|
17
|
+
|
18
|
+
# Environmental secrets are only available for that specific environment.
|
19
|
+
|
13
20
|
development:
|
14
|
-
secret_key_base:
|
21
|
+
secret_key_base: efd24106d6296f2ae8fb35e4a8652b560633e1e491cf7307eb0f6994956dc1fde08ef59f73fcfb73a9ec5504fe1ce521a320aa75b7c8d93e10532e0e5a44cd1d
|
15
22
|
|
16
23
|
test:
|
17
|
-
secret_key_base:
|
24
|
+
secret_key_base: 1b6e377331b277dcee3218dcc37913cc5c81193f285ef99f9f1bfc642471d5eb6aad4d792b6a2b5211c36fba55fd077cd1081d27ab32204f65b4172ba781afb8
|
25
|
+
|
26
|
+
# Do not keep production secrets in the unencrypted secrets file.
|
27
|
+
# Instead, either read values from the environment.
|
28
|
+
# Or, use `bin/rails secrets:setup` to configure encrypted secrets
|
29
|
+
# and move the `production:` environment over there.
|
18
30
|
|
19
|
-
# Do not keep production secrets in the repository,
|
20
|
-
# instead read values from the environment.
|
21
31
|
production:
|
22
32
|
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
@@ -1,8 +1,17 @@
|
|
1
1
|
require 'test_helper'
|
2
2
|
|
3
3
|
class NavigationTest < ActionDispatch::IntegrationTest
|
4
|
-
|
5
|
-
|
6
|
-
|
4
|
+
|
5
|
+
include Avatax::Engine.routes.url_helpers
|
6
|
+
|
7
|
+
test 'can see the main configuration page' do
|
8
|
+
get '/avatax'
|
9
|
+
assert_response :success
|
10
|
+
end
|
11
|
+
|
12
|
+
test 'can see the plugin configuration page' do
|
13
|
+
get '/avatax/configuration/plugin'
|
14
|
+
assert_response :success
|
15
|
+
end
|
7
16
|
end
|
8
17
|
|
data/test/test_helper.rb
CHANGED
@@ -2,8 +2,6 @@
|
|
2
2
|
ENV["RAILS_ENV"] = "test"
|
3
3
|
|
4
4
|
require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
|
5
|
-
ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)]
|
6
|
-
ActiveRecord::Migrator.migrations_paths << File.expand_path('../../db/migrate', __FILE__)
|
7
5
|
require "rails/test_help"
|
8
6
|
|
9
7
|
# Filter out Minitest backtrace while allowing backtrace from other libraries
|
metadata
CHANGED
@@ -1,323 +1,141 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: killbill-avatax
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kill Bill core team
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
|
-
version_requirements: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ~>
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 4.2.1
|
20
15
|
requirement: !ruby/object:Gem::Requirement
|
21
16
|
requirements:
|
22
|
-
- - ~>
|
17
|
+
- - "~>"
|
23
18
|
- !ruby/object:Gem::Version
|
24
|
-
version:
|
25
|
-
prerelease: false
|
19
|
+
version: '5.1'
|
26
20
|
type: :runtime
|
27
|
-
|
28
|
-
name: js-routes
|
21
|
+
prerelease: false
|
29
22
|
version_requirements: !ruby/object:Gem::Requirement
|
30
23
|
requirements:
|
31
|
-
- - ~>
|
24
|
+
- - "~>"
|
32
25
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
34
|
-
requirement: !ruby/object:Gem::Requirement
|
35
|
-
requirements:
|
36
|
-
- - ~>
|
37
|
-
- !ruby/object:Gem::Version
|
38
|
-
version: '1.1'
|
39
|
-
prerelease: false
|
40
|
-
type: :runtime
|
26
|
+
version: '5.1'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: jquery-rails
|
43
|
-
version_requirements: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ~>
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: 3.0.4
|
48
29
|
requirement: !ruby/object:Gem::Requirement
|
49
30
|
requirements:
|
50
|
-
- - ~>
|
31
|
+
- - "~>"
|
51
32
|
- !ruby/object:Gem::Version
|
52
|
-
version: 3
|
53
|
-
prerelease: false
|
33
|
+
version: '4.3'
|
54
34
|
type: :runtime
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: jquery-datatables-rails
|
57
|
-
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ~>
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 3.3.0
|
62
|
-
requirement: !ruby/object:Gem::Requirement
|
63
|
-
requirements:
|
64
|
-
- - ~>
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version: 3.3.0
|
67
35
|
prerelease: false
|
68
|
-
type: :runtime
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: money-rails
|
71
36
|
version_requirements: !ruby/object:Gem::Requirement
|
72
37
|
requirements:
|
73
|
-
- - ~>
|
38
|
+
- - "~>"
|
74
39
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
76
|
-
requirement: !ruby/object:Gem::Requirement
|
77
|
-
requirements:
|
78
|
-
- - ~>
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version: 1.3.0
|
81
|
-
prerelease: false
|
82
|
-
type: :runtime
|
40
|
+
version: '4.3'
|
83
41
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
85
|
-
version_requirements: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ~>
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: 3.2.8
|
42
|
+
name: jquery-datatables-rails
|
90
43
|
requirement: !ruby/object:Gem::Requirement
|
91
44
|
requirements:
|
92
|
-
- - ~>
|
45
|
+
- - "~>"
|
93
46
|
- !ruby/object:Gem::Version
|
94
|
-
version: 3.
|
95
|
-
prerelease: false
|
47
|
+
version: '3.3'
|
96
48
|
type: :runtime
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: twitter-bootstrap-rails
|
99
|
-
version_requirements: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ~>
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: 3.2.0
|
104
|
-
requirement: !ruby/object:Gem::Requirement
|
105
|
-
requirements:
|
106
|
-
- - ~>
|
107
|
-
- !ruby/object:Gem::Version
|
108
|
-
version: 3.2.0
|
109
49
|
prerelease: false
|
110
|
-
type: :runtime
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: spinjs-rails
|
113
50
|
version_requirements: !ruby/object:Gem::Requirement
|
114
51
|
requirements:
|
115
|
-
- - ~>
|
52
|
+
- - "~>"
|
116
53
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
118
|
-
requirement: !ruby/object:Gem::Requirement
|
119
|
-
requirements:
|
120
|
-
- - ~>
|
121
|
-
- !ruby/object:Gem::Version
|
122
|
-
version: '1.4'
|
123
|
-
prerelease: false
|
124
|
-
type: :runtime
|
54
|
+
version: '3.3'
|
125
55
|
- !ruby/object:Gem::Dependency
|
126
|
-
name: bootstrap-
|
127
|
-
version_requirements: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - ~>
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: 1.4.0
|
56
|
+
name: twitter-bootstrap-rails
|
132
57
|
requirement: !ruby/object:Gem::Requirement
|
133
58
|
requirements:
|
134
|
-
- -
|
59
|
+
- - ">="
|
135
60
|
- !ruby/object:Gem::Version
|
136
|
-
version:
|
137
|
-
prerelease: false
|
61
|
+
version: '0'
|
138
62
|
type: :runtime
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: momentjs-rails
|
141
|
-
version_requirements: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - ~>
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: 2.10.6
|
146
|
-
requirement: !ruby/object:Gem::Requirement
|
147
|
-
requirements:
|
148
|
-
- - ~>
|
149
|
-
- !ruby/object:Gem::Version
|
150
|
-
version: 2.10.6
|
151
63
|
prerelease: false
|
152
|
-
type: :runtime
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: killbill-client
|
155
64
|
version_requirements: !ruby/object:Gem::Requirement
|
156
65
|
requirements:
|
157
|
-
- -
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '1.0'
|
160
|
-
requirement: !ruby/object:Gem::Requirement
|
161
|
-
requirements:
|
162
|
-
- - ~>
|
66
|
+
- - ">="
|
163
67
|
- !ruby/object:Gem::Version
|
164
|
-
version: '
|
165
|
-
prerelease: false
|
166
|
-
type: :runtime
|
68
|
+
version: '0'
|
167
69
|
- !ruby/object:Gem::Dependency
|
168
|
-
name:
|
169
|
-
version_requirements: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - ~>
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: 3.4.1
|
70
|
+
name: font-awesome-rails
|
174
71
|
requirement: !ruby/object:Gem::Requirement
|
175
72
|
requirements:
|
176
|
-
- - ~>
|
73
|
+
- - "~>"
|
177
74
|
- !ruby/object:Gem::Version
|
178
|
-
version:
|
179
|
-
prerelease: false
|
75
|
+
version: '4.7'
|
180
76
|
type: :runtime
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: cancan
|
183
|
-
version_requirements: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - ~>
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: 1.6.10
|
188
|
-
requirement: !ruby/object:Gem::Requirement
|
189
|
-
requirements:
|
190
|
-
- - ~>
|
191
|
-
- !ruby/object:Gem::Version
|
192
|
-
version: 1.6.10
|
193
77
|
prerelease: false
|
194
|
-
type: :runtime
|
195
|
-
- !ruby/object:Gem::Dependency
|
196
|
-
name: carmen-rails
|
197
78
|
version_requirements: !ruby/object:Gem::Requirement
|
198
79
|
requirements:
|
199
|
-
- - ~>
|
200
|
-
- !ruby/object:Gem::Version
|
201
|
-
version: 1.0.0
|
202
|
-
requirement: !ruby/object:Gem::Requirement
|
203
|
-
requirements:
|
204
|
-
- - ~>
|
80
|
+
- - "~>"
|
205
81
|
- !ruby/object:Gem::Version
|
206
|
-
version:
|
207
|
-
prerelease: false
|
208
|
-
type: :runtime
|
82
|
+
version: '4.7'
|
209
83
|
- !ruby/object:Gem::Dependency
|
210
|
-
name:
|
211
|
-
version_requirements: !ruby/object:Gem::Requirement
|
212
|
-
requirements:
|
213
|
-
- - ~>
|
214
|
-
- !ruby/object:Gem::Version
|
215
|
-
version: 3.6.0
|
84
|
+
name: killbill-client
|
216
85
|
requirement: !ruby/object:Gem::Requirement
|
217
86
|
requirements:
|
218
|
-
- - ~>
|
87
|
+
- - "~>"
|
219
88
|
- !ruby/object:Gem::Version
|
220
|
-
version:
|
221
|
-
prerelease: false
|
89
|
+
version: '1.0'
|
222
90
|
type: :runtime
|
223
|
-
|
224
|
-
name: fakeweb
|
91
|
+
prerelease: false
|
225
92
|
version_requirements: !ruby/object:Gem::Requirement
|
226
93
|
requirements:
|
227
|
-
- - ~>
|
94
|
+
- - "~>"
|
228
95
|
- !ruby/object:Gem::Version
|
229
|
-
version: '1.
|
230
|
-
requirement: !ruby/object:Gem::Requirement
|
231
|
-
requirements:
|
232
|
-
- - ~>
|
233
|
-
- !ruby/object:Gem::Version
|
234
|
-
version: '1.3'
|
235
|
-
prerelease: false
|
236
|
-
type: :development
|
96
|
+
version: '1.0'
|
237
97
|
- !ruby/object:Gem::Dependency
|
238
98
|
name: rake
|
239
|
-
version_requirements: !ruby/object:Gem::Requirement
|
240
|
-
requirements:
|
241
|
-
- - '>='
|
242
|
-
- !ruby/object:Gem::Version
|
243
|
-
version: 0.8.7
|
244
99
|
requirement: !ruby/object:Gem::Requirement
|
245
100
|
requirements:
|
246
|
-
- -
|
101
|
+
- - ">="
|
247
102
|
- !ruby/object:Gem::Version
|
248
|
-
version: 0
|
249
|
-
prerelease: false
|
103
|
+
version: '0'
|
250
104
|
type: :development
|
251
|
-
|
252
|
-
name: simplecov
|
105
|
+
prerelease: false
|
253
106
|
version_requirements: !ruby/object:Gem::Requirement
|
254
107
|
requirements:
|
255
|
-
- -
|
108
|
+
- - ">="
|
256
109
|
- !ruby/object:Gem::Version
|
257
110
|
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: simplecov
|
258
113
|
requirement: !ruby/object:Gem::Requirement
|
259
114
|
requirements:
|
260
|
-
- -
|
115
|
+
- - ">="
|
261
116
|
- !ruby/object:Gem::Version
|
262
117
|
version: '0'
|
263
|
-
prerelease: false
|
264
118
|
type: :development
|
265
|
-
- !ruby/object:Gem::Dependency
|
266
|
-
name: activerecord-jdbc-adapter
|
267
|
-
version_requirements: !ruby/object:Gem::Requirement
|
268
|
-
requirements:
|
269
|
-
- - ~>
|
270
|
-
- !ruby/object:Gem::Version
|
271
|
-
version: 1.3.9
|
272
|
-
requirement: !ruby/object:Gem::Requirement
|
273
|
-
requirements:
|
274
|
-
- - ~>
|
275
|
-
- !ruby/object:Gem::Version
|
276
|
-
version: 1.3.9
|
277
119
|
prerelease: false
|
278
|
-
type: :development
|
279
|
-
- !ruby/object:Gem::Dependency
|
280
|
-
name: activerecord-jdbcmysql-adapter
|
281
120
|
version_requirements: !ruby/object:Gem::Requirement
|
282
121
|
requirements:
|
283
|
-
- -
|
284
|
-
- !ruby/object:Gem::Version
|
285
|
-
version: 1.3.9
|
286
|
-
requirement: !ruby/object:Gem::Requirement
|
287
|
-
requirements:
|
288
|
-
- - ~>
|
122
|
+
- - ">="
|
289
123
|
- !ruby/object:Gem::Version
|
290
|
-
version:
|
291
|
-
prerelease: false
|
292
|
-
type: :development
|
124
|
+
version: '0'
|
293
125
|
- !ruby/object:Gem::Dependency
|
294
|
-
name:
|
295
|
-
version_requirements: !ruby/object:Gem::Requirement
|
296
|
-
requirements:
|
297
|
-
- - ~>
|
298
|
-
- !ruby/object:Gem::Version
|
299
|
-
version: 1.3.9
|
126
|
+
name: listen
|
300
127
|
requirement: !ruby/object:Gem::Requirement
|
301
128
|
requirements:
|
302
|
-
- -
|
129
|
+
- - ">="
|
303
130
|
- !ruby/object:Gem::Version
|
304
|
-
version:
|
305
|
-
prerelease: false
|
131
|
+
version: '0'
|
306
132
|
type: :development
|
307
|
-
|
308
|
-
name: jdbc-mysql
|
133
|
+
prerelease: false
|
309
134
|
version_requirements: !ruby/object:Gem::Requirement
|
310
135
|
requirements:
|
311
|
-
- -
|
136
|
+
- - ">="
|
312
137
|
- !ruby/object:Gem::Version
|
313
|
-
version:
|
314
|
-
requirement: !ruby/object:Gem::Requirement
|
315
|
-
requirements:
|
316
|
-
- - ~>
|
317
|
-
- !ruby/object:Gem::Version
|
318
|
-
version: 5.1.25
|
319
|
-
prerelease: false
|
320
|
-
type: :development
|
138
|
+
version: '0'
|
321
139
|
description: Rails UI plugin for the Avatax plugin.
|
322
140
|
email: killbilling-users@googlegroups.com
|
323
141
|
executables: []
|
@@ -360,14 +178,16 @@ files:
|
|
360
178
|
- test/dummy/bin/rails
|
361
179
|
- test/dummy/bin/rake
|
362
180
|
- test/dummy/bin/setup
|
181
|
+
- test/dummy/bin/update
|
182
|
+
- test/dummy/bin/yarn
|
363
183
|
- test/dummy/config.ru
|
364
184
|
- test/dummy/config/application.rb
|
365
185
|
- test/dummy/config/boot.rb
|
366
|
-
- test/dummy/config/database.yml
|
367
186
|
- test/dummy/config/environment.rb
|
368
187
|
- test/dummy/config/environments/development.rb
|
369
188
|
- test/dummy/config/environments/production.rb
|
370
189
|
- test/dummy/config/environments/test.rb
|
190
|
+
- test/dummy/config/initializers/application_controller_renderer.rb
|
371
191
|
- test/dummy/config/initializers/assets.rb
|
372
192
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
373
193
|
- test/dummy/config/initializers/cookies_serializer.rb
|
@@ -375,6 +195,7 @@ files:
|
|
375
195
|
- test/dummy/config/initializers/inflections.rb
|
376
196
|
- test/dummy/config/initializers/killbill_client.rb
|
377
197
|
- test/dummy/config/initializers/mime_types.rb
|
198
|
+
- test/dummy/config/initializers/new_framework_defaults_5_1.rb
|
378
199
|
- test/dummy/config/initializers/session_store.rb
|
379
200
|
- test/dummy/config/initializers/wrap_parameters.rb
|
380
201
|
- test/dummy/config/locales/en.yml
|
@@ -386,55 +207,58 @@ homepage: http://www.killbill.io
|
|
386
207
|
licenses:
|
387
208
|
- MIT
|
388
209
|
metadata: {}
|
389
|
-
post_install_message:
|
210
|
+
post_install_message:
|
390
211
|
rdoc_options: []
|
391
212
|
require_paths:
|
392
213
|
- lib
|
393
214
|
required_ruby_version: !ruby/object:Gem::Requirement
|
394
215
|
requirements:
|
395
|
-
- -
|
216
|
+
- - ">="
|
396
217
|
- !ruby/object:Gem::Version
|
397
218
|
version: '0'
|
398
219
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
399
220
|
requirements:
|
400
|
-
- -
|
221
|
+
- - ">="
|
401
222
|
- !ruby/object:Gem::Version
|
402
223
|
version: '0'
|
403
224
|
requirements: []
|
404
|
-
rubyforge_project:
|
405
|
-
rubygems_version: 2.
|
406
|
-
signing_key:
|
225
|
+
rubyforge_project:
|
226
|
+
rubygems_version: 2.6.13
|
227
|
+
signing_key:
|
407
228
|
specification_version: 4
|
408
229
|
summary: Kill Bill Avatax UI mountable engine
|
409
230
|
test_files:
|
410
231
|
- test/avatax_test.rb
|
411
232
|
- test/test_helper.rb
|
412
233
|
- test/integration/navigation_test.rb
|
413
|
-
- test/dummy/Rakefile
|
414
|
-
- test/dummy/README.rdoc
|
415
|
-
- test/dummy/config.ru
|
416
234
|
- test/dummy/config/secrets.yml
|
235
|
+
- test/dummy/config/locales/en.yml
|
417
236
|
- test/dummy/config/environment.rb
|
418
237
|
- test/dummy/config/routes.rb
|
419
|
-
- test/dummy/config/database.yml
|
420
|
-
- test/dummy/config/boot.rb
|
421
|
-
- test/dummy/config/application.rb
|
422
|
-
- test/dummy/config/locales/en.yml
|
423
238
|
- test/dummy/config/environments/test.rb
|
424
239
|
- test/dummy/config/environments/production.rb
|
425
240
|
- test/dummy/config/environments/development.rb
|
241
|
+
- test/dummy/config/initializers/new_framework_defaults_5_1.rb
|
426
242
|
- test/dummy/config/initializers/inflections.rb
|
427
243
|
- test/dummy/config/initializers/assets.rb
|
428
244
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
429
245
|
- test/dummy/config/initializers/killbill_client.rb
|
430
246
|
- test/dummy/config/initializers/filter_parameter_logging.rb
|
431
247
|
- test/dummy/config/initializers/mime_types.rb
|
248
|
+
- test/dummy/config/initializers/application_controller_renderer.rb
|
432
249
|
- test/dummy/config/initializers/cookies_serializer.rb
|
433
250
|
- test/dummy/config/initializers/session_store.rb
|
434
251
|
- test/dummy/config/initializers/wrap_parameters.rb
|
252
|
+
- test/dummy/config/boot.rb
|
253
|
+
- test/dummy/config/application.rb
|
254
|
+
- test/dummy/Rakefile
|
255
|
+
- test/dummy/README.rdoc
|
435
256
|
- test/dummy/app/controllers/application_controller.rb
|
436
257
|
- test/dummy/app/helpers/application_helper.rb
|
258
|
+
- test/dummy/config.ru
|
437
259
|
- test/dummy/bin/rake
|
438
260
|
- test/dummy/bin/bundle
|
261
|
+
- test/dummy/bin/update
|
439
262
|
- test/dummy/bin/setup
|
263
|
+
- test/dummy/bin/yarn
|
440
264
|
- test/dummy/bin/rails
|
@@ -1,23 +0,0 @@
|
|
1
|
-
# SQLite version 3.x
|
2
|
-
# gem 'activerecord-jdbcsqlite3-adapter'
|
3
|
-
#
|
4
|
-
# Configure Using Gemfile
|
5
|
-
# gem 'activerecord-jdbcsqlite3-adapter'
|
6
|
-
#
|
7
|
-
default: &default
|
8
|
-
adapter: sqlite3
|
9
|
-
|
10
|
-
development:
|
11
|
-
<<: *default
|
12
|
-
database: db/development.sqlite3
|
13
|
-
|
14
|
-
# Warning: The database defined as "test" will be erased and
|
15
|
-
# re-generated from your development database when you run "rake".
|
16
|
-
# Do not set this db to the same as development or production.
|
17
|
-
test:
|
18
|
-
<<: *default
|
19
|
-
database: db/test.sqlite3
|
20
|
-
|
21
|
-
production:
|
22
|
-
<<: *default
|
23
|
-
database: db/production.sqlite3
|