dynamic-fields-for 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (177) hide show
  1. data/README.md +4 -1
  2. data/lib/dynamic-fields-for/version.rb +1 -1
  3. data/spec/features/dynamic_fields_for_spec.rb +110 -0
  4. data/spec/fixtures/roles.yml +11 -0
  5. data/spec/fixtures/users.yml +2 -0
  6. data/spec/rails_app/Rakefile +6 -0
  7. data/spec/rails_app/app/assets/javascripts/application.coffee +13 -0
  8. data/spec/rails_app/app/controllers/application_controller.rb +5 -0
  9. data/spec/rails_app/app/controllers/users_controller.rb +38 -0
  10. data/spec/rails_app/app/models/role.rb +5 -0
  11. data/spec/rails_app/app/models/user.rb +7 -0
  12. data/spec/rails_app/app/views/layouts/application.html.haml +7 -0
  13. data/spec/rails_app/app/views/users/_form.html.haml +23 -0
  14. data/spec/rails_app/app/views/users/edit.html.haml +1 -0
  15. data/spec/rails_app/app/views/users/edit_without_fields.html.haml +6 -0
  16. data/spec/rails_app/app/views/users/events.html.haml +13 -0
  17. data/spec/rails_app/app/views/users/new.html.haml +1 -0
  18. data/spec/rails_app/bin/bundle +3 -0
  19. data/spec/rails_app/bin/rails +4 -0
  20. data/spec/rails_app/bin/rake +4 -0
  21. data/spec/rails_app/config/application.rb +28 -0
  22. data/spec/rails_app/config/boot.rb +10 -0
  23. data/spec/rails_app/config/database.yml +24 -0
  24. data/spec/rails_app/config/environment.rb +7 -0
  25. data/spec/rails_app/config/environments/development.rb +37 -0
  26. data/spec/rails_app/config/environments/production.rb +80 -0
  27. data/spec/rails_app/config/environments/test.rb +41 -0
  28. data/spec/rails_app/config/initializers/assets.rb +8 -0
  29. data/spec/rails_app/config/initializers/backtrace_silencers.rb +7 -0
  30. data/spec/rails_app/config/initializers/cookies_serializer.rb +3 -0
  31. data/spec/rails_app/config/initializers/filter_parameter_logging.rb +4 -0
  32. data/spec/rails_app/config/initializers/inflections.rb +16 -0
  33. data/spec/rails_app/config/initializers/mime_types.rb +4 -0
  34. data/spec/rails_app/config/initializers/secret_token.rb +5 -0
  35. data/spec/rails_app/config/initializers/session_store.rb +3 -0
  36. data/spec/rails_app/config/initializers/simple_form.rb +166 -0
  37. data/spec/rails_app/config/initializers/wrap_parameters.rb +14 -0
  38. data/spec/rails_app/config/locales/en/simple_form.yml +31 -0
  39. data/spec/rails_app/config/routes.rb +8 -0
  40. data/spec/rails_app/config.ru +4 -0
  41. data/spec/rails_app/db/development.sqlite3 +0 -0
  42. data/spec/rails_app/db/migrate/001_create_tables.rb +12 -0
  43. data/spec/rails_app/db/schema.rb +25 -0
  44. data/spec/rails_app/db/test.sqlite3 +0 -0
  45. data/spec/rails_app/log/development.log +1974 -0
  46. data/spec/rails_app/log/test.log +6152 -0
  47. data/spec/rails_app/public/404.html +67 -0
  48. data/spec/rails_app/public/422.html +67 -0
  49. data/spec/rails_app/public/500.html +66 -0
  50. data/spec/rails_app/public/favicon.ico +0 -0
  51. data/spec/rails_app/script/rails +6 -0
  52. data/spec/rails_app/tmp/cache/assets/C51/770/sprockets%2F65b30e4019e7912b6d5468049a3225f7 +0 -0
  53. data/spec/rails_app/tmp/cache/assets/CB0/C90/sprockets%2F282f835b9033d34d7f393ec15418ea50 +0 -0
  54. data/spec/rails_app/tmp/cache/assets/CD3/D40/sprockets%2F4d69456240020b937e2ebc9c6a60e13a +0 -0
  55. data/spec/rails_app/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  56. data/spec/rails_app/tmp/cache/assets/CE1/160/sprockets%2F1ea763129b82d9251ca608145dc86ed7 +0 -0
  57. data/spec/rails_app/tmp/cache/assets/CE3/590/sprockets%2F60f1e97d7008b3ed41f72855a4228bb9 +0 -0
  58. data/spec/rails_app/tmp/cache/assets/CF0/DA0/sprockets%2Fd7d5b37686831d37c4dd75e645f5e016 +0 -0
  59. data/spec/rails_app/tmp/cache/assets/CF9/2E0/sprockets%2F67796127ee81f4ec16ee9396fb48b045 +0 -0
  60. data/spec/rails_app/tmp/cache/assets/D13/070/sprockets%2F3ef994e7d6b14666124b063ac9490afa +0 -0
  61. data/spec/rails_app/tmp/cache/assets/D23/B10/sprockets%2Fc2a831ed79df487d6485a5c9c52766c2 +0 -0
  62. data/spec/rails_app/tmp/cache/assets/D32/080/sprockets%2F1548a52bba44f491b7240acb85fdb481 +0 -0
  63. data/spec/rails_app/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  64. data/spec/rails_app/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  65. data/spec/rails_app/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  66. data/spec/rails_app/tmp/cache/assets/D74/A30/sprockets%2Fd6c9f9b2ca876229f263f68006bac0dd +0 -0
  67. data/spec/rails_app/tmp/cache/assets/D75/B20/sprockets%2Fb6826ab2b21df7d87c4b74d429e4e44f +0 -0
  68. data/spec/rails_app/tmp/cache/assets/D77/5C0/sprockets%2F42bf4dd0668fe6fe799a4ba6aa424842 +0 -0
  69. data/spec/rails_app/tmp/cache/assets/DA8/F20/sprockets%2Fd8e6aa7805f1851a6b8ba9e4fc722d7e +0 -0
  70. data/spec/rails_app/tmp/cache/assets/DAA/450/sprockets%2F3df09fe42da429dae5b629e74b6684eb +0 -0
  71. data/spec/rails_app/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  72. data/spec/rails_app/tmp/cache/assets/DE9/260/sprockets%2Fadd025ab0eb13a6d4180af43d5df39df +0 -0
  73. data/spec/rails_app/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  74. data/spec/rails_app/tmp/cache/assets/E25/4C0/sprockets%2Fde2fd9fd11c04a582cdbbe3d84a35ae6 +0 -0
  75. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/005NbUmrcPP7BE5ewSp7_ZgR35fy0DC7Zj9ZRwk0MjU.cache +1 -0
  76. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/0twwP-f_pWyvsnE2frKwn25KXXJpg8zSSZjZfhh-W0U.cache +1 -0
  77. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/2STghpkswLWuQb3JJm4u_5kHhdV1Z7Q9V3Vcs4g2Kxk.cache +1 -0
  78. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/35OsSiLOQQXvPwILhNj7TJXVSISbaxJZpzlXryTODyI.cache +1 -0
  79. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/3Ml8X3oHdLRvYIm3Z2bgq0ErAO9DIIdfufZY6xxk_bQ.cache +1 -0
  80. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/4LYhxnvRwaLlxyh9dZBFFu_aFKV14A4A29s9Lq5fwvY.cache +1 -0
  81. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/4dc5iDYQvyTr6_AqdtY_IXkO4H9e_vCk3MfzuPYLzIs.cache +0 -0
  82. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/4s7JRTGpFUHEvdJ0smvNRYzvYLC4ci69YJec-_WSXeM.cache +1 -0
  83. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/5F4sE-a_Yct4eSGFf4CokFK8XFC9VuEqIfkLIVbh7d4.cache +0 -0
  84. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/6GBEq8wOlNbljaEO0IaAuPp9IM7noU4smItOxz75Bgw.cache +0 -0
  85. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/6kWtg2dd7QHHGFFcYERN6y1S3C0bE6obDD4Y8NjDt28.cache +0 -0
  86. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/70Ys2Sg3IKtBLiqlZI5EjjvMa-v_hO7AIwTN6axW6uw.cache +1 -0
  87. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/75_YNF40pq9Qdkjb4voDXxU-fdYHh8eOcBqQSc0wACY.cache +1 -0
  88. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/7T9A3AvzA227hFMUlf1cnCmXMNZ--yzeUeFU_qH5UCk.cache +1 -0
  89. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/7WYjScyAmZLKfnnwGLoGxILffqhTkJ5whgbQW2vXXLU.cache +1 -0
  90. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/7p8BcHcUjuqzaQ_g-5p1N1Iv5fcXMHTy6HNVZJ3chUE.cache +0 -0
  91. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/7tbYhX9PH2B3B17ie9lEUsRZLwf7QxRb5YfjedEkslM.cache +1 -0
  92. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/8WvFXwwHBNQ0Jn0Ft4jscXDq2vYDQtD0-lwweW4Ewg0.cache +1 -0
  93. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/8iWifo1VXYAo1y6HIpaCHVdTFi1Uxzf2cFcmiIEpYm0.cache +1 -0
  94. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/8pWBvOy6jzO_x3j5oaNZGXDybMcNFyn0QeEH3P9JiVY.cache +1 -0
  95. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/9CVm97VXM_R6nB8AyUWv0-mg9VUJ0ZBHMqzp3z6KBYA.cache +0 -0
  96. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/9I5eCEXaP_dUa_-i0SJBd-73ZtOqDMzUKhCkunl0n00.cache +1 -0
  97. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/9u5shJpSGH2XNK6oc2tyXrKH-nIABVI0WQo63n_DV68.cache +1 -0
  98. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/APwRGcTfA0EvBNVnRA6s1LBjwfzZPYC7-D404VhaGQo.cache +1 -0
  99. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/BPmQpDrJX8wo4YdpP2hflzYrb1KMb_8Zgzvmj6FVOGo.cache +1 -0
  100. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/C8__sPir_zLB1skjvzJUuRf9rjvsi3NH5WzAuoBRRBo.cache +1 -0
  101. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/CPC0lA-4Cx2FueL1tlquWe9Qgrf0eUCwOXTXgSDhEyg.cache +1 -0
  102. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/EePrH9vcnM8XjJ0yQkKhABpQ1-9yl1cp2vWKIOaPXDA.cache +1 -0
  103. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/FzbQ2YTgQvuZHn8zoRc4vKkMjL-A5ly_3uG_wrDCxSk.cache +1 -0
  104. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/HYrqPvTHZRmN1vmImSXSmdlqyBGdVTcR6_6MfxpgmZA.cache +0 -0
  105. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/N7nvgHzVHCNMm1iI-aSla1en7KWBZKXq4-vV91Ak29Y.cache +0 -0
  106. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/NIffjSjf2211qbWt1ceMD8h4CV93DTYxhIvFMTVibWY.cache +0 -0
  107. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/NVi1CCiylchuiWliA9pmeoQ61pCKqExfBnHng7eOZqA.cache +1 -0
  108. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/P-NPHOYBfhzg_4wEYB32fn9z7qwf_5kP-DNW_STmm7M.cache +1 -0
  109. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/PIner30XxGVbJth5pdG2X8xdzwP3m-z6yjUTxibsEpQ.cache +1 -0
  110. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/QnxsUWeU6C0G5IDcyjmKYnWIObQWTj96h56A1wd2_TE.cache +1 -0
  111. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/R3fK1lyD12pPiMXAOSZ0hJwdm98o7ROhIGiyeZt64x8.cache +1 -0
  112. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/RLRDP3vBQ-TZ151Q1PfGmvtS57-a6IU2OG2Fz-7kpKk.cache +0 -0
  113. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/RzDmtYfK-3P-j2HtoIzPzkA8WN4Kxj9t-wGVLYXzmDI.cache +0 -0
  114. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/UHazTCAIgk3ECaf5Z5rD74SpvBKID2z4T5Yz2sNhJW8.cache +1 -0
  115. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/U_PFdfoUOZdxkfhOcXk6pyc4lrfjw7srrwJYPmA0Cn4.cache +1 -0
  116. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/Uu4IjUcxuCDWTcNTYDNrOXYaiL-8_D481kJRUscoFS0.cache +0 -0
  117. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/V10JbcfuvpND2sCUgc1bp_v-VWWyZDeNBByADCmjIEE.cache +0 -0
  118. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/VOE1H9GohyBJmS1FZZz5p7NioZERmuTdQ3llfsKaVj4.cache +0 -0
  119. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/Vgg1kG1-YyvEmYnt8OSe_49LZ5Fg-detSj7RIkyJKlE.cache +1 -0
  120. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/WJQcBxjCmjJAWRnGIQv9VBTRRKEHih6jscnJd70cW50.cache +1 -0
  121. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/Wt_OTU0ay_WUYP4kutzOv-RU-rsRnz-JeHhfoXYMJ4k.cache +7 -0
  122. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/X2ViGEX5fWUM52RHJNXyREchayzNWouJusvCfXn0l9U.cache +1 -0
  123. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/XU7rm1nzQx98s-b6a_806KG7jWFIKu8F_sp0gdHN64M.cache +1 -0
  124. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/YqiuB7JK-d4oRQXC7SRMiF3nkFIIsfJCO1zKK0QvjLw.cache +1 -0
  125. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/Zf0GdHeOqOcmQsZyaIR1bq7A58iYXRxF7RgSki0xP-8.cache +1 -0
  126. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/_93TpShhCNwNSN2ABi0sJ8TkPmWKIjLMqcBQHx6W9S8.cache +1 -0
  127. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/a2agfZXZEGSSrlwjd25j16UvmcOWDSEy4mKEbtbYaMk.cache +0 -0
  128. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/a_PdN5dDYMZBxAJkDXdM5vte80OAEp3ATJ1FBwUORUE.cache +2 -0
  129. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/bH71seiu5IgIEswdHw0MxVy2Bft5eTYq7p-J1z2wLSE.cache +1 -0
  130. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/bogDcwpJOnH2EGTPI4BxRTFiwgu0XlxSjUkRdPKRUZI.cache +1 -0
  131. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/cL9X5KmjWqJPT1xI5vqEKFOFSsU-pAuV9geay4MpcwY.cache +1 -0
  132. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/cadxJIIj0tKH4iw91XcKK05eJV8slB_EY1xg4bWHtHY.cache +0 -0
  133. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/cmyPm4CQjK0SGdGAiRQUzSkDzxVC11Cbfe0mwbABnmQ.cache +0 -0
  134. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/d5GSxDUScnoThcT7LMLFwveRhg2-8HTpPiwHKyEFKGg.cache +1 -0
  135. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/d6I4qa3D5aXShq60xuXBXFuB-PCwrhngr8EY6SpyXHw.cache +1 -0
  136. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/fPKkbDzIVlpaAD07gmsUzq3db1tAmEG6BY6UWN2Tq0U.cache +0 -0
  137. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/fmdRPsW3PlR3rbBrsmbauRYUvGi1nwCOTqVWRpLIl2M.cache +0 -0
  138. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/fpWADUS8B7ozjxM4OES8daY5S8Mj6eZ8OqoQ7fNXXUo.cache +1 -0
  139. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/hFbp9B-T1BhYYVTUE-NENpiN2vQ0A-EEJP3yfEv8voM.cache +0 -0
  140. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/jUUbGZ-kWFdNm7cZdBNf0xyQfV-zwp-dUHfdRAuzR4s.cache +0 -0
  141. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/jgg7MjH1YLNuXXB9jSxo7BLHBPMH_QiCxp97M-gRqlE.cache +0 -0
  142. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/jrrOV55Sf9U41wQOifQ570NtUW4H1pBEePlEzujLzAU.cache +1 -0
  143. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/jx9EjyhQ77RJR0mnbwmjJBxZ3Ye3rTnHXyl07tR8gTs.cache +1 -0
  144. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/k5POkyE0JUCcc3gsZOC5c9o6vE3tnR6ilmw5H69LVU0.cache +1 -0
  145. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/l6V2CBOV-G8JXoy2eTfw0ER4Axb6GH8hBAW9v1nC4OU.cache +0 -0
  146. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/mKQKN_P_8jYD-Q80hhjvo4e3LImaXAMIThYLqa9Apvw.cache +0 -0
  147. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/mLgvD_7crCEElvOJAJHYfAMAgazVUaW2Uy6ClPvvWJ4.cache +1 -0
  148. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/mmKtMm4yY2EunJnNTqzT16Aikkg9c1ooLZ5kB0G4veI.cache +0 -0
  149. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/moaVwgLL6aVHUB2iWMenrou9mOYZdBaZn8j1k80p3AA.cache +0 -0
  150. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/naD1x6gn7SYJheSsI6aU_d3A7acFzAkkDsqygZLfZao.cache +1 -0
  151. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/pR0WZ_QziFmGR5DXpU5gUtK1Nfm1X2R9nmSin9jrBHI.cache +0 -0
  152. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/pcUsSlhbu4BvVzOmOCppHGIlPZndwbKDrsMfgQCYDqY.cache +1 -0
  153. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/peIPXIKPOMS3DBXLoSQr95J9ty327Um0vUgLbITJc9g.cache +0 -0
  154. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/pjo0jiZFzHD001Trck4zXHfXwSlZkBjEDcdy-aT_0Aw.cache +2 -0
  155. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/q6Q5iVuKHhUgLzQY3g42H2AATl06s2304_8Pzvnn3pc.cache +1 -0
  156. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/qPjyW0sqKLF_koGEYacxrcwWU60QCfFEwfVXStO1K3I.cache +0 -0
  157. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/rERbnOR49nHBQRnB7kg5PNLQNrhjIHYLi9NEkAk2J7A.cache +0 -0
  158. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/rgOibJhx1nDmCTnIoK7GhJwkSdQIlLQLriJEb-vanl8.cache +1 -0
  159. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/sKRDBhQlKek8nivOEE3iPkWez_DH1UGxtC-96IarWwI.cache +0 -0
  160. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/sZn_c8hNOrnxaQ8Yy3kgXGzy54WUSQLCoe7VSshR9RM.cache +1 -0
  161. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/staSd6rFktYlRt4U_rjmXSqK_cKairudXroMSjwWF-o.cache +1 -0
  162. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/u1_AVk2lrCxTujtkKbM-hX8pFnK-J_in5rv3CoQ0BD0.cache +1 -0
  163. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/ve5ms89UU4CYIorG9tJTHApqsVbcxrjZbVjhS0b0vPI.cache +0 -0
  164. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/vgmfFTzFMwf1hhMw3aul1kts_CSWnqoUVnM75IgOq5g.cache +2 -0
  165. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/wA4UMsI884mrDsixUCmN_u_m80rsWqGJW659dMTvYWc.cache +0 -0
  166. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/wMnnRgv2KHXeZicLBCT41V9Twf3Ws9OT42KMvo7Brts.cache +0 -0
  167. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/wO-8RVLVju09jwLXUEfJhYt9gGIUU8xZ8QQJvlvgA98.cache +1 -0
  168. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/wbhGIsb6sUjFuFyZAFKMhr_QqVUqphS6kt-hwpkpyN0.cache +1 -0
  169. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/wsTMfLbj2DGVQ9_iTFLS4nHX0IQBRJUhxpusR9e82AY.cache +1 -0
  170. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/wukuVHgoW7ddJHSkoaJz1TxDX1BuchCVzwCRHwD8RYE.cache +1 -0
  171. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/xT9aSUCXI9_uo2DpiU0FvOG4p4O9y5PQgJo9Y3qCZ_I.cache +1 -0
  172. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/ySJMBl8_8f1TC2JeQF-Rnp4A9M84cYN97jeVikGSTus.cache +0 -0
  173. data/spec/rails_app/tmp/cache/assets/test/sprockets/v3.0/yT-p58G9te94oQFaGeJ0KOz86g27qcAxK0uTpdIhWhY.cache +1 -0
  174. data/spec/spec_helper.rb +14 -0
  175. data/spec/support/database.rb +21 -0
  176. data/spec/support/dynamic-fields-for.rb +11 -0
  177. metadata +351 -3
