librails 0.3.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +1 -1
  3. data/README.md +28 -0
  4. data/Rakefile +5 -34
  5. data/app/assets/config/librails_manifest.js +1 -0
  6. data/app/assets/stylesheets/librails/application.css +3 -3
  7. data/app/controllers/librails/application_controller.rb +0 -1
  8. data/app/jobs/librails/application_job.rb +4 -0
  9. data/app/mailers/librails/application_mailer.rb +6 -0
  10. data/app/models/librails/application_record.rb +5 -0
  11. data/app/views/layouts/librails/application.html.erb +3 -2
  12. data/lib/librails/version.rb +1 -1
  13. data/lib/librails.rb +2 -1
  14. metadata +17 -288
  15. data/app/assets/javascripts/librails/application.js +0 -13
  16. data/app/helpers/librails/db_utils.rb +0 -5
  17. data/app/models/librails/form_param.rb +0 -15
  18. data/test/dummy/README.rdoc +0 -28
  19. data/test/dummy/Rakefile +0 -6
  20. data/test/dummy/app/assets/javascripts/application.js +0 -13
  21. data/test/dummy/app/assets/javascripts/books.js +0 -2
  22. data/test/dummy/app/assets/stylesheets/application.css +0 -15
  23. data/test/dummy/app/assets/stylesheets/books.css +0 -4
  24. data/test/dummy/app/assets/stylesheets/scaffold.css +0 -56
  25. data/test/dummy/app/controllers/application_controller.rb +0 -5
  26. data/test/dummy/app/controllers/books_controller.rb +0 -58
  27. data/test/dummy/app/helpers/application_helper.rb +0 -2
  28. data/test/dummy/app/helpers/books_helper.rb +0 -2
  29. data/test/dummy/app/models/book.rb +0 -2
  30. data/test/dummy/app/views/books/_form.html.erb +0 -29
  31. data/test/dummy/app/views/books/edit.html.erb +0 -6
  32. data/test/dummy/app/views/books/index.html.erb +0 -31
  33. data/test/dummy/app/views/books/new.html.erb +0 -5
  34. data/test/dummy/app/views/books/show.html.erb +0 -19
  35. data/test/dummy/app/views/layouts/application.html.erb +0 -14
  36. data/test/dummy/bin/bundle +0 -3
  37. data/test/dummy/bin/rails +0 -4
  38. data/test/dummy/bin/rake +0 -4
  39. data/test/dummy/bin/setup +0 -29
  40. data/test/dummy/config/application.rb +0 -26
  41. data/test/dummy/config/boot.rb +0 -5
  42. data/test/dummy/config/database.yml +0 -25
  43. data/test/dummy/config/environment.rb +0 -5
  44. data/test/dummy/config/environments/development.rb +0 -41
  45. data/test/dummy/config/environments/production.rb +0 -79
  46. data/test/dummy/config/environments/test.rb +0 -42
  47. data/test/dummy/config/initializers/assets.rb +0 -11
  48. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  49. data/test/dummy/config/initializers/cookies_serializer.rb +0 -3
  50. data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  51. data/test/dummy/config/initializers/inflections.rb +0 -16
  52. data/test/dummy/config/initializers/mime_types.rb +0 -4
  53. data/test/dummy/config/initializers/session_store.rb +0 -3
  54. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  55. data/test/dummy/config/locales/en.yml +0 -23
  56. data/test/dummy/config/routes.rb +0 -5
  57. data/test/dummy/config/secrets.yml +0 -22
  58. data/test/dummy/config.ru +0 -4
  59. data/test/dummy/db/development.sqlite3 +0 -0
  60. data/test/dummy/db/migrate/20161025052813_create_books.rb +0 -11
  61. data/test/dummy/db/schema.rb +0 -24
  62. data/test/dummy/db/test.sqlite3 +0 -0
  63. data/test/dummy/log/development.log +0 -125
  64. data/test/dummy/log/test.log +0 -929
  65. data/test/dummy/public/404.html +0 -67
  66. data/test/dummy/public/422.html +0 -67
  67. data/test/dummy/public/500.html +0 -66
  68. data/test/dummy/public/favicon.ico +0 -0
  69. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-a/-a5ntVe_0-JosKC_U-LV0kALRyUIgn03H0eVSdQ8pAo.cache +0 -1
  70. data/test/dummy/tmp/cache/assets/sprockets/v3.0/2x/2xVmM6jHrzDyP1lp_LjSNgXh8HYZQ7UMeLoN7wQO2uM.cache +0 -1
  71. data/test/dummy/tmp/cache/assets/sprockets/v3.0/4J/4JwVVgJQeLQmk-x6jORqWPEH5TYtWgMF-4GJupuMreM.cache +0 -0
  72. data/test/dummy/tmp/cache/assets/sprockets/v3.0/4P/4Po6Zxf1klgk64Tw6mYOWnTGXYt4fqfrgbM_aUJwGpw.cache +0 -0
  73. data/test/dummy/tmp/cache/assets/sprockets/v3.0/4Q/4Qo2DjyziGCKkz1oJV2GVlh8wX1CcV8pAS46Q7Qm7hI.cache +0 -0
  74. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +0 -0
  75. data/test/dummy/tmp/cache/assets/sprockets/v3.0/98/98JB3RlDHR57hBl-xqETG_I6j8A_Nq0odiAq7v00Myk.cache +0 -1
  76. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9h/9hWcOzybQOFoTeNjwVlrLZ5CFSgHv2mFQz1iT7DZsAM.cache +0 -0
  77. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9l/9lRpyWJfT2I3m8gijV7lkjQFoXhOKRq-qrktmY8jwqQ.cache +0 -1
  78. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9y/9y8VxpdidE2YHBhtV16bnLrhPEyaw00uRH9rGQrGiYo.cache +0 -2
  79. data/test/dummy/tmp/cache/assets/sprockets/v3.0/AN/ANELt8DAvX3T4rWiL73ZyAs9akz2xqaJ8oSTkjC8F4E.cache +0 -0
  80. data/test/dummy/tmp/cache/assets/sprockets/v3.0/B0/B0yDuvt2bL4_VgHHUwn0DSCgUg_Ubj4YjHffaiGCAL0.cache +0 -0
  81. data/test/dummy/tmp/cache/assets/sprockets/v3.0/CU/CUUNfrG7P9ppFhzKGMMhyineSvfddDpmm193O8hqWn8.cache +0 -1
  82. data/test/dummy/tmp/cache/assets/sprockets/v3.0/DS/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache +0 -2
  83. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Dm/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache +0 -0
  84. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Gr/Gr9XYAo8GbcW54Sm4tf2EnAzEUrmUcF3x29iJGtBs-A.cache +0 -0
  85. data/test/dummy/tmp/cache/assets/sprockets/v3.0/H4/H4oToPWSBBLRPAut47gvhtagG-ZlAjMvULFS1IlsDSQ.cache +0 -1
  86. data/test/dummy/tmp/cache/assets/sprockets/v3.0/HB/HB4_lJeXGMv1qlxwZfwDD0DQt9v9D3uJfs5M8Kgu3iw.cache +0 -0
  87. data/test/dummy/tmp/cache/assets/sprockets/v3.0/HE/HEA-bEdudX8qzqty72VsU6YCvuJV2OkyzRXpsXLoxFA.cache +0 -0
  88. data/test/dummy/tmp/cache/assets/sprockets/v3.0/HV/HVshoeO2Vki70_9KjCtwERcw7ODKGOGVYYDQIANp2UM.cache +0 -0
  89. data/test/dummy/tmp/cache/assets/sprockets/v3.0/I3/I3W61RA7E9U8gY3VOReLJalzQzVrSopciuNv6qcYmng.cache +0 -0
  90. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ic/IcuhBgC-nw3u2yhN8hnjRD6Qmzw3DbcuIBUqovrS6Hc.cache +0 -0
  91. data/test/dummy/tmp/cache/assets/sprockets/v3.0/JS/JSjnVos6CVam_6IKJcXZEgVG5kHcAauxq-yHnTn4mxE.cache +0 -1
  92. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ki/KifnWePy2kuI6EoY35NBONt3SPPPXzXWFUzy7YS0AXg.cache +0 -1
  93. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ld/LdOU9kh2e1UyWAH9vMD_vrJTydu8vLyj9RZRdtWZJJE.cache +0 -1
  94. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ms/MsWDjQABzh2_2l9wZzvXwvwaDXCKRqC_CHFqwpF3vfA.cache +0 -1
  95. data/test/dummy/tmp/cache/assets/sprockets/v3.0/NP/NPTKYje_vsxbdQIwHZm4GQ9ctgNfDx_dGpmUY09mUQw.cache +0 -0
  96. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +0 -0
  97. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Oo/OopMIscaD_StAXIYnIlx8woMEjgZf2uDXh17312pc5w.cache +0 -1
  98. data/test/dummy/tmp/cache/assets/sprockets/v3.0/PZ/PZM2O0pn21R_wlGR30OX0pQ4-zThf7ZxUhXihEKAcxM.cache +0 -1
  99. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Q0/Q0pvcN-Uyq45X4gQ1IIsx2hW2l933XYAVm66Lt-CcMg.cache +0 -0
  100. data/test/dummy/tmp/cache/assets/sprockets/v3.0/QY/QY4eYMS1Fh5SL6cZCo_OpPSZGx9e7vjDlEpwXT0AaRI.cache +0 -1
  101. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Un/Un1edWzWIIMQo9Q1V4Y3p58MSmZMO3ccQIABeCzt-es.cache +0 -1
  102. data/test/dummy/tmp/cache/assets/sprockets/v3.0/WJ/WJndgy_O4Z4_vIJzVJV49Oj7pXcrXAM2WToimOqHi94.cache +0 -0
  103. data/test/dummy/tmp/cache/assets/sprockets/v3.0/YB/YBmLL8rNkJ9wDjR63wHcnw4HPQ2zc4_sUHBnCwCHmV8.cache +0 -1
  104. data/test/dummy/tmp/cache/assets/sprockets/v3.0/YO/YOQwG9qoTCWsQaEUYqC2eU6VMwJ8eY5az9PWEg0YBVY.cache +0 -1
  105. data/test/dummy/tmp/cache/assets/sprockets/v3.0/YZ/YZ5lr9CWjxm17X4Z6whrpsqGepK7FMkaMYke2pZeJkY.cache +0 -0
  106. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Z0/Z0v-Clv1RmCtHcZgsHm2Efklg2cOj1_vvXGxSZJYGmU.cache +0 -0
  107. data/test/dummy/tmp/cache/assets/sprockets/v3.0/a9/a9CMcRWEr_aXxa0Z54LL_mihjvWtKKhXEkjYUf1jbYg.cache +0 -0
  108. data/test/dummy/tmp/cache/assets/sprockets/v3.0/az/azSFX09wOk1dDEk1xyUuhOvndGRfhAQw7X3bhVUvbqk.cache +0 -0
  109. data/test/dummy/tmp/cache/assets/sprockets/v3.0/c4/c4wesegfvp3YOFFSsjDTtaqlTJT4wu9TEQwmOabiGBE.cache +0 -1
  110. data/test/dummy/tmp/cache/assets/sprockets/v3.0/di/diq4wNwLuxlJAo-1sx9AH3-mub_Z63HbEaidoP-u9LQ.cache +0 -0
  111. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dj/djpYduQfWsseWdaOi5NPjqzRTg-mdM1AuAl5fgbfRLI.cache +0 -1
  112. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dv/dvTANT0eJS1VHnH7LFBvahPvuDEVWCsoCxbVYEyZhzs.cache +0 -0
  113. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ek/ek29x0Bv7htoVKBJsvqHHHd4qD1hqohET5SJ3GHUe3c.cache +0 -1
  114. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gI/gIcGEFwVb02r2Kvp4JojiRH9FmhmT2W3zpbokUikgTM.cache +0 -1
  115. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gZ/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache +0 -2
  116. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +0 -0
  117. data/test/dummy/tmp/cache/assets/sprockets/v3.0/jR/jRlfgMuDhdJ9DeARm8C34EzijHiSAEZi9IumOi8d8co.cache +0 -1
  118. data/test/dummy/tmp/cache/assets/sprockets/v3.0/je/jeF02OPMeSNXwtMncDIYKtOsYCK80N9cMVBag1DQcTU.cache +0 -1
  119. data/test/dummy/tmp/cache/assets/sprockets/v3.0/jy/jyTlR0GRNS7XsvnoGBrqht7VoF8JHgPAhzzlPSI38Lg.cache +0 -0
  120. data/test/dummy/tmp/cache/assets/sprockets/v3.0/kf/kff_5LRygUIEBDA1u6MXzK09UFf90uCaOsLtaBgyGUQ.cache +0 -0
  121. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ll/lllxIh8TmYST5iT3pMMqEiiW2kVnV46e8apjHYV4NwQ.cache +0 -0
  122. data/test/dummy/tmp/cache/assets/sprockets/v3.0/lt/ltZ12Hb1MIwQ_x5JJ3RSyPYvs7uKQ6sobTXErisPSIo.cache +0 -1
  123. data/test/dummy/tmp/cache/assets/sprockets/v3.0/m4/m4PDLvfn6lwFaBlngbSJXSB_eLt6iyL5y4mX1QPdp40.cache +0 -0
  124. data/test/dummy/tmp/cache/assets/sprockets/v3.0/nF/nFDSlhA0quhrqhaq_7tpg8xL130zYnfh0fSgdoKjyxs.cache +0 -1
  125. data/test/dummy/tmp/cache/assets/sprockets/v3.0/om/omT5fdYWQly0TYwKCjLTSkd4KnkiW3DBI7u_9iwQujM.cache +0 -1
  126. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +0 -0
  127. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pV/pVjei3DOBfiSnjFhJoxc5fnuoqkyxSZXVaXL-PtQOnM.cache +0 -1
  128. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qo/qom3M3JruFGz9uj1CmP-jbPFnMOFh2r2KESBsGzKqSQ.cache +0 -1
  129. data/test/dummy/tmp/cache/assets/sprockets/v3.0/rA/rAUGcozHSiZ93hwuQ5Ez0-DFNvpIp1pMSFzJDL6j5t0.cache +0 -1
  130. data/test/dummy/tmp/cache/assets/sprockets/v3.0/rG/rGuMNcIUBp03kbJ6EzyYnC3CRj5goxzKZBmJYdmHAZQ.cache +0 -0
  131. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sU/sU3oqz4lk5ZBEidbxhSyI-aEf0xo5cuP8154BPYzRSQ.cache +0 -0
  132. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sZ/sZS3zy1fxZQjAPA_1FJ3AowfYeZce2J_6g44pGwLUm0.cache +0 -0
  133. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sj/sj16ZRag8S_gxUTofHpRMDlBfQtRrkOCTHE4XkpqTIw.cache +0 -1
  134. data/test/dummy/tmp/cache/assets/sprockets/v3.0/so/sor5uSsm2pcLDkIB_nEyeFtyH3H9JfHraQ06BUgKQDI.cache +0 -1
  135. data/test/dummy/tmp/cache/assets/sprockets/v3.0/tO/tOhfPNHfUCZMMbxsrZ8QFkHIS4Kvl5n2uOQFyrtP8sg.cache +0 -1
  136. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vA/vASpagKbFH0ZvwZExZpP6xUozv_LZDLv2ChvkXLH9bM.cache +0 -1
  137. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vG/vGFQZSHgo_Z1jtdt-4UDi4Cq_rLRNs3NgVSnCC-00tk.cache +0 -0
  138. data/test/dummy/tmp/cache/assets/sprockets/v3.0/wt/wtPqYC4VZKO69pxoohTrsnCI_qisEoAEF_0a0cchBOs.cache +0 -1
  139. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xw/xw-pJ8PwbGRKiqJ9PyoPiRt1qJ2tGDRaVKQr5L83M24.cache +0 -0
  140. data/test/dummy/tmp/cache/assets/sprockets/v3.0/zh/zhG0AnNGbV5bRFlZI647Ycb4OP62cNjN9sCGP2XSmLY.cache +0 -0
  141. data/test/fixtures/books.yml +0 -11
  142. data/test/integration/books_controller_test.rb +0 -51
  143. data/test/integration/navigation_test.rb +0 -8
  144. data/test/lib/librails_test.rb +0 -18
  145. data/test/lib/misc_utils_test.rb +0 -8
  146. data/test/lib/model_utils_test.rb +0 -62
  147. data/test/models/book_test.rb +0 -8
  148. data/test/test_helper.rb +0 -21
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 827e96cd515ece6d5eb53b2eca67ff13703a95535a16b911b4f8101c5b3f5929
4
- data.tar.gz: 4c0ccf24fc30e9f141af574fdfc01028b8f63a29375010c2d1e972efd4f79523
3
+ metadata.gz: c823fc1b474eef6df534b9defe3946ad5b6a4c919dcae7797ab69e7873c4a505
4
+ data.tar.gz: 7fc179fa1616ea9e6fa4921e2fe0f70e057534dbff42e2d2fbc21563fc6ee786
5
5
  SHA512:
