incline 0.3.13 → 0.3.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (335) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +0 -0
  3. data/Gemfile +3 -2
  4. data/Gemfile.lock +25 -12
  5. data/MIT-LICENSE +0 -0
  6. data/README.rdoc +0 -0
  7. data/Rakefile +0 -0
  8. data/app/assets/fonts/incline/.keep +0 -0
  9. data/app/assets/images/incline/.keep +0 -0
  10. data/app/assets/images/incline/barcode-B.svg +0 -0
  11. data/app/assets/javascripts/incline/activate_classed_items.js +0 -0
  12. data/app/assets/javascripts/incline/application.js +0 -0
  13. data/app/assets/javascripts/incline/bootstrap-datepicker.js +0 -0
  14. data/app/assets/javascripts/incline/datatables.js +0 -0
  15. data/app/assets/javascripts/incline/escapeHtml.js +0 -0
  16. data/app/assets/javascripts/incline/inline_actions.js +0 -0
  17. data/app/assets/javascripts/incline/jquery.doubleScroll.js +0 -0
  18. data/app/assets/javascripts/incline/jquery.number.js +0 -0
  19. data/app/assets/javascripts/incline/regexMask.js +0 -0
  20. data/app/assets/javascripts/incline/select2/i18n/en.js +0 -0
  21. data/app/assets/javascripts/incline/select2/select2.full.js +0 -0
  22. data/app/assets/stylesheets/incline/application.css +0 -0
  23. data/app/assets/stylesheets/incline/bootstrap-theme.min.css +0 -0
  24. data/app/assets/stylesheets/incline/custom.scss +0 -0
  25. data/app/assets/stylesheets/incline/datatables.css +0 -0
  26. data/app/assets/stylesheets/incline/datepicker3.css +0 -0
  27. data/app/assets/stylesheets/incline/select2.css +0 -0
  28. data/app/controllers/incline/access_groups_controller.rb +0 -0
  29. data/app/controllers/incline/access_test_controller.rb +0 -0
  30. data/app/controllers/incline/account_activations_controller.rb +0 -0
  31. data/app/controllers/incline/application_controller.rb +0 -0
  32. data/app/controllers/incline/contact_controller.rb +0 -0
  33. data/app/controllers/incline/password_resets_controller.rb +0 -0
  34. data/app/controllers/incline/security_controller.rb +0 -0
  35. data/app/controllers/incline/sessions_controller.rb +0 -0
  36. data/app/controllers/incline/users_controller.rb +0 -0
  37. data/app/controllers/incline/welcome_controller.rb +0 -0
  38. data/app/helpers/incline/.keep +0 -0
  39. data/app/mailers/incline/application_mailer_base.rb +0 -0
  40. data/app/mailers/incline/contact_form.rb +0 -0
  41. data/app/mailers/incline/user_mailer.rb +0 -0
  42. data/app/models/incline/access_group.rb +0 -0
  43. data/app/models/incline/access_group_group_member.rb +0 -0
  44. data/app/models/incline/access_group_user_member.rb +0 -0
  45. data/app/models/incline/action_group.rb +0 -0
  46. data/app/models/incline/action_security.rb +0 -0
  47. data/app/models/incline/contact_message.rb +0 -0
  48. data/app/models/incline/disable_info.rb +0 -0
  49. data/app/models/incline/password_reset.rb +0 -0
  50. data/app/models/incline/password_reset_request.rb +0 -0
  51. data/app/models/incline/user.rb +0 -0
  52. data/app/models/incline/user_login_history.rb +0 -0
  53. data/app/views/incline/access_groups/_details.json.jbuilder +0 -0
  54. data/app/views/incline/access_groups/_form.html.erb +0 -0
  55. data/app/views/incline/access_groups/_list.html.erb +0 -0
  56. data/app/views/incline/access_groups/_messages.json.jbuilder +0 -0
  57. data/app/views/incline/access_groups/edit.html.erb +0 -0
  58. data/app/views/incline/access_groups/index.html.erb +0 -0
  59. data/app/views/incline/access_groups/index.json.jbuilder +0 -0
  60. data/app/views/incline/access_groups/new.html.erb +0 -0
  61. data/app/views/incline/access_groups/show.html.erb +0 -0
  62. data/app/views/incline/access_groups/show.json.jbuilder +0 -0
  63. data/app/views/incline/contact/new.html.erb +0 -0
  64. data/app/views/incline/contact_form/contact.html.erb +0 -0
  65. data/app/views/incline/contact_form/contact.text.erb +0 -0
  66. data/app/views/incline/password_resets/edit.html.erb +0 -0
  67. data/app/views/incline/password_resets/new.html.erb +0 -0
  68. data/app/views/incline/security/_details.json.jbuilder +0 -0
  69. data/app/views/incline/security/_form.html.erb +0 -0
  70. data/app/views/incline/security/_list.html.erb +0 -0
  71. data/app/views/incline/security/_messages.json.jbuilder +0 -0
  72. data/app/views/incline/security/edit.html.erb +0 -0
  73. data/app/views/incline/security/index.html.erb +0 -0
  74. data/app/views/incline/security/index.json.jbuilder +0 -0
  75. data/app/views/incline/security/show.html.erb +0 -0
  76. data/app/views/incline/security/show.json.jbuilder +0 -0
  77. data/app/views/incline/sessions/new.html.erb +0 -0
  78. data/app/views/incline/user_mailer/account_activation.html.erb +0 -0
  79. data/app/views/incline/user_mailer/account_activation.text.erb +0 -0
  80. data/app/views/incline/user_mailer/invalid_password_reset.html.erb +0 -0
  81. data/app/views/incline/user_mailer/invalid_password_reset.text.erb +0 -0
  82. data/app/views/incline/user_mailer/password_reset.html.erb +0 -0
  83. data/app/views/incline/user_mailer/password_reset.text.erb +0 -0
  84. data/app/views/incline/users/_details.json.jbuilder +0 -0
  85. data/app/views/incline/users/_form.html.erb +0 -0
  86. data/app/views/incline/users/_list.html.erb +0 -0
  87. data/app/views/incline/users/_messages.json.jbuilder +0 -0
  88. data/app/views/incline/users/disable_confirm.html.erb +0 -0
  89. data/app/views/incline/users/edit.html.erb +0 -0
  90. data/app/views/incline/users/index.html.erb +0 -0
  91. data/app/views/incline/users/index.json.jbuilder +0 -0
  92. data/app/views/incline/users/new.html.erb +0 -0
  93. data/app/views/incline/users/show.html.erb +0 -0
  94. data/app/views/incline/users/show.json.jbuilder +0 -0
  95. data/app/views/incline/welcome/home.html.erb +0 -0
  96. data/app/views/layouts/application.html.erb +0 -0
  97. data/app/views/layouts/incline/_account_menu.html.erb +0 -0
  98. data/app/views/layouts/incline/_app_menu_anon.html.erb +0 -0
  99. data/app/views/layouts/incline/_app_menu_authenticated.html.erb +0 -0
  100. data/app/views/layouts/incline/_footer.html.erb +0 -0
  101. data/app/views/layouts/incline/_header.html.erb +0 -0
  102. data/app/views/layouts/incline/_html_mailer.html.erb +0 -0
  103. data/app/views/layouts/incline/_incline_app.html.erb +0 -0
  104. data/app/views/layouts/incline/_messages.html.erb +0 -0
  105. data/app/views/layouts/incline/_shim.html.erb +0 -0
  106. data/app/views/layouts/incline/_text_mailer.text.erb +0 -0
  107. data/app/views/layouts/incline/application.html.erb +0 -0
  108. data/app/views/layouts/mailer.html.erb +0 -0
  109. data/app/views/layouts/mailer.text.erb +0 -0
  110. data/bin/rails +0 -0
  111. data/bin/test_scaffold.sh +0 -0
  112. data/config/routes.rb +0 -0
  113. data/db/migrate/20170511230126_create_incline_users.rb +0 -0
  114. data/db/migrate/20170515003052_create_incline_access_groups.rb +0 -0
  115. data/db/migrate/20170515003221_create_incline_user_login_histories.rb +0 -0
  116. data/db/migrate/20170515150908_create_incline_access_group_user_members.rb +0 -0
  117. data/db/migrate/20170515151058_create_incline_access_group_group_members.rb +0 -0
  118. data/db/migrate/20170517193432_add_comments_to_incline_user.rb +0 -0
  119. data/db/migrate/20170622132700_create_incline_action_securities.rb +0 -0
  120. data/db/migrate/20170622172712_create_incline_action_groups.rb +0 -0
  121. data/db/migrate/20170622195742_add_non_standard_to_action_security.rb +0 -0
  122. data/db/migrate/20170622230422_add_visible_to_action_security.rb +0 -0
  123. data/db/seeds.rb +0 -0
  124. data/exe/incline +0 -0
  125. data/exe/new_incline_app +0 -0
  126. data/lib/generators/incline/install_generator.rb +0 -0
  127. data/lib/generators/incline/templates/_app_menu_anon.html.erb +0 -0
  128. data/lib/generators/incline/templates/_app_menu_authenticated.html.erb +0 -0
  129. data/lib/generators/incline/templates/incline_application.css +0 -0
  130. data/lib/generators/incline/templates/incline_application.html.erb +0 -0
  131. data/lib/generators/incline/templates/incline_application.js +0 -0
  132. data/lib/generators/incline/templates/incline_database.yml +0 -0
  133. data/lib/generators/incline/templates/incline_email.yml +0 -0
  134. data/lib/generators/incline/templates/incline_mailer.html.erb +0 -0
  135. data/lib/generators/incline/templates/incline_mailer.text.erb +0 -0
  136. data/lib/generators/incline/templates/incline_users.yml +0 -0
  137. data/lib/generators/incline/templates/incline_version.rb +0 -0
  138. data/lib/incline.rb +0 -0
  139. data/lib/incline/auth_engine_base.rb +0 -0
  140. data/lib/incline/bit_enum.rb +4 -4
  141. data/lib/incline/cli.rb +0 -0
  142. data/lib/incline/cli/errors.rb +0 -0
  143. data/lib/incline/cli/helpers/yaml.rb +0 -0
  144. data/lib/incline/cli/prepare.rb +0 -0
  145. data/lib/incline/cli/prepare/add_deploy_user.rb +0 -0
  146. data/lib/incline/cli/prepare/config_passenger.rb +0 -0
  147. data/lib/incline/cli/prepare/config_ssh.rb +0 -0
  148. data/lib/incline/cli/prepare/create_nginx_utils.rb +0 -0
  149. data/lib/incline/cli/prepare/extend_shell.rb +0 -0
  150. data/lib/incline/cli/prepare/install_db.rb +0 -0
  151. data/lib/incline/cli/prepare/install_flytrap.rb +0 -0
  152. data/lib/incline/cli/prepare/install_passenger.rb +0 -0
  153. data/lib/incline/cli/prepare/install_prereqs.rb +0 -0
  154. data/lib/incline/cli/prepare/install_rails.rb +0 -0
  155. data/lib/incline/cli/prepare/install_rbenv.rb +0 -0
  156. data/lib/incline/cli/prepare/install_ruby.rb +0 -0
  157. data/lib/incline/cli/prepare/restart_nginx.rb +0 -0
  158. data/lib/incline/cli/prepare/ssh_copy_id.rb +0 -0
  159. data/lib/incline/cli/prepare/update_system.rb +0 -0
  160. data/lib/incline/cli/usage.rb +1 -1
  161. data/lib/incline/cli/version.rb +0 -0
  162. data/lib/incline/constant_enum.rb +0 -0
  163. data/lib/incline/data_tables_request.rb +10 -1
  164. data/lib/incline/date_time_formats.rb +0 -0
  165. data/lib/incline/engine.rb +0 -0
  166. data/lib/incline/errors.rb +0 -0
  167. data/lib/incline/extensions/action_controller_base.rb +0 -0
  168. data/lib/incline/extensions/action_mailer_base.rb +0 -0
  169. data/lib/incline/extensions/action_view_base.rb +0 -0
  170. data/lib/incline/extensions/active_record_base.rb +0 -0
  171. data/lib/incline/extensions/application.rb +7 -2
  172. data/lib/incline/extensions/application_configuration.rb +0 -0
  173. data/lib/incline/extensions/connection_adapter.rb +0 -0
  174. data/lib/incline/extensions/current_request.rb +0 -0
  175. data/lib/incline/extensions/date_time_value.rb +0 -0
  176. data/lib/incline/extensions/date_value.rb +0 -0
  177. data/lib/incline/extensions/decimal_value.rb +0 -0
  178. data/lib/incline/extensions/erb_scaffold_generator.rb +0 -0
  179. data/lib/incline/extensions/float_value.rb +0 -0
  180. data/lib/incline/extensions/form_builder.rb +0 -0
  181. data/lib/incline/extensions/integer_value.rb +0 -0
  182. data/lib/incline/extensions/jbuilder_generator.rb +0 -0
  183. data/lib/incline/extensions/jbuilder_template.rb +0 -0
  184. data/lib/incline/extensions/main_app.rb +0 -0
  185. data/lib/incline/extensions/numeric.rb +0 -0
  186. data/lib/incline/extensions/object.rb +0 -0
  187. data/lib/incline/extensions/param_propagation.rb +6 -10
  188. data/lib/incline/extensions/resource_route_generator.rb +0 -0
  189. data/lib/incline/extensions/session.rb +0 -0
  190. data/lib/incline/extensions/string.rb +0 -0
  191. data/lib/incline/extensions/test_case.rb +0 -0
  192. data/lib/incline/extensions/time_zone_converter.rb +0 -0
  193. data/lib/incline/global_status.rb +0 -0
  194. data/lib/incline/helpers/route_hash_formatter.rb +0 -0
  195. data/lib/incline/json_log_formatter.rb +0 -0
  196. data/lib/incline/json_logger.rb +0 -0
  197. data/lib/incline/log.rb +0 -0
  198. data/lib/incline/number_formats.rb +0 -0
  199. data/lib/incline/recaptcha.rb +0 -0
  200. data/lib/incline/user_manager.rb +0 -0
  201. data/lib/incline/validators/email_validator.rb +0 -0
  202. data/lib/incline/validators/ip_address_validator.rb +0 -0
  203. data/lib/incline/validators/recaptcha_validator.rb +0 -0
  204. data/lib/incline/validators/safe_name_validator.rb +0 -0
  205. data/lib/incline/version.rb +3 -3
  206. data/lib/incline/work_path.rb +2 -1
  207. data/lib/tasks/incline_tasks.rake +0 -0
  208. data/lib/templates/erb/scaffold/_form.html.erb +0 -0
  209. data/lib/templates/erb/scaffold/_list.html.erb +0 -0
  210. data/lib/templates/erb/scaffold/edit.html.erb +0 -0
  211. data/lib/templates/erb/scaffold/index.html.erb +0 -0
  212. data/lib/templates/erb/scaffold/new.html.erb +0 -0
  213. data/lib/templates/erb/scaffold/show.html.erb +0 -0
  214. data/lib/templates/jbuilder/scaffold/_details.json.jbuilder +0 -0
  215. data/lib/templates/jbuilder/scaffold/index.json.jbuilder +0 -0
  216. data/lib/templates/jbuilder/scaffold/show.json.jbuilder +0 -0
  217. data/lib/templates/rails/scaffold_controller/controller.rb +0 -0
  218. data/lib/templates/test_unit/scaffold/functional_test.rb +0 -0
  219. data/test/cli/yaml_contents_test.rb +0 -0
  220. data/test/controllers/incline/access_groups_controller_test.rb +0 -0
  221. data/test/controllers/incline/access_test_controller_test.rb +0 -0
  222. data/test/controllers/incline/contact_controller_test.rb +0 -0
  223. data/test/controllers/incline/security_controller_test.rb +0 -0
  224. data/test/controllers/incline/welcome_controller_test.rb +0 -0
  225. data/test/dummy/README.rdoc +0 -0
  226. data/test/dummy/Rakefile +0 -0
  227. data/test/dummy/app/assets/images/.keep +0 -0
  228. data/test/dummy/app/assets/javascripts/application.js +0 -0
  229. data/test/dummy/app/assets/stylesheets/application.css +0 -0
  230. data/test/dummy/app/controllers/application_controller.rb +0 -0
  231. data/test/dummy/app/controllers/concerns/.keep +0 -0
  232. data/test/dummy/app/controllers/dummy_controller.rb +0 -0
  233. data/test/dummy/app/helpers/application_helper.rb +0 -0
  234. data/test/dummy/app/mailers/.keep +0 -0
  235. data/test/dummy/app/models/.keep +0 -0
  236. data/test/dummy/app/models/concerns/.keep +0 -0
  237. data/test/dummy/app/views/dummy/hello.html.erb +0 -0
  238. data/test/dummy/app/views/layouts/application.html.erb +0 -0
  239. data/test/dummy/app/views/layouts/incline/_app_menu_anon.html.erb +0 -0
  240. data/test/dummy/app/views/layouts/incline/_app_menu_authenticated.html.erb +0 -0
  241. data/test/dummy/app/views/layouts/mailer.html.erb +0 -0
  242. data/test/dummy/app/views/layouts/mailer.text.erb +0 -0
  243. data/test/dummy/bin/bundle +0 -0
  244. data/test/dummy/bin/rails +0 -0
  245. data/test/dummy/bin/rake +0 -0
  246. data/test/dummy/bin/setup +0 -0
  247. data/test/dummy/config.ru +0 -0
  248. data/test/dummy/config/application.rb +0 -0
  249. data/test/dummy/config/boot.rb +0 -0
  250. data/test/dummy/config/database.yml +0 -0
  251. data/test/dummy/config/email.yml +0 -0
  252. data/test/dummy/config/environment.rb +0 -0
  253. data/test/dummy/config/environments/development.rb +0 -0
  254. data/test/dummy/config/environments/production.rb +0 -0
  255. data/test/dummy/config/environments/test.rb +0 -0
  256. data/test/dummy/config/initializers/assets.rb +0 -0
  257. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -0
  258. data/test/dummy/config/initializers/cookies_serializer.rb +0 -0
  259. data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -0
  260. data/test/dummy/config/initializers/inflections.rb +0 -0
  261. data/test/dummy/config/initializers/mime_types.rb +0 -0
  262. data/test/dummy/config/initializers/session_store.rb +0 -0
  263. data/test/dummy/config/initializers/to_time_preserves_timezone.rb +0 -0
  264. data/test/dummy/config/initializers/wrap_parameters.rb +0 -0
  265. data/test/dummy/config/locales/en.yml +0 -0
  266. data/test/dummy/config/routes.rb +0 -0
  267. data/test/dummy/db/schema.rb +108 -108
  268. data/test/dummy/lib/assets/.keep +0 -0
  269. data/test/dummy/log/.keep +0 -0
  270. data/test/dummy/public/404.html +0 -0
  271. data/test/dummy/public/422.html +0 -0
  272. data/test/dummy/public/500.html +0 -0
  273. data/test/dummy/public/favicon.ico +0 -0
  274. data/test/extensions/action_controller_base_extensions_test.rb +0 -0
  275. data/test/extensions/action_mailer_base_extensions_test.rb +0 -0
  276. data/test/extensions/action_view_base_extensions_test.rb +0 -0
  277. data/test/extensions/active_record_extensions_test.rb +0 -0
  278. data/test/extensions/application_configuration_extensions_test.rb +0 -0
  279. data/test/extensions/application_extensions_test.rb +0 -0
  280. data/test/extensions/connection_adapter_extensions_test.rb +0 -0
  281. data/test/extensions/date_time_value_extensions_test.rb +0 -0
  282. data/test/extensions/date_value_extensions_test.rb +0 -0
  283. data/test/extensions/decimal_value_extensions_test.rb +0 -0
  284. data/test/extensions/erb_scaffold_generator_extensions_test.rb +0 -0
  285. data/test/extensions/float_value_extensions_test.rb +0 -0
  286. data/test/extensions/form_builder_extensions_test.rb +0 -0
  287. data/test/extensions/integer_value_extensions_test.rb +0 -0
  288. data/test/extensions/jbuilder_generator_extensions_test.rb +0 -0
  289. data/test/extensions/jbuilder_template_extensions_test.rb +0 -0
  290. data/test/extensions/main_app_extensions_test.rb +0 -0
  291. data/test/extensions/numeric_extensions_test.rb +0 -0
  292. data/test/extensions/object_extensions_test.rb +0 -0
  293. data/test/extensions/session_extensions_test.rb +0 -0
  294. data/test/extensions/string_extensions_test.rb +0 -0
  295. data/test/extensions/test_case_extensions_test.rb +0 -0
  296. data/test/extensions/time_zone_converter_extensions_test.rb +0 -0
  297. data/test/fixtures/incline/access_group_group_members.yml +0 -0
  298. data/test/fixtures/incline/access_group_user_members.yml +0 -0
  299. data/test/fixtures/incline/access_groups.yml +0 -0
  300. data/test/fixtures/incline/action_groups.yml +0 -0
  301. data/test/fixtures/incline/action_securities.yml +0 -0
  302. data/test/fixtures/incline/user_login_histories.yml +0 -0
  303. data/test/fixtures/incline/users.yml +0 -0
  304. data/test/incline_test.rb +0 -0
  305. data/test/integration/incline/users_edit_test.rb +0 -0
  306. data/test/integration/incline/users_login_test.rb +0 -0
  307. data/test/integration/incline/users_signup_test.rb +0 -0
  308. data/test/integration/navigation_test.rb +0 -0
  309. data/test/lib/bit_enum_test.rb +0 -0
  310. data/test/lib/constant_enum_test.rb +0 -0
  311. data/test/lib/data_tables_request_test.rb +7 -7
  312. data/test/lib/date_time_formats_test.rb +0 -0
  313. data/test/lib/global_status_test.rb +0 -0
  314. data/test/lib/json_log_formatter_test.rb +0 -0
  315. data/test/lib/log_test.rb +0 -0
  316. data/test/lib/recaptcha_test.rb +0 -0
  317. data/test/lib/user_manager_test.rb +0 -0
  318. data/test/lib/work_path_test.rb +0 -0
  319. data/test/models/incline/access_group_group_member_test.rb +0 -0
  320. data/test/models/incline/access_group_test.rb +0 -0
  321. data/test/models/incline/access_group_user_member_test.rb +0 -0
  322. data/test/models/incline/action_group_test.rb +0 -0
  323. data/test/models/incline/action_security_test.rb +0 -0
  324. data/test/models/incline/contact_message_test.rb +0 -0
  325. data/test/models/incline/disable_info_test.rb +0 -0
  326. data/test/models/incline/password_reset_request_test.rb +0 -0
  327. data/test/models/incline/password_reset_test.rb +0 -0
  328. data/test/models/incline/user_login_history_test.rb +0 -0
  329. data/test/models/incline/user_test.rb +0 -0
  330. data/test/test_helper.rb +0 -0
  331. data/test/validators/email_validator_test.rb +0 -0
  332. data/test/validators/ip_address_validator_test.rb +0 -0
  333. data/test/validators/recaptcha_validator_test.rb +0 -0
  334. data/test/validators/safe_name_validator_test.rb +0 -0
  335. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8df3892120c5d2d79030d23887876699dd8f9fc1
