peastash 0.2.2 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.circleci/config.yml +43 -0
- data/.gitignore +1 -0
- data/README.md +7 -3
- data/gemfiles/Gemfile.rails-4.2.x +0 -1
- data/gemfiles/{Gemfile.rails-3.2.x → Gemfile.rails-5.2.x} +1 -1
- data/gemfiles/{Gemfile.rails-4.0.x → Gemfile.rails-6.0.x} +1 -2
- data/gemfiles/{Gemfile.rails-4.1.x → Gemfile.rails-6.1.x} +1 -2
- data/gemfiles/Gemfile.rails-head +1 -2
- data/lib/peastash/log_device.rb +5 -0
- data/lib/peastash/outputs/io.rb +12 -2
- data/lib/peastash/rails_ext/railtie.rb +2 -2
- data/lib/peastash/version.rb +1 -1
- data/spec/dummy/config/application.rb +0 -2
- data/spec/dummy/config/environments/test.rb +0 -5
- data/spec/dummy/config/environments/test_with_specific_position.rb +0 -5
- data/spec/dummy/config/environments/test_without_peastash.rb +0 -5
- data/spec/peastash/middleware_spec.rb +4 -4
- data/spec/peastash/rails_ext/railtie_spec.rb +4 -12
- data/spec/peastash_spec.rb +4 -4
- metadata +7 -142
- data/.travis.yml +0 -23
- data/spec/dummy-3.2/.gitignore +0 -15
- data/spec/dummy-3.2/Gemfile +0 -38
- data/spec/dummy-3.2/README.rdoc +0 -261
- data/spec/dummy-3.2/Rakefile +0 -7
- data/spec/dummy-3.2/app/assets/images/rails.png +0 -0
- data/spec/dummy-3.2/app/assets/javascripts/application.js +0 -15
- data/spec/dummy-3.2/app/assets/stylesheets/application.css +0 -13
- data/spec/dummy-3.2/app/controllers/application_controller.rb +0 -3
- data/spec/dummy-3.2/app/helpers/application_helper.rb +0 -2
- data/spec/dummy-3.2/app/mailers/.gitkeep +0 -0
- data/spec/dummy-3.2/app/models/.gitkeep +0 -0
- data/spec/dummy-3.2/app/views/layouts/application.html.erb +0 -14
- data/spec/dummy-3.2/config.ru +0 -4
- data/spec/dummy-3.2/config/application.rb +0 -62
- data/spec/dummy-3.2/config/boot.rb +0 -6
- data/spec/dummy-3.2/config/database.yml +0 -25
- data/spec/dummy-3.2/config/environment.rb +0 -5
- data/spec/dummy-3.2/config/environments/development.rb +0 -37
- data/spec/dummy-3.2/config/environments/production.rb +0 -67
- data/spec/dummy-3.2/config/environments/test.rb +0 -38
- data/spec/dummy-3.2/config/environments/test_with_specific_position.rb +0 -39
- data/spec/dummy-3.2/config/environments/test_without_peastash.rb +0 -38
- data/spec/dummy-3.2/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummy-3.2/config/initializers/inflections.rb +0 -15
- data/spec/dummy-3.2/config/initializers/mime_types.rb +0 -5
- data/spec/dummy-3.2/config/initializers/secret_token.rb +0 -7
- data/spec/dummy-3.2/config/initializers/session_store.rb +0 -8
- data/spec/dummy-3.2/config/initializers/wrap_parameters.rb +0 -14
- data/spec/dummy-3.2/config/locales/en.yml +0 -5
- data/spec/dummy-3.2/config/routes.rb +0 -58
- data/spec/dummy-3.2/db/seeds.rb +0 -7
- data/spec/dummy-3.2/doc/README_FOR_APP +0 -2
- data/spec/dummy-3.2/lib/assets/.gitkeep +0 -0
- data/spec/dummy-3.2/lib/tasks/.gitkeep +0 -0
- data/spec/dummy-3.2/log/.gitkeep +0 -0
- data/spec/dummy-3.2/public/404.html +0 -26
- data/spec/dummy-3.2/public/422.html +0 -26
- data/spec/dummy-3.2/public/500.html +0 -25
- data/spec/dummy-3.2/public/favicon.ico +0 -0
- data/spec/dummy-3.2/public/index.html +0 -241
- data/spec/dummy-3.2/public/robots.txt +0 -5
- data/spec/dummy-3.2/script/rails +0 -6
- data/spec/dummy-3.2/test/fixtures/.gitkeep +0 -0
- data/spec/dummy-3.2/test/functional/.gitkeep +0 -0
- data/spec/dummy-3.2/test/integration/.gitkeep +0 -0
- data/spec/dummy-3.2/test/performance/browsing_test.rb +0 -12
- data/spec/dummy-3.2/test/test_helper.rb +0 -13
- data/spec/dummy-3.2/test/unit/.gitkeep +0 -0
- data/spec/dummy-3.2/vendor/assets/javascripts/.gitkeep +0 -0
- data/spec/dummy-3.2/vendor/assets/stylesheets/.gitkeep +0 -0
- data/spec/dummy-3.2/vendor/plugins/.gitkeep +0 -0
- data/spec/dummy/README.rdoc +0 -28
- data/spec/dummy/Rakefile +0 -6
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +0 -13
- data/spec/dummy/app/assets/stylesheets/application.css +0 -15
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/helpers/application_helper.rb +0 -2
- data/spec/dummy/app/mailers/.keep +0 -0
- data/spec/dummy/app/models/.keep +0 -0
- data/spec/dummy/app/models/concerns/.keep +0 -0
- data/spec/dummy/bin/bundle +0 -3
- data/spec/dummy/bin/rails +0 -4
- data/spec/dummy/bin/rake +0 -4
- data/spec/dummy/config/environments/development.rb +0 -34
- data/spec/dummy/config/environments/production.rb +0 -80
- data/spec/dummy/lib/assets/.keep +0 -0
data/spec/dummy/bin/bundle
DELETED
data/spec/dummy/bin/rails
DELETED
data/spec/dummy/bin/rake
DELETED
@@ -1,34 +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
|
-
# Debug mode disables concatenation and preprocessing of assets.
|
23
|
-
# This option may cause significant delays in view rendering with a large
|
24
|
-
# number of complex assets.
|
25
|
-
config.assets.debug = true
|
26
|
-
|
27
|
-
# Adds additional error checking when serving assets at runtime.
|
28
|
-
# Checks for improperly declared sprockets dependencies.
|
29
|
-
# Raises helpful error messages.
|
30
|
-
config.assets.raise_runtime_errors = true
|
31
|
-
|
32
|
-
# Raises error for missing translations
|
33
|
-
# config.action_view.raise_on_missing_translations = true
|
34
|
-
end
|
@@ -1,80 +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 nginx, varnish or squid.
|
20
|
-
# config.action_dispatch.rack_cache = true
|
21
|
-
|
22
|
-
# Disable Rails's static asset server (Apache or nginx will already do this).
|
23
|
-
config.serve_static_files = false
|
24
|
-
|
25
|
-
# Compress JavaScripts and CSS.
|
26
|
-
config.assets.js_compressor = :uglifier
|
27
|
-
# config.assets.css_compressor = :sass
|
28
|
-
|
29
|
-
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
30
|
-
config.assets.compile = false
|
31
|
-
|
32
|
-
# Generate digests for assets URLs.
|
33
|
-
config.assets.digest = true
|
34
|
-
|
35
|
-
# Version of your assets, change this if you want to expire all your assets.
|
36
|
-
config.assets.version = '1.0'
|
37
|
-
|
38
|
-
# Specifies the header that your server uses for sending files.
|
39
|
-
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
|
40
|
-
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
|
41
|
-
|
42
|
-
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
43
|
-
# config.force_ssl = true
|
44
|
-
|
45
|
-
# Set to :debug to see everything in the log.
|
46
|
-
config.log_level = :info
|
47
|
-
|
48
|
-
# Prepend all log lines with the following tags.
|
49
|
-
# config.log_tags = [ :subdomain, :uuid ]
|
50
|
-
|
51
|
-
# Use a different logger for distributed setups.
|
52
|
-
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
|
53
|
-
|
54
|
-
# Use a different cache store in production.
|
55
|
-
# config.cache_store = :mem_cache_store
|
56
|
-
|
57
|
-
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
|
58
|
-
# config.action_controller.asset_host = "http://assets.example.com"
|
59
|
-
|
60
|
-
# Precompile additional assets.
|
61
|
-
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
62
|
-
# config.assets.precompile += %w( search.js )
|
63
|
-
|
64
|
-
# Ignore bad email addresses and do not raise email delivery errors.
|
65
|
-
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
|
66
|
-
# config.action_mailer.raise_delivery_errors = false
|
67
|
-
|
68
|
-
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
69
|
-
# the I18n.default_locale when a translation cannot be found).
|
70
|
-
config.i18n.fallbacks = true
|
71
|
-
|
72
|
-
# Send deprecation notices to registered listeners.
|
73
|
-
config.active_support.deprecation = :notify
|
74
|
-
|
75
|
-
# Disable automatic flushing of the log to improve performance.
|
76
|
-
# config.autoflush_log = false
|
77
|
-
|
78
|
-
# Use default logging formatter so that PID and timestamp are not suppressed.
|
79
|
-
config.log_formatter = ::Logger::Formatter.new
|
80
|
-
end
|
data/spec/dummy/lib/assets/.keep
DELETED
File without changes
|