groonga-client-model 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (192) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +5 -0
  3. data/Gemfile +23 -0
  4. data/README.md +38 -0
  5. data/Rakefile +46 -0
  6. data/doc/text/lgpl-2.1.txt +502 -0
  7. data/doc/text/news.md +5 -0
  8. data/groonga-client-model.gemspec +55 -0
  9. data/lib/groonga-client-model.rb +40 -0
  10. data/lib/groonga_client_model/client.rb +37 -0
  11. data/lib/groonga_client_model/client_opener.rb +24 -0
  12. data/lib/groonga_client_model/error.rb +46 -0
  13. data/lib/groonga_client_model/load_value_generator.rb +54 -0
  14. data/lib/groonga_client_model/modelizable.rb +26 -0
  15. data/lib/groonga_client_model/modelize.rb +83 -0
  16. data/lib/groonga_client_model/railtie.rb +62 -0
  17. data/lib/groonga_client_model/record.rb +324 -0
  18. data/lib/groonga_client_model/schema.rb +109 -0
  19. data/lib/groonga_client_model/spec_helper.rb +27 -0
  20. data/lib/groonga_client_model/test_helper.rb +27 -0
  21. data/lib/groonga_client_model/version.rb +19 -0
  22. data/test/apps/rails5/Gemfile +50 -0
  23. data/test/apps/rails5/Gemfile.lock +208 -0
  24. data/test/apps/rails5/README.md +24 -0
  25. data/test/apps/rails5/Rakefile +6 -0
  26. data/test/apps/rails5/app/assets/config/manifest.js +3 -0
  27. data/test/apps/rails5/app/assets/javascripts/application.js +16 -0
  28. data/test/apps/rails5/app/assets/javascripts/cable.js +13 -0
  29. data/test/apps/rails5/app/assets/javascripts/posts.coffee +3 -0
  30. data/test/apps/rails5/app/assets/stylesheets/application.css +15 -0
  31. data/test/apps/rails5/app/assets/stylesheets/posts.scss +3 -0
  32. data/test/apps/rails5/app/assets/stylesheets/scaffolds.scss +89 -0
  33. data/test/apps/rails5/app/channels/application_cable/channel.rb +4 -0
  34. data/test/apps/rails5/app/channels/application_cable/connection.rb +4 -0
  35. data/test/apps/rails5/app/controllers/application_controller.rb +3 -0
  36. data/test/apps/rails5/app/controllers/posts_controller.rb +74 -0
  37. data/test/apps/rails5/app/helpers/application_helper.rb +2 -0
  38. data/test/apps/rails5/app/helpers/posts_helper.rb +2 -0
  39. data/test/apps/rails5/app/jobs/application_job.rb +2 -0
  40. data/test/apps/rails5/app/mailers/application_mailer.rb +4 -0
  41. data/test/apps/rails5/app/models/post.rb +2 -0
  42. data/test/apps/rails5/app/views/layouts/application.html.erb +14 -0
  43. data/test/apps/rails5/app/views/layouts/mailer.html.erb +13 -0
  44. data/test/apps/rails5/app/views/layouts/mailer.text.erb +1 -0
  45. data/test/apps/rails5/app/views/posts/_form.html.erb +27 -0
  46. data/test/apps/rails5/app/views/posts/_post.json.jbuilder +2 -0
  47. data/test/apps/rails5/app/views/posts/edit.html.erb +6 -0
  48. data/test/apps/rails5/app/views/posts/index.html.erb +29 -0
  49. data/test/apps/rails5/app/views/posts/index.json.jbuilder +1 -0
  50. data/test/apps/rails5/app/views/posts/new.html.erb +5 -0
  51. data/test/apps/rails5/app/views/posts/show.html.erb +14 -0
  52. data/test/apps/rails5/app/views/posts/show.json.jbuilder +1 -0
  53. data/test/apps/rails5/bin/bundle +3 -0
  54. data/test/apps/rails5/bin/rails +9 -0
  55. data/test/apps/rails5/bin/rake +9 -0
  56. data/test/apps/rails5/bin/setup +34 -0
  57. data/test/apps/rails5/bin/spring +16 -0
  58. data/test/apps/rails5/bin/update +29 -0
  59. data/test/apps/rails5/config.ru +5 -0
  60. data/test/apps/rails5/config/application.rb +25 -0
  61. data/test/apps/rails5/config/boot.rb +3 -0
  62. data/test/apps/rails5/config/cable.yml +9 -0
  63. data/test/apps/rails5/config/environment.rb +5 -0
  64. data/test/apps/rails5/config/environments/development.rb +51 -0
  65. data/test/apps/rails5/config/environments/production.rb +83 -0
  66. data/test/apps/rails5/config/environments/test.rb +42 -0
  67. data/test/apps/rails5/config/groonga.yml +8 -0
  68. data/test/apps/rails5/config/initializers/application_controller_renderer.rb +6 -0
  69. data/test/apps/rails5/config/initializers/assets.rb +11 -0
  70. data/test/apps/rails5/config/initializers/backtrace_silencers.rb +7 -0
  71. data/test/apps/rails5/config/initializers/cookies_serializer.rb +5 -0
  72. data/test/apps/rails5/config/initializers/filter_parameter_logging.rb +4 -0
  73. data/test/apps/rails5/config/initializers/inflections.rb +16 -0
  74. data/test/apps/rails5/config/initializers/mime_types.rb +4 -0
  75. data/test/apps/rails5/config/initializers/new_framework_defaults.rb +21 -0
  76. data/test/apps/rails5/config/initializers/session_store.rb +3 -0
  77. data/test/apps/rails5/config/initializers/wrap_parameters.rb +9 -0
  78. data/test/apps/rails5/config/locales/en.yml +23 -0
  79. data/test/apps/rails5/config/puma.rb +47 -0
  80. data/test/apps/rails5/config/routes.rb +4 -0
  81. data/test/apps/rails5/config/secrets.yml +22 -0
  82. data/test/apps/rails5/config/spring.rb +6 -0
  83. data/test/apps/rails5/db/schema.grn +9 -0
  84. data/test/apps/rails5/db/seeds.rb +7 -0
  85. data/test/apps/rails5/log/development.log +348 -0
  86. data/test/apps/rails5/log/test.log +1824 -0
  87. data/test/apps/rails5/public/404.html +67 -0
  88. data/test/apps/rails5/public/422.html +67 -0
  89. data/test/apps/rails5/public/500.html +66 -0
  90. data/test/apps/rails5/public/apple-touch-icon-precomposed.png +0 -0
  91. data/test/apps/rails5/public/apple-touch-icon.png +0 -0
  92. data/test/apps/rails5/public/favicon.ico +0 -0
  93. data/test/apps/rails5/public/robots.txt +5 -0
  94. data/test/apps/rails5/test/controllers/posts_controller_test.rb +50 -0
  95. data/test/apps/rails5/test/factories/posts.rb +6 -0
  96. data/test/apps/rails5/test/test_helper.rb +9 -0
  97. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/-8/-8MPXp-nRdAuudlPZG0-fjIhSfT9c-mruIMNR_HnpTE.cache +2 -0
  98. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/04/04zh1ytKDagWzWcqUyadXtzzohCn9iVvSVG4KrjpfPU.cache +0 -0
  99. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/0M/0M4bZ4tQh0MQYZMb72U5yr-ELStAsUSb8akkTME9TPM.cache +0 -0
  100. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/0g/0gB1rYz79RuAa43DzVci1GUjc5so0F1dU_LyLSmm3oQ.cache +0 -0
  101. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/1w/1w3lEnPL9oZPD-uk9Y9HOAO5TBywbDUumPsLKAD1trs.cache +1 -0
  102. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/2g/2gve43APDqh4mVsNSvvDZWU7XBUFJ22DjchDFC7BLHE.cache +1 -0
  103. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/3F/3Fsw9a9YyB3-WaDSpA1HTGJrWn_7xMLLpUYcNv4f4zs.cache +1 -0
  104. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/3P/3Px3lDIUtsiFfGy4nQGown3yldwKCp1MNuWbSDX1pvg.cache +0 -0
  105. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/46/46uDYcwHwTAfdjT4Cxqs7pC3FEBf4GNj8S36-TDtT18.cache +2 -0
  106. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/5g/5gcXfyU_2YGZzzLIX2HgVkpwSaUUyIH9beyVvR4-RyM.cache +0 -0
  107. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/6a/6ae9A4LxsOF8WxXqTRrY_OfmiKLzuX-k8CdxcYhyH2w.cache +0 -0
  108. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/6g/6gfb-nNauXmim2itNUscPWKLGmjzBgnE4ee76bNftS4.cache +1 -0
  109. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/71/71Km0xL27urBNH3LVGVQ7MXXtuIePWU9VsJ4VjSeMac.cache +1 -0
  110. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/8Z/8Zm1d9-lBPsGG_HUw8FP2OCCVucGDVhWAOGaopvOdss.cache +0 -0
  111. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/8w/8wTyiibSVQ_CunXEyCjFUbzdSEAuSbH0z5XuCUXG0EA.cache +0 -0
  112. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/9p/9pkKAqd_Ia0HpbbUCZtpJ8WiDzr5stcFJsnqsOsJwCc.cache +0 -0
  113. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/B9/B9QeeLv4GR9sOdrwyvxa8jIr4MkxjYh4Ow6MOZ8slX8.cache +0 -0
  114. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/BK/BKtHbqHUW-BUh6yXbZoSBLGYZdH4xpyEVJZ85mre3dI.cache +1 -0
  115. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Bx/BxzoG0KxeNLac4xTNeJv3qfeytbNBw58xj2zD-xdbrE.cache +0 -0
  116. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/DG/DGB9_ZZc6xf8xDs1C8MTwsnZGITqTg5w6Fi8loIoAz0.cache +1 -0
  117. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/DI/DIQbAB3xoMpwIuVisoyQuLOOLReZGqTzMsMSqPTvNlU.cache +1 -0
  118. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Dc/Dcujr9N54L76juPEo4EOYs8buHy8vO2fp-AjoG42-uQ.cache +0 -0
  119. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Dw/DwMpASR_zMhZCB0WD5ibeEaOAEhod-gPDA-cl83A0NQ.cache +1 -0
  120. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/F2/F2G2wQz7oPKX0Y4KCAUyw79ULHKyiweLkqbo4uclz2M.cache +0 -0
  121. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/F4/F4Vm2jVryhME1Ux-h1fCIbynttYJmSOV0lzVQihiIas.cache +0 -0
  122. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/G0/G0kukI-r0q0Vbrg6e_jnYJoYcOX8K__h-mwKbCf4twE.cache +2 -0
  123. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/H4/H4qMae4wP-2E0IT3OzIKJm7TAmkfgTg5GG-mDvrpRr8.cache +1 -0
  124. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/HJ/HJmxnxAVu4ESMb2RUFATQhzd8xP7qwk0i7Or2WU6tHY.cache +1 -0
  125. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Ih/IhFDQr9KaIbw7KJmoi9sRJ2CWZtxt72J0Eu2HDAQYJA.cache +1 -0
  126. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/J-/J-hbdFdKmhYgVvczTzQyQ6ToGIL2Ucw2qCT6Y1oOPhg.cache +1 -0
  127. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/KZ/KZDZMIUD9LD98z__9bjCHLnzjcGoKSnlxuHH1cEiw6M.cache +1 -0
  128. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/LD/LDzW9KshYb0NgRzu1HyrKQlc3satBlIIOEHET_I4TjA.cache +1 -0
  129. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Mw/MwUXpv2ArJcHhHfRN-i_SHhOyrhE2ED5DP6j2_tHtDM.cache +1 -0
  130. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/N6/N6_UDcd-9vm063oO9Kj2UKERXHyG53mpljIHhMP_sX0.cache +1 -0
  131. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Ot/OttEu6oltiTErpVGZQJA3vWOb24u3_w28yMEG-Gs0tA.cache +1 -0
  132. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/P1/P1Ojlz0OChhbxGf83KhMWxJFzKZ3unhLwJ1UoH5U7ss.cache +1 -0
  133. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Pz/PzsjxNnBT0RlIX-T49i6Iyrc_XG8IaJ-F55_x52md8M.cache +0 -0
  134. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Q0/Q0AeQIZuDbFTvWKLlSaL-R4XKHuiymwgVvQUqxxVq_k.cache +0 -0
  135. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Qr/Qrr38H1OZvkfozoMfcDEQ-arpbO7PFQ47i70UTEeWnk.cache +1 -0
  136. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Qw/QwtseSptjk29vLQAs9XVSY_9GY6mR4wLQ6e3xJZzwuo.cache +1 -0
  137. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Rf/RfAETGxupO0E6Sf50S9Rs_7H_8IFQkZ0V_Ot0qRcMaM.cache +1 -0
  138. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/S1/S1RgRu3SVlB0u9krRyLUpNzVgKMN9Pk_KMWLehP2SUc.cache +1 -0
  139. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/SN/SNLpl8dBME7slRhucvmV_kjMQImk-VGiILaga5lEcBM.cache +0 -0
  140. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/SO/SOU1TEHFYRVejiA6nBNRm3Bwq_YtPlxSXK0VM3y3vto.cache +0 -0
  141. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Sd/Sda0ZUElAQoD0SXBgNqF99THI2KdVA4YOcdhAyZxPsY.cache +1 -0
  142. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Sh/ShN-ZUpoxLJLJiMV5gFDP00vcSMHw87YzFBlXH4adPA.cache +0 -0
  143. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Si/Sin6bEoASrNa45108CpfgF2jcifz-KpbsvvZJtqVZ68.cache +0 -0
  144. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/TI/TIt8bfq26rstydJvFM28p05FfB6s8Qjr6EoF6EtQUEc.cache +1 -0
  145. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Uk/UkodNPk80caeUqn1HNQXMB1qV-c-4l-vBFHb7fd5ZGw.cache +1 -0
  146. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Uw/Uws4qYyGLobvE_JD4L6dQNcIOOhv4LEZ3D0mK86tZOA.cache +1 -0
  147. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Wm/WmtvDDxglSnhmavMeA7WNn7waN3QbagRHeoZHvZJN84.cache +1 -0
  148. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/X6/X6u2Cul1j8SpBq0WC1S8WhzGiT6f-6L_djUngh_gQfw.cache +0 -0
  149. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Xe/XeuTfsFtikyfcpzyNjJW7GvVARtV7EFUF8V9lJuS9zs.cache +0 -0
  150. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Ya/YayMISAqD-Y3vBFywwKrXbUovGf5o77HUF5s8mnQgO0.cache +0 -0
  151. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Z2/Z2fYOjvDRsoVXYUWY_QLV3gqU-HobuEZ7vKRjuJO-80.cache +1 -0
  152. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Zj/ZjPZKMxS8BzA1QxHFURXSpprFItP8iIYNCg6yfbO69Y.cache +1 -0
  153. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/a7/a7_aLHXKzPVK1lGdqvWuCl5hXxwSIGH4kcxuF7jMzgE.cache +1 -0
  154. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/c9/c9YydpmE9rI8VeQ4sVqd5JrA1VSEFGGzpuMBUSrAGac.cache +0 -0
  155. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/cB/cBjyp28toLdtY2EFK9cqrbDnrwBSFI7T_vLNoGz-u_U.cache +0 -0
  156. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/cT/cT8i2C4yg0R2UYvutxD-4kbdJF09toG1OUgtd6NAf2M.cache +0 -0
  157. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/cU/cUegCc5wz5f7rfqzD7wrbN633pZRWeewi9j1lJ895Y0.cache +0 -0
  158. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/dA/dAab_MVPXubReIXiKSsP0TGA9dXca0KkwVLz7xNJNmA.cache +0 -0
  159. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/eY/eYUlaSCg8w9Jp-IVGbffopOhH4C94vGA0w6SaC88FM8.cache +1 -0
  160. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/eo/eoSb6VtmOhc2zv4rO1yMBf6hjUj7zHVkSMiNZ7Y576w.cache +1 -0
  161. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/gm/gmeq3PfpFbfe2L0ijWzw1Dzny6T-kD3zREQjh6XGs-o.cache +0 -0
  162. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/he/heptoj4xFW23bqbGAnQ2g6MsS3OKgswQZOu4EFQA9CE.cache +1 -0
  163. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/kN/kNQUVmgZpBoZh9oC57J3qRmnvFOb8zfDeJWar6cPJFM.cache +1 -0
  164. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/km/km1UJe7Uvz3cE03ctzec3Mpcow_vgKO36rq50_Szy3o.cache +5 -0
  165. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/kv/kvOgs1tp83VikXcBjupUg71ybkDcx1pBzH2Dw6mVa7A.cache +1 -0
  166. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/kz/kzw210ITXFWNFV8kw5e-_kRlpS48lGotSQWKPlUfMJ4.cache +0 -0
  167. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/m-/m-gDByrlve8T_OZCCZCaGVlLUnbGWk0qkv7naFMcLDg.cache +1 -0
  168. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/m8/m8XSfEV5J53MzAtMK6udqOZh9S_uC-tELG327hLnWT4.cache +1 -0
  169. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache +0 -0
  170. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/na/naKBB6bJXEjSAfrBfAiXlIzJDRGTsRrbQlI5FezRxnM.cache +1 -0
  171. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache +0 -0
  172. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/oU/oUgVYeNUmvSbf5MWq5a-nknLIlepM8oMGSWyD1J5bzg.cache +0 -0
  173. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/pN/pNBMBzHv-_a5u4lbxQmRsv_hzWZOk93wX3hlG4y4X5E.cache +1 -0
  174. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/pb/pb0V-IHbOTzmTuDDHO7dn8kl3G4RWqXYY1-Gtuklh-M.cache +1 -0
  175. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/pq/pqi4pYpSRroaGdwCXuATmVeb1U-mvzUU8zeWu6o5ooo.cache +0 -0
  176. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/q9/q9zC8RrLhOO1dVXJ3fZqc9dSbshhjSpsDQxh5MpbnDA.cache +0 -0
  177. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/qP/qPmv5snMrDw830S6hSICDcnIy7kVEWoFKXhGKT38lG4.cache +2 -0
  178. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/rn/rnjUJtM3qyEybb7S3NaVbV36OvY6ulGzqxgvp6vtkW0.cache +1 -0
  179. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/rv/rvA5ImExxmMtvHSKmwVMXxnVzM4istECfBR-LxbUf8I.cache +0 -0
  180. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/sS/sSg6UsW5PPi591GTK35btFew1r3_HpbNHoyZv3vZ_HY.cache +1 -0
  181. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/t3/t39F_1zIFMdWiKVUNJyhWOOnP8Lgr6AD5R1HWdVYwbU.cache +0 -0
  182. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/tV/tVL6qud2OxyiMT_-izeWpZa4KnypOUhK0XjwBIPVgi0.cache +0 -0
  183. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/uo/uo2nRPLQSA3FmFVLvE-9uXW64Xx-Gp799qSF3vui1WE.cache +0 -0
  184. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/x7/x7PYh8DJvPykcEqpVab2vcY9-GFz-3cqtoMlRAu94Uc.cache +0 -0
  185. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/xU/xUR-yFcc0UZR2BLp-jBU9bjPiIYophx6ep5yBEeQCM8.cache +1 -0
  186. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/zh/zhmfmdnnow0QqwfT_7IXfN-FAU8qAMm03N7XQjFct6E.cache +1 -0
  187. data/test/apps/rails5/tmp/restart.txt +0 -0
  188. data/test/run-test.rb +49 -0
  189. data/test/unit/run-test.rb +35 -0
  190. data/test/unit/test_load_value_generator.rb +79 -0
  191. data/test/unit/test_record.rb +52 -0
  192. metadata +516 -0
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/404.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The page you were looking for doesn't exist.</h1>
62
+ <p>You may have mistyped the address or the page may have moved.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/500.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
64
+ </div>
65
+ </body>
66
+ </html>
File without changes
File without changes
@@ -0,0 +1,5 @@
1
+ # See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
2
+ #
3
+ # To ban all spiders from the entire site uncomment the next two lines:
4
+ # User-agent: *
5
+ # Disallow: /
@@ -0,0 +1,50 @@
1
+ require 'test_helper'
2
+
3
+ class PostsControllerTest < ActionDispatch::IntegrationTest
4
+ include GroongaClientModel::TestHelper
5
+
6
+ setup do
7
+ @post = create(:post)
8
+ end
9
+
10
+ test "should get index" do
11
+ get posts_url
12
+ assert_response :success
13
+ end
14
+
15
+ test "should get new" do
16
+ get new_post_url
17
+ assert_response :success
18
+ end
19
+
20
+ test "should create post" do
21
+ assert_difference('Post.count') do
22
+ post posts_url, params: { post: { body: @post.body, title: @post.title } }
23
+ end
24
+
25
+ assert_redirected_to post_url(Post.last)
26
+ end
27
+
28
+ test "should show post" do
29
+ get post_url(@post)
30
+ assert_response :success
31
+ end
32
+
33
+ test "should get edit" do
34
+ get edit_post_url(@post)
35
+ assert_response :success
36
+ end
37
+
38
+ test "should update post" do
39
+ patch post_url(@post), params: { post: { body: @post.body, title: @post.title } }
40
+ assert_redirected_to post_url(@post)
41
+ end
42
+
43
+ test "should destroy post" do
44
+ assert_difference('Post.count', -1) do
45
+ delete post_url(@post)
46
+ end
47
+
48
+ assert_redirected_to posts_url
49
+ end
50
+ end
@@ -0,0 +1,6 @@
1
+ FactoryGirl.define do
2
+ factory :post do
3
+ title "Hello"
4
+ body "World"
5
+ end
6
+ end
@@ -0,0 +1,9 @@
1
+ ENV['RAILS_ENV'] ||= 'test'
2
+ require File.expand_path('../../config/environment', __FILE__)
3
+ require 'rails/test_help'
4
+ require 'groonga_client_model/test_helper'
5
+
6
+ class ActiveSupport::TestCase
7
+ # Add more helper methods to be used by all tests here...
8
+ include FactoryGirl::Syntax::Methods
9
+ end
@@ -0,0 +1,2 @@
1
+ "%L�K�
2
+ TjV�io��Y�q����
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/cable.js?type=application/javascript&pipeline=self&id=e2acf759e5e213482b9f6e0df78bd5d27cdd1c6317c2a071c4895f194c17cb70:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/scaffolds.scss?type=text/css&pipeline=self&id=7be545b550aa93dbcb561e83ab8e2a2b18427ad5da88bc4853772b0d5feea63f:ET
@@ -0,0 +1 @@
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=f109122387c2a5aa1e85123756b086784a61db1b63ab2a0f5018000dc3dca270:ET
@@ -0,0 +1,2 @@
1
+ "%�§�°�N�y�xe�
2
+ ��s�
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=f51cfca8711bfd39e15598e2c743364dbd9cd97734a0e99475f1e5c9f9662d77:ET
@@ -0,0 +1 @@
1
+ "%��B�����șo�$'�A�d��L���xR�U
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/posts.coffee?type=application/javascript&pipeline=self&id=3b35b09091cd1d1fd63b4820a20f503c1aaa5017513a02c4d9cce471c4a96153:ET
@@ -0,0 +1 @@
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=96ccad9ad6e649ace7ba40a073278b48cc1d9c158e3203911a479604f81cfeaf:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/posts.coffee?type=application/javascript&pipeline=self&id=50c816dcaf1a4667bfa056870ce43ce359f04863b8dd88bfd66a6edf57ef8541:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/cable.js?type=application/javascript&pipeline=self&id=42db8d571746a07d1647b6b9f4b9978486a14275e5b2408fecb39cbc8955ebfc:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash}>I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"[processors:type=application/javascript&file_type=application/javascript&pipeline=debug;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"cfile-digest:///var/lib/gems/2.3.0/gems/actioncable-5.0.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"Sfile-digest:///var/lib/gems/2.3.0/gems/actioncable-5.0.0.1/lib/assets/compiled;TTI"`file-digest:///var/lib/gems/2.3.0/gems/actioncable-5.0.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.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
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&id=2be95199106dcf93e2b14e6a33f24e5d553c844ccfa101bc059bc38165dbbfc5:ET
@@ -0,0 +1 @@
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=a6b6b1c4da8ce60fb32b9f241e596fbc7822d4880691cb42eb3a9db9ab3b856b:ET
@@ -0,0 +1 @@
1
+ "%��B�����șo�$'�A�d��L���xR�U
@@ -0,0 +1 @@
1
+ "%�D�����#+��R=��������@7����|(
@@ -0,0 +1 @@
1
+ "%ó�n���x���|��b�[ģ��Y��xF�
@@ -0,0 +1 @@
1
+ "%uW��l��j��Z� xU��>�?]��pc��s
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=0ce94c4d2351eb9e6f1ac0748090c29d195e0e654f84e9825d4957084804e64f:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/scaffolds.scss?type=text/css&pipeline=self&id=bc2925ab8b1e609338030c8f6218dfe1c311755f7f2884c6175917f2acd2a011:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/posts.scss?type=text/css&pipeline=self&id=5604d90fe8ac93e068b88cc887d2ce1b68f25c3562cdea21cd48659b0adf7815:ET
@@ -0,0 +1 @@
1
+ "%C6������ܦ�M=��Qu���/�,"c�5u
@@ -0,0 +1 @@
1
+ "%xJ�g&k��"��U���m��X�V�;Fj
@@ -0,0 +1 @@
1
+ I"�/var/lib/gems/2.3.0/gems/turbolinks-source-5.0.0/lib/assets/javascripts/turbolinks.js?type=application/javascript&pipeline=self&id=c6edb2fd0dd3dec74d25efe9704260933e5fbbb383a9654578f5fd8398d5acfa:ET
@@ -0,0 +1 @@
1
+ I"�/var/lib/gems/2.3.0/gems/actioncable-5.0.0.1/lib/assets/compiled/action_cable.js?type=application/javascript&pipeline=self&id=85b0f68a06dee5d59e091d6eb394d41f0bc250f16265d9af3555e20598109109:ET
@@ -0,0 +1 @@
1
+ "%O�n�%�wn���$R�P�{ ՠ��=����
@@ -0,0 +1 @@
1
+ "%M��(Y���f�bgN��!�+�ZR?�Q�IE�
@@ -0,0 +1 @@
1
+ "%��B�����șo�$'�A�d��L���xR�U
@@ -0,0 +1 @@
1
+ I"}app/assets/stylesheets/application.css?type=text/css&id=cfa946afd575e2f25ce8ac9ee1da8cdf58b572df8c3e26e0fda8631256b67faa:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=debug&id=34b91d18227b5296e17499878ac6ce63cf442b60cd41d10f0e690ac6a49ee627:ET
@@ -0,0 +1 @@
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=16c643c94d2db7f56117c4169605a0f6e452cdda5f749bab8c6fd52ef7805df2:ET