6
- metadata.gz: dad7e2d4f1c7f9b4b3786462575383917c49168369c555739f051caaa7c4cc9e75dc92642cc8597dbe86a8d5af804facbd8b8aad76deef73f93c3d7540e286bf
7
- data.tar.gz: '099d79163631f016a4c2db19cda8b25d45661f63383fbaa9dbf94903dc4b812add3c28f2380767bc40318340d28c0e05d29735b82afd6d2798276a28975c9cac'
6
+ metadata.gz: a8e6653767aab0b0906b7cd0c84dc9867d016fa316cd24c6a4870c1971128e0abcb2e9a95ed4a166080242ee701fbb28e8e5135a06d708f379a66b1e643089cb
7
+ data.tar.gz: 787b53c553a2c89a5df3d2aff96c9a57f7ca0d02d63e3855c712f3c4c24dda03cb81f211ffdd7fec2438ad78dd53671fe723a87a4a9c800034cd04cd45cf4de7
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2016 src
1
+ Copyright 2023 src256
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md ADDED
@@ -0,0 +1,28 @@
1
+ # Librails
2
+ Short description and motivation.
3
+
4
+ ## Usage
5
+ How to use my plugin.
6
+
7
+ ## Installation
8
+ Add this line to your application's Gemfile:
9
+
10
+ ```ruby
11
+ gem "librails"
12
+ ```
13
+
14
+ And then execute:
15
+ ```bash
16
+ $ bundle
17
+ ```
18
+
19
+ Or install it yourself as:
20
+ ```bash
21
+ $ gem install librails
22
+ ```
23
+
24
+ ## Contributing
25
+ Contribution directions go here.
26
+
27
+ ## License
28
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile CHANGED
@@ -1,37 +1,8 @@
1
- begin
2
- require 'bundler/setup'
3
- rescue LoadError
4
- puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
- end
1
+ require "bundler/setup"
6
2
 
