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.
Files changed (129) hide show
  1. checksums.yaml +4 -4
  2. data/doc/text/news.md +6 -0
  3. data/lib/groonga_client_model/railtie.rb +9 -2
  4. data/lib/groonga_client_model/version.rb +1 -1
  5. data/test/apps/rails4/Gemfile +15 -22
  6. data/test/apps/rails4/Gemfile.lock +77 -91
  7. data/test/apps/rails4/{README.md → README.rdoc} +5 -1
  8. data/test/apps/rails4/Rakefile +1 -1
  9. data/test/apps/rails4/app/assets/javascripts/application.js +1 -1
  10. data/test/apps/rails4/app/assets/stylesheets/application.css +3 -3
  11. data/test/apps/rails4/app/assets/stylesheets/scaffolds.scss +1 -17
  12. data/test/apps/rails4/app/controllers/application_controller.rb +2 -0
  13. data/test/apps/rails4/app/models/application_groonga_record.rb +2 -0
  14. data/test/apps/rails4/app/models/post.rb +1 -1
  15. data/test/apps/rails4/app/views/layouts/application.html.erb +9 -9
  16. data/test/apps/rails4/app/views/posts/_form.html.erb +6 -8
  17. data/test/apps/rails4/app/views/posts/edit.html.erb +1 -1
  18. data/test/apps/rails4/app/views/posts/index.html.erb +1 -1
  19. data/test/apps/rails4/app/views/posts/new.html.erb +1 -1
  20. data/test/apps/rails4/bin/rails +1 -1
  21. data/test/apps/rails4/bin/setup +12 -17
  22. data/test/apps/rails4/bin/spring +2 -1
  23. data/test/apps/rails4/config.ru +1 -2
  24. data/test/apps/rails4/config/application.rb +9 -2
  25. data/test/apps/rails4/config/boot.rb +1 -1
  26. data/test/apps/rails4/config/environment.rb +1 -1
  27. data/test/apps/rails4/config/environments/development.rb +11 -24
  28. data/test/apps/rails4/config/environments/production.rb +17 -24
  29. data/test/apps/rails4/config/environments/test.rb +6 -6
  30. data/test/apps/rails4/config/groonga.yml +18 -3
  31. data/test/apps/rails4/config/initializers/cookies_serializer.rb +0 -2
  32. data/test/apps/rails4/config/initializers/wrap_parameters.rb +1 -1
  33. data/test/apps/rails4/config/routes.rb +54 -1
  34. data/test/apps/rails4/config/secrets.yml +3 -3
  35. data/test/apps/rails4/db/seeds.rb +3 -3
  36. data/test/apps/rails4/log/test.log +363 -184
  37. data/test/apps/rails4/test/controllers/posts_controller_test.rb +12 -11
  38. data/test/apps/rails4/test/models/post_test.rb +16 -0
  39. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{mA/mAWsnX7Peh_B8DPSBTB4f9Yr4LFtZwOf5prl05GZY3g.cache → 1v/1vNbaFvqzPuMCPa9LBe2yL962Ncp7RbNREOlE_qe8Ss.cache} +0 -0
  40. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{0g/0gB1rYz79RuAa43DzVci1GUjc5so0F1dU_LyLSmm3oQ.cache → 2F/2FyDjMLF22tXYLEKS6UqrqiSZTKp2HowmRsOZfW2dQs.cache} +1 -1
  41. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/3Q/3QxCnPBwOHO-nainvNGREWb7QnMUKlPsx4AFZgNVVUI.cache +0 -0
  42. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache → 5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache} +0 -0
  43. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{rF/rF2vahiCQKUhJ8McEG0p8B7csWsz-dL13EQ7r2APOxc.cache → 6q/6q02XRkUAs1p1AznDygMg5SQnzVPORnD3tttb6bN38Y.cache} +0 -0
  44. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/AP/APY89OAPJx9A3D3xcCoktvEvQUs7NcWChYXnjjjPzz0.cache +2 -0
  45. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/BX/BXotLtoyOM47AZWstuYImgPP3ZX_6ePkTaL-w2UbD6s.cache +1 -0
  46. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/CP/CPpqyQND9PwMf8rWX137atdXUJllZf-MoJqsrRy8-_M.cache +0 -0
  47. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/GB/GBwB7RWhc8G8ZTp1BmhlFA9KxTMHsC0ozT6BA4wY4E0.cache +1 -0
  48. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{N1/N1cFx1cQirDbaPCgGKbLjIcxsOM8ODiP98PZWSHDzyE.cache → Im/ImPjo1rh_BjihbG9lqrj6vYU12ZpBF1ml-SYAoCeDfs.cache} +0 -0
  49. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Kj/Kj5SXlN75_IXQg3ClSWOr0un4meXeR4o2STN7wQlrNs.cache +1 -0
  50. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{Bh/BhBHwSo9EwfIYTDkA21FIndZkPsZ28CYARi4iBDw608.cache → Kq/KqE4OB3K1Vvxhxu20J2vygXKabgv57Mk0fYncnRtMVM.cache} +0 -0
  51. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/L6/L6VeuDb0xHGN0ZkbW-7I8k4hl6jcoufH3IqJLGat0uw.cache +1 -0
  52. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/MG/MGY7vCFpMwMfTZjnoHcjrEns4qINkUs6SDLo-7ZHDzY.cache +0 -0
  53. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Md/MdQJlkbMaRGmGTWDp3vV1gnrGTBlA_WglIB5glz1bEE.cache +1 -0
  54. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache → OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache} +0 -0
  55. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{tH/tHi6ifML6NOeHhumbOb5hc1QFREX-LhACtiUhS54YPQ.cache → Ot/Ot1Yjpr09IxOvvY7PgNcg-1nEEO0nhzwJmosWMeSWwc.cache} +0 -0
  56. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{kz/kzw210ITXFWNFV8kw5e-_kRlpS48lGotSQWKPlUfMJ4.cache → Pm/Pm3ENYpCrQMOJGd-d8lACN_nbGZWiivq_KyPLJoD9Xk.cache} +0 -0
  57. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{VQ/VQNk5aqOyF22mFE5NhdDjfBZeFpSfgaaZdyngvHYi48.cache → QG/QG2CRa1A_ehuXGL8JwqPi2U16gehGSaXO_IzkOjcZaU.cache} +0 -0
  58. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Rg/RgDBcEPslcvUrodRXUXEkV6mbPTHBBnNrD3IO7tzw78.cache +0 -0
  59. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/UF/UF2HqGF3e151MaG10cb333axk4G1L4l2TfS91DkiX6I.cache +1 -0
  60. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{XJ/XJRPx7aZ4ajZ72O37hx53ZFkfXSHpDDpCy78LI0leqM.cache → Uo/UoAGEMj7jzkXrlFKxviQpDP2tiO1dYTKiZGzA1EZyc4.cache} +0 -0
  61. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{Ru/Ru1MOhJ8ZzL7pBzPr_QeTTd0LnfWx4DcM0iVcL4cTzo.cache → W4/W4TqFfx9xs_9OpiAURaumjMu1Xoiw4wE0LcVK7hQS8A.cache} +0 -0
  62. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{eQ/eQxzX_D16-XyOt1WTkYEC0qDvRbjXcCgQgnd9pBrg7o.cache → X-/X-m9giJcrkJm0BkoCQEan-MDJ0UTN9QaLyfNo0LXm2s.cache} +0 -0
  63. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/YL/YLHQFFsVrl4ksR5ZNFU1vc0ytWPUeiahGhk4llYc4Zg.cache +1 -0
  64. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/YY/YYjjrExY-FL2dQQkvcHOLwpb_KNTHlsTyyFUVMhLbUE.cache +1 -0
  65. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Zs/Zs96XWLbB-Sp-R9P31ArcdU7j6VL_RBI-SwpwTE_TZA.cache +0 -0
  66. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{bM/bMMUbhA2nFZ9dHAnzKZsPzKVcv-UlAWaVq92COmAHwI.cache → _e/_eNuPQDv_ZR4m8hgbRvDpxc2CL_5gpsPUczPBDERMbA.cache} +0 -0
  67. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{6r/6rrJLZY0-_gdJxgMUZBZIn-wf8bPVArYjXhIIrt_O5Y.cache → cM/cMcoi258fMhhWlagTzUINSg8srih6ebrpZ50tLfKUoc.cache} +0 -0
  68. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/dv/dvWPUKdon1kQ0NI3VfpPzMETH0CWImWXui_6n2SsoAE.cache +1 -0
  69. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/eb/ebKQzT3ac6Hus7GSISyFj_1LkQW1W9-BlhewMEXtUg0.cache +1 -0
  70. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/kS/kSkCWaAJCcTgZ_AhrRCjZhNtkE12cubiq70uNtditqk.cache +2 -0
  71. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{eA/eA_fQgrHsn-vD9XeNQyC8335oMP8k0cnmerzHzjEwLQ.cache → lL/lL_dWZRBcwCn63yXBT5UzQ-7tnVDndwPc7qVdFgl0tM.cache} +0 -0
  72. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/lz/lzP8RQ5zmNQAi9-dzplqCwDpDZ13rCc2ob9BrMG-FCk.cache +0 -0
  73. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/nd/ndY4mwZ38em5ydI4kE4ZwSM5DZim7EHoyJlccsNffzU.cache +1 -0
  74. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{JX/JXqwLmb9hlO9nmp2kJYEcKaKy9RMO-HxwnptsiVAADc.cache → oF/oF9RtQhbL4wfZGSLn-E5OVetjrvjXHH91DpRQE52ufA.cache} +0 -0
  75. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{0M/0M4bZ4tQh0MQYZMb72U5yr-ELStAsUSb8akkTME9TPM.cache → ok/okosRqsUehqnm3OWnShpWnh8oyDXxM73IeCQyLhjZBM.cache} +1 -1
  76. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{a5/a5Ai9QXaiRRSN7BXZZ3eZSL8mbwrdOKNM9Hco1Bp498.cache → r9/r9AgJGnY4OgxXHKYgc1j-0muJGgEkcWFIrHDk2ev4ps.cache} +1 -1
  77. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{do/doMYM14rQvSD5lPwCGe0ULzbXBwyBM-f1jOE0MzmEs4.cache → vw/vw0y0WzpHCSScyQbk0p_zI3oc3XRp-WEcoO-RxTASls.cache} +0 -0
  78. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/wZ/wZ0ALwHNZctvL4oikOtK5ZgTaBqFADb6scXaXjRGnzg.cache +1 -0
  79. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/xY/xYS0jeJMWjdvv2rhUmK2NWvRYx51t9zJQC31JW7SuOE.cache +2 -0
  80. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/yt/ytNmOXX5w9z_7WDwpxuKls7UhKWzz8w1aYLF0WQ-NC4.cache +0 -0
  81. metadata +89 -139
  82. data/test/apps/rails4/app/assets/config/manifest.js +0 -3
  83. data/test/apps/rails4/app/assets/javascripts/cable.js +0 -13
  84. data/test/apps/rails4/app/channels/application_cable/channel.rb +0 -4
  85. data/test/apps/rails4/app/channels/application_cable/connection.rb +0 -4
  86. data/test/apps/rails4/app/jobs/application_job.rb +0 -2
  87. data/test/apps/rails4/app/mailers/application_mailer.rb +0 -4
  88. data/test/apps/rails4/app/views/layouts/mailer.html.erb +0 -13
  89. data/test/apps/rails4/app/views/layouts/mailer.text.erb +0 -1
  90. data/test/apps/rails4/bin/update +0 -29
  91. data/test/apps/rails4/config/cable.yml +0 -9
  92. data/test/apps/rails4/config/initializers/application_controller_renderer.rb +0 -6
  93. data/test/apps/rails4/config/initializers/new_framework_defaults.rb +0 -21
  94. data/test/apps/rails4/config/puma.rb +0 -47
  95. data/test/apps/rails4/config/spring.rb +0 -6
  96. data/test/apps/rails4/public/apple-touch-icon-precomposed.png +0 -0
  97. data/test/apps/rails4/public/apple-touch-icon.png +0 -0
  98. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/0I/0Ihy3SE8nTe---ZtfB9WjKd6UOgmtLFlyhbw1R2BDFs.cache +0 -1
  99. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/17/17ACx-zXgzaAZBriGH5oeRJJ9hMIlwP9bWBPlEMoY-0.cache +0 -1
  100. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/8i/8iQwPHnNGnDGUJBtgrVMB7FceEuaXnCBF1671S9jJgo.cache +0 -1
  101. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/B6/B6nLb8yGukrJQUpa3aPtLwrmBPnh2_8ZFkSTc5T8c0k.cache +0 -1
  102. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Bj/BjttQ669rtLFSU4Oq7YxTtumvpgsHKREjOND3HIVJx8.cache +0 -0
  103. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Bx/BxzoG0KxeNLac4xTNeJv3qfeytbNBw58xj2zD-xdbrE.cache +0 -2
  104. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/C3/C3hMQl1ywl9gQ3OFdiiVc8l1y2gP7GWN37t9DDEaoy4.cache +0 -1
  105. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/FT/FTiuNlnEJN59jNEEgEfQazsLhj_YTdIQnCuFC2EM7qw.cache +0 -1
  106. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/K9/K9G8c-hzp4a8xRtPMnSQf6bsziHMznJz-OvHDz7w3rE.cache +0 -0
  107. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Kq/KqsxRPBMXWQubUa9Ab4tmgT4j4DM5-A89_rh15MNlmI.cache +0 -0
  108. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Kz/KznX4kBl2yjCE-XZL5bNAJ0xXrLVL6nJEJWMYLY3X7I.cache +0 -1
  109. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/QH/QHW6bVAXmJeybTQiApxxYej1wQkNigo-KRbnXDwd1Mk.cache +0 -1
  110. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/R7/R7bSW7yrMkNVznGUpcDS6MXM3ZziGA7RrQGogNiuVTA.cache +0 -1
  111. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/RH/RHIJ8umE9bWwt5xXi8SJ4RYpZqFvt88JBVNo4lTPg0U.cache +0 -1
  112. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Rt/Rtg9DogJyyU6DIW9gV2GCVTWMF0GYLevAVNvv3bEDeI.cache +0 -1
  113. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/S3/S3OZbpxIypECjqQj77Gb9Oc6A-q0U1fKpzMbPVMoubk.cache +0 -1
  114. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Vw/Vwgy4zAZLGHF9RslYQ40wbF7NYW47NDE0wcA7T3HwxI.cache +0 -1
  115. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/W9/W9OEjda3McVaqzRMNGzY4zMzGFKwy-JYer2dt7dxRjQ.cache +0 -1
  116. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Ya/YayMISAqD-Y3vBFywwKrXbUovGf5o77HUF5s8mnQgO0.cache +0 -2
  117. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/cc/ccFbs28DWObwrW_wnGA4cU9RmsKrBzb5xDaMu1-5QOo.cache +0 -1
  118. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/d8/d80_M7rvPV-A1sCjIEhieR5jS353S0hCykiWL6Qoy7Q.cache +0 -3
  119. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/gl/glrAgaE6JUHFNGuQsy5qakLJ2Sjmq-O09QX7cJklxP4.cache +0 -0
  120. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/jt/jtP0R1pGResPYdA6O4Ph5x0W0T1If9yb0sRFijAemLY.cache +0 -0
  121. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/mX/mXbxFiGMdcA3j1srHRMPEBxhXw8udKgsNtXk6_Zl5ts.cache +0 -1
  122. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/nf/nfIObnkUaxVC6zkWxRI2Mzau2JKMWf2ii3dr0Q0IvNk.cache +0 -1
  123. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/u3/u3DEuOZf5FZ_vumprxhkeIsi2jzeDJRxtjYbqNJ13wQ.cache +0 -0
  124. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/u_/u_yfB9bAyTK1suTw3FxVxx4Lv0U31dIL1G0uX9R9byU.cache +0 -0
  125. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/vH/vHuuPjMkmfpQ2eqHofMJprX6McDX-BRf-OZLe-Zy0uM.cache +0 -0
  126. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/wq/wqEwEzqpIhD5Ie3bMy9VSp3TZI4lqTUROqfAYdpO83g.cache +0 -1
  127. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/x7/x7PYh8DJvPykcEqpVab2vcY9-GFz-3cqtoMlRAu94Uc.cache +0 -2
  128. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/yZ/yZz4rIdiAxAUWJ7Io7t9ZdVN8fjEjgzn8MfNKrBdIR0.cache +0 -1
  129. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/zQ/zQ9ej9LKS_XIns0yfDEKXZaCGO7n1sA2dRjIsPO9Krg.cache +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0f62905cc625bbbe0a0a44b163ef75a1a176ea21