4
- data.tar.gz: dbee94030879aa9c7bd621b289207dd404258c47
3
+ metadata.gz: 74bf6baba5061e41dc95ba55cb4d363294d8055f
4
+ data.tar.gz: cf814a9ffe350f48622a5608f5b966197e8c7779
5
5
  SHA512:
6
- metadata.gz: 15e56285c3ad0af6d233af28b64e0fc24193d86afeffb24be105362897cc2b8c039eeffc9029a25832a4e2472d70c841683d73877428e40b245d40ab2810caf1
7
- data.tar.gz: 20b93f40607f13315732315945096d852a64613bb074141c07d6f3970fe7f03782ed9d60fca33ac62478f58515a1cba50055fbc34ae518924eac20e6c85768ce
6
+ metadata.gz: fd43366fd252b70d0d694a981b2a2ac0018615ce376d704337e644571a16d3f86a4b550ee6eba8044c75d191803465d74aa45c5f5cb003ef19e5dd13fdf154fb
7
+ data.tar.gz: 044c74cad4e2e50ced6af2723764050694e6357f7e8388857ab32df6ac9161e6b1ab270792e8c46386d25a112668741744db3ccdf167a8a799a6df11354f69c4
data/.gitignore CHANGED
File without changes
data/Gemfile CHANGED
@@ -5,12 +5,13 @@ source 'https://rubygems.org'
5
5
  # development dependencies will be added by default to the :development group.