7
- require 'rdoc/task'
3
+ APP_RAKEFILE = File.expand_path("test/dummy/Rakefile", __dir__)
4
+ load "rails/tasks/engine.rake"
8
5
 
9
- RDoc::Task.new(:rdoc) do |rdoc|
10
- rdoc.rdoc_dir = 'rdoc'
11
- rdoc.title = 'Librails'
12
- rdoc.options << '--line-numbers'
13
- rdoc.rdoc_files.include('README.rdoc')
14
- rdoc.rdoc_files.include('lib/**/*.rb')
15
- end
6
+ load "rails/tasks/statistics.rake"
16
7
 
17
- APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
18
- load 'rails/tasks/engine.rake'
19
-
20
-
21
- load 'rails/tasks/statistics.rake'
22
-
23
-
24
-
25
- Bundler::GemHelper.install_tasks
26
-
27
- require 'rake/testtask'
28
-
29
- Rake::TestTask.new(:test) do |t|
30
- t.libs << 'lib'
31
- t.libs << 'test'
32
- t.pattern = 'test/**/*_test.rb'
33
- t.verbose = false
34
- end
35
-
36
-
37
- task default: :test
8
+ require "bundler/gem_tasks"
@@ -0,0 +1 @@
1
+ //= link_directory ../stylesheets/librails .css
@@ -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 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.
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.
12
12
  *
13
13
  *= require_tree .
14
14
  *= require_self
@@ -1,5 +1,4 @@
1
1
  module Librails
2
2
  class ApplicationController < ActionController::Base
3
- protect_from_forgery with: :exception
4
3
  end
5
4
  end
@@ -0,0 +1,4 @@
1
+ module Librails
2
+ class ApplicationJob < ActiveJob::Base
3
+ end
4
+ end
@@ -0,0 +1,6 @@
1
+ module Librails
2
+ class ApplicationMailer < ActionMailer::Base
3
+ default from: "from@example.com"
4
+ layout "mailer"
5
+ end
6
+ end
@@ -0,0 +1,5 @@
1
+ module Librails
2
+ class ApplicationRecord < ActiveRecord::Base
3
+ self.abstract_class = true
4
+ end
5
+ end
@@ -2,9 +2,10 @@
2
2
  <html>
3
3
  <head>
4
4
  <title>Librails</title>
5
- <%= stylesheet_link_tag "librails/application", media: "all" %>
6
- <%= javascript_include_tag "librails/application" %>
7
5
  <%= csrf_meta_tags %>