4
- data.tar.gz: 70ca5ad3240f79c26eb581f16fbcabba4b8a8b66
3
+ metadata.gz: 6a4d70ddd3492d74c3be891c28f0801bbc7f8eae
4
+ data.tar.gz: 1bdfc60e0062e824047ba5ed71e3b1cdd1276b2a
5
5
  SHA512:
6
- metadata.gz: 246eb7a6cfe6c03df9dc51aabc135cb1801cac43de8a6f9185ad493cad7ea3e7a17cc0616fb1f802851124849151d96d71801ef96ab5b2c1f11ec4ba29399c4c
7
- data.tar.gz: 0a22d63d2a9b0500c3b8c273828157216bdfcb69b43ada31800cf5dae7fe5ac9a5b1df818db6f319799de98f68b6d7290a76e28ee78b0f3151f70e843541273e
6
+ metadata.gz: fd5a08fd22a36b8f38c4e9bd40ba0a1a84e4427c0d07d1da538bbf11a014c2ff25d4bf83f5a0db9e99a2fcce19b360de149d44d2aa1c80f7157c9de57f84f520
7
+ data.tar.gz: 70929c9b847839fcfb2779f21096e395403a449009e29f8d047a67826225de095fdc4d472c1fcecef27c31d1a089a76a2c4750b8a82091a003fd71adcddddf8b
data/doc/text/news.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # NEWS
2
2
 
