squash_whitespace 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/squash_whitespace/version.rb +1 -1
- data/test/dummy-4.0.0/Gemfile +47 -0
- data/test/dummy-4.0.0/Gemfile.lock +127 -0
- data/test/{dummy → dummy-4.0.0}/README.rdoc +0 -0
- data/test/{dummy → dummy-4.0.0}/Rakefile +1 -1
- data/test/{dummy → dummy-4.0.0}/app/assets/javascripts/application.js +5 -2
- data/test/dummy-4.0.0/app/assets/javascripts/pages.js.coffee +3 -0
- data/test/dummy-4.0.0/app/assets/stylesheets/application.css +13 -0
- data/test/dummy-4.0.0/app/assets/stylesheets/pages.css.scss +3 -0
- data/test/{dummy → dummy-4.0.0}/app/controllers/application_controller.rb +0 -0
- data/test/{dummy → dummy-4.0.0}/app/controllers/pages_controller.rb +0 -0
- data/test/{dummy → dummy-4.0.0}/app/helpers/application_helper.rb +0 -0
- data/test/{dummy → dummy-4.0.0}/app/helpers/pages_helper.rb +0 -0
- data/test/dummy-4.0.0/app/views/layouts/application.html.erb +14 -0
- data/test/{dummy → dummy-4.0.0}/app/views/pages/index.html.erb +0 -0
- data/test/{dummy → dummy-4.0.0}/bin/bundle +0 -0
- data/test/{dummy → dummy-4.0.0}/bin/rails +1 -1
- data/test/{dummy → dummy-4.0.0}/bin/rake +0 -0
- data/test/{dummy → dummy-4.0.0}/config.ru +1 -1
- data/test/{dummy → dummy-4.0.0}/config/application.rb +3 -6
- data/test/dummy-4.0.0/config/boot.rb +4 -0
- data/test/{dummy → dummy-4.0.0}/config/database.yml +8 -8
- data/test/{dummy → dummy-4.0.0}/config/environment.rb +1 -1
- data/test/{dummy → dummy-4.0.0}/config/environments/development.rb +2 -14
- data/test/{dummy → dummy-4.0.0}/config/environments/production.rb +21 -20
- data/test/{dummy → dummy-4.0.0}/config/environments/test.rb +4 -10
- data/test/{dummy → dummy-4.0.0}/config/initializers/backtrace_silencers.rb +0 -0
- data/test/{dummy → dummy-4.0.0}/config/initializers/filter_parameter_logging.rb +0 -0
- data/test/{dummy → dummy-4.0.0}/config/initializers/inflections.rb +0 -0
- data/test/{dummy → dummy-4.0.0}/config/initializers/mime_types.rb +1 -0
- data/test/dummy-4.0.0/config/initializers/secret_token.rb +12 -0
- data/test/dummy-4.0.0/config/initializers/session_store.rb +3 -0
- data/test/{dummy → dummy-4.0.0}/config/initializers/wrap_parameters.rb +0 -0
- data/test/{dummy → dummy-4.0.0}/config/locales/en.yml +0 -0
- data/test/{dummy → dummy-4.0.0}/config/routes.rb +1 -1
- data/test/{dummy → dummy-4.0.0}/db/development.sqlite3 +0 -0
- data/test/dummy-4.0.0/db/seeds.rb +7 -0
- data/test/{dummy → dummy-4.0.0}/db/test.sqlite3 +0 -0
- data/test/dummy-4.0.0/log/development.log +45 -0
- data/test/{dummy → dummy-4.0.0}/log/test.log +21 -21
- data/test/{dummy → dummy-4.0.0}/public/404.html +11 -20
- data/test/{dummy → dummy-4.0.0}/public/422.html +11 -20
- data/test/{dummy → dummy-4.0.0}/public/500.html +10 -19
- data/test/{dummy → dummy-4.0.0}/public/favicon.ico +0 -0
- data/test/dummy-4.0.0/public/robots.txt +5 -0
- data/test/{dummy → dummy-4.0.0}/test/controllers/pages_controller_test.rb +0 -0
- data/test/dummy-4.0.0/test/helpers/pages_helper_test.rb +4 -0
- data/test/dummy-4.0.0/test/test_helper.rb +15 -0
- data/test/dummy-4.0.0/tmp/cache/assets/development/sass/f0716cac50e863bbbe6525615fe2f6f57fb5ce7a/pages.css.scssc +0 -0
- data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/092c13db04087064e71a346331025f40 +0 -0
- data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/1ba2331aab000dc355521d376087bf32 +0 -0
- data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/1f458d3591bc95c3b405115abe40e80c +0 -0
- data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/23f9f567ad4579af53aa2cdb72a0efb4 +0 -0
- data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/3362e8d2212ac4991a0734452b5f9ade +0 -0
- data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/35a7e76f2aa6d5d9a5f0bbe258fa13a1 +0 -0
- data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/58d13fa8238ddbe40924e2b2b8e2b892 +0 -0
- data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/8d467b2390a5eab42a9d2d3d89792e32 +0 -0
- data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/8f2511830f6e103d24928dac99a5cf5a +0 -0
- data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/b7cf1ee5c56fa85d2cf039f2541df071 +0 -0
- data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/c079129bbbc0e3aa59b6b5f63d35318a +0 -0
- data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/ddbdf9fc0c4ead4ad9b8fa8d1bc5017b +0 -0
- data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/ddec1646d429cd18e4591523b17f366c +0 -0
- data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/e05152df28eeb6c92bd81c2e482eb580 +0 -0
- data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/f5f738b65b700d4d150982435be7b758 +0 -0
- data/test/dummy-4.0.0/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/test_helper.rb +2 -2
- metadata +141 -139
- data/test/dummy/app/assets/javascripts/pages.js +0 -2
- data/test/dummy/app/assets/stylesheets/application.css +0 -15
- data/test/dummy/app/assets/stylesheets/pages.css +0 -4
- data/test/dummy/app/views/layouts/application.html.erb +0 -14
- data/test/dummy/bin/setup +0 -29
- data/test/dummy/config/boot.rb +0 -5
- data/test/dummy/config/initializers/assets.rb +0 -11
- data/test/dummy/config/initializers/cookies_serializer.rb +0 -3
- data/test/dummy/config/initializers/session_store.rb +0 -3
- data/test/dummy/config/secrets.yml +0 -22
- data/test/dummy/log/development.log +0 -182
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-lQAyVnsdBE_3EmPwFhNZvK9n9SODvT7J0esIeeL7wc.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1jEmpzz8VKTYZLuPeMlau0sKFavozdZKHjUmAiVe6VI.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/2WxS9woKWZXbZ4noZotoub2C9eSivlEwCj61lnAqX9g.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/435ZKKoOp4qIFz_AUzRiyC41N0wfZNsPCGC2lUEi03o.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/6ZAh5UIVmgKzHe-NhXefbchJzRIpvOxHRLovPsWw35g.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7VoSpYSGYGcPT8B5Q-5o3IcQnNoeVG9wrfgq2AmJ9PM.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/A8gpqWTYMjSkVk7eGL5742gN5XIl2hOcRZaO5gSVdCQ.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/EfXtXu3pa1eki0HjtjUU090OfXoRRYvgSD35csnFjlg.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/FZV5vAG6HeNMz59KYTddFNDi9KZ9JcKC7FTfoVxt1Kk.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Ffbp6rom3IOjispTDwylo_q2YQgi1UFCtKm1joBs9w8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/LdjcfuUgDgieek6NqOl4Ocd9ud44Gu4O7cBy9IbjkkQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SGLD5Pr7HkyVEZATRU-z-kKGGwGYymuCNxDpPGEsZzg.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/TTCKPro6cWZKIfoTRB63JRQRyQuZlKdOeijR56L8--Y.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/dUAuehXZdmXDdJFx-OEekBa74ByXuE62B9nPhzvBuoA.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/hNc1HPAtJO9Hvys9JZdpya0PEZ741ttIxa9dSbi3ISI.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/hXN-qkGyVkojQWaWxJkIwyKyljSiovzmtAwLHGJw1fs.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jg7KKp_a7n0YM40tVCUv2YW9CICzN97QOzjJa3ju3IU.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jwIY9Qs7rpAhDyt_5jYxjuxqSybmaPSKLAx1xIdr7MA.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/k57paXcM7abK4GgsVukas7HCF_NqDA9ezu3ZyJvM3QY.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/kPtyVNCVBRBTWb8AhaX5tBQx1-jZu2mEPB_Yop2kq58.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/pvrS_fYOx2FRPgUwkKN_htt82GyCB9yDfZjJXrbzq68.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tKZwuDlBkMxPXiARypWO4tp-lxGKFUOm8uCDFkO1A2s.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/uNtfvu15qYrODi5Lu1yzNWP3eIu6nO9_6n0vZBMYKco.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/vE8MCHW_Gsy4wzrRs20FqWWi0QGy2A1fG6X4jx-E8iM.cache +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c7bbde010f7f38c49216060528d1362ba6307a69
|
|
4
|
+
data.tar.gz: d6234afc5f7d5666a4280735f4b25af98381b697
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e3fc8cacb5a33006f2205d119262b84b9f9e081b34513230196d05570c4da5682dfec9778fc57a751ff97c00c998241d072d8d2824b3ff1e4c469536bd514dc9
|
|
7
|
+
data.tar.gz: bf45a029c281e071b46af120700f93a6aa893f6c48299be2e5c52375e68a5d5dba64b55f1698059b18f4f15e2334be14dee2726a39140d51312cf150ffba1e5e
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
source 'https://rubygems.org'
|
|
2
|
+
|
|
3
|
+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
|
4
|
+
gem 'rails', '4.0.0'
|
|
5
|
+
|
|
6
|
+
# Use sqlite3 as the database for Active Record
|
|
7
|
+
gem 'sqlite3'
|
|
8
|
+
|
|
9
|
+
# Use SCSS for stylesheets
|
|
10
|
+
gem 'sass-rails', '~> 4.0.0'
|
|
11
|
+
|
|
12
|
+
# Use Uglifier as compressor for JavaScript assets
|
|
13
|
+
gem 'uglifier', '>= 1.3.0'
|
|
14
|
+
|
|
15
|
+
# Use CoffeeScript for .js.coffee assets and views
|
|
16
|
+
gem 'coffee-rails', '~> 4.0.0'
|
|
17
|
+
|
|
18
|
+
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
|
|
19
|
+
# gem 'therubyracer', platforms: :ruby
|
|
20
|
+
|
|
21
|
+
# Use jquery as the JavaScript library
|
|
22
|
+
gem 'jquery-rails'
|
|
23
|
+
|
|
24
|
+
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
|
|
25
|
+
gem 'turbolinks'
|
|
26
|
+
|
|
27
|
+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
|
28
|
+
gem 'jbuilder', '~> 1.2'
|
|
29
|
+
|
|
30
|
+
group :doc do
|
|
31
|
+
# bundle exec rake doc:rails generates the API under doc/api.
|
|
32
|
+
gem 'sdoc', require: false
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Use ActiveModel has_secure_password
|
|
36
|
+
# gem 'bcrypt-ruby', '~> 3.0.0'
|
|
37
|
+
|
|
38
|
+
# Use unicorn as the app server
|
|
39
|
+
# gem 'unicorn'
|
|
40
|
+
|
|
41
|
+
# Use Capistrano for deployment
|
|
42
|
+
# gem 'capistrano', group: :development
|
|
43
|
+
|
|
44
|
+
# Use debugger
|
|
45
|
+
# gem 'debugger', group: [:development, :test]
|
|
46
|
+
|
|
47
|
+
gem 'squash_whitespace', path: File.expand_path('../../..', __FILE__)
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: /Users/ta/web/ruby/squash_whitespace
|
|
3
|
+
specs:
|
|
4
|
+
squash_whitespace (0.0.1)
|
|
5
|
+
rails (~> 4.0)
|
|
6
|
+
|
|
7
|
+
GEM
|
|
8
|
+
remote: https://rubygems.org/
|
|
9
|
+
specs:
|
|
10
|
+
actionmailer (4.0.0)
|
|
11
|
+
actionpack (= 4.0.0)
|
|
12
|
+
mail (~> 2.5.3)
|
|
13
|
+
actionpack (4.0.0)
|
|
14
|
+
activesupport (= 4.0.0)
|
|
15
|
+
builder (~> 3.1.0)
|
|
16
|
+
erubis (~> 2.7.0)
|
|
17
|
+
rack (~> 1.5.2)
|
|
18
|
+
rack-test (~> 0.6.2)
|
|
19
|
+
activemodel (4.0.0)
|
|
20
|
+
activesupport (= 4.0.0)
|
|
21
|
+
builder (~> 3.1.0)
|
|
22
|
+
activerecord (4.0.0)
|
|
23
|
+
activemodel (= 4.0.0)
|
|
24
|
+
activerecord-deprecated_finders (~> 1.0.2)
|
|
25
|
+
activesupport (= 4.0.0)
|
|
26
|
+
arel (~> 4.0.0)
|
|
27
|
+
activerecord-deprecated_finders (1.0.4)
|
|
28
|
+
activesupport (4.0.0)
|
|
29
|
+
i18n (~> 0.6, >= 0.6.4)
|
|
30
|
+
minitest (~> 4.2)
|
|
31
|
+
multi_json (~> 1.3)
|
|
32
|
+
thread_safe (~> 0.1)
|
|
33
|
+
tzinfo (~> 0.3.37)
|
|
34
|
+
arel (4.0.2)
|
|
35
|
+
builder (3.1.4)
|
|
36
|
+
coffee-rails (4.0.1)
|
|
37
|
+
coffee-script (>= 2.2.0)
|
|
38
|
+
railties (>= 4.0.0, < 5.0)
|
|
39
|
+
coffee-script (2.4.1)
|
|
40
|
+
coffee-script-source
|
|
41
|
+
execjs
|
|
42
|
+
coffee-script-source (1.9.1.1)
|
|
43
|
+
erubis (2.7.0)
|
|
44
|
+
execjs (2.5.2)
|
|
45
|
+
hike (1.2.3)
|
|
46
|
+
i18n (0.7.0)
|
|
47
|
+
jbuilder (1.5.3)
|
|
48
|
+
activesupport (>= 3.0.0)
|
|
49
|
+
multi_json (>= 1.2.0)
|
|
50
|
+
jquery-rails (3.1.3)
|
|
51
|
+
railties (>= 3.0, < 5.0)
|
|
52
|
+
thor (>= 0.14, < 2.0)
|
|
53
|
+
json (1.8.3)
|
|
54
|
+
mail (2.5.4)
|
|
55
|
+
mime-types (~> 1.16)
|
|
56
|
+
treetop (~> 1.4.8)
|
|
57
|
+
mime-types (1.25.1)
|
|
58
|
+
minitest (4.7.5)
|
|
59
|
+
multi_json (1.11.1)
|
|
60
|
+
polyglot (0.3.5)
|
|
61
|
+
rack (1.5.4)
|
|
62
|
+
rack-test (0.6.3)
|
|
63
|
+
rack (>= 1.0)
|
|
64
|
+
rails (4.0.0)
|
|
65
|
+
actionmailer (= 4.0.0)
|
|
66
|
+
actionpack (= 4.0.0)
|
|
67
|
+
activerecord (= 4.0.0)
|
|
68
|
+
activesupport (= 4.0.0)
|
|
69
|
+
bundler (>= 1.3.0, < 2.0)
|
|
70
|
+
railties (= 4.0.0)
|
|
71
|
+
sprockets-rails (~> 2.0.0)
|
|
72
|
+
railties (4.0.0)
|
|
73
|
+
actionpack (= 4.0.0)
|
|
74
|
+
activesupport (= 4.0.0)
|
|
75
|
+
rake (>= 0.8.7)
|
|
76
|
+
thor (>= 0.18.1, < 2.0)
|
|
77
|
+
rake (10.4.2)
|
|
78
|
+
rdoc (4.2.0)
|
|
79
|
+
sass (3.2.19)
|
|
80
|
+
sass-rails (4.0.5)
|
|
81
|
+
railties (>= 4.0.0, < 5.0)
|
|
82
|
+
sass (~> 3.2.2)
|
|
83
|
+
sprockets (~> 2.8, < 3.0)
|
|
84
|
+
sprockets-rails (~> 2.0)
|
|
85
|
+
sdoc (0.4.1)
|
|
86
|
+
json (~> 1.7, >= 1.7.7)
|
|
87
|
+
rdoc (~> 4.0)
|
|
88
|
+
sprockets (2.12.3)
|
|
89
|
+
hike (~> 1.2)
|
|
90
|
+
multi_json (~> 1.0)
|
|
91
|
+
rack (~> 1.0)
|
|
92
|
+
tilt (~> 1.1, != 1.3.0)
|
|
93
|
+
sprockets-rails (2.0.1)
|
|
94
|
+
actionpack (>= 3.0)
|
|
95
|
+
activesupport (>= 3.0)
|
|
96
|
+
sprockets (~> 2.8)
|
|
97
|
+
sqlite3 (1.3.10)
|
|
98
|
+
thor (0.19.1)
|
|
99
|
+
thread_safe (0.3.5)
|
|
100
|
+
tilt (1.4.1)
|
|
101
|
+
treetop (1.4.15)
|
|
102
|
+
polyglot
|
|
103
|
+
polyglot (>= 0.3.1)
|
|
104
|
+
turbolinks (2.5.3)
|
|
105
|
+
coffee-rails
|
|
106
|
+
tzinfo (0.3.44)
|
|
107
|
+
uglifier (2.7.1)
|
|
108
|
+
execjs (>= 0.3.0)
|
|
109
|
+
json (>= 1.8.0)
|
|
110
|
+
|
|
111
|
+
PLATFORMS
|
|
112
|
+
ruby
|
|
113
|
+
|
|
114
|
+
DEPENDENCIES
|
|
115
|
+
coffee-rails (~> 4.0.0)
|
|
116
|
+
jbuilder (~> 1.2)
|
|
117
|
+
jquery-rails
|
|
118
|
+
rails (= 4.0.0)
|
|
119
|
+
sass-rails (~> 4.0.0)
|
|
120
|
+
sdoc
|
|
121
|
+
sqlite3
|
|
122
|
+
squash_whitespace!
|
|
123
|
+
turbolinks
|
|
124
|
+
uglifier (>= 1.3.0)
|
|
125
|
+
|
|
126
|
+
BUNDLED WITH
|
|
127
|
+
1.10.3
|
|
File without changes
|
|
@@ -2,12 +2,15 @@
|
|
|
2
2
|
// listed below.
|
|
3
3
|
//
|
|
4
4
|
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
|
5
|
-
// or
|
|
5
|
+
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
|
6
6
|
//
|
|
7
7
|
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
|
8
8
|
// compiled file.
|
|
9
9
|
//
|
|
10
|
-
// Read Sprockets README (https://github.com/
|
|
10
|
+
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
|
|
11
11
|
// about supported directives.
|
|
12
12
|
//
|
|
13
|
+
//= require jquery
|
|
14
|
+
//= require jquery_ujs
|
|
15
|
+
//= require turbolinks
|
|
13
16
|
//= require_tree .
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
*/
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>Dummy</title>
|
|
5
|
+
<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
|
|
6
|
+
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
|
|
7
|
+
<%= csrf_meta_tags %>
|
|
8
|
+
</head>
|
|
9
|
+
<body>
|
|
10
|
+
|
|
11
|
+
<%= yield %>
|
|
12
|
+
|
|
13
|
+
</body>
|
|
14
|
+
</html>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -2,8 +2,9 @@ require File.expand_path('../boot', __FILE__)
|
|
|
2
2
|
|
|
3
3
|
require 'rails/all'
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
# Require the gems listed in Gemfile, including any gems
|
|
6
|
+
# you've limited to :test, :development, or :production.
|
|
7
|
+
Bundler.require(:default, Rails.env)
|
|
7
8
|
|
|
8
9
|
module Dummy
|
|
9
10
|
class Application < Rails::Application
|
|
@@ -18,9 +19,5 @@ module Dummy
|
|
|
18
19
|
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
|
19
20
|
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
|
20
21
|
# config.i18n.default_locale = :de
|
|
21
|
-
|
|
22
|
-
# Do not swallow errors in after_commit/after_rollback callbacks.
|
|
23
|
-
config.active_record.raise_in_transactional_callbacks = true
|
|
24
22
|
end
|
|
25
23
|
end
|
|
26
|
-
|
|
@@ -3,23 +3,23 @@
|
|
|
3
3
|
#
|
|
4
4
|
# Ensure the SQLite 3 gem is defined in your Gemfile
|
|
5
5
|
# gem 'sqlite3'
|
|
6
|
-
|
|
7
|
-
default: &default
|
|
6
|
+
development:
|
|
8
7
|
adapter: sqlite3
|
|
8
|
+
database: db/development.sqlite3
|
|
9
9
|
pool: 5
|
|
10
10
|
timeout: 5000
|
|
11
11
|
|
|
12
|
-
development:
|
|
13
|
-
<<: *default
|
|
14
|
-
database: db/development.sqlite3
|
|
15
|
-
|
|
16
12
|
# Warning: The database defined as "test" will be erased and
|
|
17
13
|
# re-generated from your development database when you run "rake".
|
|
18
14
|
# Do not set this db to the same as development or production.
|
|
19
15
|
test:
|
|
20
|
-
|
|
16
|
+
adapter: sqlite3
|
|
21
17
|
database: db/test.sqlite3
|
|
18
|
+
pool: 5
|
|
19
|
+
timeout: 5000
|
|
22
20
|
|
|
23
21
|
production:
|
|
24
|
-
|
|
22
|
+
adapter: sqlite3
|
|
25
23
|
database: db/production.sqlite3
|
|
24
|
+
pool: 5
|
|
25
|
+
timeout: 5000
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
Dummy::Application.configure do
|
|
2
2
|
# Settings specified here will take precedence over those in config/application.rb.
|
|
3
3
|
|
|
4
4
|
# In the development environment your application's code is reloaded on
|
|
@@ -19,23 +19,11 @@ Rails.application.configure do
|
|
|
19
19
|
# Print deprecation notices to the Rails logger.
|
|
20
20
|
config.active_support.deprecation = :log
|
|
21
21
|
|
|
22
|
-
# Raise an error on page load if there are pending migrations
|
|
22
|
+
# Raise an error on page load if there are pending migrations
|
|
23
23
|
config.active_record.migration_error = :page_load
|
|
24
24
|
|
|
25
25
|
# Debug mode disables concatenation and preprocessing of assets.
|
|
26
26
|
# This option may cause significant delays in view rendering with a large
|
|
27
27
|
# number of complex assets.
|
|
28
28
|
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
|
|
41
29
|
end
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
Dummy::Application.configure do
|
|
2
2
|
# Settings specified here will take precedence over those in config/application.rb.
|
|
3
3
|
|
|
4
4
|
# Code is not reloaded between requests.
|
|
5
5
|
config.cache_classes = true
|
|
6
6
|
|
|
7
7
|
# Eager load code on boot. This eager loads most of Rails and
|
|
8
|
-
# your application in memory, allowing both
|
|
8
|
+
# your application in memory, allowing both thread web servers
|
|
9
9
|
# and those relying on copy on write to perform better.
|
|
10
10
|
# Rake tasks automatically ignore this option for performance.
|
|
11
11
|
config.eager_load = true
|
|
@@ -16,13 +16,11 @@ Rails.application.configure do
|
|
|
16
16
|
|
|
17
17
|
# Enable Rack::Cache to put a simple HTTP cache in front of your application
|
|
18
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.
|
|
19
|
+
# For large-scale production use, consider using a caching reverse proxy like nginx, varnish or squid.
|
|
21
20
|
# config.action_dispatch.rack_cache = true
|
|
22
21
|
|
|
23
|
-
# Disable
|
|
24
|
-
|
|
25
|
-
config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
|
|
22
|
+
# Disable Rails's static asset server (Apache or nginx will already do this).
|
|
23
|
+
config.serve_static_assets = false
|
|
26
24
|
|
|
27
25
|
# Compress JavaScripts and CSS.
|
|
28
26
|
config.assets.js_compressor = :uglifier
|
|
@@ -31,22 +29,21 @@ Rails.application.configure do
|
|
|
31
29
|
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
|
32
30
|
config.assets.compile = false
|
|
33
31
|
|
|
34
|
-
#
|
|
35
|
-
# yet still be able to expire them through the digest params.
|
|
32
|
+
# Generate digests for assets URLs.
|
|
36
33
|
config.assets.digest = true
|
|
37
34
|
|
|
38
|
-
#
|
|
35
|
+
# Version of your assets, change this if you want to expire all your assets.
|
|
36
|
+
config.assets.version = '1.0'
|
|
39
37
|
|
|
40
38
|
# Specifies the header that your server uses for sending files.
|
|
41
|
-
# config.action_dispatch.x_sendfile_header =
|
|
42
|
-
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for
|
|
39
|
+
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
|
|
40
|
+
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
|
|
43
41
|
|
|
44
42
|
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
|
45
43
|
# config.force_ssl = true
|
|
46
44
|
|
|
47
|
-
#
|
|
48
|
-
|
|
49
|
-
config.log_level = :debug
|
|
45
|
+
# Set to :debug to see everything in the log.
|
|
46
|
+
config.log_level = :info
|
|
50
47
|
|
|
51
48
|
# Prepend all log lines with the following tags.
|
|
52
49
|
# config.log_tags = [ :subdomain, :uuid ]
|
|
@@ -58,22 +55,26 @@ Rails.application.configure do
|
|
|
58
55
|
# config.cache_store = :mem_cache_store
|
|
59
56
|
|
|
60
57
|
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
|
|
61
|
-
# config.action_controller.asset_host =
|
|
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 )
|
|
62
63
|
|
|
63
64
|
# Ignore bad email addresses and do not raise email delivery errors.
|
|
64
65
|
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
|
|
65
66
|
# config.action_mailer.raise_delivery_errors = false
|
|
66
67
|
|
|
67
68
|
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
|
68
|
-
# the I18n.default_locale when a translation
|
|
69
|
+
# the I18n.default_locale when a translation can not be found).
|
|
69
70
|
config.i18n.fallbacks = true
|
|
70
71
|
|
|
71
72
|
# Send deprecation notices to registered listeners.
|
|
72
73
|
config.active_support.deprecation = :notify
|
|
73
74
|
|
|
75
|
+
# Disable automatic flushing of the log to improve performance.
|
|
76
|
+
# config.autoflush_log = false
|
|
77
|
+
|
|
74
78
|
# Use default logging formatter so that PID and timestamp are not suppressed.
|
|
75
79
|
config.log_formatter = ::Logger::Formatter.new
|
|
76
|
-
|
|
77
|
-
# Do not dump schema after migrations.
|
|
78
|
-
config.active_record.dump_schema_after_migration = false
|
|
79
80
|
end
|