6
+ <%= csp_meta_tag %>
7
+
8
+ <%= stylesheet_link_tag "librails/application", media: "all" %>
8
9
  </head>
9
10
  <body>
10
11
 
@@ -1,3 +1,3 @@
1
1
  module Librails
2
- VERSION = "0.3.0"
2
+ VERSION = "1.0.0"
3
3
  end
data/lib/librails.rb CHANGED
@@ -1,7 +1,8 @@
1
1
  require "librails/engine"
2
- #require "librails/version"
2
+ require "librails/version"
3
3
  require "librails/misc_utils"
4
4
  require "librails/model_utils"
5
+ require "librails/view_helper"
5
6
 
6
7
  module Librails
7
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: librails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
- - src
7
+ - src256
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-11 00:00:00.000000000 Z
11
+ date: 2023-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,28 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '5.2'
19
+ version: 7.0.8
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '5.2'
27
- - !ruby/object:Gem::Dependency
28
- name: sqlite3
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
26
+ version: 7.0.8
41
27
  description: My Rails Plugin
42
28
  email:
43
29
  - src@srcw.net
@@ -46,13 +32,15 @@ extensions: []
46
32
  extra_rdoc_files: []
47
33
  files:
48
34
  - MIT-LICENSE
35
+ - README.md
49
36
  - Rakefile
50
- - app/assets/javascripts/librails/application.js
37
+ - app/assets/config/librails_manifest.js
51
38
  - app/assets/stylesheets/librails/application.css
52
39
  - app/controllers/librails/application_controller.rb
53
40
  - app/helpers/librails/application_helper.rb
54
- - app/helpers/librails/db_utils.rb
55
- - app/models/librails/form_param.rb
41
+ - app/jobs/librails/application_job.rb
42
+ - app/mailers/librails/application_mailer.rb
43
+ - app/models/librails/application_record.rb
56
44
  - app/views/layouts/librails/application.html.erb
57
45
  - config/routes.rb
58
46
  - lib/librails.rb
@@ -62,141 +50,13 @@ files:
62
50
  - lib/librails/version.rb
63
51
  - lib/librails/view_helper.rb
64
52
  - lib/tasks/librails_tasks.rake