3
+ ## 1.0.0 - 2016-02-07
4
+
5
+ ### Fixes
6
+
7
+ * Supported Rails 4 again.
8
+
3
9
  ## 0.9.9 - 2016-02-07
4
10
 
5
11
  ### Improvements
@@ -52,8 +52,15 @@ module GroongaClientModel
52
52
 
53
53
  initializer "groonga_client_model.set_reloader_hooks" do
54
54
  ActiveSupport.on_load(:groonga_client_model) do
55
- ActiveSupport::Reloader.before_class_unload do
56
- GroongaClientModel::Record.clear_cache
55
+ if ActiveSupport.const_defined?(:Reloader)
56
+ ActiveSupport::Reloader.before_class_unload do
57
+ GroongaClientModel::Record.clear_cache
58
+ end
59
+ else
60
+ # For Rails < 5
61
+ ActionDispatch::Reloader.to_cleanup do
62
+ GroongaClientModel::Record.clear_cache
63
+ end
57
64
  end
58
65
  end
59
66
  end
@@ -15,5 +15,5 @@
15
15
  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
  module GroongaClientModel
18
- VERSION = "0.9.9"
18
+ VERSION = "1.0.0"
19
19
  end
@@ -1,55 +1,48 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- git_source(:github) do |repo_name|
4
- repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
5
- "https://github.com/#{repo_name}.git"
6
- end
7
-
8
3
 
