• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Voice data server for navigation voice changer app.


コミットメタ情報

リビジョンe994f5ba7ea6958e3d675211ec8ede185810a659 (tree)
日時2016-09-29 22:56:09
作者HMML <hmml3939@gmai...>
コミッターHMML

ログメッセージ

Update gems and rails to 4.2.7.1.

変更サマリ

差分

--- a/Gemfile
+++ b/Gemfile
@@ -1,7 +1,7 @@
11 source 'https://rubygems.org'
22
33 # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
4-gem 'rails', '4.0.0'
4+gem 'rails', '4.2.7.1'
55
66 # Use sqlite3 as the database for Active Record
77 gem 'sqlite3', group: [:development, :test]
@@ -45,21 +45,23 @@ end
4545 # Use debugger
4646 # gem 'debugger', group: [:development, :test]
4747
48+
49+gem 'quiet_assets'
4850 gem 'rails_autolink', '~> 1.1.5'
4951 #gem 'anjlab-bootstrap-rails', '~> 3.0.0.3', :require => 'bootstrap-rails'
50-gem 'bootstrap-sass', '~> 3.0.0.0.rc'
52+gem 'bootstrap-sass'
5153 gem 'rails-i18n'
5254 gem 'kaminari'
5355 #gem 'coffeebeans'
5456 gem 'haml-rails'
55-gem 'simple_form', '~> 3.0.0.rc'
56-gem 'client_side_validations', git: 'git://github.com/bcardarella/client_side_validations.git', branch: '4-0-beta'
57-gem 'client_side_validations-simple_form', git: 'git://github.com/saveritemedical/client_side_validations-simple_form.git'
57+gem 'simple_form'
58+gem 'client_side_validations'
59+gem 'client_side_validations-simple_form'
5860 gem 'responders'
5961 gem 'rspec-rails', group: [:development, :test]
60-gem 'paperclip'
62+gem 'paperclip', '3.5.0'
6163 gem 'rubyzip', '< 1.0.0', require: 'zip/zip'
62-gem 'rails_admin', github: 'davebrace/rails_admin', branch: 'use-static-bootstrap-2'
64+gem 'rails_admin'
6365 group :develpment do
6466 gem 'capistrano'
6567 gem 'capistrano-ext'
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,235 +1,269 @@
1-GIT
2- remote: git://github.com/bcardarella/client_side_validations.git
3- revision: 9461cb92e1dfb64895d590c6d435cdf48fcede45
4- branch: 4-0-beta
5- specs:
6- client_side_validations (3.2.2)
7-
8-GIT
9- remote: git://github.com/davebrace/rails_admin.git
10- revision: c6f6ff3110210ee90125a7258fc3fc1186f23088
11- branch: use-static-bootstrap-2
12- specs:
13- rails_admin (0.5.0)
14- builder (~> 3.1)
15- coffee-rails (~> 4.0)
16- font-awesome-rails (~> 3.0)
17- haml (~> 4.0)
18- jquery-rails (~> 3.0)
19- jquery-ui-rails (~> 4.0)
20- kaminari (~> 0.14)
21- nested_form (~> 0.3)
22- rack-pjax (~> 0.7)
23- rails (~> 4.0.0)
24- remotipart (~> 1.0)
25- safe_yaml (~> 0.9)
26- sass-rails (~> 4.0)
27-
28-GIT
29- remote: git://github.com/saveritemedical/client_side_validations-simple_form.git
30- revision: b97c938be745de1134169026425aa0c990b8b072
31- specs:
32- client_side_validations-simple_form (2.1.0)
33- client_side_validations (~> 3.2.1)
34- simple_form (>= 2.1.0, < 4.0)
35-
361 GEM
372 remote: https://rubygems.org/
383 specs:
39- actionmailer (4.0.0)
40- actionpack (= 4.0.0)
41- mail (~> 2.5.3)
42- actionpack (4.0.0)
43- activesupport (= 4.0.0)
44- builder (~> 3.1.0)
45- erubis (~> 2.7.0)
46- rack (~> 1.5.2)
4+ actionmailer (4.2.7.1)
5+ actionpack (= 4.2.7.1)
6+ actionview (= 4.2.7.1)
7+ activejob (= 4.2.7.1)
8+ mail (~> 2.5, >= 2.5.4)
9+ rails-dom-testing (~> 1.0, >= 1.0.5)
10+ actionpack (4.2.7.1)
11+ actionview (= 4.2.7.1)
12+ activesupport (= 4.2.7.1)
13+ rack (~> 1.6)
4714 rack-test (~> 0.6.2)
48- activemodel (4.0.0)
49- activesupport (= 4.0.0)
50- builder (~> 3.1.0)
51- activerecord (4.0.0)
52- activemodel (= 4.0.0)
53- activerecord-deprecated_finders (~> 1.0.2)
54- activesupport (= 4.0.0)
55- arel (~> 4.0.0)
56- activerecord-deprecated_finders (1.0.3)
57- activesupport (4.0.0)
58- i18n (~> 0.6, >= 0.6.4)
59- minitest (~> 4.2)
60- multi_json (~> 1.3)
61- thread_safe (~> 0.1)
62- tzinfo (~> 0.3.37)
63- arel (4.0.1)
64- atomic (1.1.14)
65- bootstrap-sass (3.0.0.0.rc2)
66- sass (~> 3.2)
67- builder (3.1.4)
68- capistrano (2.15.5)
69- highline
70- net-scp (>= 1.0.0)
71- net-sftp (>= 2.0.0)
72- net-ssh (>= 2.0.14)
73- net-ssh-gateway (>= 1.1.0)
15+ rails-dom-testing (~> 1.0, >= 1.0.5)
16+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
17+ actionview (4.2.7.1)
18+ activesupport (= 4.2.7.1)
19+ builder (~> 3.1)
20+ erubis (~> 2.7.0)
21+ rails-dom-testing (~> 1.0, >= 1.0.5)
22+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
23+ activejob (4.2.7.1)
24+ activesupport (= 4.2.7.1)
25+ globalid (>= 0.3.0)
26+ activemodel (4.2.7.1)
27+ activesupport (= 4.2.7.1)
28+ builder (~> 3.1)
29+ activerecord (4.2.7.1)
30+ activemodel (= 4.2.7.1)
31+ activesupport (= 4.2.7.1)
32+ arel (~> 6.0)
33+ activesupport (4.2.7.1)
34+ i18n (~> 0.7)
35+ json (~> 1.7, >= 1.7.7)
36+ minitest (~> 5.1)
37+ thread_safe (~> 0.3, >= 0.3.4)
38+ tzinfo (~> 1.1)
39+ airbrussh (1.1.1)
40+ sshkit (>= 1.6.1, != 1.7.0)
41+ arel (6.0.3)
42+ autoprefixer-rails (6.5.0)
43+ execjs
44+ bootstrap-sass (3.3.5)
45+ autoprefixer-rails (>= 5.0.0.1)
46+ sass (>= 3.2.19)
47+ builder (3.2.2)
48+ capistrano (3.6.1)
49+ airbrussh (>= 1.0.0)
50+ capistrano-harrow
51+ i18n
52+ rake (>= 10.0.0)
53+ sshkit (>= 1.9.0)
7454 capistrano-ext (1.2.1)
7555 capistrano (>= 1.0.0)
56+ capistrano-harrow (0.5.3)
7657 capistrano_colors (0.5.5)
58+ client_side_validations (4.2.6)
59+ jquery-rails (>= 3.1.2, < 5.0.0)
60+ js_regex (~> 1.0, >= 1.0.9)
61+ rails (>= 4.0.0, < 4.3.0)
62+ client_side_validations-simple_form (3.3.0)
63+ client_side_validations (~> 4.2.6)
64+ simple_form (~> 3.3)
7765 climate_control (0.0.3)
7866 activesupport (>= 3.0)
79- cocaine (0.5.1)
67+ cocaine (0.5.8)
8068 climate_control (>= 0.0.3, < 1.0)
8169 coffee-rails (4.0.1)
8270 coffee-script (>= 2.2.0)
8371 railties (>= 4.0.0, < 5.0)
84- coffee-script (2.2.0)
72+ coffee-script (2.4.1)
8573 coffee-script-source
8674 execjs
87- coffee-script-source (1.6.3)
88- diff-lcs (1.2.4)
75+ coffee-script-source (1.10.0)
76+ diff-lcs (1.2.5)
8977 erubis (2.7.0)
90- exception_notification (4.0.1)
91- actionmailer (>= 3.0.4)
92- activesupport (>= 3.0.4)
93- execjs (2.0.2)
94- font-awesome-rails (3.2.1.3)
95- railties (>= 3.2, < 5.0)
96- haml (4.0.3)
78+ exception_notification (4.2.1)
79+ actionmailer (>= 4.0, < 6)
80+ activesupport (>= 4.0, < 6)
81+ execjs (2.7.0)
82+ font-awesome-rails (4.6.3.1)
83+ railties (>= 3.2, < 5.1)
84+ globalid (0.3.7)
85+ activesupport (>= 4.1.0)
86+ haml (4.0.7)
9787 tilt
98- haml-rails (0.4)
99- actionpack (>= 3.1, < 4.1)
100- activesupport (>= 3.1, < 4.1)
101- haml (>= 3.1, < 4.1)
102- railties (>= 3.1, < 4.1)
103- highline (1.6.19)
88+ haml-rails (0.9.0)
89+ actionpack (>= 4.0.1)
90+ activesupport (>= 4.0.1)
91+ haml (>= 4.0.6, < 5.0)
92+ html2haml (>= 1.0.1)
93+ railties (>= 4.0.1)
10494 hike (1.2.3)
105- i18n (0.6.5)
106- jbuilder (1.5.0)
95+ html2haml (2.0.0)
96+ erubis (~> 2.7.0)
97+ haml (~> 4.0.0)
98+ nokogiri (~> 1.6.0)
99+ ruby_parser (~> 3.5)
100+ i18n (0.7.0)
101+ jbuilder (1.5.3)
107102 activesupport (>= 3.0.0)
108103 multi_json (>= 1.2.0)
109- jquery-rails (3.0.4)
110- railties (>= 3.0, < 5.0)
104+ jquery-rails (4.2.1)
105+ rails-dom-testing (>= 1, < 3)
106+ railties (>= 4.2.0)
111107 thor (>= 0.14, < 2.0)
112- jquery-ui-rails (4.1.0)
113- railties (>= 3.1.0)
114- json (1.8.0)
115- kaminari (0.14.1)
108+ jquery-ui-rails (5.0.5)
109+ railties (>= 3.2.16)
110+ js_regex (1.0.18)
111+ regexp_parser (= 0.3.6)
112+ json (1.8.3)
113+ kaminari (0.17.0)
116114 actionpack (>= 3.0.0)
117115 activesupport (>= 3.0.0)
118- libv8 (3.11.8.17)
119- mail (2.5.4)
120- mime-types (~> 1.16)
121- treetop (~> 1.4.8)
122- mime-types (1.25)
123- mini_portile (0.5.2)
124- minitest (4.7.5)
125- multi_json (1.8.2)
126- mysql2 (0.3.13)
116+ libv8 (3.16.14.15)
117+ loofah (2.0.3)
118+ nokogiri (>= 1.5.9)
119+ mail (2.6.4)
120+ mime-types (>= 1.16, < 4)
121+ mime-types (3.1)
122+ mime-types-data (~> 3.2015)
123+ mime-types-data (3.2016.0521)
124+ minitest (5.9.1)
125+ multi_json (1.12.1)
126+ mysql2 (0.4.4)
127127 nested_form (0.3.2)
128- net-scp (1.1.2)
128+ net-scp (1.2.1)
129129 net-ssh (>= 2.6.5)
130- net-sftp (2.1.2)
131- net-ssh (>= 2.6.5)
132- net-ssh (2.6.8)
133- net-ssh-gateway (1.2.0)
134- net-ssh (>= 2.6.5)
135- nokogiri (1.6.0)
136- mini_portile (~> 0.5.0)
130+ net-ssh (3.2.0)
131+ nokogiri (1.6.8)
132+ pkg-config (~> 1.1.7)
137133 paperclip (3.5.0)
138134 activemodel (>= 3.0.0)
139135 activesupport (>= 3.0.0)
140136 cocaine (~> 0.5.0)
141137 mime-types
142- polyglot (0.3.3)
143- rack (1.5.2)
144- rack-pjax (0.7.0)
138+ pkg-config (1.1.7)
139+ quiet_assets (1.1.0)
140+ railties (>= 3.1, < 5.0)
141+ rack (1.6.4)
142+ rack-pjax (1.0.0)
145143 nokogiri (~> 1.5)
146- rack (~> 1.3)
147- rack-test (0.6.2)
144+ rack (>= 1.1)
145+ rack-test (0.6.3)
148146 rack (>= 1.0)
149- rails (4.0.0)
150- actionmailer (= 4.0.0)
151- actionpack (= 4.0.0)
152- activerecord (= 4.0.0)
153- activesupport (= 4.0.0)
147+ rails (4.2.7.1)
148+ actionmailer (= 4.2.7.1)
149+ actionpack (= 4.2.7.1)
150+ actionview (= 4.2.7.1)
151+ activejob (= 4.2.7.1)
152+ activemodel (= 4.2.7.1)
153+ activerecord (= 4.2.7.1)
154+ activesupport (= 4.2.7.1)
154155 bundler (>= 1.3.0, < 2.0)
155- railties (= 4.0.0)
156- sprockets-rails (~> 2.0.0)
157- rails-i18n (0.7.4)
158- i18n (~> 0.5)
159- rails_autolink (1.1.5)
156+ railties (= 4.2.7.1)
157+ sprockets-rails
158+ rails-deprecated_sanitizer (1.0.3)
159+ activesupport (>= 4.2.0.alpha)
160+ rails-dom-testing (1.0.7)
161+ activesupport (>= 4.2.0.beta, < 5.0)
162+ nokogiri (~> 1.6.0)
163+ rails-deprecated_sanitizer (>= 1.0.1)
164+ rails-html-sanitizer (1.0.3)
165+ loofah (~> 2.0)
166+ rails-i18n (4.0.9)
167+ i18n (~> 0.7)
168+ railties (~> 4.0)
169+ rails_admin (1.0.0)
170+ builder (~> 3.1)
171+ coffee-rails (~> 4.0)
172+ font-awesome-rails (>= 3.0, < 5)
173+ haml (~> 4.0)
174+ jquery-rails (>= 3.0, < 5)
175+ jquery-ui-rails (~> 5.0)
176+ kaminari (~> 0.14)
177+ nested_form (~> 0.3)
178+ rack-pjax (>= 0.7)
179+ rails (>= 4.0, < 6)
180+ remotipart (~> 1.3)
181+ sass-rails (>= 4.0, < 6)
182+ rails_autolink (1.1.6)
160183 rails (> 3.1)
161- railties (4.0.0)
162- actionpack (= 4.0.0)
163- activesupport (= 4.0.0)
184+ railties (4.2.7.1)
185+ actionpack (= 4.2.7.1)
186+ activesupport (= 4.2.7.1)
164187 rake (>= 0.8.7)
165188 thor (>= 0.18.1, < 2.0)
166- rake (10.1.0)
167- rdoc (3.12.2)
189+ rake (11.3.0)
190+ rdoc (4.2.2)
168191 json (~> 1.4)
169- ref (1.0.5)
170- remotipart (1.2.1)
171- responders (0.6.5)
172- rspec-core (2.14.4)
173- rspec-expectations (2.14.0)
174- diff-lcs (>= 1.1.3, < 2.0)
175- rspec-mocks (2.14.1)
176- rspec-rails (2.14.0)
192+ ref (2.0.0)
193+ regexp_parser (0.3.6)
194+ remotipart (1.3.0)
195+ responders (2.3.0)
196+ railties (>= 4.2.0, < 5.1)
197+ rspec-core (3.5.3)
198+ rspec-support (~> 3.5.0)
199+ rspec-expectations (3.5.0)
200+ diff-lcs (>= 1.2.0, < 2.0)
201+ rspec-support (~> 3.5.0)
202+ rspec-mocks (3.5.0)
203+ diff-lcs (>= 1.2.0, < 2.0)
204+ rspec-support (~> 3.5.0)
205+ rspec-rails (3.5.2)
177206 actionpack (>= 3.0)
178207 activesupport (>= 3.0)
179208 railties (>= 3.0)
180- rspec-core (~> 2.14.0)
181- rspec-expectations (~> 2.14.0)
182- rspec-mocks (~> 2.14.0)
209+ rspec-core (~> 3.5.0)
210+ rspec-expectations (~> 3.5.0)
211+ rspec-mocks (~> 3.5.0)
212+ rspec-support (~> 3.5.0)
213+ rspec-support (3.5.0)
214+ ruby_parser (3.8.2)
215+ sexp_processor (~> 4.1)
183216 rubyzip (0.9.9)
184- safe_yaml (0.9.7)
185- sass (3.2.12)
186- sass-rails (4.0.1)
217+ sass (3.2.19)
218+ sass-rails (4.0.5)
187219 railties (>= 4.0.0, < 5.0)
188- sass (>= 3.1.10)
189- sprockets-rails (~> 2.0.0)
190- sdoc (0.3.20)
191- json (>= 1.1.3)
192- rdoc (~> 3.10)
193- simple_form (3.0.0)
194- actionpack (>= 4.0.0, < 4.1)
195- activemodel (>= 4.0.0, < 4.1)
196- sprockets (2.10.0)
220+ sass (~> 3.2.2)
221+ sprockets (~> 2.8, < 3.0)
222+ sprockets-rails (~> 2.0)
223+ sdoc (0.4.1)
224+ json (~> 1.7, >= 1.7.7)
225+ rdoc (~> 4.0)
226+ sexp_processor (4.7.0)
227+ simple_form (3.3.1)
228+ actionpack (> 4, < 5.1)
229+ activemodel (> 4, < 5.1)
230+ sprockets (2.12.4)
197231 hike (~> 1.2)
198232 multi_json (~> 1.0)
199233 rack (~> 1.0)
200234 tilt (~> 1.1, != 1.3.0)
201- sprockets-rails (2.0.1)
235+ sprockets-rails (2.3.3)
202236 actionpack (>= 3.0)
203237 activesupport (>= 3.0)
204- sprockets (~> 2.8)
205- sqlite3 (1.3.7)
206- therubyracer (0.11.4)
207- libv8 (~> 3.11.8.12)
238+ sprockets (>= 2.8, < 4.0)
239+ sqlite3 (1.3.11)
240+ sshkit (1.11.3)
241+ net-scp (>= 1.1.2)
242+ net-ssh (>= 2.8.0)
243+ therubyracer (0.12.2)
244+ libv8 (~> 3.16.14.0)
208245 ref
209- thor (0.18.1)
210- thread_safe (0.1.3)
211- atomic
246+ thor (0.19.1)
247+ thread_safe (0.3.5)
212248 tilt (1.4.1)
213- treetop (1.4.15)
214- polyglot
215- polyglot (>= 0.3.1)
216- turbolinks (1.3.0)
217- coffee-rails
218- tzinfo (0.3.38)
219- uglifier (2.1.2)
220- execjs (>= 0.3.0)
221- multi_json (~> 1.0, >= 1.0.2)
249+ turbolinks (5.0.1)
250+ turbolinks-source (~> 5)
251+ turbolinks-source (5.0.0)
252+ tzinfo (1.2.2)
253+ thread_safe (~> 0.1)
254+ uglifier (3.0.2)
255+ execjs (>= 0.3.0, < 3)
222256
223257 PLATFORMS
224258 ruby
225259
226260 DEPENDENCIES
227- bootstrap-sass (~> 3.0.0.0.rc)
261+ bootstrap-sass
228262 capistrano
229263 capistrano-ext
230264 capistrano_colors
231- client_side_validations!
232- client_side_validations-simple_form!
265+ client_side_validations
266+ client_side_validations-simple_form
233267 coffee-rails (~> 4.0.0)
234268 exception_notification
235269 haml-rails
@@ -237,18 +271,22 @@ DEPENDENCIES
237271 jquery-rails
238272 kaminari
239273 mysql2
240- paperclip
241- rails (= 4.0.0)
274+ paperclip (= 3.5.0)
275+ quiet_assets
276+ rails (= 4.2.7.1)
242277 rails-i18n
243- rails_admin!
278+ rails_admin
244279 rails_autolink (~> 1.1.5)
245280 responders
246281 rspec-rails
247282 rubyzip (< 1.0.0)
248283 sass-rails (~> 4.0.0)
249284 sdoc
250- simple_form (~> 3.0.0.rc)
285+ simple_form
251286 sqlite3
252287 therubyracer
253288 turbolinks
254289 uglifier (>= 1.3.0)
290+
291+BUNDLED WITH
292+ 1.12.5
--- a/app/assets/javascripts/application.js
+++ b/app/assets/javascripts/application.js
@@ -13,19 +13,7 @@
1313 //= require jquery
1414 //= require jquery_ujs
1515 //= require turbolinks
16-
17-//= require bootstrap/transition
18-//= require bootstrap/alert
19-// /* disabled */ = require bootstrap/modal
20-//= require bootstrap/dropdown
21-// /* disabled */ = require bootstrap/scrollspy
22-// /* disabled */ = require bootstrap/tab
23-// /* disabled */ = require bootstrap/tooltip
24-// /* disabled */ = require bootstrap/popover
25-//= require bootstrap/button
26-//= require bootstrap/collapse
27-//= require bootstrap/carousel
28-//= require bootstrap/affix
16+//= require bootstrap-sprockets
2917
3018 //= rails.validations
3119 //= rails.validations.simple_form
--- a/app/assets/stylesheets/application.css.scss
+++ /dev/null
@@ -1,14 +0,0 @@
1-/*
2- * This is a manifest file that'll be compiled into application.css, which will include all the files
3- * listed below.
4- *
5- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6- * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
7- *
8- * You're free to add application-wide styles to this file and they'll appear at the top of the
9- * compiled file, but it's generally better to create a new file per style scope.
10- *
11- *= require_self
12- *= require_tree .
13- */
14-@import "bootstrap";
--- /dev/null
+++ b/app/assets/stylesheets/application.scss
@@ -0,0 +1,6 @@
1+/*
2+ *= require_self
3+ *= require_tree .
4+ */
5+@import "bootstrap-sprockets";
6+@import "bootstrap";
--- a/bin/autospec
+++ b/bin/autospec
@@ -1,4 +1,4 @@
1-#!/usr/bin/env ruby1.9.1
1+#!/usr/bin/env ruby
22 #
33 # This file was generated by Bundler.
44 #
--- a/bin/bundle
+++ b/bin/bundle
@@ -1,3 +1,3 @@
1-#!/usr/bin/env ruby1.9.1
1+#!/usr/bin/env ruby
22 ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
33 load Gem.bin_path('bundler', 'bundle')
--- a/bin/rails
+++ b/bin/rails
@@ -1,4 +1,4 @@
1-#!/usr/bin/env ruby1.9.1
2-APP_PATH = File.expand_path('../../config/application', __FILE__)
1+#!/usr/bin/env ruby
2+APP_PATH = File.expand_path('../../config/application', __FILE__)
33 require_relative '../config/boot'
44 require 'rails/commands'
--- a/bin/rake
+++ b/bin/rake
@@ -1,4 +1,4 @@
1-#!/usr/bin/env ruby1.9.1
1+#!/usr/bin/env ruby
22 require_relative '../config/boot'
33 require 'rake'
44 Rake.application.run
--- a/bin/rspec
+++ b/bin/rspec
@@ -1,4 +1,4 @@
1-#!/usr/bin/env ruby1.9.1
1+#!/usr/bin/env ruby
22 #
33 # This file was generated by Bundler.
44 #
--- /dev/null
+++ b/bin/setup
@@ -0,0 +1,29 @@
1+#!/usr/bin/env ruby
2+require 'pathname'
3+
4+# path to your application root.
5+APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
6+
7+Dir.chdir APP_ROOT do
8+ # This script is a starting point to setup your application.
9+ # Add necessary setup steps to this file:
10+
11+ puts "== Installing dependencies =="
12+ system "gem install bundler --conservative"
13+ system "bundle check || bundle install"
14+
15+ # puts "\n== Copying sample files =="
16+ # unless File.exist?("config/database.yml")
17+ # system "cp config/database.yml.sample config/database.yml"
18+ # end
19+
20+ puts "\n== Preparing database =="
21+ system "bin/rake db:setup"
22+
23+ puts "\n== Removing old logs and tempfiles =="
24+ system "rm -f log/*"
25+ system "rm -rf tmp/cache"
26+
27+ puts "\n== Restarting application server =="
28+ system "touch tmp/restart.txt"
29+end
--- a/config/application.rb
+++ b/config/application.rb
@@ -5,7 +5,7 @@ require 'pp'
55
66 # Require the gems listed in Gemfile, including any gems
77 # you've limited to :test, :development, or :production.
8-Bundler.require(:default, Rails.env)
8+Bundler.require(*Rails.groups)
99
1010 module NvcServ
1111 class Application < Rails::Application
@@ -17,6 +17,9 @@ module NvcServ
1717 # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
1818 # config.time_zone = 'Central Time (US & Canada)'
1919
20+ # Do not swallow errors in after_commit/after_rollback callbacks.
21+ config.active_record.raise_in_transactional_callbacks = true
22+
2023 # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
2124 # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
2225 config.i18n.default_locale = :en
--- a/config/boot.rb
+++ b/config/boot.rb
@@ -1,4 +1,3 @@
1-# Set up gems listed in the Gemfile.
21 ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
32
4-require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
3+require 'bundler/setup' # Set up gems listed in the Gemfile.
--- a/config/deploy/homedev.rb
+++ /dev/null
@@ -1,7 +0,0 @@
1-role :app, "localhost"
2-role :web, "localhost"
3-role :db, "localhost", primary: true
4-set :deploy_to, "#{ENV['HOME']}/nvc-test"
5-set :use_sudo, false
6-set :branch, 'master'
7-set :rails_env, :development
--- a/config/environment.rb
+++ b/config/environment.rb
@@ -2,4 +2,4 @@
22 require File.expand_path('../application', __FILE__)
33
44 # Initialize the Rails application.
5-NvcServ::Application.initialize!
5+Rails.application.initialize!
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -1,4 +1,4 @@
1-NvcServ::Application.configure do
1+Rails.application.configure do
22 # Settings specified here will take precedence over those in config/application.rb.
33
44 # In the development environment your application's code is reloaded on
@@ -19,11 +19,23 @@ NvcServ::Application.configure do
1919 # Print deprecation notices to the Rails logger.
2020 config.active_support.deprecation = :log
2121
22- # Raise an error on page load if there are pending migrations
22+ # Raise an error on page load if there are pending migrations.
2323 config.active_record.migration_error = :page_load
2424
2525 # Debug mode disables concatenation and preprocessing of assets.
2626 # This option may cause significant delays in view rendering with a large
2727 # number of complex assets.
2828 config.assets.debug = true
29+
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
38+
39+ # Raises error for missing translations
40+ # config.action_view.raise_on_missing_translations = true
2941 end
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -1,11 +1,11 @@
1-NvcServ::Application.configure do
1+Rails.application.configure do
22 # Settings specified here will take precedence over those in config/application.rb.
33
44 # Code is not reloaded between requests.
55 config.cache_classes = true
66
77 # Eager load code on boot. This eager loads most of Rails and
8- # your application in memory, allowing both thread web servers
8+ # your application in memory, allowing both threaded web servers
99 # and those relying on copy on write to perform better.
1010 # Rake tasks automatically ignore this option for performance.
1111 config.eager_load = true
@@ -16,11 +16,13 @@ NvcServ::Application.configure do
1616
1717 # Enable Rack::Cache to put a simple HTTP cache in front of your application
1818 # 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.
19+ # For large-scale production use, consider using a caching reverse proxy like
20+ # NGINX, varnish or squid.
2021 # config.action_dispatch.rack_cache = true
2122
22- # Disable Rails's static asset server (Apache or nginx will already do this).
23- config.serve_static_assets = false
23+ # Disable serving static files from the `/public` folder by default since
24+ # Apache or NGINX already handles this.
25+ config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
2426
2527 # Compress JavaScripts and CSS.
2628 config.assets.js_compressor = :uglifier
@@ -29,21 +31,22 @@ NvcServ::Application.configure do
2931 # Do not fallback to assets pipeline if a precompiled asset is missed.
3032 config.assets.compile = false
3133
32- # Generate digests for assets URLs.
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.
3336 config.assets.digest = true
3437
35- # Version of your assets, change this if you want to expire all your assets.
36- config.assets.version = '1.0'
38+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
3739
3840 # 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+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
42+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
4143
4244 # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
4345 # config.force_ssl = true
4446
45- # Set to :debug to see everything in the log.
46- config.log_level = :info
47+ # Use the lowest log level to ensure availability of diagnostic information
48+ # when problems arise.
49+ config.log_level = :debug
4750
4851 # Prepend all log lines with the following tags.
4952 # config.log_tags = [ :subdomain, :uuid ]
@@ -55,27 +58,22 @@ NvcServ::Application.configure do
5558 # config.cache_store = :mem_cache_store
5659
5760 # 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- config.assets.precompile += %w( html5shiv.js respond.js )
61+ # config.action_controller.asset_host = 'http://assets.example.com'
6462
6563 # Ignore bad email addresses and do not raise email delivery errors.
6664 # Set this to true and configure the email server for immediate delivery to raise delivery errors.
6765 # config.action_mailer.raise_delivery_errors = false
6866
6967 # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
70- # the I18n.default_locale when a translation can not be found).
68+ # the I18n.default_locale when a translation cannot be found).
7169 config.i18n.fallbacks = true
7270
7371 # Send deprecation notices to registered listeners.
7472 config.active_support.deprecation = :notify
7573
76- # Disable automatic flushing of the log to improve performance.
77- # config.autoflush_log = false
78-
7974 # Use default logging formatter so that PID and timestamp are not suppressed.
8075 config.log_formatter = ::Logger::Formatter.new
76+
77+ # Do not dump schema after migrations.
78+ config.active_record.dump_schema_after_migration = false
8179 end
--- a/config/environments/test.rb
+++ b/config/environments/test.rb
@@ -1,4 +1,4 @@
1-NvcServ::Application.configure do
1+Rails.application.configure do
22 # Settings specified here will take precedence over those in config/application.rb.
33
44 # The test environment is used exclusively to run your application's
@@ -12,9 +12,9 @@ NvcServ::Application.configure do
1212 # preloads Rails for running tests, you may have to set it to true.
1313 config.eager_load = false
1414
15- # Configure static asset server for tests with Cache-Control for performance.
16- config.serve_static_assets = true
17- config.static_cache_control = "public, max-age=3600"
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'
1818
1919 # Show full error reports and disable caching.
2020 config.consider_all_requests_local = true
@@ -31,6 +31,12 @@ NvcServ::Application.configure do
3131 # ActionMailer::Base.deliveries array.
3232 config.action_mailer.delivery_method = :test
3333
34+ # Randomize the order test cases are executed.
35+ config.active_support.test_order = :random
36+
3437 # Print deprecation notices to the stderr.
3538 config.active_support.deprecation = :stderr
39+
40+ # Raises error for missing translations
41+ # config.action_view.raise_on_missing_translations = true
3642 end
--- /dev/null
+++ b/config/initializers/assets.rb
@@ -0,0 +1,12 @@
1+# Be sure to restart your server when you modify this file.
2+
3+# Version of your assets, change this if you want to expire all your assets.
4+Rails.application.config.assets.version = '1.0'
5+
6+# Add additional assets to the asset load path
7+# Rails.application.config.assets.paths << Emoji.images_path
8+
9+# Precompile additional assets.
10+# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
11+# Rails.application.config.assets.precompile += %w( search.js )
12+Rails.application.config.assets.precompile += %w( html5shiv.js respond.js )
--- /dev/null
+++ b/config/initializers/cookies_serializer.rb
@@ -0,0 +1,3 @@
1+# Be sure to restart your server when you modify this file.
2+
3+Rails.application.config.action_dispatch.cookies_serializer = :marshal
--- a/config/initializers/mime_types.rb
+++ b/config/initializers/mime_types.rb
@@ -2,4 +2,3 @@
22
33 # Add new mime types for use in respond_to blocks:
44 # Mime::Type.register "text/richtext", :rtf
5-# Mime::Type.register_alias "text/html", :iphone
--- a/config/initializers/quiet_assets.rb
+++ /dev/null
@@ -1,14 +0,0 @@
1-if Rails.env.development?
2- fnull = File.constants.member?(:NULL) ? File.const_get(:NULL) : '/dev/null'
3- Rails.application.assets.logger = Logger.new(fnull)
4- Rails::Rack::Logger.class_eval do
5- def call_with_quiet_assets(env)
6- previous_level = Rails.logger.level
7- Rails.logger.level = Logger::ERROR if env['PATH_INFO'] =~ %r{^/assets/}
8- call_without_quiet_assets(env)
9- ensure
10- Rails.logger.level = previous_level
11- end
12- alias_method_chain :call, :quiet_assets
13- end
14-end
--- a/config/initializers/session_store.rb
+++ b/config/initializers/session_store.rb
@@ -1,3 +1,3 @@
11 # Be sure to restart your server when you modify this file.
22
3-NvcServ::Application.config.session_store :cookie_store, key: '_nvc-serv_session'
3+Rails.application.config.session_store :cookie_store, key: '_nvc_serv_session'
--- a/config/initializers/simple_form.rb
+++ b/config/initializers/simple_form.rb
@@ -22,9 +22,9 @@ SimpleForm.setup do |config|
2222 b.use :placeholder
2323
2424 ## Optional extensions
25- # They are disabled unless you pass `f.input EXTENSION_NAME => :lookup`
25+ # They are disabled unless you pass `f.input EXTENSION_NAME => true`
2626 # to the input. If so, they will retrieve the values from the model
27- # if any exists. If you want to enable the lookup for any of those
27+ # if any exists. If you want to enable any of those
2828 # extensions by default, you can change `b.optional` to `b.use`.
2929
3030 # Calculates maxlength from length validations for string inputs
@@ -43,6 +43,12 @@ SimpleForm.setup do |config|
4343 b.use :label_input
4444 b.use :hint, wrap_with: { tag: :span, class: :hint }
4545 b.use :error, wrap_with: { tag: :span, class: :error }
46+
47+ ## full_messages_for
48+ # If you want to display the full error message for the attribute, you can
49+ # use the component :full_error, like:
50+ #
51+ # b.use :full_error, wrap_with: { tag: :span, class: :error }
4652 end
4753
4854 # The default wrapper to be used by the FormBuilder.
@@ -55,7 +61,7 @@ SimpleForm.setup do |config|
5561 config.boolean_style = :nested
5662
5763 # Default class for buttons
58- config.button_class = 'btn btn-default'
64+ config.button_class = 'btn'
5965
6066 # Method used to tidy up errors. Specify any Rails Array method.
6167 # :first lists the first message for each field.
@@ -66,7 +72,7 @@ SimpleForm.setup do |config|
6672 config.error_notification_tag = :div
6773
6874 # CSS class to add for error notification helper.
69- config.error_notification_class = 'alert alert-error'
75+ config.error_notification_class = 'error_notification'
7076
7177 # ID to add for error notification helper.
7278 # config.error_notification_id = nil
@@ -84,21 +90,21 @@ SimpleForm.setup do |config|
8490 # config.collection_wrapper_class = nil
8591
8692 # You can wrap each item in a collection of radio/check boxes with a tag,
87- # defaulting to :span. Please note that when using :boolean_style = :nested,
88- # SimpleForm will force this option to be a label.
93+ # defaulting to :span.
8994 # config.item_wrapper_tag = :span
9095
9196 # You can define a class to use in all item wrappers. Defaulting to none.
9297 # config.item_wrapper_class = nil
9398
9499 # How the label text should be generated altogether with the required text.
95- # config.label_text = lambda { |label, required| "#{required} #{label}" }
100+ # config.label_text = lambda { |label, required, explicit_label| "#{required} #{label}" }
96101
97102 # You can define the class to use on all labels. Default is nil.
98- config.label_class = 'control-label'
103+ # config.label_class = nil
99104
100- # You can define the class to use on all forms. Default is simple_form.
101- # config.form_class = :simple_form
105+ # You can define the default class to be used on forms. Can be overriden
106+ # with `html: { :class }`. Defaulting to none.
107+ # config.default_form_class = nil
102108
103109 # You can define which elements should obtain additional classes
104110 # config.generate_additional_classes_for = [:wrapper, :label, :input]
@@ -125,6 +131,10 @@ SimpleForm.setup do |config|
125131 # type as key and the wrapper that will be used for all inputs with specified type.
126132 # config.wrapper_mappings = { string: :prepend }
127133
134+ # Namespaces where SimpleForm should look for custom input classes that
135+ # override default inputs.
136+ # config.custom_inputs_namespaces << "CustomInputs"
137+
128138 # Default priority for time_zone inputs.
129139 # config.time_zone_priority = nil
130140
@@ -139,4 +149,17 @@ SimpleForm.setup do |config|
139149
140150 # Cache SimpleForm inputs discovery
141151 # config.cache_discovery = !Rails.env.development?
152+
153+ # Default class for inputs
154+ # config.input_class = nil
155+
156+ # Define the default class of the input wrapper of the boolean input.
157+ config.boolean_label_class = 'checkbox'
158+
159+ # Defines if the default input wrapper class should be included in radio
160+ # collection wrappers.
161+ # config.include_default_input_wrapper_class = true
162+
163+ # Defines which i18n scope will be used in Simple Form.
164+ # config.i18n_scope = 'simple_form'
142165 end
--- a/config/initializers/simple_form_bootstrap.rb
+++ b/config/initializers/simple_form_bootstrap.rb
@@ -1,43 +1,149 @@
11 # Use this setup block to configure all options available in SimpleForm.
22 SimpleForm.setup do |config|
3- config.wrappers :bootstrap, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
3+ config.error_notification_class = 'alert alert-danger'
4+ config.button_class = 'btn btn-default'
5+ config.boolean_label_class = nil
6+
7+ config.wrappers :vertical_form, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
48 b.use :html5
59 b.use :placeholder
6- b.use :label
7- b.use :error, wrap_with: { tag: 'span', class: 'help-inline errmsg' }
10+ b.optional :maxlength
11+ b.optional :pattern
12+ b.optional :min_max
13+ b.optional :readonly
14+ b.use :label, class: 'control-label'
15+
16+ b.use :input, class: 'form-control'
17+ b.use :error, wrap_with: { tag: 'span', class: 'help-block' }
18+ b.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
19+ end
20+
21+ config.wrappers :vertical_file_input, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
22+ b.use :html5
23+ b.use :placeholder
24+ b.optional :maxlength
25+ b.optional :readonly
26+ b.use :label, class: 'control-label'
27+
28+ b.use :input
29+ b.use :error, wrap_with: { tag: 'span', class: 'help-block' }
30+ b.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
31+ end
32+
33+ config.wrappers :vertical_boolean, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
34+ b.use :html5
35+ b.optional :readonly
36+
37+ b.wrapper tag: 'div', class: 'checkbox' do |ba|
38+ ba.use :label_input
39+ end
40+
41+ b.use :error, wrap_with: { tag: 'span', class: 'help-block' }
42+ b.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
43+ end
44+
45+ config.wrappers :vertical_radio_and_checkboxes, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
46+ b.use :html5
47+ b.optional :readonly
48+ b.use :label, class: 'control-label'
849 b.use :input
50+ b.use :error, wrap_with: { tag: 'span', class: 'help-block' }
951 b.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
1052 end
1153
12- config.wrappers :prepend, tag: 'div', class: "form-group", error_class: 'error' do |b|
54+ config.wrappers :horizontal_form, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
1355 b.use :html5
1456 b.use :placeholder
15- b.use :label
16- b.wrapper tag: 'div', class: 'controls' do |input|
17- input.wrapper tag: 'div', class: 'input-prepend' do |prepend|
18- prepend.use :input
19- end
20- input.use :hint, wrap_with: { tag: 'span', class: 'help-block' }
21- input.use :error, wrap_with: { tag: 'span', class: 'help-inline' }
57+ b.optional :maxlength
58+ b.optional :pattern
59+ b.optional :min_max
60+ b.optional :readonly
61+ b.use :label, class: 'col-sm-3 control-label'
62+
63+ b.wrapper tag: 'div', class: 'col-sm-9' do |ba|
64+ ba.use :input, class: 'form-control'
65+ ba.use :error, wrap_with: { tag: 'span', class: 'help-block' }
66+ ba.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
2267 end
2368 end
2469
25- config.wrappers :append, tag: 'div', class: "form-group", error_class: 'error' do |b|
70+ config.wrappers :horizontal_file_input, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
2671 b.use :html5
2772 b.use :placeholder
28- b.use :label
29- b.wrapper tag: 'div', class: 'controls' do |input|
30- input.wrapper tag: 'div', class: 'input-append' do |append|
31- append.use :input
73+ b.optional :maxlength
74+ b.optional :readonly
75+ b.use :label, class: 'col-sm-3 control-label'
76+
77+ b.wrapper tag: 'div', class: 'col-sm-9' do |ba|
78+ ba.use :input
79+ ba.use :error, wrap_with: { tag: 'span', class: 'help-block' }
80+ ba.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
81+ end
82+ end
83+
84+ config.wrappers :horizontal_boolean, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
85+ b.use :html5
86+ b.optional :readonly
87+
88+ b.wrapper tag: 'div', class: 'col-sm-offset-3 col-sm-9' do |wr|
89+ wr.wrapper tag: 'div', class: 'checkbox' do |ba|
90+ ba.use :label_input
3291 end
33- input.use :hint, wrap_with: { tag: 'span', class: 'help-block' }
34- input.use :error, wrap_with: { tag: 'span', class: 'help-inline' }
92+
93+ wr.use :error, wrap_with: { tag: 'span', class: 'help-block' }
94+ wr.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
95+ end
96+ end
97+
98+ config.wrappers :horizontal_radio_and_checkboxes, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
99+ b.use :html5
100+ b.optional :readonly
101+
102+ b.use :label, class: 'col-sm-3 control-label'
103+
104+ b.wrapper tag: 'div', class: 'col-sm-9' do |ba|
105+ ba.use :input
106+ ba.use :error, wrap_with: { tag: 'span', class: 'help-block' }
107+ ba.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
35108 end
36109 end
37110
38- # Wrappers for forms and inputs using the Twitter Bootstrap toolkit.
39- # Check the Bootstrap docs (http://twitter.github.com/bootstrap)
111+ config.wrappers :inline_form, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
112+ b.use :html5
113+ b.use :placeholder
114+ b.optional :maxlength
115+ b.optional :pattern
116+ b.optional :min_max
117+ b.optional :readonly
118+ b.use :label, class: 'sr-only'
119+
120+ b.use :input, class: 'form-control'
121+ b.use :error, wrap_with: { tag: 'span', class: 'help-block' }
122+ b.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
123+ end
124+
125+ config.wrappers :multi_select, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
126+ b.use :html5
127+ b.optional :readonly
128+ b.use :label, class: 'control-label'
129+ b.wrapper tag: 'div', class: 'form-inline' do |ba|
130+ ba.use :input, class: 'form-control'
131+ ba.use :error, wrap_with: { tag: 'span', class: 'help-block' }
132+ ba.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
133+ end
134+ end
135+ # Wrappers for forms and inputs using the Bootstrap toolkit.
136+ # Check the Bootstrap docs (http://getbootstrap.com)
40137 # to learn about the different styles for forms and inputs,
41138 # buttons and other elements.
42- config.default_wrapper = :bootstrap
139+ config.default_wrapper = :vertical_form
140+ config.wrapper_mappings = {
141+ check_boxes: :vertical_radio_and_checkboxes,
142+ radio_buttons: :vertical_radio_and_checkboxes,
143+ file: :vertical_file_input,
144+ boolean: :vertical_boolean,
145+ datetime: :multi_select,
146+ date: :multi_select,
147+ time: :multi_select
148+ }
43149 end
--- a/config/locales/simple_form.en.yml
+++ b/config/locales/simple_form.en.yml
@@ -10,7 +10,7 @@ en:
1010 # html: '<abbr title="required">*</abbr>'
1111 error_notification:
1212 default_message: "Please review the problems below:"
13- # Labels and hints examples
13+ # Examples
1414 # labels:
1515 # defaults:
1616 # password: 'Password'
@@ -23,4 +23,9 @@ en:
2323 # defaults:
2424 # username: 'User name to sign in.'
2525 # password: 'No special characters, please.'
26-
26+ # include_blanks:
27+ # defaults:
28+ # age: 'Rather not say'
29+ # prompts:
30+ # defaults:
31+ # age: 'Select your age'
--- /dev/null
+++ b/config/secrets.yml
@@ -0,0 +1,22 @@
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: 63d594db997115d44f9a3578aca4b13385929b8d3afc75bf75bc79b1100a4fbe80bd5b74302ec01be2e7c8aafb3e009f92160da66344d9c59ba1255f82c09bae
15+
16+test:
17+ secret_key_base: 82abccbd9b6fbab08319573ba11ab52e26bc34686339918a52924d2c60e311c79562df76dbce1e9e1ee93d6eca1f820a16f9dbd3c9ecc1d3543379bfeb991d98
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"] %>