@@ -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
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -0,0 +1 @@
1
+ "%���˓��{1F.ٕ�C2���U��b�-�G��(
@@ -0,0 +1 @@
1
+ I"�file:///Users/st/dev/ror/dynamic-fields-for/spec/rails_app/app/assets/javascripts/application.coffee?type=application/javascript&id=4dc24260f7f2cafd3f1de88547689f5f49135bdec375178722364999edf55b9f:EF
@@ -0,0 +1 @@
1
+ "%��)��~&�mP�C?��EF@ �'���|k��
@@ -0,0 +1 @@
1
+ "%X�p5����9~]~BK�����s��}^���%
@@ -0,0 +1 @@
1
+ "%c�㭕��ަE�$o�;����=�iw_6YZlg��
@@ -0,0 +1 @@
1
+ "%������$�P���p��>T?*��"dl�.�
@@ -0,0 +1 @@
1
+ "%���˓��{1F.ٕ�C2���U��b�-�G��(
@@ -0,0 +1 @@
1
+ "%���˓��{1F.ٕ�C2���U��b�-�G��(
@@ -0,0 +1 @@
1
+ "%���˓��{1F.ٕ�C2���U��b�-�G��(
@@ -0,0 +1 @@
1
+ I"�file:///Users/st/dev/ror/dynamic-fields-for/spec/rails_app/app/assets/javascripts/application.coffee?type=application/javascript&pipeline=self&id=1c1066bb2325f6dafffef9c1240c31f11bbad5db30ae8fdb34f5f9c10740f3d8:EF
@@ -0,0 +1 @@
1
+ "%����"m�J���S��E�j!�/�d�]�/[���
@@ -0,0 +1 @@
1
+ I"�file:///Users/st/dev/ror/dynamic-fields-for/spec/rails_app/app/assets/javascripts/application.coffee?type=application/javascript&pipeline=self&id=342ec49e25e2332d79243410fc8c482b43f5ccb5006116469b0e583b582c071a:EF
@@ -0,0 +1 @@
1
+ I"�file:///Users/st/dev/ror/dynamic-fields-for/spec/rails_app/app/assets/javascripts/application.coffee?type=application/javascript&pipeline=self&id=59b6ec5546cafc0d1dd3fdf3d92e64eb49c4a88c429a4e67409ab2a8d25cb933:EF
@@ -0,0 +1 @@
1
+ I"�file:///Users/st/dev/ror/dynamic-fields-for/vendor/bundle/ruby/1.9.1/gems/jquery-rails-4.0.3/vendor/assets/javascripts/jquery.js?type=application/javascript&pipeline=self&id=2183d797266ccacc28b9d4c9cc259e8055a6ebb57c6814e2a7d30bd0db7b1bd9:EF
@@ -0,0 +1 @@
1
+ "%���˓��{1F.ٕ�C2���U��b�-�G��(
@@ -0,0 +1 @@
1
+ I"�file:///Users/st/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/turbolinks-2.5.3/lib/assets/javascripts/turbolinks.js.coffee?type=application/javascript&pipeline=self&id=334c86fe3dc2b9f681b6ef1c5186ebcc7b6a38519b47824633d088763fd81b89:EF
@@ -0,0 +1 @@
1
+ "%S�{�l�n ��E!�����cpKbjƮ.\�=
@@ -0,0 +1 @@
1
+ I"�file:///Users/st/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/turbolinks-2.5.3/lib/assets/javascripts/turbolinks.js.coffee?type=application/javascript&pipeline=self&id=6704ecc73028ae123f48a2a6e39d325f334326ea58c1f23fb318f89ad26e262e:EF
@@ -0,0 +1 @@
1
+ I"�file:///Users/st/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/jquery-rails-3.1.2/vendor/assets/javascripts/jquery.js?type=application/javascript&pipeline=self&id=d83fd2cfaef9be263754e3623bb973f5cfc1e9b7c218566329055429f791fafd:EF
@@ -0,0 +1 @@
1
+ I"�file:///Users/st/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/jquery-rails-3.1.2/vendor/assets/javascripts/jquery.js?type=application/javascript&pipeline=self&id=d26d51f706cca53a4f374e30e0c9c9281efcaf53c2d5d5ceb59be115c9e4bc73:EF
@@ -0,0 +1 @@
1
+ "%���˓��{1F.ٕ�C2���U��b�-�G��(
@@ -0,0 +1 @@
1
+ I"�file:///Users/st/dev/ror/dynamic-fields-for/spec/rails_app/app/assets/javascripts/application.coffee?type=application/javascript&id=b39e2ce430c09bbbabe67f3cfa3f0aa22f6574bcd60cbee745882f6e9c35997f:EF
@@ -0,0 +1 @@
1
+ I"�file:///Users/st/dev/ror/dynamic-fields-for/spec/rails_app/app/assets/javascripts/application.coffee?type=application/javascript&id=d1cef5d44ee9d820d3e829d9838f5ac66f590f3f6be47cc6c7c46a652968747e:EF
@@ -0,0 +1 @@
1
+ "%���˓��{1F.ٕ�C2���U��b�-�G��(
@@ -0,0 +1 @@
1
+ "%��ۙ��gE�lr�uV}����6����UZ���
@@ -0,0 +1 @@
1
+ "%���˓��{1F.ٕ�C2���U��b�-�G��(
@@ -0,0 +1 @@
1
+ I"�file:///Users/st/dev/ror/dynamic-fields-for/app/assets/javascripts/dynamic-fields-for.js?type=application/javascript&pipeline=self&id=36493f8d614a5f521b9e9981f5721a030db17b1d43cd2f33b1f882388b03aa07:EF
@@ -0,0 +1 @@
1
+ "%����"m�J���S��E�j!�/�d�]�/[���
@@ -0,0 +1 @@
1
+ I"�file:///Users/st/dev/ror/dynamic-fields-for/spec/rails_app/app/assets/javascripts/application.coffee?type=application/javascript&id=134057f3cd0054caa20e4c5d85d28027990c7f55011a4bf8d2aeb316255bb72c:EF
@@ -0,0 +1 @@
1
+ "%���˓��{1F.ٕ�C2���U��b�-�G��(
@@ -0,0 +1 @@
1
+ I"�file:///Users/st/dev/ror/dynamic-fields-for/app/assets/javascripts/dynamic-fields-for.js?type=application/javascript&pipeline=self&id=3baa6b2fb81fbe191b3c07206705505d55d2afa6038506b9ed8ae5c6b58ef2bd:EF
@@ -0,0 +1 @@
1
+ "%���˓��{1F.ٕ�C2���U��b�-�G��(
@@ -0,0 +1,7 @@
1
+ I"](function() {
2
+ $(document).on('dynamic-fields:before-add-into dynamic-fields:after-add dynamic-fields:after-add-into dynamic-fields:before-remove-from dynamic-fields:before-remove dynamic-fields:after-remove-from', function(e) {
3
+ return $('#event_catcher').append(e.type + " : " + (e.target.className || 'id') + "<br />");
4
+ });
5
+
6
+ }).call(this);
7
+ :ET
@@ -0,0 +1 @@
1
+ I"�file:///Users/st/dev/ror/dynamic-fields-for/spec/rails_app/app/assets/javascripts/application.coffee?type=application/javascript&pipeline=self&id=e8e60c0f45f090129f7962a961fbc701f87ecbd99f3278e1faba19422af49c49:EF
@@ -0,0 +1 @@
1
+ I"�file:///Users/st/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/turbolinks-2.5.3/lib/assets/javascripts/turbolinks.js.coffee?type=application/javascript&pipeline=self&id=24d4874ea95d89d09ee296cd3dcfa88595b57e32437ed4e0802639f05fcf61b7:EF
@@ -0,0 +1 @@
1
+ "%������$�P���p��>T?*��"dl�.�
@@ -0,0 +1 @@
1
+ "%���˓��{1F.ٕ�C2���U��b�-�G��(
@@ -0,0 +1 @@
1
+ I"�file:///Users/st/dev/ror/dynamic-fields-for/vendor/bundle/ruby/1.9.1/gems/turbolinks-2.5.3/lib/assets/javascripts/turbolinks.js.coffee?type=application/javascript&pipeline=self&id=a6676b5e9cf626b1b97a2bbe30812c04109a8c1323c622ee716f1352c06c4f87:EF
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;FTI"�file-digest:///Users/st/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/jquery-rails-4.0.3/vendor/assets/javascripts/jquery.js;FT
@@ -0,0 +1 @@
1
+ "%S�{�l�n ��E!�����cpKbjƮ.\�=
@@ -0,0 +1 @@
1
+ "%���˓��{1F.ٕ�C2���U��b�-�G��(
@@ -0,0 +1 @@
1
+ "%���˓��{1F.ٕ�C2���U��b�-�G��(
@@ -0,0 +1 @@
1
+ I"�file:///Users/st/dev/ror/dynamic-fields-for/spec/rails_app/app/assets/javascripts/application.coffee?type=application/javascript&pipeline=self&id=c6b1a58ba37ca23cd381c33344d27de34a75dfb68b616d4aa7c75f4601bef9bc:EF
@@ -0,0 +1 @@
1
+ I"�file:///Users/st/dev/ror/dynamic-fields-for/app/assets/javascripts/dynamic-fields-for.js?type=application/javascript&pipeline=self&id=513c601912ac2692b7acb59fe354d2a2906a6460c435e9a0c8f02851b5ab8a87:EF
@@ -0,0 +1 @@
1
+ "%���˓��{1F.ٕ�C2���U��b�-�G��(
@@ -0,0 +1 @@
1
+ "%���˓��{1F.ٕ�C2���U��b�-�G��(
@@ -0,0 +1 @@
1
+ I"�file:///Users/st/dev/ror/dynamic-fields-for/app/assets/javascripts/dynamic-fields-for.js?type=application/javascript&pipeline=self&id=854e9ed52a5de2da8c238085927896dc0704f636c0dc32b586d4494071382d5e:EF
@@ -0,0 +1 @@
1
+ "%��B�����șo�$'�A�d��L���xR�U
@@ -0,0 +1 @@
1
+ "%X�p5����9~]~BK�����s��}^���%
@@ -0,0 +1 @@
1
+ "%���˓��{1F.ٕ�C2���U��b�-�G��(
@@ -0,0 +1 @@
1
+ I"�file:///Users/st/dev/ror/dynamic-fields-for/vendor/bundle/ruby/1.9.1/gems/turbolinks-2.5.3/lib/assets/javascripts/turbolinks.js.coffee?type=application/javascript&pipeline=self&id=4f1af6dd89fad39c9f2873157930ae6902fe563ffa1b87e3e9c4b24bf14de374:EF
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;FTI"�file-digest:///Users/st/dev/ror/dynamic-fields-for/vendor/bundle/ruby/1.9.1/gems/jquery-rails-4.0.3/vendor/assets/javascripts/jquery.js;FT
@@ -0,0 +1 @@
1
+ "%��B�����șo�$'�A�d��L���xR�U
@@ -0,0 +1 @@
1
+ I"�file:///Users/st/dev/ror/dynamic-fields-for/spec/rails_app/app/assets/javascripts/application.coffee?type=application/javascript&id=4ae044b055b9356731faa556a763d1521f267c4467ef3b7f2429ac046576d47b:EF
@@ -0,0 +1 @@
1
+ "%���˓��{1F.ٕ�C2���U��b�-�G��(
@@ -0,0 +1 @@
1
+ "%���˓��{1F.ٕ�C2���U��b�-�G��(
@@ -0,0 +1 @@
1
+ I"�file:///Users/st/dev/ror/dynamic-fields-for/app/assets/javascripts/dynamic-fields-for.js?type=application/javascript&pipeline=self&id=d2eba63e35e890702aa0a06823c3f1e0dc5c5049ef27ac6c6ae75ed43abcb0e6:EF
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;FTI"�file-digest:///Users/st/dev/ror/dynamic-fields-for/vendor/bundle/ruby/1.9.1/gems/jquery-rails-3.1.2/vendor/assets/javascripts/jquery.js;FT
@@ -0,0 +1 @@
1
+ I"�file:///Users/st/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/jquery-rails-4.0.3/vendor/assets/javascripts/jquery.js?type=application/javascript&pipeline=self&id=f46b1a133db89f0734c14e507a985842633c19a08c056bd7d8f5bebf1220f600:EF
@@ -0,0 +1 @@
1
+ "%���˓��{1F.ٕ�C2���U��b�-�G��(
@@ -0,0 +1 @@
1
+ "%��B�����șo�$'�A�d��L���xR�U
@@ -0,0 +1 @@
1
+ "%��B�����șo�$'�A�d��L���xR�U
@@ -0,0 +1 @@
1
+ "%��)��~&�mP�C?��EF@ �'���|k��