9
4
  # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
10
- gem 'rails', '~> 5.0.1'
11
- # Use Puma as the app server
12
- gem 'puma', '~> 3.0'
5
+ gem 'rails', '4.2.7.1'
13
6
  # Use SCSS for stylesheets
14
7
  gem 'sass-rails', '~> 5.0'
15
8
  # Use Uglifier as compressor for JavaScript assets
16
9
  gem 'uglifier', '>= 1.3.0'
17
10
  # Use CoffeeScript for .coffee assets and views
18
- gem 'coffee-rails', '~> 4.2'
11
+ gem 'coffee-rails', '~> 4.1.0'
19
12
  # See https://github.com/rails/execjs#readme for more supported runtimes
20
13
  # gem 'therubyracer', platforms: :ruby
21
14
 
22
15
  # Use jquery as the JavaScript library
23
16
  gem 'jquery-rails'
24
- # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
25
- gem 'turbolinks', '~> 5'
17
+ # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
18
+ gem 'turbolinks'
26
19
  # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
27
- gem 'jbuilder', '~> 2.5'
28
- # Use Redis adapter to run Action Cable in production
29
- # gem 'redis', '~> 3.0'
20
+ gem 'jbuilder', '~> 2.0'
21
+ # bundle exec rake doc:rails generates the API under doc/api.
22
+ gem 'sdoc', '~> 0.4.0', group: :doc
23
+
30
24
  # Use ActiveModel has_secure_password