65
- - test/dummy/README.rdoc
66
- - test/dummy/Rakefile
67
- - test/dummy/app/assets/javascripts/application.js
68
- - test/dummy/app/assets/javascripts/books.js
69
- - test/dummy/app/assets/stylesheets/application.css
70
- - test/dummy/app/assets/stylesheets/books.css
71
- - test/dummy/app/assets/stylesheets/scaffold.css
72
- - test/dummy/app/controllers/application_controller.rb
73
- - test/dummy/app/controllers/books_controller.rb
74
- - test/dummy/app/helpers/application_helper.rb
75
- - test/dummy/app/helpers/books_helper.rb
76
- - test/dummy/app/models/book.rb
77
- - test/dummy/app/views/books/_form.html.erb
78
- - test/dummy/app/views/books/edit.html.erb
79
- - test/dummy/app/views/books/index.html.erb
80
- - test/dummy/app/views/books/new.html.erb
81
- - test/dummy/app/views/books/show.html.erb
82
- - test/dummy/app/views/layouts/application.html.erb
83
- - test/dummy/bin/bundle
84
- - test/dummy/bin/rails
85
- - test/dummy/bin/rake
86
- - test/dummy/bin/setup
87
- - test/dummy/config.ru
88
- - test/dummy/config/application.rb
89
- - test/dummy/config/boot.rb
90
- - test/dummy/config/database.yml
91
- - test/dummy/config/environment.rb
92
- - test/dummy/config/environments/development.rb
93
- - test/dummy/config/environments/production.rb
94
- - test/dummy/config/environments/test.rb
95
- - test/dummy/config/initializers/assets.rb
96
- - test/dummy/config/initializers/backtrace_silencers.rb
97
- - test/dummy/config/initializers/cookies_serializer.rb
98
- - test/dummy/config/initializers/filter_parameter_logging.rb
99
- - test/dummy/config/initializers/inflections.rb
100
- - test/dummy/config/initializers/mime_types.rb
101
- - test/dummy/config/initializers/session_store.rb
102
- - test/dummy/config/initializers/wrap_parameters.rb
103
- - test/dummy/config/locales/en.yml
104
- - test/dummy/config/routes.rb
105
- - test/dummy/config/secrets.yml
106
- - test/dummy/db/development.sqlite3
107
- - test/dummy/db/migrate/20161025052813_create_books.rb
108
- - test/dummy/db/schema.rb
109
- - test/dummy/db/test.sqlite3
110
- - test/dummy/log/development.log
111
- - test/dummy/log/test.log
112
- - test/dummy/public/404.html
113
- - test/dummy/public/422.html
114
- - test/dummy/public/500.html
115
- - test/dummy/public/favicon.ico
116
- - test/dummy/tmp/cache/assets/sprockets/v3.0/-a/-a5ntVe_0-JosKC_U-LV0kALRyUIgn03H0eVSdQ8pAo.cache
117
- - test/dummy/tmp/cache/assets/sprockets/v3.0/2x/2xVmM6jHrzDyP1lp_LjSNgXh8HYZQ7UMeLoN7wQO2uM.cache
118
- - test/dummy/tmp/cache/assets/sprockets/v3.0/4J/4JwVVgJQeLQmk-x6jORqWPEH5TYtWgMF-4GJupuMreM.cache
119
- - test/dummy/tmp/cache/assets/sprockets/v3.0/4P/4Po6Zxf1klgk64Tw6mYOWnTGXYt4fqfrgbM_aUJwGpw.cache
120
- - test/dummy/tmp/cache/assets/sprockets/v3.0/4Q/4Qo2DjyziGCKkz1oJV2GVlh8wX1CcV8pAS46Q7Qm7hI.cache
121
- - test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache
122
- - test/dummy/tmp/cache/assets/sprockets/v3.0/98/98JB3RlDHR57hBl-xqETG_I6j8A_Nq0odiAq7v00Myk.cache
123
- - test/dummy/tmp/cache/assets/sprockets/v3.0/9h/9hWcOzybQOFoTeNjwVlrLZ5CFSgHv2mFQz1iT7DZsAM.cache
124
- - test/dummy/tmp/cache/assets/sprockets/v3.0/9l/9lRpyWJfT2I3m8gijV7lkjQFoXhOKRq-qrktmY8jwqQ.cache
125
- - test/dummy/tmp/cache/assets/sprockets/v3.0/9y/9y8VxpdidE2YHBhtV16bnLrhPEyaw00uRH9rGQrGiYo.cache
126
- - test/dummy/tmp/cache/assets/sprockets/v3.0/AN/ANELt8DAvX3T4rWiL73ZyAs9akz2xqaJ8oSTkjC8F4E.cache
127
- - test/dummy/tmp/cache/assets/sprockets/v3.0/B0/B0yDuvt2bL4_VgHHUwn0DSCgUg_Ubj4YjHffaiGCAL0.cache
128
- - test/dummy/tmp/cache/assets/sprockets/v3.0/CU/CUUNfrG7P9ppFhzKGMMhyineSvfddDpmm193O8hqWn8.cache
129
- - test/dummy/tmp/cache/assets/sprockets/v3.0/DS/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache
130
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Dm/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache
131
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Gr/Gr9XYAo8GbcW54Sm4tf2EnAzEUrmUcF3x29iJGtBs-A.cache
132
- - test/dummy/tmp/cache/assets/sprockets/v3.0/H4/H4oToPWSBBLRPAut47gvhtagG-ZlAjMvULFS1IlsDSQ.cache
133
- - test/dummy/tmp/cache/assets/sprockets/v3.0/HB/HB4_lJeXGMv1qlxwZfwDD0DQt9v9D3uJfs5M8Kgu3iw.cache
134
- - test/dummy/tmp/cache/assets/sprockets/v3.0/HE/HEA-bEdudX8qzqty72VsU6YCvuJV2OkyzRXpsXLoxFA.cache
135
- - test/dummy/tmp/cache/assets/sprockets/v3.0/HV/HVshoeO2Vki70_9KjCtwERcw7ODKGOGVYYDQIANp2UM.cache
136
- - test/dummy/tmp/cache/assets/sprockets/v3.0/I3/I3W61RA7E9U8gY3VOReLJalzQzVrSopciuNv6qcYmng.cache
137
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Ic/IcuhBgC-nw3u2yhN8hnjRD6Qmzw3DbcuIBUqovrS6Hc.cache
138
- - test/dummy/tmp/cache/assets/sprockets/v3.0/JS/JSjnVos6CVam_6IKJcXZEgVG5kHcAauxq-yHnTn4mxE.cache
139
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Ki/KifnWePy2kuI6EoY35NBONt3SPPPXzXWFUzy7YS0AXg.cache
140
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Ld/LdOU9kh2e1UyWAH9vMD_vrJTydu8vLyj9RZRdtWZJJE.cache
141
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Ms/MsWDjQABzh2_2l9wZzvXwvwaDXCKRqC_CHFqwpF3vfA.cache
142
- - test/dummy/tmp/cache/assets/sprockets/v3.0/NP/NPTKYje_vsxbdQIwHZm4GQ9ctgNfDx_dGpmUY09mUQw.cache
143
- - test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache
144
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Oo/OopMIscaD_StAXIYnIlx8woMEjgZf2uDXh17312pc5w.cache
145
- - test/dummy/tmp/cache/assets/sprockets/v3.0/PZ/PZM2O0pn21R_wlGR30OX0pQ4-zThf7ZxUhXihEKAcxM.cache
146
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Q0/Q0pvcN-Uyq45X4gQ1IIsx2hW2l933XYAVm66Lt-CcMg.cache
147
- - test/dummy/tmp/cache/assets/sprockets/v3.0/QY/QY4eYMS1Fh5SL6cZCo_OpPSZGx9e7vjDlEpwXT0AaRI.cache
148
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Un/Un1edWzWIIMQo9Q1V4Y3p58MSmZMO3ccQIABeCzt-es.cache
149
- - test/dummy/tmp/cache/assets/sprockets/v3.0/WJ/WJndgy_O4Z4_vIJzVJV49Oj7pXcrXAM2WToimOqHi94.cache
150
- - test/dummy/tmp/cache/assets/sprockets/v3.0/YB/YBmLL8rNkJ9wDjR63wHcnw4HPQ2zc4_sUHBnCwCHmV8.cache
151
- - test/dummy/tmp/cache/assets/sprockets/v3.0/YO/YOQwG9qoTCWsQaEUYqC2eU6VMwJ8eY5az9PWEg0YBVY.cache
152
- - test/dummy/tmp/cache/assets/sprockets/v3.0/YZ/YZ5lr9CWjxm17X4Z6whrpsqGepK7FMkaMYke2pZeJkY.cache
153
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Z0/Z0v-Clv1RmCtHcZgsHm2Efklg2cOj1_vvXGxSZJYGmU.cache
154
- - test/dummy/tmp/cache/assets/sprockets/v3.0/a9/a9CMcRWEr_aXxa0Z54LL_mihjvWtKKhXEkjYUf1jbYg.cache
155
- - test/dummy/tmp/cache/assets/sprockets/v3.0/az/azSFX09wOk1dDEk1xyUuhOvndGRfhAQw7X3bhVUvbqk.cache
156
- - test/dummy/tmp/cache/assets/sprockets/v3.0/c4/c4wesegfvp3YOFFSsjDTtaqlTJT4wu9TEQwmOabiGBE.cache
157
- - test/dummy/tmp/cache/assets/sprockets/v3.0/di/diq4wNwLuxlJAo-1sx9AH3-mub_Z63HbEaidoP-u9LQ.cache
158
- - test/dummy/tmp/cache/assets/sprockets/v3.0/dj/djpYduQfWsseWdaOi5NPjqzRTg-mdM1AuAl5fgbfRLI.cache
159
- - test/dummy/tmp/cache/assets/sprockets/v3.0/dv/dvTANT0eJS1VHnH7LFBvahPvuDEVWCsoCxbVYEyZhzs.cache
160
- - test/dummy/tmp/cache/assets/sprockets/v3.0/ek/ek29x0Bv7htoVKBJsvqHHHd4qD1hqohET5SJ3GHUe3c.cache
161
- - test/dummy/tmp/cache/assets/sprockets/v3.0/gI/gIcGEFwVb02r2Kvp4JojiRH9FmhmT2W3zpbokUikgTM.cache
162
- - test/dummy/tmp/cache/assets/sprockets/v3.0/gZ/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache
163
- - test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache
164
- - test/dummy/tmp/cache/assets/sprockets/v3.0/jR/jRlfgMuDhdJ9DeARm8C34EzijHiSAEZi9IumOi8d8co.cache
165
- - test/dummy/tmp/cache/assets/sprockets/v3.0/je/jeF02OPMeSNXwtMncDIYKtOsYCK80N9cMVBag1DQcTU.cache
166
- - test/dummy/tmp/cache/assets/sprockets/v3.0/jy/jyTlR0GRNS7XsvnoGBrqht7VoF8JHgPAhzzlPSI38Lg.cache
167
- - test/dummy/tmp/cache/assets/sprockets/v3.0/kf/kff_5LRygUIEBDA1u6MXzK09UFf90uCaOsLtaBgyGUQ.cache
168
- - test/dummy/tmp/cache/assets/sprockets/v3.0/ll/lllxIh8TmYST5iT3pMMqEiiW2kVnV46e8apjHYV4NwQ.cache
169
- - test/dummy/tmp/cache/assets/sprockets/v3.0/lt/ltZ12Hb1MIwQ_x5JJ3RSyPYvs7uKQ6sobTXErisPSIo.cache
170
- - test/dummy/tmp/cache/assets/sprockets/v3.0/m4/m4PDLvfn6lwFaBlngbSJXSB_eLt6iyL5y4mX1QPdp40.cache
171
- - test/dummy/tmp/cache/assets/sprockets/v3.0/nF/nFDSlhA0quhrqhaq_7tpg8xL130zYnfh0fSgdoKjyxs.cache
172
- - test/dummy/tmp/cache/assets/sprockets/v3.0/om/omT5fdYWQly0TYwKCjLTSkd4KnkiW3DBI7u_9iwQujM.cache
173
- - test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache
174
- - test/dummy/tmp/cache/assets/sprockets/v3.0/pV/pVjei3DOBfiSnjFhJoxc5fnuoqkyxSZXVaXL-PtQOnM.cache
175
- - test/dummy/tmp/cache/assets/sprockets/v3.0/qo/qom3M3JruFGz9uj1CmP-jbPFnMOFh2r2KESBsGzKqSQ.cache
176
- - test/dummy/tmp/cache/assets/sprockets/v3.0/rA/rAUGcozHSiZ93hwuQ5Ez0-DFNvpIp1pMSFzJDL6j5t0.cache
177
- - test/dummy/tmp/cache/assets/sprockets/v3.0/rG/rGuMNcIUBp03kbJ6EzyYnC3CRj5goxzKZBmJYdmHAZQ.cache
178
- - test/dummy/tmp/cache/assets/sprockets/v3.0/sU/sU3oqz4lk5ZBEidbxhSyI-aEf0xo5cuP8154BPYzRSQ.cache
179
- - test/dummy/tmp/cache/assets/sprockets/v3.0/sZ/sZS3zy1fxZQjAPA_1FJ3AowfYeZce2J_6g44pGwLUm0.cache
180
- - test/dummy/tmp/cache/assets/sprockets/v3.0/sj/sj16ZRag8S_gxUTofHpRMDlBfQtRrkOCTHE4XkpqTIw.cache
181
- - test/dummy/tmp/cache/assets/sprockets/v3.0/so/sor5uSsm2pcLDkIB_nEyeFtyH3H9JfHraQ06BUgKQDI.cache
182
- - test/dummy/tmp/cache/assets/sprockets/v3.0/tO/tOhfPNHfUCZMMbxsrZ8QFkHIS4Kvl5n2uOQFyrtP8sg.cache
183
- - test/dummy/tmp/cache/assets/sprockets/v3.0/vA/vASpagKbFH0ZvwZExZpP6xUozv_LZDLv2ChvkXLH9bM.cache
184
- - test/dummy/tmp/cache/assets/sprockets/v3.0/vG/vGFQZSHgo_Z1jtdt-4UDi4Cq_rLRNs3NgVSnCC-00tk.cache
185
- - test/dummy/tmp/cache/assets/sprockets/v3.0/wt/wtPqYC4VZKO69pxoohTrsnCI_qisEoAEF_0a0cchBOs.cache
186
- - test/dummy/tmp/cache/assets/sprockets/v3.0/xw/xw-pJ8PwbGRKiqJ9PyoPiRt1qJ2tGDRaVKQr5L83M24.cache
187
- - test/dummy/tmp/cache/assets/sprockets/v3.0/zh/zhG0AnNGbV5bRFlZI647Ycb4OP62cNjN9sCGP2XSmLY.cache
188
- - test/fixtures/books.yml
189
- - test/integration/books_controller_test.rb
190
- - test/integration/navigation_test.rb
191
- - test/lib/librails_test.rb
192
- - test/lib/misc_utils_test.rb
193
- - test/lib/model_utils_test.rb
194
- - test/models/book_test.rb
195
- - test/test_helper.rb
196
- homepage: ''
53
+ homepage: https://github.com/src256/librails
197
54
  licenses:
