enju_library 0.4.0.beta.3 → 0.4.0.beta.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c54fee8cd84328f868debaa6c64e28588747726f283e85e75be1c2ecf6ef660f
4
- data.tar.gz: 9262905b121b7c27b671c2565133d05e679a6a08bb23300859ba1c080d07a874
3
+ metadata.gz: 3fe45c54c07a749094837b2e5d64b05c02d155aa024feeb44528fc474adf67c2
4
+ data.tar.gz: 3e6293caed7ef2a3133ea3cd84266e4de9dd2c030d888f93d982b1a83e41a41d
5
5
  SHA512:
6
- metadata.gz: 39c767eb420d164c689aa671d89135cd2bd5628614bad760af0d3373444489fe58e46d5f40f2782f136e03b45f5738e560cfe10e82b576c6e1e7ec2c4f67b9ce
7
- data.tar.gz: bda1aa09293cb8038d6ceeff9f249de5b3a62633f9a23ae5c763c3d0cd9c2a321503a32a0d6a5e256ba2053c13d6d19ad862b9e17e73e232cf483b427d4f412a
6
+ metadata.gz: 012a3b4be7f5cb082bbbf62702cb7cdeb4e15887f26c79db53b27c7a1b2dc348ebb9bcbb994b146051fe7bf3bd8825eece6f609aaa5157393edcb3731a49f1c9
7
+ data.tar.gz: fedf2c70dbf9e8311af543bb74ff664b8c15fccf2a3b32e4969f125509cffa985a9bdb1b9b0dd4dd68c77c6d2da37b35f76e982591d77cadf799ee2eb2449ffd
@@ -1,3 +1,3 @@
1
1
  module EnjuLibrary
2
- VERSION = "0.4.0.beta.3"
2
+ VERSION = "0.4.0.beta.4"
3
3
  end
@@ -9,28 +9,13 @@ 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 = 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
12
+ # Show full error reports and disable caching.
13
+ config.consider_all_requests_local = true
14
+ config.action_controller.perform_caching = false
28
15
 
29
16
  # Don't care if the mailer can't send.
30
17
  config.action_mailer.raise_delivery_errors = false
31
18
 
32
- config.action_mailer.perform_caching = false
33
-
34
19
  # Print deprecation notices to the Rails logger.
35
20
  config.active_support.deprecation = :log
36
21
 
@@ -42,13 +27,15 @@ Rails.application.configure do
42
27
  # number of complex assets.
43
28
  config.assets.debug = true
44
29
 
45
- # Suppress logger output for asset requests.
46
- config.assets.quiet = true
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
47
38
 
48
39
  # Raises error for missing translations
49
40
  # 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
54
41
  end
@@ -14,14 +14,15 @@ Rails.application.configure do
14
14
  config.consider_all_requests_local = false
15
15
  config.action_controller.perform_caching = true
16
16
 
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
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
21
22
 
22
23
  # Disable serving static files from the `/public` folder by default since
23
24
  # Apache or NGINX already handles this.
24
- config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
25
+ config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
25
26
 
26
27
  # Compress JavaScripts and CSS.
27
28
  config.assets.js_compressor = :uglifier
@@ -30,20 +31,16 @@ Rails.application.configure do
30
31
  # Do not fallback to assets pipeline if a precompiled asset is missed.
31
32
  config.assets.compile = false
32
33
 
33
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
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
34
37
 
35
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
36
- # config.action_controller.asset_host = 'http://assets.example.com'
38
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
37
39
 
38
40
  # Specifies the header that your server uses for sending files.
39
41
  # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
40
42
  # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
41
43
 
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
-
47
44
  # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
48
45
  # config.force_ssl = true
49
46
 
@@ -52,15 +49,16 @@ Rails.application.configure do
52
49
  config.log_level = :debug
53
50
 
54
51
  # Prepend all log lines with the following tags.
55
- config.log_tags = [ :request_id ]
52
+ # config.log_tags = [ :subdomain, :uuid ]
53
+
54
+ # Use a different logger for distributed setups.
55
+ # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
56
56
 
57
57
  # Use a different cache store in production.
58
58
  # config.cache_store = :mem_cache_store
59
59
 
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
60
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
61
+ # config.action_controller.asset_host = 'http://assets.example.com'
64
62
 
65
63
  # Ignore bad email addresses and do not raise email delivery errors.
66
64
  # Set this to true and configure the email server for immediate delivery to raise delivery errors.
@@ -76,16 +74,6 @@ Rails.application.configure do
76
74
  # Use default logging formatter so that PID and timestamp are not suppressed.
77
75
  config.log_formatter = ::Logger::Formatter.new
78
76
 
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
-
89
77
  # Do not dump schema after migrations.
90
78
  config.active_record.dump_schema_after_migration = false
91
79
  end
@@ -12,11 +12,9 @@ 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 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
- }
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'
20
18
 
21
19
  # Show full error reports and disable caching.
22
20
  config.consider_all_requests_local = true
@@ -27,18 +25,21 @@ Rails.application.configure do
27
25
 
28
26
  # Disable request forgery protection in test environment.
29
27
  config.action_controller.allow_forgery_protection = false
30
- config.action_mailer.perform_caching = false
31
28
 
32
29
  # Tell Action Mailer not to deliver emails to the real world.
33
30
  # The :test delivery method accumulates sent emails in the
34
31
  # ActionMailer::Base.deliveries array.
35
32
  config.action_mailer.delivery_method = :test
36
33
 
34
+ # Randomize the order test cases are executed.
35
+ config.active_support.test_order = :random
36
+
37
37
  # Print deprecation notices to the stderr.
38
38
  config.active_support.deprecation = :stderr
39
39
 
40
40
  # Raises error for missing translations
41
41
  # config.action_view.raise_on_missing_translations = true
42
+
42
43
  config.action_mailer.default_url_options = {host: 'localhost:3000'}
43
44
  config.active_job.queue_adapter = :inline
44
45
  end
@@ -20,6 +20,7 @@
20
20
  <!-- This file lives in public/500.html -->
21
21
  <div class="dialog">
22
22
  <h1>We're sorry, but something went wrong.</h1>
23
+ <p>We've been notified about this issue and we'll take a look at it shortly.</p>
23
24
  </div>
24
25
  </body>
25
26
  </html>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_library
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0.beta.3
4
+ version: 0.4.0.beta.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosuke Tanabe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-10 00:00:00.000000000 Z
11
+ date: 2019-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: enju_seed
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.4.0.beta.2
19
+ version: 0.4.0.beta.3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.4.0.beta.2
26
+ version: 0.4.0.beta.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: geocoder
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '4.1'
47
+ version: '5.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '4.1'
54
+ version: '5.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: mini_magick
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: paper_trail
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: enju_leaf
85
99
  requirement: !ruby/object:Gem::Requirement