31
25
  # gem 'bcrypt', '~> 3.1.7'
32
26
 
27
+ # Use Unicorn as the app server
28
+ # gem 'unicorn'
29
+
33
30
  # Use Capistrano for deployment
34
31
  # gem 'capistrano-rails', group: :development
35
32
 
36
33
  group :development, :test do
37
34
  # Call 'byebug' anywhere in the code to stop execution and get a debugger console
38
- gem 'byebug', platform: :mri
35
+ gem 'byebug'
39
36
  gem 'factory_girl_rails'
40
37
  end
41
38
 
42
39
  group :development do
43
- # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
44
- gem 'web-console', '>= 3.3.0'
45
- gem 'listen', '~> 3.0.5'
40
+ # Access an IRB console on exception pages or by using <%= console %> in views
41
+ gem 'web-console', '~> 2.0'
42
+
46
43
  # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
47
44
  gem 'spring'
48
- gem 'spring-watcher-listen', '~> 2.0.0'
49
45
  end
50
46
 
51
- # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
52
- gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
53
-
54
47
  gem 'groonga-client-model', path: '../../../'
55
48
  gem 'groonga-client', path: '../../../../groonga-client'
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../../../../groonga-client
3
3
  specs:
4
- groonga-client (0.4.1)
4
+ groonga-client (0.4.2)
5
5
  gqtp (>= 1.0.4)
6
6
  groonga-command (>= 1.2.8)
7
7
  groonga-command-parser (>= 1.0.7)
@@ -10,7 +10,7 @@ PATH
10
10
  PATH
11
11
  remote: ../../../
12
12
  specs:
13
- groonga-client-model (0.9.9)
13
+ groonga-client-model (1.0.0)
14
14
  activemodel
15
15
  groonga-client (>= 0.4.1)
16
16
  groonga-command-parser
@@ -18,49 +18,49 @@ PATH
18
18
  GEM
19
19
  remote: https://rubygems.org/
20
20
  specs:
