groonga-client-model 0.9.9 → 1.0.0
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/doc/text/news.md +6 -0
- data/lib/groonga_client_model/railtie.rb +9 -2
- data/lib/groonga_client_model/version.rb +1 -1
- data/test/apps/rails4/Gemfile +15 -22
- data/test/apps/rails4/Gemfile.lock +77 -91
- data/test/apps/rails4/{README.md → README.rdoc} +5 -1
- data/test/apps/rails4/Rakefile +1 -1
- data/test/apps/rails4/app/assets/javascripts/application.js +1 -1
- data/test/apps/rails4/app/assets/stylesheets/application.css +3 -3
- data/test/apps/rails4/app/assets/stylesheets/scaffolds.scss +1 -17
- data/test/apps/rails4/app/controllers/application_controller.rb +2 -0
- data/test/apps/rails4/app/models/application_groonga_record.rb +2 -0
- data/test/apps/rails4/app/models/post.rb +1 -1
- data/test/apps/rails4/app/views/layouts/application.html.erb +9 -9
- data/test/apps/rails4/app/views/posts/_form.html.erb +6 -8
- data/test/apps/rails4/app/views/posts/edit.html.erb +1 -1
- data/test/apps/rails4/app/views/posts/index.html.erb +1 -1
- data/test/apps/rails4/app/views/posts/new.html.erb +1 -1
- data/test/apps/rails4/bin/rails +1 -1
- data/test/apps/rails4/bin/setup +12 -17
- data/test/apps/rails4/bin/spring +2 -1
- data/test/apps/rails4/config.ru +1 -2
- data/test/apps/rails4/config/application.rb +9 -2
- data/test/apps/rails4/config/boot.rb +1 -1
- data/test/apps/rails4/config/environment.rb +1 -1
- data/test/apps/rails4/config/environments/development.rb +11 -24
- data/test/apps/rails4/config/environments/production.rb +17 -24
- data/test/apps/rails4/config/environments/test.rb +6 -6
- data/test/apps/rails4/config/groonga.yml +18 -3
- data/test/apps/rails4/config/initializers/cookies_serializer.rb +0 -2
- data/test/apps/rails4/config/initializers/wrap_parameters.rb +1 -1
- data/test/apps/rails4/config/routes.rb +54 -1
- data/test/apps/rails4/config/secrets.yml +3 -3
- data/test/apps/rails4/db/seeds.rb +3 -3
- data/test/apps/rails4/log/test.log +363 -184
- data/test/apps/rails4/test/controllers/posts_controller_test.rb +12 -11
- data/test/apps/rails4/test/models/post_test.rb +16 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{mA/mAWsnX7Peh_B8DPSBTB4f9Yr4LFtZwOf5prl05GZY3g.cache → 1v/1vNbaFvqzPuMCPa9LBe2yL962Ncp7RbNREOlE_qe8Ss.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{0g/0gB1rYz79RuAa43DzVci1GUjc5so0F1dU_LyLSmm3oQ.cache → 2F/2FyDjMLF22tXYLEKS6UqrqiSZTKp2HowmRsOZfW2dQs.cache} +1 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/3Q/3QxCnPBwOHO-nainvNGREWb7QnMUKlPsx4AFZgNVVUI.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache → 5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{rF/rF2vahiCQKUhJ8McEG0p8B7csWsz-dL13EQ7r2APOxc.cache → 6q/6q02XRkUAs1p1AznDygMg5SQnzVPORnD3tttb6bN38Y.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/AP/APY89OAPJx9A3D3xcCoktvEvQUs7NcWChYXnjjjPzz0.cache +2 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/BX/BXotLtoyOM47AZWstuYImgPP3ZX_6ePkTaL-w2UbD6s.cache +1 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/CP/CPpqyQND9PwMf8rWX137atdXUJllZf-MoJqsrRy8-_M.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/GB/GBwB7RWhc8G8ZTp1BmhlFA9KxTMHsC0ozT6BA4wY4E0.cache +1 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{N1/N1cFx1cQirDbaPCgGKbLjIcxsOM8ODiP98PZWSHDzyE.cache → Im/ImPjo1rh_BjihbG9lqrj6vYU12ZpBF1ml-SYAoCeDfs.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Kj/Kj5SXlN75_IXQg3ClSWOr0un4meXeR4o2STN7wQlrNs.cache +1 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{Bh/BhBHwSo9EwfIYTDkA21FIndZkPsZ28CYARi4iBDw608.cache → Kq/KqE4OB3K1Vvxhxu20J2vygXKabgv57Mk0fYncnRtMVM.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/L6/L6VeuDb0xHGN0ZkbW-7I8k4hl6jcoufH3IqJLGat0uw.cache +1 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/MG/MGY7vCFpMwMfTZjnoHcjrEns4qINkUs6SDLo-7ZHDzY.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Md/MdQJlkbMaRGmGTWDp3vV1gnrGTBlA_WglIB5glz1bEE.cache +1 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache → OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{tH/tHi6ifML6NOeHhumbOb5hc1QFREX-LhACtiUhS54YPQ.cache → Ot/Ot1Yjpr09IxOvvY7PgNcg-1nEEO0nhzwJmosWMeSWwc.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{kz/kzw210ITXFWNFV8kw5e-_kRlpS48lGotSQWKPlUfMJ4.cache → Pm/Pm3ENYpCrQMOJGd-d8lACN_nbGZWiivq_KyPLJoD9Xk.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{VQ/VQNk5aqOyF22mFE5NhdDjfBZeFpSfgaaZdyngvHYi48.cache → QG/QG2CRa1A_ehuXGL8JwqPi2U16gehGSaXO_IzkOjcZaU.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Rg/RgDBcEPslcvUrodRXUXEkV6mbPTHBBnNrD3IO7tzw78.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/UF/UF2HqGF3e151MaG10cb333axk4G1L4l2TfS91DkiX6I.cache +1 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{XJ/XJRPx7aZ4ajZ72O37hx53ZFkfXSHpDDpCy78LI0leqM.cache → Uo/UoAGEMj7jzkXrlFKxviQpDP2tiO1dYTKiZGzA1EZyc4.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{Ru/Ru1MOhJ8ZzL7pBzPr_QeTTd0LnfWx4DcM0iVcL4cTzo.cache → W4/W4TqFfx9xs_9OpiAURaumjMu1Xoiw4wE0LcVK7hQS8A.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{eQ/eQxzX_D16-XyOt1WTkYEC0qDvRbjXcCgQgnd9pBrg7o.cache → X-/X-m9giJcrkJm0BkoCQEan-MDJ0UTN9QaLyfNo0LXm2s.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/YL/YLHQFFsVrl4ksR5ZNFU1vc0ytWPUeiahGhk4llYc4Zg.cache +1 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/YY/YYjjrExY-FL2dQQkvcHOLwpb_KNTHlsTyyFUVMhLbUE.cache +1 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Zs/Zs96XWLbB-Sp-R9P31ArcdU7j6VL_RBI-SwpwTE_TZA.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{bM/bMMUbhA2nFZ9dHAnzKZsPzKVcv-UlAWaVq92COmAHwI.cache → _e/_eNuPQDv_ZR4m8hgbRvDpxc2CL_5gpsPUczPBDERMbA.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{6r/6rrJLZY0-_gdJxgMUZBZIn-wf8bPVArYjXhIIrt_O5Y.cache → cM/cMcoi258fMhhWlagTzUINSg8srih6ebrpZ50tLfKUoc.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/dv/dvWPUKdon1kQ0NI3VfpPzMETH0CWImWXui_6n2SsoAE.cache +1 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/eb/ebKQzT3ac6Hus7GSISyFj_1LkQW1W9-BlhewMEXtUg0.cache +1 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/kS/kSkCWaAJCcTgZ_AhrRCjZhNtkE12cubiq70uNtditqk.cache +2 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{eA/eA_fQgrHsn-vD9XeNQyC8335oMP8k0cnmerzHzjEwLQ.cache → lL/lL_dWZRBcwCn63yXBT5UzQ-7tnVDndwPc7qVdFgl0tM.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/lz/lzP8RQ5zmNQAi9-dzplqCwDpDZ13rCc2ob9BrMG-FCk.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/nd/ndY4mwZ38em5ydI4kE4ZwSM5DZim7EHoyJlccsNffzU.cache +1 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{JX/JXqwLmb9hlO9nmp2kJYEcKaKy9RMO-HxwnptsiVAADc.cache → oF/oF9RtQhbL4wfZGSLn-E5OVetjrvjXHH91DpRQE52ufA.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{0M/0M4bZ4tQh0MQYZMb72U5yr-ELStAsUSb8akkTME9TPM.cache → ok/okosRqsUehqnm3OWnShpWnh8oyDXxM73IeCQyLhjZBM.cache} +1 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{a5/a5Ai9QXaiRRSN7BXZZ3eZSL8mbwrdOKNM9Hco1Bp498.cache → r9/r9AgJGnY4OgxXHKYgc1j-0muJGgEkcWFIrHDk2ev4ps.cache} +1 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{do/doMYM14rQvSD5lPwCGe0ULzbXBwyBM-f1jOE0MzmEs4.cache → vw/vw0y0WzpHCSScyQbk0p_zI3oc3XRp-WEcoO-RxTASls.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/wZ/wZ0ALwHNZctvL4oikOtK5ZgTaBqFADb6scXaXjRGnzg.cache +1 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/xY/xYS0jeJMWjdvv2rhUmK2NWvRYx51t9zJQC31JW7SuOE.cache +2 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/yt/ytNmOXX5w9z_7WDwpxuKls7UhKWzz8w1aYLF0WQ-NC4.cache +0 -0
- metadata +89 -139
- data/test/apps/rails4/app/assets/config/manifest.js +0 -3
- data/test/apps/rails4/app/assets/javascripts/cable.js +0 -13
- data/test/apps/rails4/app/channels/application_cable/channel.rb +0 -4
- data/test/apps/rails4/app/channels/application_cable/connection.rb +0 -4
- data/test/apps/rails4/app/jobs/application_job.rb +0 -2
- data/test/apps/rails4/app/mailers/application_mailer.rb +0 -4
- data/test/apps/rails4/app/views/layouts/mailer.html.erb +0 -13
- data/test/apps/rails4/app/views/layouts/mailer.text.erb +0 -1
- data/test/apps/rails4/bin/update +0 -29
- data/test/apps/rails4/config/cable.yml +0 -9
- data/test/apps/rails4/config/initializers/application_controller_renderer.rb +0 -6
- data/test/apps/rails4/config/initializers/new_framework_defaults.rb +0 -21
- data/test/apps/rails4/config/puma.rb +0 -47
- data/test/apps/rails4/config/spring.rb +0 -6
- data/test/apps/rails4/public/apple-touch-icon-precomposed.png +0 -0
- data/test/apps/rails4/public/apple-touch-icon.png +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/0I/0Ihy3SE8nTe---ZtfB9WjKd6UOgmtLFlyhbw1R2BDFs.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/17/17ACx-zXgzaAZBriGH5oeRJJ9hMIlwP9bWBPlEMoY-0.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/8i/8iQwPHnNGnDGUJBtgrVMB7FceEuaXnCBF1671S9jJgo.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/B6/B6nLb8yGukrJQUpa3aPtLwrmBPnh2_8ZFkSTc5T8c0k.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Bj/BjttQ669rtLFSU4Oq7YxTtumvpgsHKREjOND3HIVJx8.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Bx/BxzoG0KxeNLac4xTNeJv3qfeytbNBw58xj2zD-xdbrE.cache +0 -2
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/C3/C3hMQl1ywl9gQ3OFdiiVc8l1y2gP7GWN37t9DDEaoy4.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/FT/FTiuNlnEJN59jNEEgEfQazsLhj_YTdIQnCuFC2EM7qw.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/K9/K9G8c-hzp4a8xRtPMnSQf6bsziHMznJz-OvHDz7w3rE.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Kq/KqsxRPBMXWQubUa9Ab4tmgT4j4DM5-A89_rh15MNlmI.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Kz/KznX4kBl2yjCE-XZL5bNAJ0xXrLVL6nJEJWMYLY3X7I.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/QH/QHW6bVAXmJeybTQiApxxYej1wQkNigo-KRbnXDwd1Mk.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/R7/R7bSW7yrMkNVznGUpcDS6MXM3ZziGA7RrQGogNiuVTA.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/RH/RHIJ8umE9bWwt5xXi8SJ4RYpZqFvt88JBVNo4lTPg0U.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Rt/Rtg9DogJyyU6DIW9gV2GCVTWMF0GYLevAVNvv3bEDeI.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/S3/S3OZbpxIypECjqQj77Gb9Oc6A-q0U1fKpzMbPVMoubk.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Vw/Vwgy4zAZLGHF9RslYQ40wbF7NYW47NDE0wcA7T3HwxI.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/W9/W9OEjda3McVaqzRMNGzY4zMzGFKwy-JYer2dt7dxRjQ.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Ya/YayMISAqD-Y3vBFywwKrXbUovGf5o77HUF5s8mnQgO0.cache +0 -2
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/cc/ccFbs28DWObwrW_wnGA4cU9RmsKrBzb5xDaMu1-5QOo.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/d8/d80_M7rvPV-A1sCjIEhieR5jS353S0hCykiWL6Qoy7Q.cache +0 -3
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/gl/glrAgaE6JUHFNGuQsy5qakLJ2Sjmq-O09QX7cJklxP4.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/jt/jtP0R1pGResPYdA6O4Ph5x0W0T1If9yb0sRFijAemLY.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/mX/mXbxFiGMdcA3j1srHRMPEBxhXw8udKgsNtXk6_Zl5ts.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/nf/nfIObnkUaxVC6zkWxRI2Mzau2JKMWf2ii3dr0Q0IvNk.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/u3/u3DEuOZf5FZ_vumprxhkeIsi2jzeDJRxtjYbqNJ13wQ.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/u_/u_yfB9bAyTK1suTw3FxVxx4Lv0U31dIL1G0uX9R9byU.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/vH/vHuuPjMkmfpQ2eqHofMJprX6McDX-BRf-OZLe-Zy0uM.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/wq/wqEwEzqpIhD5Ie3bMy9VSp3TZI4lqTUROqfAYdpO83g.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/x7/x7PYh8DJvPykcEqpVab2vcY9-GFz-3cqtoMlRAu94Uc.cache +0 -2
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/yZ/yZz4rIdiAxAUWJ7Io7t9ZdVN8fjEjgzn8MfNKrBdIR0.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/zQ/zQ9ej9LKS_XIns0yfDEKXZaCGO7n1sA2dRjIsPO9Krg.cache +0 -1
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// Action Cable provides the framework to deal with WebSockets in Rails.
|
|
2
|
-
// You can generate new channels where WebSocket features live using the rails generate channel command.
|
|
3
|
-
//
|
|
4
|
-
//= require action_cable
|
|
5
|
-
//= require_self
|
|
6
|
-
//= require_tree ./channels
|
|
7
|
-
|
|
8
|
-
(function() {
|
|
9
|
-
this.App || (this.App = {});
|
|
10
|
-
|
|
11
|
-
App.cable = ActionCable.createConsumer();
|
|
12
|
-
|
|
13
|
-
}).call(this);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<%= yield %>
|
data/test/apps/rails4/bin/update
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env ruby
|
|
2
|
-
require 'pathname'
|
|
3
|
-
require 'fileutils'
|
|
4
|
-
include FileUtils
|
|
5
|
-
|
|
6
|
-
# path to your application root.
|
|
7
|
-
APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
|
|
8
|
-
|
|
9
|
-
def system!(*args)
|
|
10
|
-
system(*args) || abort("\n== Command #{args} failed ==")
|
|
11
|
-
end
|
|
12
|
-
|
|
13
|
-
chdir APP_ROOT do
|
|
14
|
-
# This script is a way to update your development environment automatically.
|
|
15
|
-
# Add necessary update steps to this file.
|
|
16
|
-
|
|
17
|
-
puts '== Installing dependencies =='
|
|
18
|
-
system! 'gem install bundler --conservative'
|
|
19
|
-
system('bundle check') || system!('bundle install')
|
|
20
|
-
|
|
21
|
-
puts "\n== Updating database =="
|
|
22
|
-
system! 'bin/rails db:migrate'
|
|
23
|
-
|
|
24
|
-
puts "\n== Removing old logs and tempfiles =="
|
|
25
|
-
system! 'bin/rails log:clear tmp:clear'
|
|
26
|
-
|
|
27
|
-
puts "\n== Restarting application server =="
|
|
28
|
-
system! 'bin/rails restart'
|
|
29
|
-
end
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
|
2
|
-
#
|
|
3
|
-
# This file contains migration options to ease your Rails 5.0 upgrade.
|
|
4
|
-
#
|
|
5
|
-
# Read the Guide for Upgrading Ruby on Rails for more info on each option.
|
|
6
|
-
|
|
7
|
-
# Enable per-form CSRF tokens. Previous versions had false.
|
|
8
|
-
Rails.application.config.action_controller.per_form_csrf_tokens = true
|
|
9
|
-
|
|
10
|
-
# Enable origin-checking CSRF mitigation. Previous versions had false.
|
|
11
|
-
Rails.application.config.action_controller.forgery_protection_origin_check = true
|
|
12
|
-
|
|
13
|
-
# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
|
|
14
|
-
# Previous versions had false.
|
|
15
|
-
ActiveSupport.to_time_preserves_timezone = true
|
|
16
|
-
|
|
17
|
-
# Do not halt callback chains when a callback returns false. Previous versions had true.
|
|
18
|
-
ActiveSupport.halt_callback_chains_on_return_false = false
|
|
19
|
-
|
|
20
|
-
# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
|
|
21
|
-
Rails.application.config.ssl_options = { hsts: { subdomains: true } }
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
# Puma can serve each request in a thread from an internal thread pool.
|
|
2
|
-
# The `threads` method setting takes two numbers a minimum and maximum.
|
|
3
|
-
# Any libraries that use thread pools should be configured to match
|
|
4
|
-
# the maximum value specified for Puma. Default is set to 5 threads for minimum
|
|
5
|
-
# and maximum, this matches the default thread size of Active Record.
|
|
6
|
-
#
|
|
7
|
-
threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i
|
|
8
|
-
threads threads_count, threads_count
|
|
9
|
-
|
|
10
|
-
# Specifies the `port` that Puma will listen on to receive requests, default is 3000.
|
|
11
|
-
#
|
|
12
|
-
port ENV.fetch("PORT") { 3000 }
|
|
13
|
-
|
|
14
|
-
# Specifies the `environment` that Puma will run in.
|
|
15
|
-
#
|
|
16
|
-
environment ENV.fetch("RAILS_ENV") { "development" }
|
|
17
|
-
|
|
18
|
-
# Specifies the number of `workers` to boot in clustered mode.
|
|
19
|
-
# Workers are forked webserver processes. If using threads and workers together
|
|
20
|
-
# the concurrency of the application would be max `threads` * `workers`.
|
|
21
|
-
# Workers do not work on JRuby or Windows (both of which do not support
|
|
22
|
-
# processes).
|
|
23
|
-
#
|
|
24
|
-
# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
|
|
25
|
-
|
|
26
|
-
# Use the `preload_app!` method when specifying a `workers` number.
|
|
27
|
-
# This directive tells Puma to first boot the application and load code
|
|
28
|
-
# before forking the application. This takes advantage of Copy On Write
|
|
29
|
-
# process behavior so workers use less memory. If you use this option
|
|
30
|
-
# you need to make sure to reconnect any threads in the `on_worker_boot`
|
|
31
|
-
# block.
|
|
32
|
-
#
|
|
33
|
-
# preload_app!
|
|
34
|
-
|
|
35
|
-
# The code in the `on_worker_boot` will be called if you are using
|
|
36
|
-
# clustered mode by specifying a number of `workers`. After each worker
|
|
37
|
-
# process is booted this block will be run, if you are using `preload_app!`
|
|
38
|
-
# option you will want to use this block to reconnect to any threads
|
|
39
|
-
# or connections that may have been created at application boot, Ruby
|
|
40
|
-
# cannot share connections between processes.
|
|
41
|
-
#
|
|
42
|
-
# on_worker_boot do
|
|
43
|
-
# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
|
|
44
|
-
# end
|
|
45
|
-
|
|
46
|
-
# Allow puma to be restarted by `rails restart` command.
|
|
47
|
-
plugin :tmp_restart
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"%O�n�%�wn���$R�P�{ ՠ��=����
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"%h�$1q1@1��"U��E
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"%A��G�{h t�l�m�V���NE���f���
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
I"�/var/lib/gems/2.3.0/gems/actioncable-5.0.1/lib/assets/compiled/action_cable.js?type=application/javascript&pipeline=self&id=1f0fa936debca314bef6aa22155bb4579388533f0d481ef40486527f2587c116:ET
|
|
Binary file
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
[o:Set:
|
|
2
|
-
@hash}2I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"8file-digest://app/assets/javascripts/application.js;TTI"$file-digest://app/assets/config;TTI"+file-digest://app/assets/config/jquery;TTI"$file-digest://app/assets/images;TTI"+file-digest://app/assets/images/jquery;TTI")file-digest://app/assets/javascripts;TTI"0file-digest://app/assets/javascripts/jquery;TTI")file-digest://app/assets/stylesheets;TTI"0file-digest://app/assets/stylesheets/jquery;TTI",file-digest://vendor/assets/javascripts;TTI"3file-digest://vendor/assets/javascripts/jquery;TTI",file-digest://vendor/assets/stylesheets;TTI"3file-digest://vendor/assets/stylesheets/jquery;TTI"Xfile-digest:///var/lib/gems/2.3.0/gems/jquery-rails-4.2.1/vendor/assets/javascripts;TTI"_file-digest:///var/lib/gems/2.3.0/gems/jquery-rails-4.2.1/vendor/assets/javascripts/jquery;TTI"bfile-digest:///var/lib/gems/2.3.0/gems/jquery-rails-4.2.1/vendor/assets/javascripts/jquery.js;TTI"/file-digest://app/assets/config/jquery_ujs;TTI"/file-digest://app/assets/images/jquery_ujs;TTI"4file-digest://app/assets/javascripts/jquery_ujs;TTI"4file-digest://app/assets/stylesheets/jquery_ujs;TTI"7file-digest://vendor/assets/javascripts/jquery_ujs;TTI"7file-digest://vendor/assets/stylesheets/jquery_ujs;TTI"cfile-digest:///var/lib/gems/2.3.0/gems/jquery-rails-4.2.1/vendor/assets/javascripts/jquery_ujs;TTI"ffile-digest:///var/lib/gems/2.3.0/gems/jquery-rails-4.2.1/vendor/assets/javascripts/jquery_ujs.js;TTI"/file-digest://app/assets/config/turbolinks;TTI"/file-digest://app/assets/images/turbolinks;TTI"4file-digest://app/assets/javascripts/turbolinks;TTI"4file-digest://app/assets/stylesheets/turbolinks;TTI"7file-digest://vendor/assets/javascripts/turbolinks;TTI"7file-digest://vendor/assets/stylesheets/turbolinks;TTI"cfile-digest:///var/lib/gems/2.3.0/gems/jquery-rails-4.2.1/vendor/assets/javascripts/turbolinks;TTI"Ufile-digest:///var/lib/gems/2.3.0/gems/coffee-rails-4.2.1/lib/assets/javascripts;TTI"`file-digest:///var/lib/gems/2.3.0/gems/coffee-rails-4.2.1/lib/assets/javascripts/turbolinks;TTI"Qfile-digest:///var/lib/gems/2.3.0/gems/actioncable-5.0.1/lib/assets/compiled;TTI"\file-digest:///var/lib/gems/2.3.0/gems/actioncable-5.0.1/lib/assets/compiled/turbolinks;TTI"Zfile-digest:///var/lib/gems/2.3.0/gems/turbolinks-source-5.0.0/lib/assets/javascripts;TTI"efile-digest:///var/lib/gems/2.3.0/gems/turbolinks-source-5.0.0/lib/assets/javascripts/turbolinks;TTI"hfile-digest:///var/lib/gems/2.3.0/gems/turbolinks-source-5.0.0/lib/assets/javascripts/turbolinks.js;TTI"2file-digest://app/assets/javascripts/channels;TTI"2file-digest://app/assets/javascripts/cable.js;TTI"6file-digest://app/assets/javascripts/posts.coffee;TTF
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"%�䯄�_�d�Q�tvy�f#}{��M�Q�����
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
I"�app/assets/javascripts/cable.js?type=application/javascript&pipeline=self&id=ede5753bc1522d1967aab24b228452c6b4a14cd06af21981fc2579cb01717d6a:ET
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
I"}app/assets/stylesheets/application.css?type=text/css&id=4831f763646ee19d15efe125fde1d95be564a92562358729b39aad8d951b2e68:ET
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
I"�app/assets/javascripts/posts.coffee?type=application/javascript&pipeline=self&id=3fd68bd9e0c8af977a015a687f6f47582fb0af38362b7ec86347c98156d1b155:ET
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"%�d�-�K���`���8Y��3�/Y����a~K
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"%�aY}�)�vH`�=�T��y��-��0�@��g~�
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
I"�app/assets/stylesheets/posts.scss?type=text/css&pipeline=self&id=e5c7e79585477a3aaa5eeef3a9d9fea423dabe30b1a86bc5acf1c302a2d704a4:ET
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=e40335485636ef787fda4f83edb729c9fac5afc1a2a456d8a3f0641675528776:ET
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"%�<������X���̀#+�����,�(o���
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"%M��(Y���f�bgN��!�+�ZR?�Q�IE�
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
[o:Set:
|
|
2
|
-
@hash}>I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"8file-digest://app/assets/javascripts/application.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"bfile-digest:///var/lib/gems/2.3.0/gems/jquery-rails-4.2.1/vendor/assets/javascripts/jquery.js;TTI"ffile-digest:///var/lib/gems/2.3.0/gems/jquery-rails-4.2.1/vendor/assets/javascripts/jquery_ujs.js;TTI"hfile-digest:///var/lib/gems/2.3.0/gems/turbolinks-source-5.0.0/lib/assets/javascripts/turbolinks.js;TTI"afile-digest:///var/lib/gems/2.3.0/gems/actioncable-5.0.1/lib/assets/compiled/action_cable.js;TTI"2file-digest://app/assets/javascripts/cable.js;TTI"$file-digest://app/assets/config;TTI"1file-digest://app/assets/config/action_cable;TTI"$file-digest://app/assets/images;TTI"1file-digest://app/assets/images/action_cable;TTI")file-digest://app/assets/javascripts;TTI"6file-digest://app/assets/javascripts/action_cable;TTI")file-digest://app/assets/stylesheets;TTI"6file-digest://app/assets/stylesheets/action_cable;TTI",file-digest://vendor/assets/javascripts;TTI"9file-digest://vendor/assets/javascripts/action_cable;TTI",file-digest://vendor/assets/stylesheets;TTI"9file-digest://vendor/assets/stylesheets/action_cable;TTI"Xfile-digest:///var/lib/gems/2.3.0/gems/jquery-rails-4.2.1/vendor/assets/javascripts;TTI"efile-digest:///var/lib/gems/2.3.0/gems/jquery-rails-4.2.1/vendor/assets/javascripts/action_cable;TTI"Ufile-digest:///var/lib/gems/2.3.0/gems/coffee-rails-4.2.1/lib/assets/javascripts;TTI"bfile-digest:///var/lib/gems/2.3.0/gems/coffee-rails-4.2.1/lib/assets/javascripts/action_cable;TTI"Qfile-digest:///var/lib/gems/2.3.0/gems/actioncable-5.0.1/lib/assets/compiled;TTI"^file-digest:///var/lib/gems/2.3.0/gems/actioncable-5.0.1/lib/assets/compiled/action_cable;TTI"2file-digest://app/assets/javascripts/channels;TTI"jprocessors:type=application/javascript&file_type=application/javascript&engines=.coffee&pipeline=self;TTI"6file-digest://app/assets/javascripts/posts.coffee;TTI"+file-digest://app/assets/config/jquery;TTI"+file-digest://app/assets/images/jquery;TTI"0file-digest://app/assets/javascripts/jquery;TTI"0file-digest://app/assets/stylesheets/jquery;TTI"3file-digest://vendor/assets/javascripts/jquery;TTI"3file-digest://vendor/assets/stylesheets/jquery;TTI"_file-digest:///var/lib/gems/2.3.0/gems/jquery-rails-4.2.1/vendor/assets/javascripts/jquery;TTI"/file-digest://app/assets/config/jquery_ujs;TTI"/file-digest://app/assets/images/jquery_ujs;TTI"4file-digest://app/assets/javascripts/jquery_ujs;TTI"4file-digest://app/assets/stylesheets/jquery_ujs;TTI"7file-digest://vendor/assets/javascripts/jquery_ujs;TTI"7file-digest://vendor/assets/stylesheets/jquery_ujs;TTI"cfile-digest:///var/lib/gems/2.3.0/gems/jquery-rails-4.2.1/vendor/assets/javascripts/jquery_ujs;TTI"/file-digest://app/assets/config/turbolinks;TTI"/file-digest://app/assets/images/turbolinks;TTI"4file-digest://app/assets/javascripts/turbolinks;TTI"4file-digest://app/assets/stylesheets/turbolinks;TTI"7file-digest://vendor/assets/javascripts/turbolinks;TTI"7file-digest://vendor/assets/stylesheets/turbolinks;TTI"cfile-digest:///var/lib/gems/2.3.0/gems/jquery-rails-4.2.1/vendor/assets/javascripts/turbolinks;TTI"`file-digest:///var/lib/gems/2.3.0/gems/coffee-rails-4.2.1/lib/assets/javascripts/turbolinks;TTI"\file-digest:///var/lib/gems/2.3.0/gems/actioncable-5.0.1/lib/assets/compiled/turbolinks;TTI"Zfile-digest:///var/lib/gems/2.3.0/gems/turbolinks-source-5.0.0/lib/assets/javascripts;TTI"efile-digest:///var/lib/gems/2.3.0/gems/turbolinks-source-5.0.0/lib/assets/javascripts/turbolinks;TTF
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
I"�/var/lib/gems/2.3.0/gems/jquery-rails-4.2.1/vendor/assets/javascripts/jquery.js?type=application/javascript&pipeline=self&id=5367dadb3e9ff35eb134c68d8fd894f1c066b6b4cf994c1c26544dbec977c424:ET
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
I"�/var/lib/gems/2.3.0/gems/jquery-rails-4.2.1/vendor/assets/javascripts/jquery_ujs.js?type=application/javascript&pipeline=self&id=e7d803162256dad5beb3449bd4dd9385b08ee077521d818043ba80a4eb897952:ET
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
I"�app/assets/stylesheets/scaffolds.scss?type=text/css&pipeline=self&id=c0fa107444192a69782324d08ad4c8bdc9324a2a21aeeb540e21c0acafc42b29:ET
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=0594ecf241c180f1053dac6f7969708a6ef076524ef71ec4c7f3ccb7f0c12cf9:ET
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
[o:Set:
|
|
2
|
-
@hash}I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"2file-digest://app/assets/javascripts/cable.js;TTI"$file-digest://app/assets/config;TTI"1file-digest://app/assets/config/action_cable;TTI"$file-digest://app/assets/images;TTI"1file-digest://app/assets/images/action_cable;TTI")file-digest://app/assets/javascripts;TTI"6file-digest://app/assets/javascripts/action_cable;TTI")file-digest://app/assets/stylesheets;TTI"6file-digest://app/assets/stylesheets/action_cable;TTI",file-digest://vendor/assets/javascripts;TTI"9file-digest://vendor/assets/javascripts/action_cable;TTI",file-digest://vendor/assets/stylesheets;TTI"9file-digest://vendor/assets/stylesheets/action_cable;TTI"Xfile-digest:///var/lib/gems/2.3.0/gems/jquery-rails-4.2.1/vendor/assets/javascripts;TTI"efile-digest:///var/lib/gems/2.3.0/gems/jquery-rails-4.2.1/vendor/assets/javascripts/action_cable;TTI"Ufile-digest:///var/lib/gems/2.3.0/gems/coffee-rails-4.2.1/lib/assets/javascripts;TTI"bfile-digest:///var/lib/gems/2.3.0/gems/coffee-rails-4.2.1/lib/assets/javascripts/action_cable;TTI"Qfile-digest:///var/lib/gems/2.3.0/gems/actioncable-5.0.1/lib/assets/compiled;TTI"^file-digest:///var/lib/gems/2.3.0/gems/actioncable-5.0.1/lib/assets/compiled/action_cable;TTI"afile-digest:///var/lib/gems/2.3.0/gems/actioncable-5.0.1/lib/assets/compiled/action_cable.js;TTI"2file-digest://app/assets/javascripts/channels;TTF
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
I"�app/assets/javascripts/application.js?type=application/javascript&id=bb53b7586cf23c421d42744a3d493ea74e15dfa6cecbefbf632e5b6bb2972ead:ET
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"%��B�����șo�$'�A�d��L���xR�U
|