6
6
  gemspec
7
7
 
8
- group :development do
8
+ group :development, :test do
9
9
  gem 'byebug'
10
+ gem 'tzinfo-data', platform: [ :mswin, :mingw, :x64_mingw ]
11
+ gem 'win32console', platform: [ :mswin, :mingw, :x64_mingw ]
10
12
  end
11
13
 
12
14
  group :test do
13
- gem 'byebug'
14
15
  gem 'tiny_tds', '~> 1.3.0'
15
16
  gem 'activerecord-sqlserver-adapter', '~> 4.2.18'
16
17
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- incline (0.3.13)
4
+ incline (0.3.14)
5
5
  ansi (~> 1.5.0)
6
6
  bcrypt
7
7
  bootstrap-sass
@@ -58,14 +58,15 @@ GEM
58
58
  tzinfo (~> 1.1)
59
59
  ansi (1.5.0)
60
60
  arel (6.0.4)
61
- autoprefixer-rails (8.2.0)
61
+ autoprefixer-rails (8.6.4)
62
62
  execjs
63
- bcrypt (3.1.11)
63
+ bcrypt (3.1.12)
64
+ bcrypt (3.1.12-x86-mingw32)
64
65
  bootstrap-sass (3.3.7)
65
66
  autoprefixer-rails (>= 5.2.1)