21
- actioncable (5.0.1)
22
- actionpack (= 5.0.1)
23
- nio4r (~> 1.2)
24
- websocket-driver (~> 0.6.1)
25
- actionmailer (5.0.1)
26
- actionpack (= 5.0.1)
27
- actionview (= 5.0.1)
28
- activejob (= 5.0.1)
21
+ actionmailer (4.2.7.1)
22
+ actionpack (= 4.2.7.1)
23
+ actionview (= 4.2.7.1)
24
+ activejob (= 4.2.7.1)
29
25
  mail (~> 2.5, >= 2.5.4)
30
- rails-dom-testing (~> 2.0)
31
- actionpack (5.0.1)
32
- actionview (= 5.0.1)
33
- activesupport (= 5.0.1)
34
- rack (~> 2.0)
35
- rack-test (~> 0.6.3)
36
- rails-dom-testing (~> 2.0)
26
+ rails-dom-testing (~> 1.0, >= 1.0.5)
27
+ actionpack (4.2.7.1)
28
+ actionview (= 4.2.7.1)
29
+ activesupport (= 4.2.7.1)
30
+ rack (~> 1.6)
31
+ rack-test (~> 0.6.2)
32
+ rails-dom-testing (~> 1.0, >= 1.0.5)
37
33
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
38
- actionview (5.0.1)
39
- activesupport (= 5.0.1)
34
+ actionview (4.2.7.1)
35
+ activesupport (= 4.2.7.1)
40
36
  builder (~> 3.1)
41
37
  erubis (~> 2.7.0)
42
- rails-dom-testing (~> 2.0)
38
+ rails-dom-testing (~> 1.0, >= 1.0.5)
43
39
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
44
- activejob (5.0.1)
45
- activesupport (= 5.0.1)
46
- globalid (>= 0.3.6)
47
- activemodel (5.0.1)
48
- activesupport (= 5.0.1)
49
- activerecord (5.0.1)
50
- activemodel (= 5.0.1)
51
- activesupport (= 5.0.1)
52
- arel (~> 7.0)
53
- activesupport (5.0.1)
54
- concurrent-ruby (~> 1.0, >= 1.0.2)
40
+ activejob (4.2.7.1)
41
+ activesupport (= 4.2.7.1)
42
+ globalid (>= 0.3.0)
43
+ activemodel (4.2.7.1)
44
+ activesupport (= 4.2.7.1)
45
+ builder (~> 3.1)
46
+ activerecord (4.2.7.1)
47
+ activemodel (= 4.2.7.1)
48
+ activesupport (= 4.2.7.1)
49
+ arel (~> 6.0)
50
+ activesupport (4.2.7.1)
55
51
  i18n (~> 0.7)
52
+ json (~> 1.7, >= 1.7.7)
56
53
  minitest (~> 5.1)
54
+ thread_safe (~> 0.3, >= 0.3.4)
57
55
  tzinfo (~> 1.1)
58
- arel (7.1.4)
59
- builder (3.2.2)
56
+ arel (6.0.4)
57
+ binding_of_caller (0.7.2)
58
+ debug_inspector (>= 0.0.1)
59
+ builder (3.2.3)
60
60
  byebug (9.0.6)
61
- coffee-rails (4.2.1)
61
+ coffee-rails (4.1.1)
62
62
  coffee-script (>= 2.2.0)
63
- railties (>= 4.0.0, < 5.2.x)
63
+ railties (>= 4.0.0, < 5.1.x)
64
64
  coffee-script (2.4.1)
65
65
  coffee-script-source
66
66
  execjs
@@ -74,7 +74,6 @@ GEM
74
74
  factory_girl_rails (4.8.0)
75
75
  factory_girl (~> 4.8.0)
76
76
  railties (>= 3.0.0)
77
- ffi (1.9.14)
78
77
  globalid (0.3.7)
79
78
  activesupport (>= 4.1.0)
80
79
  gqtp (1.0.6)
@@ -83,65 +82,58 @@ GEM
83
82
  groonga-command-parser (1.0.9)
84
83
  groonga-command (>= 1.3.2)
85
84
  json-stream
86
- hashie (3.4.6)
87
- i18n (0.7.0)
85
+ hashie (3.5.1)
86
+ i18n (0.8.0)
88
87
  jbuilder (2.6.1)
89
88
  activesupport (>= 3.0.0, < 5.1)
90
89
  multi_json (~> 1.2)
91
- jquery-rails (4.2.1)
90
+ jquery-rails (4.2.2)
92
91
  rails-dom-testing (>= 1, < 3)
93
92
  railties (>= 4.2.0)
94
93
  thor (>= 0.14, < 2.0)
95
- json (2.0.3)
94
+ json (1.8.6)
96
95
  json-stream (0.2.1)
