railman 0.6.16 → 0.6.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/railman/version.rb +1 -1
- data/templates/rails_app/.env.example.production.tt +2 -0
- data/templates/rails_app/.gitignore +1 -0
- data/templates/rails_app/Gemfile +1 -0
- data/templates/rails_app/app/controllers/application_controller.rb +4 -0
- data/templates/rails_app/config/environments/production.rb.tt +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d927e149899757f6495d0b1458dd5d0d1203168
|
4
|
+
data.tar.gz: f37344e22b26172ac97a5bcb379c901031525ee5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14764c21a3c020a8f0be3af83ee2c49fc2c80e1f742291151cb1997f28bec94352948a1444e04e255a815e99f2d48abc012a0200956d9f4a4241bdfb1c2593a4
|
7
|
+
data.tar.gz: f79dce7e46e3b96a13280467be15ff08f361a09350a152120874e68048781a69058cd75d67e0321d339a706fb4a3762601bd7299694f7f79043cdc5fbe880164
|
data/lib/railman/version.rb
CHANGED
@@ -31,6 +31,8 @@ ADMIN_EMAIL = '<%= @config.admin_email %>'
|
|
31
31
|
EXCEPTION_NOTIFICATION_EMAIL_PREFIX = '[<%= @config.class_name %>] '
|
32
32
|
EXCEPTION_NOTIFICATION_SENDER = 'server@<%= @config.domain %>'
|
33
33
|
|
34
|
+
# CDN host to use for static assets
|
35
|
+
CDN_HOST = '*****.cloudfront.net'
|
34
36
|
|
35
37
|
# Unicorn settings
|
36
38
|
UNICORN_BEHIND_NGINX = true
|
data/templates/rails_app/Gemfile
CHANGED
@@ -59,7 +59,7 @@ Rails.application.configure do
|
|
59
59
|
config.cache_store = :redis_store, "redis://#{ENV.fetch('REDIS_SERVER')}/<%= @config.app_name %>:#{Rails.env}:cache"
|
60
60
|
|
61
61
|
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
|
62
|
-
|
62
|
+
config.action_controller.asset_host = "https://#{ENV['CDN_HOST']}"
|
63
63
|
|
64
64
|
# Ignore bad email addresses and do not raise email delivery errors.
|
65
65
|
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: railman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Igor Jancev
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|