66
67
  sass (>= 3.3.4)
67
68
  builder (3.2.3)
68
- byebug (10.0.1)
69
+ byebug (10.0.2)
69
70
  coffee-rails (4.2.2)
70
71
  coffee-script (>= 2.2.0)
71
72
  railties (>= 4.0.0)
@@ -74,7 +75,7 @@ GEM
74
75
  execjs
75
76
  coffee-script-source (1.12.2)
76
77
  concurrent-ruby (1.0.5)
77
- crass (1.0.3)
78
+ crass (1.0.4)
78
79
  debug_inspector (0.0.3)
79
80
  erubis (2.7.0)
80
81
  exception_notification (4.2.2)
@@ -83,7 +84,8 @@ GEM
83
84
  execjs (2.7.0)
84
85
  faker (1.7.3)
85
86
  i18n (~> 0.5)
86
- ffi (1.9.23)
87
+ ffi (1.9.25)
88
+ ffi (1.9.25-x86-mingw32)
87
89
  globalid (0.4.1)
88
90
  activesupport (>= 4.2.0)
89
91
  i18n (0.9.5)
@@ -91,7 +93,7 @@ GEM
91
93
  jbuilder (2.7.0)
92
94
  activesupport (>= 4.2.0)
93
95
  multi_json (>= 1.2)