97
- listen (3.0.8)
98
- rb-fsevent (~> 0.9, >= 0.9.4)
99
- rb-inotify (~> 0.9, >= 0.9.7)
100
96
  loofah (2.0.3)
101
97
  nokogiri (>= 1.5.9)
102
98
  mail (2.6.4)
103
99
  mime-types (>= 1.16, < 4)
104
- method_source (0.8.2)
105
100
  mime-types (3.1)
106
101
  mime-types-data (~> 3.2015)
107
102
  mime-types-data (3.2016.0521)
108
103
  mini_portile2 (2.1.0)
109
104
  minitest (5.10.1)
110
105
  multi_json (1.12.1)
111
- nio4r (1.2.1)
112
- nokogiri (1.6.8.1)
106
+ nokogiri (1.7.0.1)
113
107
  mini_portile2 (~> 2.1.0)
114
- puma (3.6.2)
115
- rack (2.0.1)
108
+ rack (1.6.5)
116
109
  rack-test (0.6.3)
117
110
  rack (>= 1.0)
118
- rails (5.0.1)
119
- actioncable (= 5.0.1)
120
- actionmailer (= 5.0.1)
121
- actionpack (= 5.0.1)
122
- actionview (= 5.0.1)
123
- activejob (= 5.0.1)
124
- activemodel (= 5.0.1)
125
- activerecord (= 5.0.1)
126
- activesupport (= 5.0.1)
111
+ rails (4.2.7.1)
112
+ actionmailer (= 4.2.7.1)
113
+ actionpack (= 4.2.7.1)
114
+ actionview (= 4.2.7.1)
115
+ activejob (= 4.2.7.1)
116
+ activemodel (= 4.2.7.1)
117
+ activerecord (= 4.2.7.1)
118
+ activesupport (= 4.2.7.1)
127
119
  bundler (>= 1.3.0, < 2.0)
128
- railties (= 5.0.1)
129
- sprockets-rails (>= 2.0.0)
130
- rails-dom-testing (2.0.1)
131
- activesupport (>= 4.2.0, < 6.0)
132
- nokogiri (~> 1.6.0)
120
+ railties (= 4.2.7.1)
121
+ sprockets-rails
122
+ rails-deprecated_sanitizer (1.0.3)
123
+ activesupport (>= 4.2.0.alpha)
124
+ rails-dom-testing (1.0.8)
125
+ activesupport (>= 4.2.0.beta, < 5.0)
126
+ nokogiri (~> 1.6)
127
+ rails-deprecated_sanitizer (>= 1.0.1)
133
128
  rails-html-sanitizer (1.0.3)
134
129
  loofah (~> 2.0)
135
- railties (5.0.1)
136
- actionpack (= 5.0.1)
137
- activesupport (= 5.0.1)
138
- method_source
130
+ railties (4.2.7.1)
131
+ actionpack (= 4.2.7.1)
132
+ activesupport (= 4.2.7.1)
139
133
  rake (>= 0.8.7)
140
134
  thor (>= 0.18.1, < 2.0)
141
135
  rake (12.0.0)
142
- rb-fsevent (0.9.8)
143
- rb-inotify (0.9.7)
144
- ffi (>= 0.5.0)
136
+ rdoc (4.3.0)
145
137
  sass (3.4.23)
146
138
  sass-rails (5.0.6)
147
139
  railties (>= 4.0.0, < 6)
@@ -149,11 +141,11 @@ GEM
149
141
  sprockets (>= 2.8, < 4.0)
150
142
  sprockets-rails (>= 2.0, < 4.0)
151
143
  tilt (>= 1.1, < 3)
152
- spring (2.0.0)
144
+ sdoc (0.4.2)
145
+ json (~> 1.7, >= 1.7.7)
146
+ rdoc (~> 4.0)
147
+ spring (2.0.1)
153
148
  activesupport (>= 4.2)
154
- spring-watcher-listen (2.0.1)
155
- listen (>= 2.7, < 4.0)
156
- spring (>= 1.2, < 3.0)
157
149
  sprockets (3.7.1)
158
150
  concurrent-ruby (~> 1.0)
159
151
  rack (> 1, < 3)
@@ -163,7 +155,7 @@ GEM
163
155
  sprockets (>= 3.0.0)
164
156
  thor (0.19.4)
165
157
  thread_safe (0.3.5)
166
- tilt (2.0.5)
158
+ tilt (2.0.6)
167
159
  turbolinks (5.0.1)
168
160
  turbolinks-source (~> 5)
169
161
  turbolinks-source (5.0.0)
@@ -171,36 +163,30 @@ GEM
171
163
  thread_safe (~> 0.1)