198
55
  - MIT
199
- metadata: {}
56
+ metadata:
57
+ homepage_uri: https://github.com/src256/librails
58
+ source_code_uri: https://github.com/src256/librails
59
+ changelog_uri: https://github.com/src256/librails
200
60
  post_install_message:
201
61
  rdoc_options: []
202
62
  require_paths:
@@ -212,139 +72,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
212
72
  - !ruby/object:Gem::Version
213
73
  version: '0'
214
74
  requirements: []
215
- rubygems_version: 3.2.33
75
+ rubygems_version: 3.3.26
216
76
  signing_key:
217
77
  specification_version: 4
218
78
  summary: My Rails Plugin
219
- test_files:
220
- - test/dummy/README.rdoc
221
- - test/dummy/Rakefile
222
- - test/dummy/app/assets/javascripts/application.js
223
- - test/dummy/app/assets/javascripts/books.js
224
- - test/dummy/app/assets/stylesheets/application.css
225
- - test/dummy/app/assets/stylesheets/books.css
226
- - test/dummy/app/assets/stylesheets/scaffold.css
227
- - test/dummy/app/controllers/application_controller.rb
228
- - test/dummy/app/controllers/books_controller.rb
229
- - test/dummy/app/helpers/application_helper.rb
230
- - test/dummy/app/helpers/books_helper.rb
231
- - test/dummy/app/models/book.rb
232
- - test/dummy/app/views/books/_form.html.erb
233
- - test/dummy/app/views/books/edit.html.erb
234
- - test/dummy/app/views/books/index.html.erb
235
- - test/dummy/app/views/books/new.html.erb
236
- - test/dummy/app/views/books/show.html.erb
237
- - test/dummy/app/views/layouts/application.html.erb
238
- - test/dummy/bin/bundle
239
- - test/dummy/bin/rails
240
- - test/dummy/bin/rake
241
- - test/dummy/bin/setup
242
- - test/dummy/config/application.rb
243
- - test/dummy/config/boot.rb
244
- - test/dummy/config/database.yml
245
- - test/dummy/config/environment.rb
246
- - test/dummy/config/environments/development.rb
247
- - test/dummy/config/environments/production.rb
248
- - test/dummy/config/environments/test.rb
249
- - test/dummy/config/initializers/assets.rb
250
- - test/dummy/config/initializers/backtrace_silencers.rb
251
- - test/dummy/config/initializers/cookies_serializer.rb
252
- - test/dummy/config/initializers/filter_parameter_logging.rb
253
- - test/dummy/config/initializers/inflections.rb
254
- - test/dummy/config/initializers/mime_types.rb
255
- - test/dummy/config/initializers/session_store.rb
256
- - test/dummy/config/initializers/wrap_parameters.rb
257
- - test/dummy/config/locales/en.yml
258
- - test/dummy/config/routes.rb
259
- - test/dummy/config/secrets.yml
260
- - test/dummy/config.ru
261
- - test/dummy/db/development.sqlite3
262
- - test/dummy/db/migrate/20161025052813_create_books.rb
263
- - test/dummy/db/schema.rb
264
- - test/dummy/db/test.sqlite3
265
- - test/dummy/log/development.log
266
- - test/dummy/log/test.log
267
- - test/dummy/public/404.html
268
- - test/dummy/public/422.html
269
- - test/dummy/public/500.html
270
- - test/dummy/public/favicon.ico
271
- - test/dummy/tmp/cache/assets/sprockets/v3.0/-a/-a5ntVe_0-JosKC_U-LV0kALRyUIgn03H0eVSdQ8pAo.cache
272
- - test/dummy/tmp/cache/assets/sprockets/v3.0/2x/2xVmM6jHrzDyP1lp_LjSNgXh8HYZQ7UMeLoN7wQO2uM.cache
273
- - test/dummy/tmp/cache/assets/sprockets/v3.0/4J/4JwVVgJQeLQmk-x6jORqWPEH5TYtWgMF-4GJupuMreM.cache
274
- - test/dummy/tmp/cache/assets/sprockets/v3.0/4P/4Po6Zxf1klgk64Tw6mYOWnTGXYt4fqfrgbM_aUJwGpw.cache
275
- - test/dummy/tmp/cache/assets/sprockets/v3.0/4Q/4Qo2DjyziGCKkz1oJV2GVlh8wX1CcV8pAS46Q7Qm7hI.cache
276
- - test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache
277
- - test/dummy/tmp/cache/assets/sprockets/v3.0/98/98JB3RlDHR57hBl-xqETG_I6j8A_Nq0odiAq7v00Myk.cache
278
- - test/dummy/tmp/cache/assets/sprockets/v3.0/9h/9hWcOzybQOFoTeNjwVlrLZ5CFSgHv2mFQz1iT7DZsAM.cache
279
- - test/dummy/tmp/cache/assets/sprockets/v3.0/9l/9lRpyWJfT2I3m8gijV7lkjQFoXhOKRq-qrktmY8jwqQ.cache
280
- - test/dummy/tmp/cache/assets/sprockets/v3.0/9y/9y8VxpdidE2YHBhtV16bnLrhPEyaw00uRH9rGQrGiYo.cache
281
- - test/dummy/tmp/cache/assets/sprockets/v3.0/AN/ANELt8DAvX3T4rWiL73ZyAs9akz2xqaJ8oSTkjC8F4E.cache
282
- - test/dummy/tmp/cache/assets/sprockets/v3.0/B0/B0yDuvt2bL4_VgHHUwn0DSCgUg_Ubj4YjHffaiGCAL0.cache
283
- - test/dummy/tmp/cache/assets/sprockets/v3.0/CU/CUUNfrG7P9ppFhzKGMMhyineSvfddDpmm193O8hqWn8.cache
284
- - test/dummy/tmp/cache/assets/sprockets/v3.0/DS/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache
285
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Dm/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache
286
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Gr/Gr9XYAo8GbcW54Sm4tf2EnAzEUrmUcF3x29iJGtBs-A.cache
287
- - test/dummy/tmp/cache/assets/sprockets/v3.0/H4/H4oToPWSBBLRPAut47gvhtagG-ZlAjMvULFS1IlsDSQ.cache
288
- - test/dummy/tmp/cache/assets/sprockets/v3.0/HB/HB4_lJeXGMv1qlxwZfwDD0DQt9v9D3uJfs5M8Kgu3iw.cache
289
- - test/dummy/tmp/cache/assets/sprockets/v3.0/HE/HEA-bEdudX8qzqty72VsU6YCvuJV2OkyzRXpsXLoxFA.cache
290
- - test/dummy/tmp/cache/assets/sprockets/v3.0/HV/HVshoeO2Vki70_9KjCtwERcw7ODKGOGVYYDQIANp2UM.cache
291
- - test/dummy/tmp/cache/assets/sprockets/v3.0/I3/I3W61RA7E9U8gY3VOReLJalzQzVrSopciuNv6qcYmng.cache
292
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Ic/IcuhBgC-nw3u2yhN8hnjRD6Qmzw3DbcuIBUqovrS6Hc.cache
293
- - test/dummy/tmp/cache/assets/sprockets/v3.0/JS/JSjnVos6CVam_6IKJcXZEgVG5kHcAauxq-yHnTn4mxE.cache
294
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Ki/KifnWePy2kuI6EoY35NBONt3SPPPXzXWFUzy7YS0AXg.cache
295
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Ld/LdOU9kh2e1UyWAH9vMD_vrJTydu8vLyj9RZRdtWZJJE.cache
296
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Ms/MsWDjQABzh2_2l9wZzvXwvwaDXCKRqC_CHFqwpF3vfA.cache
297
- - test/dummy/tmp/cache/assets/sprockets/v3.0/NP/NPTKYje_vsxbdQIwHZm4GQ9ctgNfDx_dGpmUY09mUQw.cache
298
- - test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache
299
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Oo/OopMIscaD_StAXIYnIlx8woMEjgZf2uDXh17312pc5w.cache
300
- - test/dummy/tmp/cache/assets/sprockets/v3.0/PZ/PZM2O0pn21R_wlGR30OX0pQ4-zThf7ZxUhXihEKAcxM.cache
301
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Q0/Q0pvcN-Uyq45X4gQ1IIsx2hW2l933XYAVm66Lt-CcMg.cache
302
- - test/dummy/tmp/cache/assets/sprockets/v3.0/QY/QY4eYMS1Fh5SL6cZCo_OpPSZGx9e7vjDlEpwXT0AaRI.cache
303
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Un/Un1edWzWIIMQo9Q1V4Y3p58MSmZMO3ccQIABeCzt-es.cache
304
- - test/dummy/tmp/cache/assets/sprockets/v3.0/WJ/WJndgy_O4Z4_vIJzVJV49Oj7pXcrXAM2WToimOqHi94.cache
305
- - test/dummy/tmp/cache/assets/sprockets/v3.0/YB/YBmLL8rNkJ9wDjR63wHcnw4HPQ2zc4_sUHBnCwCHmV8.cache
306
- - test/dummy/tmp/cache/assets/sprockets/v3.0/YO/YOQwG9qoTCWsQaEUYqC2eU6VMwJ8eY5az9PWEg0YBVY.cache
307
- - test/dummy/tmp/cache/assets/sprockets/v3.0/YZ/YZ5lr9CWjxm17X4Z6whrpsqGepK7FMkaMYke2pZeJkY.cache
308
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Z0/Z0v-Clv1RmCtHcZgsHm2Efklg2cOj1_vvXGxSZJYGmU.cache
309
- - test/dummy/tmp/cache/assets/sprockets/v3.0/a9/a9CMcRWEr_aXxa0Z54LL_mihjvWtKKhXEkjYUf1jbYg.cache
310
- - test/dummy/tmp/cache/assets/sprockets/v3.0/az/azSFX09wOk1dDEk1xyUuhOvndGRfhAQw7X3bhVUvbqk.cache
311
- - test/dummy/tmp/cache/assets/sprockets/v3.0/c4/c4wesegfvp3YOFFSsjDTtaqlTJT4wu9TEQwmOabiGBE.cache
312
- - test/dummy/tmp/cache/assets/sprockets/v3.0/di/diq4wNwLuxlJAo-1sx9AH3-mub_Z63HbEaidoP-u9LQ.cache
313
- - test/dummy/tmp/cache/assets/sprockets/v3.0/dj/djpYduQfWsseWdaOi5NPjqzRTg-mdM1AuAl5fgbfRLI.cache
314
- - test/dummy/tmp/cache/assets/sprockets/v3.0/dv/dvTANT0eJS1VHnH7LFBvahPvuDEVWCsoCxbVYEyZhzs.cache
315
- - test/dummy/tmp/cache/assets/sprockets/v3.0/ek/ek29x0Bv7htoVKBJsvqHHHd4qD1hqohET5SJ3GHUe3c.cache
316
- - test/dummy/tmp/cache/assets/sprockets/v3.0/gI/gIcGEFwVb02r2Kvp4JojiRH9FmhmT2W3zpbokUikgTM.cache
317
- - test/dummy/tmp/cache/assets/sprockets/v3.0/gZ/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache
318
- - test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache
319
- - test/dummy/tmp/cache/assets/sprockets/v3.0/jR/jRlfgMuDhdJ9DeARm8C34EzijHiSAEZi9IumOi8d8co.cache
320
- - test/dummy/tmp/cache/assets/sprockets/v3.0/je/jeF02OPMeSNXwtMncDIYKtOsYCK80N9cMVBag1DQcTU.cache
321
- - test/dummy/tmp/cache/assets/sprockets/v3.0/jy/jyTlR0GRNS7XsvnoGBrqht7VoF8JHgPAhzzlPSI38Lg.cache
322
- - test/dummy/tmp/cache/assets/sprockets/v3.0/kf/kff_5LRygUIEBDA1u6MXzK09UFf90uCaOsLtaBgyGUQ.cache
323
- - test/dummy/tmp/cache/assets/sprockets/v3.0/ll/lllxIh8TmYST5iT3pMMqEiiW2kVnV46e8apjHYV4NwQ.cache
324
- - test/dummy/tmp/cache/assets/sprockets/v3.0/lt/ltZ12Hb1MIwQ_x5JJ3RSyPYvs7uKQ6sobTXErisPSIo.cache
325
- - test/dummy/tmp/cache/assets/sprockets/v3.0/m4/m4PDLvfn6lwFaBlngbSJXSB_eLt6iyL5y4mX1QPdp40.cache
326
- - test/dummy/tmp/cache/assets/sprockets/v3.0/nF/nFDSlhA0quhrqhaq_7tpg8xL130zYnfh0fSgdoKjyxs.cache
327
- - test/dummy/tmp/cache/assets/sprockets/v3.0/om/omT5fdYWQly0TYwKCjLTSkd4KnkiW3DBI7u_9iwQujM.cache
328
- - test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache
329
- - test/dummy/tmp/cache/assets/sprockets/v3.0/pV/pVjei3DOBfiSnjFhJoxc5fnuoqkyxSZXVaXL-PtQOnM.cache
330
- - test/dummy/tmp/cache/assets/sprockets/v3.0/qo/qom3M3JruFGz9uj1CmP-jbPFnMOFh2r2KESBsGzKqSQ.cache
331
- - test/dummy/tmp/cache/assets/sprockets/v3.0/rA/rAUGcozHSiZ93hwuQ5Ez0-DFNvpIp1pMSFzJDL6j5t0.cache
332
- - test/dummy/tmp/cache/assets/sprockets/v3.0/rG/rGuMNcIUBp03kbJ6EzyYnC3CRj5goxzKZBmJYdmHAZQ.cache
333
- - test/dummy/tmp/cache/assets/sprockets/v3.0/sU/sU3oqz4lk5ZBEidbxhSyI-aEf0xo5cuP8154BPYzRSQ.cache
334
- - test/dummy/tmp/cache/assets/sprockets/v3.0/sZ/sZS3zy1fxZQjAPA_1FJ3AowfYeZce2J_6g44pGwLUm0.cache
335
- - test/dummy/tmp/cache/assets/sprockets/v3.0/sj/sj16ZRag8S_gxUTofHpRMDlBfQtRrkOCTHE4XkpqTIw.cache
336
- - test/dummy/tmp/cache/assets/sprockets/v3.0/so/sor5uSsm2pcLDkIB_nEyeFtyH3H9JfHraQ06BUgKQDI.cache
337
- - test/dummy/tmp/cache/assets/sprockets/v3.0/tO/tOhfPNHfUCZMMbxsrZ8QFkHIS4Kvl5n2uOQFyrtP8sg.cache
338
- - test/dummy/tmp/cache/assets/sprockets/v3.0/vA/vASpagKbFH0ZvwZExZpP6xUozv_LZDLv2ChvkXLH9bM.cache
339
- - test/dummy/tmp/cache/assets/sprockets/v3.0/vG/vGFQZSHgo_Z1jtdt-4UDi4Cq_rLRNs3NgVSnCC-00tk.cache
340
- - test/dummy/tmp/cache/assets/sprockets/v3.0/wt/wtPqYC4VZKO69pxoohTrsnCI_qisEoAEF_0a0cchBOs.cache
341
- - test/dummy/tmp/cache/assets/sprockets/v3.0/xw/xw-pJ8PwbGRKiqJ9PyoPiRt1qJ2tGDRaVKQr5L83M24.cache
342
- - test/dummy/tmp/cache/assets/sprockets/v3.0/zh/zhG0AnNGbV5bRFlZI647Ycb4OP62cNjN9sCGP2XSmLY.cache
343
- - test/fixtures/books.yml
344
- - test/integration/books_controller_test.rb
345
- - test/integration/navigation_test.rb
346
- - test/lib/librails_test.rb
347
- - test/lib/misc_utils_test.rb
348
- - test/lib/model_utils_test.rb
349
- - test/models/book_test.rb
350
- - test/test_helper.rb
79
+ test_files: []
@@ -1,13 +0,0 @@
1
- // This is a manifest file that'll be compiled into application.js, which will include all the files
2
- // listed below.
3
- //
4
- // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
- // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
6
- //
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.
9
- //
10
- // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
- // about supported directives.
12
- //
13
- //= require_tree .
@@ -1,5 +0,0 @@
1
- module Librails
2
- class DbUtils
3
-
4
- end
5
- end
@@ -1,15 +0,0 @@
1
- # coding: utf-8
2
- module Librails
3
- class FormParam
4
- def initialize(id, label = nil, value = nil)
5
- # 基本はIDとlabel。valueは特別な値を紐付けたい場合にのみ使用する。
6
- @id = id
7
- @label = label
8
- if @label.nil?
9
- @label = @id
10
- end
11
- @value = value
12
- end
13
- attr_accessor :id, :label, :value
14
- end
15
- end
@@ -1,28 +0,0 @@
1
- == README
2
-
3
- This README would normally document whatever steps are necessary to get the
4
- application up and running.
5
-
6
- Things you may want to cover:
7
-
8
- * Ruby version
9
-
10
- * System dependencies
11
-
12
- * Configuration
13
-
14
- * Database creation
15
-
16
- * Database initialization
17
-
18
- * How to run the test suite
19
-
20
- * Services (job queues, cache servers, search engines, etc.)
21
-
22
- * Deployment instructions
23
-
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>.
data/test/dummy/Rakefile DELETED
@@ -1,6 +0,0 @@
1
- # Add your own tasks in files placed in lib/tasks ending in .rake,
2
- # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3
-
4
- require File.expand_path('../config/application', __FILE__)
5
-
6
- Rails.application.load_tasks
@@ -1,13 +0,0 @@
1
- // This is a manifest file that'll be compiled into application.js, which will include all the files
2
- // listed below.
3
- //
4
- // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
- // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
6
- //
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.
9
- //
10
- // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
- // about supported directives.
12
- //
13
- //= require_tree .
@@ -1,2 +0,0 @@
1
- // Place all the behaviors and hooks related to the matching controller here.
2
- // All this logic will automatically be available in application.js.
@@ -1,15 +0,0 @@
1
- /*
2
- * This is a manifest file that'll be compiled into application.css, which will include all the files
3
- * listed below.
4
- *
5
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
- * or any plugin's vendor/assets/stylesheets directory 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 bottom of the
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
- *
13
- *= require_tree .
14
- *= require_self
15
- */