94
- jquery-rails (4.3.1)
96
+ jquery-rails (4.3.3)
95
97
  rails-dom-testing (>= 1, < 3)
96
98
  railties (>= 4.2.0)
97
99
  thor (>= 0.14, < 2.0)
@@ -105,9 +107,11 @@ GEM
105
107
  minitest (5.11.3)
106
108
  multi_json (1.13.1)
107
109
  net-ssh (4.1.0)
108
- nokogiri (1.8.2)
110
+ nokogiri (1.8.3)
109
111
  mini_portile2 (~> 2.3.0)
110
- rack (1.6.9)
112
+ nokogiri (1.8.3-x86-mingw32)
113
+ mini_portile2 (~> 2.3.0)
114
+ rack (1.6.10)
111
115
  rack-test (0.6.3)
112
116
  rack (>= 1.0)
113
117
  rails (4.2.10)
@@ -156,7 +160,7 @@ GEM
156
160
  net-ssh (~> 4.1.0)
157
161
  rubyserial (~> 0.4.0)
158
162
  spawnling (2.1.6)
159
- sprockets (3.7.1)
163
+ sprockets (3.7.2)
160
164
  concurrent-ruby (~> 1.0)
161
165
  rack (> 1, < 3)
162
166
  sprockets-rails (3.2.1)