172
164
  uglifier (3.0.4)
173
165
  execjs (>= 0.3.0, < 3)
174
- web-console (3.4.0)
175
- actionview (>= 5.0)
176
- activemodel (>= 5.0)
177
- debug_inspector
178
- railties (>= 5.0)
179
- websocket-driver (0.6.4)
180
- websocket-extensions (>= 0.1.0)
181
- websocket-extensions (0.1.2)
166
+ web-console (2.3.0)
167
+ activemodel (>= 4.0)
168
+ binding_of_caller (>= 0.7.2)
169
+ railties (>= 4.0)
170
+ sprockets-rails (>= 2.0, < 4.0)
182
171
 
183
172
  PLATFORMS
184
173
  ruby
185
174
 
186
175
  DEPENDENCIES
187
176
  byebug
188
- coffee-rails (~> 4.2)
177
+ coffee-rails (~> 4.1.0)
189
178
  factory_girl_rails
190
179
  groonga-client!
191
180
  groonga-client-model!
192
- jbuilder (~> 2.5)
181
+ jbuilder (~> 2.0)
193
182
  jquery-rails
194
- listen (~> 3.0.5)
195
- puma (~> 3.0)
196
- rails (~> 5.0.1)
183
+ rails (= 4.2.7.1)
197
184
  sass-rails (~> 5.0)
185
+ sdoc (~> 0.4.0)
198
186
  spring
199
- spring-watcher-listen (~> 2.0.0)
200
- turbolinks (~> 5)
201
- tzinfo-data
187
+ turbolinks
202
188
  uglifier (>= 1.3.0)
203
- web-console (>= 3.3.0)
189
+ web-console (~> 2.0)
204
190
 
205
191
  BUNDLED WITH
206
192
  1.13.6
@@ -1,4 +1,4 @@
1
- # README
1
+ == README
2
2
 
3
3
  This README would normally document whatever steps are necessary to get the
4
4
  application up and running.
@@ -22,3 +22,7 @@ Things you may want to cover:
22
22
  * Deployment instructions
23
23
 
24
24
  * ...
25
+
26
+
27
+ Please feel free to use a different markup language if you do not plan to run
28
+ <tt>rake doc:app</tt>.
@@ -1,6 +1,6 @@
1
1
  # Add your own tasks in files placed in lib/tasks ending in .rake,
2
2
  # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3
3
 
4
- require_relative 'config/application'
4
+ require File.expand_path('../config/application', __FILE__)
5
5
 
6
6
  Rails.application.load_tasks
@@ -5,7 +5,7 @@
5
5
  // or any plugin's vendor/assets/javascripts directory 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
- // compiled file. JavaScript code in this file should be added after the last require_* statement.
8
+ // compiled file.
9
9
  //
10
10
  // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
11
  // about supported directives.
@@ -6,9 +6,9 @@
6
6
  * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7
7
  *
8
8
  * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
- * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
10
- * files in this directory. Styles in this file should be added after the last require_* statement.
11
- * It is generally better to create a new file per style scope.
9
+ * compiled file so the styles you add here take precedence over styles defined in any styles
10
+ * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
11
+ * file per style scope.
12
12
  *
13
13
  *= require_tree .
14
14
  *= require_self
@@ -4,14 +4,12 @@ body {
4
4
  font-family: verdana, arial, helvetica, sans-serif;
5
5
  font-size: 13px;
6
6
  line-height: 18px;
7
- margin: 33px;
8
7
  }
9
8
 
10
9
  p, ol, ul, td {
11
10
  font-family: verdana, arial, helvetica, sans-serif;
12
11
  font-size: 13px;
13
12
  line-height: 18px;
14
- margin: 33px;
15
13
  }
16
14
 
17
15
  pre {
@@ -33,16 +31,6 @@ a {
33
31
  }
34
32
  }
35
33
 
36
- th {
37
- padding-bottom: 5px;
38
- }
39
-
40
- td {
41
- padding-bottom: 7px;
42
- padding-left: 5px;
43
- padding-right: 5px;
44
- }
45
-
46
34
  div {
47
35
  &.field, &.actions {
48
36
  margin-bottom: 10px;
@@ -73,7 +61,7 @@ div {
73
61
  padding: 5px 5px 5px 15px;
74
62
  font-size: 12px;
75
63
  margin: -7px;
76
- margin-bottom: 0;
64
+ margin-bottom: 0px;
77
65
  background-color: #c00;
78
66
  color: #fff;
79
67
  }
@@ -83,7 +71,3 @@ div {
83
71
  list-style: square;
84
72
  }
85
73
  }
86
-
87
- label {
88
- display: block;
89
- }