@@ -164,22 +168,29 @@ GEM
164
168
  activesupport (>= 4.0)
165
169
  sprockets (>= 3.0.0)
166
170
  sqlite3 (1.3.13)
171
+ sqlite3 (1.3.13-x86-mingw32)
167
172
  thor (0.20.0)
168
173
  thread_safe (0.3.6)
169
174
  tilt (2.0.8)
170
175
  tiny_tds (1.3.0)
171
176
  mini_portile2 (~> 2.0)
177
+ tiny_tds (1.3.0-x86-mingw32)
178
+ mini_portile2 (~> 2.0)
172
179
  tzinfo (1.2.5)
173
180
  thread_safe (~> 0.1)
174
- uglifier (4.1.8)
181
+ tzinfo-data (1.2018.5)
182
+ tzinfo (>= 1.0.0)
183
+ uglifier (4.1.12)
175
184
  execjs (>= 0.3.0, < 3)
176
185
  web-console (3.3.0)
177
186
  activemodel (>= 4.2)
178
187
  debug_inspector
179
188
  railties (>= 4.2)
189
+ win32console (1.3.2)
180
190
 
181
191
  PLATFORMS
182
192
  ruby
193
+ x86-mingw32
183
194
 
184
195
  DEPENDENCIES
185
196
  activerecord-sqlserver-adapter (~> 4.2.18)
@@ -188,7 +199,9 @@ DEPENDENCIES
188
199
  incline!
189
200
  sqlite3 (~> 1.3.13)
190
201
  tiny_tds (~> 1.3.0)
202
+ tzinfo-data
191
203
  web-console (~> 3.3.0)
204
+ win32console
192
205
 
193
206
  BUNDLED WITH
194
- 1.16.1
207
+ 1.16.2
File without changes
File without changes
data/Rakefile CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
data/bin/rails CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -2,7 +2,7 @@ module Incline
2
2
  class BitEnum < ConstantEnum
3
3
 
4
4
  def self.name_for(value, set_nil = false)
5
- ret = values.select{|(v,k)| v == value}.map{|(v,k)| k}
5
+ ret = values.select{|(v,_)| v == value}.map{|(_,k)| k}
6
6
  return ret unless ret.blank?
7
7
 
8
8
  ret = []
@@ -52,9 +52,9 @@ module Incline
52
52
  if constants(false).include?(name)
53
53
  v = const_get(name)
54
54
  if a[0]
55
- value |= v
55
+ @value |= v
56
56
  else
57
- value &= ~v
57
+ @value &= ~v
58
58
  end
59
59
  @name = self.class.name_for(@value)
60
60
  return a[0]
@@ -79,7 +79,7 @@ module Incline
79
79
  end
80
80
 
81
81
  while max_bit > 0
82
- unless tmp.index{|(v,k)| v == max_bit}
82
+ unless tmp.index{|(v,_)| v == max_bit}
83
83
  tmp << [ max_bit, nil ]
84
84
  end
85
85
  max_bit >>= 1