fat_free_crm 0.13.6 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of fat_free_crm might be problematic. Click here for more details.

Files changed (534) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +5 -0
  3. data/.travis.yml +8 -5
  4. data/CHANGELOG +26 -0
  5. data/Gemfile +26 -26
  6. data/Gemfile.lock +280 -250
  7. data/Guardfile +0 -1
  8. data/README.md +7 -9
  9. data/Rakefile +1 -1
  10. data/app/assets/javascripts/application.js.erb +1 -0
  11. data/app/assets/javascripts/crm.js.coffee +6 -7
  12. data/app/assets/javascripts/search.js.coffee +7 -1
  13. data/app/assets/stylesheets/about.css.scss +10 -0
  14. data/app/assets/stylesheets/application.css.erb +2 -0
  15. data/app/assets/stylesheets/common.scss +1 -1
  16. data/app/controllers/admin/application_controller.rb +3 -3
  17. data/app/controllers/admin/field_groups_controller.rb +12 -7
  18. data/app/controllers/admin/fields_controller.rb +21 -17
  19. data/app/controllers/admin/groups_controller.rb +10 -4
  20. data/app/controllers/admin/plugins_controller.rb +1 -2
  21. data/app/controllers/admin/settings_controller.rb +1 -2
  22. data/app/controllers/admin/tags_controller.rb +10 -4
  23. data/app/controllers/admin/users_controller.rb +32 -12
  24. data/app/controllers/application_controller.rb +58 -38
  25. data/app/controllers/authentications_controller.rb +5 -8
  26. data/app/controllers/comments_controller.rb +15 -11
  27. data/app/controllers/emails_controller.rb +1 -2
  28. data/app/controllers/entities/accounts_controller.rb +20 -20
  29. data/app/controllers/entities/campaigns_controller.rb +25 -22
  30. data/app/controllers/entities/contacts_controller.rb +25 -24
  31. data/app/controllers/entities/leads_controller.rb +33 -31
  32. data/app/controllers/entities/opportunities_controller.rb +31 -28
  33. data/app/controllers/entities_controller.rb +26 -22
  34. data/app/controllers/home_controller.rb +18 -18
  35. data/app/controllers/lists_controller.rb +11 -7
  36. data/app/controllers/passwords_controller.rb +5 -6
  37. data/app/controllers/tasks_controller.rb +23 -18
  38. data/app/controllers/users_controller.rb +31 -7
  39. data/app/helpers/accounts_helper.rb +40 -42
  40. data/app/helpers/addresses_helper.rb +1 -3
  41. data/app/helpers/admin/application_helper.rb +4 -4
  42. data/app/helpers/admin/field_groups_helper.rb +5 -7
  43. data/app/helpers/admin/fields_helper.rb +2 -3
  44. data/app/helpers/admin/plugins_helper.rb +0 -1
  45. data/app/helpers/admin/settings_helper.rb +0 -1
  46. data/app/helpers/admin/tags_helper.rb +1 -1
  47. data/app/helpers/admin/users_helper.rb +16 -18
  48. data/app/helpers/application_helper.rb +127 -119
  49. data/app/helpers/authentications_helper.rb +0 -1
  50. data/app/helpers/campaigns_helper.rb +5 -7
  51. data/app/helpers/comments_helper.rb +0 -1
  52. data/app/helpers/contacts_helper.rb +0 -1
  53. data/app/helpers/home_helper.rb +14 -14
  54. data/app/helpers/javascript_helper.rb +30 -0
  55. data/app/helpers/leads_helper.rb +7 -7
  56. data/app/helpers/opportunities_helper.rb +8 -10
  57. data/app/helpers/passwords_helper.rb +0 -1
  58. data/app/helpers/tags_helper.rb +1 -3
  59. data/app/helpers/tasks_helper.rb +24 -26
  60. data/app/helpers/users_helper.rb +6 -7
  61. data/app/helpers/versions_helper.rb +3 -5
  62. data/app/inputs/date_pair_input.rb +6 -7
  63. data/app/inputs/date_time_input.rb +3 -4
  64. data/app/inputs/datetime_pair_input.rb +0 -1
  65. data/app/inputs/text_input.rb +2 -2
  66. data/app/mailers/dropbox_mailer.rb +4 -7
  67. data/app/mailers/subscription_mailer.rb +4 -5
  68. data/app/mailers/user_mailer.rb +7 -9
  69. data/app/models/entities/account.rb +31 -28
  70. data/app/models/entities/account_contact.rb +2 -1
  71. data/app/models/entities/account_opportunity.rb +1 -1
  72. data/app/models/entities/campaign.rb +22 -19
  73. data/app/models/entities/contact.rb +55 -53
  74. data/app/models/entities/contact_opportunity.rb +1 -1
  75. data/app/models/entities/lead.rb +49 -41
  76. data/app/models/entities/opportunity.rb +38 -38
  77. data/app/models/fields/custom_field.rb +21 -27
  78. data/app/models/fields/custom_field_date_pair.rb +7 -8
  79. data/app/models/fields/custom_field_datetime_pair.rb +0 -2
  80. data/app/models/fields/custom_field_pair.rb +8 -10
  81. data/app/models/fields/field.rb +29 -30
  82. data/app/models/fields/field_group.rb +4 -4
  83. data/app/models/list.rb +1 -1
  84. data/app/models/observers/entity_observer.rb +1 -1
  85. data/app/models/observers/lead_observer.rb +1 -1
  86. data/app/models/observers/opportunity_observer.rb +1 -1
  87. data/app/models/observers/task_observer.rb +1 -1
  88. data/app/models/polymorphic/address.rb +7 -7
  89. data/app/models/polymorphic/avatar.rb +8 -9
  90. data/app/models/polymorphic/comment.rb +16 -10
  91. data/app/models/polymorphic/email.rb +13 -6
  92. data/app/models/polymorphic/tag.rb +2 -2
  93. data/app/models/polymorphic/task.rb +45 -45
  94. data/{config/initializers/paper_trail.rb → app/models/polymorphic/version.rb} +26 -31
  95. data/app/models/setting.rb +12 -17
  96. data/app/models/users/ability.rb +5 -6
  97. data/app/models/users/authentication.rb +6 -5
  98. data/app/models/users/group.rb +1 -3
  99. data/app/models/users/permission.rb +3 -3
  100. data/app/models/users/preference.rb +7 -7
  101. data/app/models/users/user.rb +36 -43
  102. data/app/views/accounts/_top_section.html.haml +2 -2
  103. data/app/views/accounts/edit.js.haml +0 -1
  104. data/app/views/admin/fields/_field.html.haml +1 -1
  105. data/app/views/admin/tags/_tag.html.haml +1 -1
  106. data/app/views/admin/users/_user.html.haml +4 -4
  107. data/app/views/campaigns/_top_section.html.haml +1 -1
  108. data/app/views/campaigns/edit.js.haml +0 -2
  109. data/app/views/contacts/_top_section.html.haml +1 -1
  110. data/app/views/contacts/edit.js.haml +0 -1
  111. data/app/views/entities/_basic_search.html.haml +1 -1
  112. data/app/views/home/_account.html.haml +2 -2
  113. data/app/views/home/_opportunity.html.haml +2 -2
  114. data/app/views/layouts/_about.html.haml +1 -1
  115. data/app/views/leads/_top_section.html.haml +1 -1
  116. data/app/views/leads/edit.js.haml +0 -2
  117. data/app/views/lists/_sidebar.html.haml +1 -1
  118. data/app/views/opportunities/_top_section.html.haml +2 -2
  119. data/app/views/opportunities/edit.js.haml +0 -1
  120. data/app/views/shared/_tags.html.haml +2 -1
  121. data/app/views/tasks/_edit.html.haml +2 -3
  122. data/app/views/tasks/_top_section.html.haml +1 -1
  123. data/app/views/users/_user.html.haml +2 -1
  124. data/app/views/users/opportunities_overview.html.haml +2 -2
  125. data/bin/bundle +3 -0
  126. data/bin/rails +4 -0
  127. data/bin/rake +4 -0
  128. data/config/application.rb +16 -33
  129. data/config/boot.rb +1 -1
  130. data/config/database.mysql.mac.yml +1 -0
  131. data/config/database.mysql.yml +1 -0
  132. data/config/database.postgres.docker.yml +1 -1
  133. data/config/database.postgres.yml +1 -0
  134. data/config/database.sqlite.yml +1 -0
  135. data/config/deploy.example.rb +3 -5
  136. data/config/environments/development.rb +13 -14
  137. data/config/environments/production.rb +8 -7
  138. data/config/environments/staging.rb +43 -41
  139. data/config/environments/test.rb +12 -14
  140. data/config/initializers/assets.rb +14 -0
  141. data/config/initializers/backtrace_silencers.rb +7 -0
  142. data/config/initializers/cookies_serializer.rb +3 -0
  143. data/config/initializers/custom_field_ransack_translations.rb +1 -1
  144. data/config/initializers/filter_parameter_logging.rb +4 -0
  145. data/config/initializers/inflections.rb +16 -0
  146. data/config/initializers/mime_types.rb +0 -1
  147. data/config/initializers/paginate_arrays.rb +0 -1
  148. data/config/initializers/ransack.rb +5 -5
  149. data/config/initializers/session_store.rb +5 -0
  150. data/config/initializers/simple_form.rb +1 -1
  151. data/config/initializers/views.rb +33 -33
  152. data/config/initializers/wrap_parameters.rb +14 -0
  153. data/config/locales/cz_fat_free_crm.yml +1 -1
  154. data/config/locales/de_fat_free_crm.yml +2 -2
  155. data/config/locales/en-GB_fat_free_crm.yml +2 -3
  156. data/config/locales/en-US_fat_free_crm.yml +2 -3
  157. data/config/locales/en.yml +23 -0
  158. data/config/locales/es-CL.yml +227 -0
  159. data/config/locales/es-CL_fat_free_crm.yml +929 -0
  160. data/config/locales/es-CL_ransack.yml +91 -0
  161. data/config/locales/es.yml +53 -59
  162. data/config/locales/es_fat_free_crm.yml +708 -370
  163. data/config/locales/es_ransack.yml +91 -0
  164. data/config/locales/fr-CA_fat_free_crm.yml +7 -7
  165. data/config/locales/fr_fat_free_crm.yml +285 -81
  166. data/config/locales/it_fat_free_crm.yml +1 -1
  167. data/config/locales/ja_fat_free_crm.yml +1 -1
  168. data/config/locales/nl.yml +210 -0
  169. data/config/locales/nl_fat_free_crm.yml +920 -0
  170. data/config/locales/nl_ransack.yml +91 -0
  171. data/config/locales/pl_fat_free_crm.yml +1 -1
  172. data/config/locales/pt-BR_fat_free_crm.yml +111 -38
  173. data/config/locales/ru_fat_free_crm.yml +3 -4
  174. data/config/locales/sv-SE_fat_free_crm.yml +1 -1
  175. data/config/locales/th.rb +157 -158
  176. data/config/locales/th_fat_free_crm.yml +1 -1
  177. data/config/locales/zh-CN_fat_free_crm.yml +3 -4
  178. data/config/routes.rb +93 -94
  179. data/config/unicorn.rb +25 -2
  180. data/custom_plan.rb +0 -2
  181. data/db/demo/accounts.yml +4 -5
  182. data/db/demo/addresses.yml +5 -5
  183. data/db/demo/campaigns.yml +2 -2
  184. data/db/demo/comments.yml +1 -1
  185. data/db/demo/contacts.yml +8 -8
  186. data/db/demo/emails.yml +5 -5
  187. data/db/demo/leads.yml +10 -10
  188. data/db/demo/opportunities.yml +2 -2
  189. data/db/demo/tasks.yml +2 -2
  190. data/db/demo/users.yml +12 -16
  191. data/db/migrate/20100928030598_create_sessions.rb +1 -2
  192. data/db/migrate/20100928030599_create_users.rb +24 -25
  193. data/db/migrate/20100928030600_create_openid_tables.rb +11 -12
  194. data/db/migrate/20100928030601_create_accounts.rb +14 -15
  195. data/db/migrate/20100928030602_create_permissions.rb +2 -3
  196. data/db/migrate/20100928030603_create_settings.rb +4 -5
  197. data/db/migrate/20100928030604_create_preferences.rb +3 -4
  198. data/db/migrate/20100928030605_create_campaigns.rb +19 -20
  199. data/db/migrate/20100928030606_create_leads.rb +26 -27
  200. data/db/migrate/20100928030607_create_contacts.rb +26 -27
  201. data/db/migrate/20100928030608_create_opportunities.rb +15 -16
  202. data/db/migrate/20100928030609_create_account_contacts.rb +2 -3
  203. data/db/migrate/20100928030610_create_account_opportunities.rb +2 -3
  204. data/db/migrate/20100928030611_create_contact_opportunities.rb +3 -4
  205. data/db/migrate/20100928030612_create_tasks.rb +14 -15
  206. data/db/migrate/20100928030613_create_comments.rb +6 -7
  207. data/db/migrate/20100928030614_create_activities.rb +6 -7
  208. data/db/migrate/20100928030615_create_avatars.rb +5 -6
  209. data/db/migrate/20100928030616_rename_remember_token.rb +0 -1
  210. data/db/migrate/20100928030617_drop_openid_tables.rb +11 -11
  211. data/db/migrate/20100928030618_add_admin_to_users.rb +1 -2
  212. data/db/migrate/20100928030619_add_suspended_to_users.rb +0 -1
  213. data/db/migrate/20100928030620_remove_uuid.rb +3 -3
  214. data/db/migrate/20100928030621_add_email_to_accounts.rb +1 -2
  215. data/db/migrate/20100928030622_add_background_info_to_models.rb +0 -1
  216. data/db/migrate/20100928030623_create_addresses.rb +14 -16
  217. data/db/migrate/20100928030624_add_index_on_permissions.rb +2 -3
  218. data/db/migrate/20100928030625_create_emails.rb +15 -16
  219. data/db/migrate/20100928030626_add_state_to_timeline_objects.rb +2 -3
  220. data/db/migrate/20100928030627_acts_as_taggable_on_migration.rb +2 -3
  221. data/db/migrate/20101221123456_add_single_access_token_to_users.rb +0 -1
  222. data/db/migrate/20101221345678_add_rating_and_category_to_accounts.rb +2 -3
  223. data/db/migrate/20110719082054_add_skype_to_contacts_and_leads.rb +2 -3
  224. data/db/migrate/20111101083437_create_fields.rb +14 -15
  225. data/db/migrate/20111101090312_create_field_groups.rb +4 -5
  226. data/db/migrate/20111116091952_add_field_groups_tag_id.rb +0 -1
  227. data/db/migrate/20111117041311_change_fields_collection_to_text.rb +0 -1
  228. data/db/migrate/20111201030535_add_field_groups_klass_name.rb +4 -4
  229. data/db/migrate/20120121054235_create_lists.rb +1 -1
  230. data/db/migrate/20120216031616_create_versions.rb +5 -5
  231. data/db/migrate/20120216042541_is_paranoid_to_paper_trail.rb +1 -3
  232. data/db/migrate/20120224073107_remove_default_value_and_clear_settings.rb +1 -1
  233. data/db/migrate/20120316045804_activities_to_versions.rb +6 -6
  234. data/db/migrate/20120405080727_change_subscribed_users_to_set.rb +5 -5
  235. data/db/migrate/20120405080742_change_further_subscribed_users_to_set.rb +5 -5
  236. data/db/migrate/20120406082136_create_groups.rb +1 -1
  237. data/db/migrate/20120510025219_add_not_null_constraints_for_timestamp_columns.rb +2 -1
  238. data/db/migrate/20120528102124_increase_length_of_version_events.rb +2 -2
  239. data/db/migrate/20121003063155_add_settings_to_custom_fields.rb +1 -1
  240. data/db/migrate/20121221033947_fix_country_mapping.rb +0 -1
  241. data/db/migrate/20131207033244_add_user_id_to_lists.rb +1 -1
  242. data/db/migrate/20141126031837_increase_email_to254_chars.rb +14 -14
  243. data/db/migrate/20141230021159_add_transaction_id_column_to_versions.rb +11 -0
  244. data/db/migrate/20141230205453_add_missing_unique_indices.acts_as_taggable_on_engine.rb +20 -0
  245. data/db/migrate/20141230205454_add_taggings_counter_cache_to_tags.acts_as_taggable_on_engine.rb +15 -0
  246. data/db/migrate/20141230205455_add_missing_taggable_index.acts_as_taggable_on_engine.rb +10 -0
  247. data/db/migrate/20150123060900_convert_radio_to_radio_buttons.rb +10 -0
  248. data/db/migrate/20150227123054_remove_last_request_at_from_users.rb +5 -0
  249. data/db/migrate/20150427131956_create_index_related_type.rb +9 -0
  250. data/db/migrate/20160511053730_add_account_contacts_index.rb +5 -0
  251. data/db/schema.rb +236 -228
  252. data/db/seeds.rb +1 -2
  253. data/db/seeds/fields.rb +36 -37
  254. data/{fig.yml → docker-compose.yml} +0 -0
  255. data/fat_free_crm.gemspec +31 -18
  256. data/lib/development_tasks/license.rake +29 -29
  257. data/lib/fat_free_crm.rb +1 -5
  258. data/lib/fat_free_crm/callback.rb +28 -20
  259. data/lib/fat_free_crm/comment_extensions.rb +1 -1
  260. data/lib/fat_free_crm/core_ext.rb +1 -1
  261. data/lib/fat_free_crm/core_ext/nil.rb +0 -3
  262. data/lib/fat_free_crm/core_ext/string.rb +7 -21
  263. data/lib/fat_free_crm/custom_fields.rb +2 -2
  264. data/lib/fat_free_crm/engine.rb +14 -0
  265. data/lib/fat_free_crm/errors.rb +0 -2
  266. data/lib/fat_free_crm/exceptions.rb +3 -4
  267. data/lib/fat_free_crm/export_csv.rb +0 -2
  268. data/lib/fat_free_crm/exportable.rb +5 -7
  269. data/lib/fat_free_crm/fields.rb +7 -8
  270. data/lib/fat_free_crm/gem_dependencies.rb +4 -1
  271. data/lib/fat_free_crm/gem_ext/active_record/schema_dumper.rb +2 -2
  272. data/lib/fat_free_crm/gem_ext/active_support/buffered_logger.rb +0 -3
  273. data/lib/fat_free_crm/gem_ext/rails/engine.rb +5 -12
  274. data/lib/fat_free_crm/gem_ext/rake/task.rb +1 -1
  275. data/lib/fat_free_crm/gem_ext/simple_form/action_view_extensions/form_helper.rb +1 -2
  276. data/lib/fat_free_crm/i18n.rb +2 -3
  277. data/lib/fat_free_crm/load_settings.rb +0 -2
  278. data/lib/fat_free_crm/mail_processor/base.rb +15 -16
  279. data/lib/fat_free_crm/mail_processor/comment_replies.rb +5 -10
  280. data/lib/fat_free_crm/mail_processor/dropbox.rb +56 -59
  281. data/lib/fat_free_crm/permissions.rb +18 -15
  282. data/lib/fat_free_crm/renderers.rb +2 -2
  283. data/lib/fat_free_crm/secret_token_generator.rb +3 -9
  284. data/lib/fat_free_crm/sortable.rb +4 -8
  285. data/lib/fat_free_crm/version.rb +2 -2
  286. data/lib/fat_free_crm/view_factory.rb +3 -8
  287. data/lib/gravatar_image_tag.rb +19 -24
  288. data/lib/missing_translation_detector.rb +10 -10
  289. data/lib/tasks/ffcrm/comment_replies.rake +3 -5
  290. data/lib/tasks/ffcrm/config.rake +3 -5
  291. data/lib/tasks/ffcrm/demo.rake +14 -16
  292. data/lib/tasks/ffcrm/dropbox.rake +3 -5
  293. data/lib/tasks/ffcrm/missing_translations.rake +1 -1
  294. data/lib/tasks/ffcrm/secret.rake +1 -3
  295. data/lib/tasks/ffcrm/settings.rake +2 -4
  296. data/lib/tasks/ffcrm/setup.rake +3 -6
  297. data/lib/tasks/ffcrm/update_data.rake +110 -116
  298. data/spec/controllers/admin/groups_controller_spec.rb +0 -1
  299. data/spec/controllers/admin/users_controller_spec.rb +98 -102
  300. data/spec/controllers/applications_controller_spec.rb +17 -21
  301. data/spec/controllers/authentications_controller_spec.rb +57 -61
  302. data/spec/controllers/comments_controller_spec.rb +32 -39
  303. data/spec/controllers/emails_controller_spec.rb +6 -7
  304. data/spec/controllers/entities/accounts_controller_spec.rb +204 -214
  305. data/spec/controllers/entities/campaigns_controller_spec.rb +210 -224
  306. data/spec/controllers/entities/contacts_controller_spec.rb +250 -270
  307. data/spec/controllers/entities/leads_controller_spec.rb +415 -438
  308. data/spec/controllers/entities/opportunities_controller_spec.rb +344 -359
  309. data/spec/controllers/entities_controller_spec.rb +10 -14
  310. data/spec/controllers/home_controller_spec.rb +85 -92
  311. data/spec/controllers/lists_controller_spec.rb +0 -1
  312. data/spec/controllers/passwords_controller_spec.rb +5 -9
  313. data/spec/controllers/tasks_controller_spec.rb +193 -210
  314. data/spec/controllers/users_controller_spec.rb +137 -146
  315. data/spec/factories/account_factories.rb +11 -13
  316. data/spec/factories/campaign_factories.rb +6 -6
  317. data/spec/factories/contact_factories.rb +21 -22
  318. data/spec/factories/field_factories.rb +8 -10
  319. data/spec/factories/lead_factories.rb +16 -16
  320. data/spec/factories/list_factories.rb +2 -2
  321. data/spec/factories/opportunity_factories.rb +8 -10
  322. data/spec/factories/sequences.rb +8 -9
  323. data/spec/factories/setting_factories.rb +2 -2
  324. data/spec/factories/shared_factories.rb +26 -30
  325. data/spec/factories/tag_factories.rb +1 -1
  326. data/spec/factories/task_factories.rb +11 -11
  327. data/spec/factories/user_factories.rb +22 -27
  328. data/spec/features/acceptance_helper.rb +1 -1
  329. data/spec/features/accounts_spec.rb +65 -61
  330. data/spec/features/admin/groups_spec.rb +11 -12
  331. data/spec/features/admin/users_spec.rb +17 -19
  332. data/spec/features/campaigns_spec.rb +61 -57
  333. data/spec/features/contacts_spec.rb +90 -59
  334. data/spec/features/dashboard_spec.rb +20 -21
  335. data/spec/features/leads_spec.rb +88 -67
  336. data/spec/features/opportunities_overview_spec.rb +31 -31
  337. data/spec/features/opportunities_spec.rb +64 -60
  338. data/spec/features/support/browser.rb +2 -2
  339. data/spec/features/support/headless.rb +1 -1
  340. data/spec/features/support/helpers.rb +5 -6
  341. data/spec/features/support/paths.rb +1 -2
  342. data/spec/features/support/selector_helpers.rb +2 -2
  343. data/spec/features/tasks_spec.rb +60 -54
  344. data/spec/helpers/accounts_helper_spec.rb +2 -5
  345. data/spec/helpers/admin/field_groups_helper_spec.rb +4 -4
  346. data/spec/helpers/admin/plugins_helper_spec.rb +0 -1
  347. data/spec/helpers/admin/settings_helper_spec.rb +0 -1
  348. data/spec/helpers/admin/users_helper_spec.rb +0 -1
  349. data/spec/helpers/application_helper_spec.rb +30 -33
  350. data/spec/helpers/authentications_helper_spec.rb +2 -5
  351. data/spec/helpers/campaigns_helper_spec.rb +2 -5
  352. data/spec/helpers/comments_helper_spec.rb +2 -5
  353. data/spec/helpers/contacts_helper_spec.rb +2 -5
  354. data/spec/helpers/emails_helper_spec.rb +0 -1
  355. data/spec/helpers/fields_helper_spec.rb +0 -1
  356. data/spec/helpers/groups_helper_spec.rb +0 -1
  357. data/spec/helpers/home_helper_spec.rb +2 -5
  358. data/spec/helpers/leads_helper_spec.rb +2 -5
  359. data/spec/helpers/lists_helper_spec.rb +0 -1
  360. data/spec/helpers/opportunities_helper_spec.rb +2 -5
  361. data/spec/helpers/passwords_helper_spec.rb +2 -5
  362. data/spec/helpers/tasks_helper_spec.rb +1 -5
  363. data/spec/helpers/users_helper_spec.rb +9 -11
  364. data/spec/lib/comment_extensions_spec.rb +3 -3
  365. data/spec/lib/core_ext/string_spec.rb +1 -1
  366. data/spec/lib/errors_spec.rb +10 -10
  367. data/spec/lib/fields_spec.rb +23 -33
  368. data/spec/lib/mail_processor/base_spec.rb +41 -43
  369. data/spec/lib/mail_processor/comment_replies_spec.rb +17 -17
  370. data/spec/lib/mail_processor/dropbox_spec.rb +91 -95
  371. data/spec/lib/mail_processor/sample_emails/dropbox.rb +13 -14
  372. data/spec/lib/permissions_spec.rb +44 -47
  373. data/spec/lib/secret_token_generator_spec.rb +16 -28
  374. data/spec/lib/view_factory_spec.rb +18 -24
  375. data/spec/mailers/subscription_mailer_spec.rb +14 -16
  376. data/spec/mailers/user_mailer_spec.rb +33 -34
  377. data/spec/models/entities/account_contact_spec.rb +2 -3
  378. data/spec/models/entities/account_opportunity_spec.rb +2 -3
  379. data/spec/models/entities/account_spec.rb +52 -59
  380. data/spec/models/entities/campaign_spec.rb +32 -39
  381. data/spec/models/entities/contact_opportunity_spec.rb +2 -3
  382. data/spec/models/entities/contact_spec.rb +71 -72
  383. data/spec/models/entities/lead_spec.rb +15 -22
  384. data/spec/models/entities/opportunity_spec.rb +104 -103
  385. data/spec/models/fields/custom_field_date_pair_spec.rb +38 -44
  386. data/spec/models/fields/custom_field_pair_spec.rb +28 -36
  387. data/spec/models/fields/custom_field_spec.rb +50 -56
  388. data/spec/models/fields/field_group_spec.rb +1 -2
  389. data/spec/models/fields/field_spec.rb +13 -15
  390. data/spec/models/list_spec.rb +4 -4
  391. data/spec/models/observers/entity_observer_spec.rb +18 -21
  392. data/spec/models/polymorphic/address_spec.rb +1 -3
  393. data/spec/models/polymorphic/avatar_spec.rb +6 -8
  394. data/spec/models/polymorphic/comment_spec.rb +7 -9
  395. data/spec/models/polymorphic/email_spec.rb +1 -2
  396. data/spec/models/polymorphic/task_spec.rb +130 -142
  397. data/spec/models/polymorphic/version_spec.rb +84 -91
  398. data/spec/models/setting_spec.rb +17 -19
  399. data/spec/models/users/abilities/user_ability_spec.rb +25 -20
  400. data/spec/models/users/authentication_spec.rb +0 -1
  401. data/spec/models/users/group_spec.rb +0 -1
  402. data/spec/models/users/permission_spec.rb +12 -13
  403. data/spec/models/users/preference_spec.rb +15 -15
  404. data/spec/models/users/user_spec.rb +53 -55
  405. data/spec/routing/accounts_routing_spec.rb +12 -14
  406. data/spec/routing/admin/users_routing_spec.rb +7 -9
  407. data/spec/routing/campaigns_routing_spec.rb +13 -14
  408. data/spec/routing/comments_routing_spec.rb +5 -6
  409. data/spec/routing/contacts_routing_spec.rb +12 -14
  410. data/spec/routing/emails_routing_spec.rb +7 -8
  411. data/spec/routing/leads_routing_spec.rb +19 -21
  412. data/spec/routing/opportunities_routing_spec.rb +13 -15
  413. data/spec/routing/tasks_routing_spec.rb +14 -15
  414. data/spec/routing/users_routing_spec.rb +18 -19
  415. data/spec/shared/controllers.rb +35 -35
  416. data/spec/shared/models.rb +52 -55
  417. data/spec/spec_helper.rb +21 -42
  418. data/spec/support/assert_select.rb +19 -18
  419. data/spec/support/auth_macros.rb +3 -3
  420. data/spec/support/macros.rb +5 -6
  421. data/spec/support/mail_processor_mocks.rb +11 -11
  422. data/spec/views/accounts/_edit.haml_spec.rb +9 -9
  423. data/spec/views/accounts/_new.haml_spec.rb +8 -9
  424. data/spec/views/accounts/create.js.haml_spec.rb +11 -12
  425. data/spec/views/accounts/destroy.js.haml_spec.rb +6 -7
  426. data/spec/views/accounts/edit.js.haml_spec.rb +12 -13
  427. data/spec/views/accounts/index.haml_spec.rb +8 -8
  428. data/spec/views/accounts/index.js.haml_spec.rb +7 -8
  429. data/spec/views/accounts/new.js.haml_spec.rb +7 -8
  430. data/spec/views/accounts/show.haml_spec.rb +11 -12
  431. data/spec/views/accounts/update.js.haml_spec.rb +18 -18
  432. data/spec/views/admin/field_groups/create.js.haml_spec.rb +8 -10
  433. data/spec/views/admin/field_groups/destroy.js.haml_spec.rb +7 -9
  434. data/spec/views/admin/field_groups/edit.js.haml_spec.rb +5 -7
  435. data/spec/views/admin/field_groups/new.js.haml_spec.rb +6 -8
  436. data/spec/views/admin/field_groups/update.js.haml_spec.rb +7 -9
  437. data/spec/views/admin/users/_create.haml_spec.rb +4 -4
  438. data/spec/views/admin/users/create.js.haml_spec.rb +8 -9
  439. data/spec/views/admin/users/destroy.js.haml_spec.rb +6 -6
  440. data/spec/views/admin/users/edit.js.haml_spec.rb +7 -9
  441. data/spec/views/admin/users/index.haml_spec.rb +4 -5
  442. data/spec/views/admin/users/index.js.haml_spec.rb +6 -8
  443. data/spec/views/admin/users/new.js.haml_spec.rb +4 -6
  444. data/spec/views/admin/users/reactivate.js.haml_spec.rb +4 -4
  445. data/spec/views/admin/users/show.haml_spec.rb +0 -1
  446. data/spec/views/admin/users/suspend.js.haml_spec.rb +4 -4
  447. data/spec/views/admin/users/update.js.haml_spec.rb +6 -7
  448. data/spec/views/application/auto_complete.haml_spec.rb +12 -14
  449. data/spec/views/authentications/new.haml_spec.rb +6 -7
  450. data/spec/views/campaigns/_edit.haml_spec.rb +9 -9
  451. data/spec/views/campaigns/_new.haml_spec.rb +8 -8
  452. data/spec/views/campaigns/create.js.haml_spec.rb +11 -12
  453. data/spec/views/campaigns/destroy.js.haml_spec.rb +7 -8
  454. data/spec/views/campaigns/edit.js.haml_spec.rb +12 -20
  455. data/spec/views/campaigns/index.haml_spec.rb +6 -7
  456. data/spec/views/campaigns/index.js.haml_spec.rb +9 -10
  457. data/spec/views/campaigns/new.js.haml_spec.rb +7 -8
  458. data/spec/views/campaigns/show.haml_spec.rb +12 -13
  459. data/spec/views/campaigns/update.js.haml_spec.rb +16 -16
  460. data/spec/views/comments/edit.js.haml_spec.rb +7 -7
  461. data/spec/views/contacts/_edit.haml_spec.rb +21 -21
  462. data/spec/views/contacts/_new.haml_spec.rb +12 -13
  463. data/spec/views/contacts/create.js.haml_spec.rb +12 -13
  464. data/spec/views/contacts/destroy.js.haml_spec.rb +6 -7
  465. data/spec/views/contacts/edit.js.haml_spec.rb +15 -17
  466. data/spec/views/contacts/index.haml_spec.rb +6 -7
  467. data/spec/views/contacts/index.js.html_spec.rb +7 -8
  468. data/spec/views/contacts/new.js.haml_spec.rb +8 -9
  469. data/spec/views/contacts/show.haml_spec.rb +9 -10
  470. data/spec/views/contacts/update.js.haml_spec.rb +26 -26
  471. data/spec/views/home/index.haml_spec.rb +4 -5
  472. data/spec/views/home/index.js.haml_spec.rb +6 -7
  473. data/spec/views/home/options.js.haml_spec.rb +10 -10
  474. data/spec/views/leads/_convert.haml_spec.rb +5 -6
  475. data/spec/views/leads/_edit.haml_spec.rb +13 -13
  476. data/spec/views/leads/_new.haml_spec.rb +11 -11
  477. data/spec/views/leads/_sidebar_show.haml_spec.rb +9 -9
  478. data/spec/views/leads/convert.js.haml_spec.rb +16 -17
  479. data/spec/views/leads/create.js.haml_spec.rb +16 -17
  480. data/spec/views/leads/destroy.js.haml_spec.rb +10 -11
  481. data/spec/views/leads/edit.js.haml_spec.rb +16 -17
  482. data/spec/views/leads/index.haml_spec.rb +7 -8
  483. data/spec/views/leads/index.js.haml_spec.rb +10 -11
  484. data/spec/views/leads/new.js.haml_spec.rb +8 -9
  485. data/spec/views/leads/promote.js.haml_spec.rb +30 -31
  486. data/spec/views/leads/reject.js.haml_spec.rb +10 -11
  487. data/spec/views/leads/show.haml_spec.rb +7 -8
  488. data/spec/views/leads/update.js.haml_spec.rb +28 -29
  489. data/spec/views/opportunities/_edit.haml_spec.rb +19 -19
  490. data/spec/views/opportunities/_new.haml_spec.rb +10 -10
  491. data/spec/views/opportunities/create.js.haml_spec.rb +19 -20
  492. data/spec/views/opportunities/destroy.js.haml_spec.rb +14 -15
  493. data/spec/views/opportunities/edit.js.haml_spec.rb +14 -16
  494. data/spec/views/opportunities/index.haml_spec.rb +6 -7
  495. data/spec/views/opportunities/index.js.haml_spec.rb +7 -8
  496. data/spec/views/opportunities/new.js.haml_spec.rb +8 -9
  497. data/spec/views/opportunities/show.haml_spec.rb +9 -10
  498. data/spec/views/opportunities/update.js.haml_spec.rb +35 -35
  499. data/spec/views/tasks/_edit.haml_spec.rb +9 -9
  500. data/spec/views/tasks/complete.js.haml_spec.rb +11 -12
  501. data/spec/views/tasks/create.js.haml_spec.rb +29 -31
  502. data/spec/views/tasks/destroy.js.haml_spec.rb +8 -8
  503. data/spec/views/tasks/edit.js.haml_spec.rb +12 -15
  504. data/spec/views/tasks/index.haml_spec.rb +7 -7
  505. data/spec/views/tasks/new.js.haml_spec.rb +7 -8
  506. data/spec/views/tasks/uncomplete.js.haml_spec.rb +6 -6
  507. data/spec/views/tasks/update.js.haml_spec.rb +41 -44
  508. data/spec/views/users/avatar.js.haml_spec.rb +7 -8
  509. data/spec/views/users/change_password.js.haml_spec.rb +9 -10
  510. data/spec/views/users/edit.js.haml_spec.rb +7 -8
  511. data/spec/views/users/password.js.haml_spec.rb +8 -9
  512. data/spec/views/users/update.js.haml_spec.rb +6 -7
  513. data/spec/views/users/upload_avatar.js.haml_spec.rb +9 -9
  514. data/vendor/assets/javascripts/jquery_timeago/index.js +2 -0
  515. data/vendor/assets/javascripts/jquery_timeago/jquery.timeago.es-CL.js +18 -0
  516. data/vendor/assets/javascripts/jquery_timeago/jquery.timeago.nl.js +20 -0
  517. data/vendor/assets/javascripts/jquery_ui_datepicker/jquery-ui-timepicker-es-CL.js +20 -0
  518. data/vendor/assets/javascripts/jquery_ui_datepicker/jquery.ui.datepicker-es-CL.js +23 -0
  519. data/vendor/assets/javascripts/jquery_ui_datepicker/jquery.ui.datepicker-nl.js +21 -0
  520. data/vendor/assets/stylesheets/{jquery-ui.custom.css → jquery-ui.custom.scss} +52 -51
  521. data/vendor/gems/globby-0.1.2/LICENSE.txt +20 -0
  522. data/vendor/gems/globby-0.1.2/README.md +65 -0
  523. data/vendor/gems/globby-0.1.2/Rakefile +9 -0
  524. data/vendor/gems/globby-0.1.2/lib/globby.rb +47 -0
  525. data/vendor/gems/globby-0.1.2/lib/globby/glob.rb +90 -0
  526. data/vendor/gems/globby-0.1.2/lib/globby/globject.rb +18 -0
  527. data/vendor/gems/globby-0.1.2/lib/globby/result.rb +20 -0
  528. data/vendor/gems/globby-0.1.2/spec/gitignore_spec.rb +109 -0
  529. data/vendor/gems/globby-0.1.2/spec/globby_spec.rb +93 -0
  530. metadata +177 -55
  531. data/Gemfile.ci +0 -13
  532. data/config/initializers/sass.rb +0 -18
  533. data/lib/country_select.rb +0 -570
  534. data/lib/fat_free_crm/plugin.rb +0 -94
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ce186159c267064d32924e1116da602a875ea3de
4
- data.tar.gz: ff0fd2379f861a86297a01c7c0499aee392410ac
3
+ metadata.gz: 972425d38619d7d68e3bd38cb48100330eccfb4e
4
+ data.tar.gz: 277d1c9ced5c9aab08401055ac99225c5e4e2698
5
5
  SHA512:
6
- metadata.gz: b65a6ab2b4e1c51f92995c3db7aafb8eacdb98c3c3e3a3af1a2f4dcf32027a6e7c0583ff3fdef4277aaca648d07236e79db01521389286416ffe4f7d78fb41f9
7
- data.tar.gz: 27595bcf7d5a1e20496804426fde316ce1a1e06f27780afe9ac270ecbdcd16104278afeaa82eae6c93bb782d195cb1cde58be2dfc27838002172daeb4d4cf9f5
6
+ metadata.gz: f6de1f85df7655e8291f9aeb443feeb6903a26022ae80814c43455d9c19a7d32454d2d8e59519b837e8a2ba916a5865b9f286fe35296f4455da68809b0d7545c
7
+ data.tar.gz: 99cc9eb122da724fffbdfae33738b10453dc4c366b0f67e1a1164f58ab074006033bc95475966b21bf8ed13e83fd395070944d278b505ff6afee66ba8725e052
@@ -0,0 +1,5 @@
1
+ StringLiterals:
2
+ Enabled: false
3
+
4
+ Metrics/LineLength:
5
+ Enabled: false
@@ -1,16 +1,19 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
- - 1.9.3
5
- - 2.0.0
6
- - 2.1.5
7
-
4
+ - 2.2
5
+ - 2.3.3
8
6
  env:
9
7
  - DB=mysql
10
8
  - DB=postgres
11
9
  - DB=sqlite
12
10
 
13
- gemfile: Gemfile.ci
11
+ matrix:
12
+ exclude:
13
+ - rvm: 2.2
14
+ env: DB=mysql
15
+ - rvm: 2.2
16
+ env: DB=sqlite
14
17
 
15
18
  bundler_args: --path=vendor/bundle --without heroku
16
19
 
data/CHANGELOG CHANGED
@@ -4,6 +4,32 @@ It does not matter how slowly you go as long as you do not stop.
4
4
  First they ignore you, then they laugh at you, then they fight you,
5
5
  then you win. –- Mahatma Gandhi
6
6
 
7
+ Mon, Dec 5, 2016 (0.14.0)
8
+ ---------------------------------------------------------------------
9
+ Forked to publish 'reduced_fat_crm', a version of fat-free-crm with
10
+ more pull requests merged and more contributors.
11
+
12
+ At this stage, no classes etc have been renamed.
13
+
14
+ - Various security fixes
15
+ - Enable CORS headers
16
+ - Ruby 2.0 or less dropped from CI
17
+
18
+
19
+ Missing release notes
20
+ ---------------------------------------------------------------------
21
+ 0.13.6 - February 12, 2015
22
+ 0.13.5 - January 22, 2015
23
+ 0.13.4 - September 4, 2014
24
+ 0.13.3 - August 26, 2014
25
+ 0.13.2 - January 9, 2014
26
+ 0.13.1 - January 7, 2014
27
+ 0.13.0 - December 27, 2013
28
+ 0.12.3 - January 9, 2014
29
+ 0.12.2 - January 7, 2014
30
+ 0.12.1 - December 27, 2013
31
+
32
+
7
33
  Fri, Jun 28, 2013 (0.12.0)
8
34
  ---------------------------------------------------------------------
9
35
  - Ruby 1.9 support only (no ruby 1.8 and not yet ruby 2)
data/Gemfile CHANGED
@@ -2,13 +2,19 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Uncomment the database that you have configured in config/database.yml
4
4
  # ----------------------------------------------------------------------
5
- # gem 'mysql2'
6
- # gem 'sqlite3'
7
- gem 'pg'
5
+ case ENV['CI'] && ENV['DB']
6
+ when "mysql"; gem "mysql2"
7
+ when "sqlite"; gem "sqlite3"
8
+ when "postgres"; gem "pg"
9
+ else
10
+ # gem 'mysql2'
11
+ # gem 'sqlite3'
12
+ gem 'pg'
13
+ end
8
14
 
9
15
  # Removes a gem dependency
10
16
  def remove(name)
11
- @dependencies.reject! {|d| d.name == name }
17
+ @dependencies.reject! { |d| d.name == name }
12
18
  end
13
19
 
14
20
  # Replaces an existing gem dependency (e.g. from gemspec) with an alternate source.
@@ -20,13 +26,13 @@ end
20
26
  # Bundler no longer treats runtime dependencies as base dependencies.
21
27
  # The following code restores this behaviour.
22
28
  # (See https://github.com/carlhuda/bundler/issues/1041)
23
- spec = Bundler.load_gemspec( File.expand_path("../fat_free_crm.gemspec", __FILE__) )
29
+ spec = Bundler.load_gemspec(File.expand_path("../fat_free_crm.gemspec", __FILE__))
24
30
  spec.runtime_dependencies.each do |dep|
25
31
  gem dep.name, *(dep.requirement.as_list)
26
32
  end
27
33
 
28
34
  # Remove premailer auto-require
29
- gem 'premailer', :require => false
35
+ gem 'premailer', require: false
30
36
 
31
37
  # Remove fat_free_crm dependency, to stop it from being auto-required too early.
32
38
  remove 'fat_free_crm'
@@ -45,18 +51,19 @@ group :development do
45
51
  gem 'guard'
46
52
  gem 'guard-rspec'
47
53
  gem 'guard-rails'
48
- gem 'rb-inotify', :require => false
49
- gem 'rb-fsevent', :require => false
50
- gem 'rb-fchange', :require => false
54
+ gem 'rb-inotify', require: false
55
+ gem 'rb-fsevent', require: false
56
+ gem 'rb-fchange', require: false
51
57
  end
52
58
  end
53
59
 
54
60
  group :development, :test do
55
- gem 'rspec-rails', '~> 2'
61
+ gem 'rspec-rails'
62
+ gem 'rspec-activemodel-mocks'
56
63
  gem 'headless'
57
- gem 'debugger', :platforms => 'mri_19' unless ENV["CI"]
58
- gem 'byebug', :platforms => ['mri_20', 'mri_21'] unless ENV["CI"]
64
+ gem 'byebug'
59
65
  gem 'pry-rails' unless ENV["CI"]
66
+ gem 'factory_girl_rails'
60
67
  end
61
68
 
62
69
  group :test do
@@ -64,25 +71,18 @@ group :test do
64
71
  gem 'selenium-webdriver'
65
72
  gem 'database_cleaner'
66
73
  gem "acts_as_fu"
67
- gem 'factory_girl_rails'
68
74
  gem 'zeus' unless ENV["CI"]
69
- gem 'coveralls', :require => false
70
75
  gem 'timecop'
71
76
  end
72
77
 
73
78
  group :heroku do
74
- gem 'unicorn', :platform => :ruby
79
+ gem 'unicorn', platform: :ruby
75
80
  gem 'rails_12factor'
76
81
  end
77
82
 
78
- # Gems used only for assets and not required
79
- # in production environments by default.
80
- group :assets do
81
- gem 'sass-rails', '~> 3.2.3'
82
- gem 'coffee-rails', '~> 3.2.1'
83
- gem 'uglifier', '>= 1.0.3'
84
- gem 'execjs'
85
- gem 'therubyracer', :platform => :ruby unless ENV["CI"]
86
- end
87
-
88
- gem 'turbo-sprockets-rails3'
83
+ gem 'sass-rails'
84
+ gem 'coffee-rails'
85
+ gem 'uglifier'
86
+ gem 'execjs'
87
+ gem 'therubyracer', platform: :ruby unless ENV["CI"]
88
+ gem 'nokogiri', '>= 1.6.8'
@@ -1,400 +1,430 @@
1
1
  GEM
2
2
  remote: https://rubygems.org/
3
3
  specs:
4
- actionmailer (3.2.21)
5
- actionpack (= 3.2.21)
6
- mail (~> 2.5.4)
7
- actionpack (3.2.21)
8
- activemodel (= 3.2.21)
9
- activesupport (= 3.2.21)
10
- builder (~> 3.0.0)
4
+ actionmailer (4.2.7.1)
5
+ actionpack (= 4.2.7.1)
6
+ actionview (= 4.2.7.1)
7
+ activejob (= 4.2.7.1)
8
+ mail (~> 2.5, >= 2.5.4)
9
+ rails-dom-testing (~> 1.0, >= 1.0.5)
10
+ actionpack (4.2.7.1)
11
+ actionview (= 4.2.7.1)
12
+ activesupport (= 4.2.7.1)
13
+ rack (~> 1.6)
14
+ rack-test (~> 0.6.2)
15
+ rails-dom-testing (~> 1.0, >= 1.0.5)
16
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
17
+ actionview (4.2.7.1)
18
+ activesupport (= 4.2.7.1)
19
+ builder (~> 3.1)
11
20
  erubis (~> 2.7.0)
12
- journey (~> 1.0.4)
13
- rack (~> 1.4.5)
14
- rack-cache (~> 1.2)
15
- rack-test (~> 0.6.1)
16
- sprockets (~> 2.2.1)
17
- activemodel (3.2.21)
18
- activesupport (= 3.2.21)
19
- builder (~> 3.0.0)
20
- activerecord (3.2.21)
21
- activemodel (= 3.2.21)
22
- activesupport (= 3.2.21)
23
- arel (~> 3.0.2)
24
- tzinfo (~> 0.3.29)
25
- activeresource (3.2.21)
26
- activemodel (= 3.2.21)
27
- activesupport (= 3.2.21)
28
- activesupport (3.2.21)
29
- i18n (~> 0.6, >= 0.6.4)
30
- multi_json (~> 1.0)
31
- acts-as-taggable-on (2.3.3)
32
- rails (~> 3.0)
33
- acts_as_commentable (3.0.1)
21
+ rails-dom-testing (~> 1.0, >= 1.0.5)
22
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
23
+ activejob (4.2.7.1)
24
+ activesupport (= 4.2.7.1)
25
+ globalid (>= 0.3.0)
26
+ activemodel (4.2.7.1)
27
+ activesupport (= 4.2.7.1)
28
+ builder (~> 3.1)
29
+ activerecord (4.2.7.1)
30
+ activemodel (= 4.2.7.1)
31
+ activesupport (= 4.2.7.1)
32
+ arel (~> 6.0)
33
+ activesupport (4.2.7.1)
34
+ i18n (~> 0.7)
35
+ json (~> 1.7, >= 1.7.7)
36
+ minitest (~> 5.1)
37
+ thread_safe (~> 0.3, >= 0.3.4)
38
+ tzinfo (~> 1.1)
39
+ acts-as-taggable-on (3.5.0)
40
+ activerecord (>= 3.2, < 5)
41
+ acts_as_commentable (4.0.2)
34
42
  acts_as_fu (0.0.9)
35
43
  activerecord
36
44
  sqlite3
37
- acts_as_list (0.1.9)
38
- addressable (2.3.6)
39
- arel (3.0.3)
40
- authlogic (3.1.0)
41
- activerecord (>= 3.0.7)
42
- activerecord (>= 3.0.7)
43
- builder (3.0.4)
44
- byebug (3.5.1)
45
- columnize (~> 0.8)
46
- debugger-linecache (~> 1.2)
47
- slop (~> 3.6)
48
- cancan (1.6.10)
49
- capistrano (3.3.5)
50
- capistrano-stats (~> 1.1.0)
45
+ acts_as_list (0.7.2)
46
+ activerecord (>= 3.0)
47
+ addressable (2.5.0)
48
+ public_suffix (~> 2.0, >= 2.0.2)
49
+ arel (6.0.3)
50
+ authlogic (3.4.6)
51
+ activerecord (>= 3.2)
52
+ activesupport (>= 3.2)
53
+ request_store (~> 1.0)
54
+ scrypt (>= 1.2, < 3.0)
55
+ builder (3.2.2)
56
+ byebug (8.2.1)
57
+ cancancan (1.15.0)
58
+ capistrano (3.4.0)
51
59
  i18n
52
60
  rake (>= 10.0.0)
53
61
  sshkit (~> 1.3)
54
- capistrano-bundler (1.1.3)
62
+ capistrano-bundler (1.1.4)
55
63
  capistrano (~> 3.1)
56
64
  sshkit (~> 1.2)
57
- capistrano-rails (1.1.2)
65
+ capistrano-rails (1.1.5)
58
66
  capistrano (~> 3.1)
59
67
  capistrano-bundler (~> 1.1)
60
68
  capistrano-rvm (0.1.2)
61
69
  capistrano (~> 3.0)
62
70
  sshkit (~> 1.2)
63
- capistrano-stats (1.1.1)
64
- capybara (2.4.4)
71
+ capybara (2.5.0)
65
72
  mime-types (>= 1.16)
66
73
  nokogiri (>= 1.3.3)
67
74
  rack (>= 1.0.0)
68
75
  rack-test (>= 0.5.4)
69
76
  xpath (~> 2.0)
70
- celluloid (0.16.0)
71
- timers (~> 4.0.0)
72
- childprocess (0.5.5)
77
+ childprocess (0.5.9)
73
78
  ffi (~> 1.0, >= 1.0.11)
74
79
  chronic (0.10.2)
75
80
  climate_control (0.0.3)
76
81
  activesupport (>= 3.0)
77
- cocaine (0.5.5)
82
+ cocaine (0.5.8)
78
83
  climate_control (>= 0.0.3, < 1.0)
79
- coderay (1.1.0)
80
- coffee-rails (3.2.2)
84
+ coderay (1.1.1)
85
+ coffee-rails (4.1.1)
81
86
  coffee-script (>= 2.2.0)
82
- railties (~> 3.2.0)
83
- coffee-script (2.3.0)
87
+ railties (>= 4.0.0, < 5.1.x)
88
+ coffee-script (2.4.1)
84
89
  coffee-script-source
85
90
  execjs
86
91
  coffee-script-source (1.8.0)
87
- colorize (0.7.5)
88
- columnize (0.9.0)
89
- coveralls (0.7.1)
90
- multi_json (~> 1.3)
91
- rest-client
92
- simplecov (>= 0.7)
93
- term-ansicolor
94
- thor
95
- css_parser (1.3.5)
92
+ concurrent-ruby (1.0.2)
93
+ countries (1.2.2)
94
+ currencies (~> 0.4.2)
95
+ i18n_data (~> 0.7.0)
96
+ country_select (2.5.1)
97
+ countries (~> 1.2.0)
98
+ sort_alphabetical (~> 1.0)
99
+ css_parser (1.4.7)
96
100
  addressable
97
- daemons (1.1.9)
98
- database_cleaner (1.3.0)
99
- debugger (1.6.8)
100
- columnize (>= 0.3.1)
101
- debugger-linecache (~> 1.2.0)
102
- debugger-ruby_core_source (~> 1.3.5)
103
- debugger-linecache (1.2.0)
104
- debugger-ruby_core_source (1.3.7)
101
+ currencies (0.4.2)
102
+ daemons (1.2.4)
103
+ database_cleaner (1.5.1)
105
104
  diff-lcs (1.2.5)
106
- docile (1.1.5)
107
105
  dynamic_form (1.1.4)
108
106
  email_reply_parser_ffcrm (0.5.0)
109
107
  erubis (2.7.0)
110
- eventmachine (1.0.4)
111
- execjs (2.2.2)
112
- factory_girl (4.5.0)
108
+ eventmachine (1.2.1)
109
+ execjs (2.6.0)
110
+ factory_girl (4.7.0)
113
111
  activesupport (>= 3.0.0)
114
- factory_girl_rails (4.5.0)
115
- factory_girl (~> 4.5.0)
112
+ factory_girl_rails (4.7.0)
113
+ factory_girl (~> 4.7.0)
116
114
  railties (>= 3.0.0)
117
- ffaker (1.25.0)
118
- ffi (1.9.6)
119
- font-awesome-rails (4.2.0.0)
115
+ ffaker (2.1.0)
116
+ ffi (1.9.14)
117
+ ffi-compiler (1.0.1)
118
+ ffi (>= 1.0.0)
119
+ rake
120
+ font-awesome-rails (4.5.0.0)
120
121
  railties (>= 3.2, < 5.0)
121
122
  formatador (0.2.5)
122
- guard (2.10.5)
123
+ globalid (0.3.7)
124
+ activesupport (>= 4.1.0)
125
+ guard (2.13.0)
123
126
  formatador (>= 0.2.4)
124
- listen (~> 2.7)
127
+ listen (>= 2.7, <= 4.0)
125
128
  lumberjack (~> 1.0)
126
129
  nenv (~> 0.1)
130
+ notiffany (~> 0.0)
127
131
  pry (>= 0.9.12)
132
+ shellany (~> 0.0)
128
133
  thor (>= 0.18.1)
129
- guard-compat (1.2.0)
130
- guard-rails (0.7.0)
131
- guard (~> 2.0)
132
- guard-rspec (4.5.0)
134
+ guard-compat (1.2.1)
135
+ guard-rails (0.7.2)
136
+ guard (~> 2.11)
137
+ guard-compat (~> 1.0)
138
+ guard-rspec (4.6.4)
133
139
  guard (~> 2.1)
134
140
  guard-compat (~> 1.1)
135
141
  rspec (>= 2.99.0, < 4.0)
136
- haml (4.0.6)
142
+ haml (4.0.7)
137
143
  tilt
138
- headless (1.0.2)
139
- hike (1.2.3)
140
- hitimes (1.2.2)
141
- htmlentities (4.3.3)
144
+ headless (2.2.0)
145
+ htmlentities (4.3.4)
142
146
  i18n (0.7.0)
143
- journey (1.0.4)
144
- jquery-rails (2.1.4)
145
- railties (>= 3.0, < 5.0)
147
+ i18n_data (0.7.0)
148
+ jquery-migrate-rails (1.2.1)
149
+ jquery-rails (4.0.5)
150
+ rails-dom-testing (~> 1.0)
151
+ railties (>= 4.2.0)
146
152
  thor (>= 0.14, < 2.0)
147
- json (1.8.1)
148
- kgio (2.9.2)
149
- libv8 (3.16.14.7)
150
- listen (2.8.4)
151
- celluloid (>= 0.15.2)
153
+ jquery-ui-rails (5.0.5)
154
+ railties (>= 3.2.16)
155
+ json (1.8.3)
156
+ kgio (2.10.0)
157
+ libv8 (3.16.14.17)
158
+ listen (3.0.5)
152
159
  rb-fsevent (>= 0.9.3)
153
160
  rb-inotify (>= 0.9)
154
- lumberjack (1.0.9)
155
- mail (2.5.4)
156
- mime-types (~> 1.16)
157
- treetop (~> 1.4.8)
161
+ loofah (2.0.3)
162
+ nokogiri (>= 1.5.9)
163
+ lumberjack (1.0.10)
164
+ mail (2.6.4)
165
+ mime-types (>= 1.16, < 4)
158
166
  method_source (0.8.2)
159
- mime-types (1.25.1)
160
- mini_portile (0.6.1)
161
- multi_json (1.10.1)
162
- nenv (0.1.1)
167
+ mime-types (3.1)
168
+ mime-types-data (~> 3.2015)
169
+ mime-types-data (3.2016.0521)
170
+ mimemagic (0.3.0)
171
+ mini_portile2 (2.1.0)
172
+ minitest (5.10.0)
173
+ multi_json (1.11.2)
174
+ nenv (0.3.0)
163
175
  net-scp (1.2.1)
164
176
  net-ssh (>= 2.6.5)
165
- net-ssh (2.9.1)
166
- netrc (0.10.2)
167
- nokogiri (1.6.5)
168
- mini_portile (~> 0.6.0)
169
- paper_trail (2.7.2)
170
- activerecord (~> 3.0)
171
- railties (~> 3.0)
172
- paperclip (4.2.1)
173
- activemodel (>= 3.0.0)
174
- activesupport (>= 3.0.0)
175
- cocaine (~> 0.5.3)
177
+ net-ssh (3.2.0)
178
+ nokogiri (1.6.8.1)
179
+ mini_portile2 (~> 2.1.0)
180
+ notiffany (0.0.8)
181
+ nenv (~> 0.1)
182
+ shellany (~> 0.0)
183
+ paper_trail (4.0.1)
184
+ activerecord (>= 3.0, < 6.0)
185
+ activesupport (>= 3.0, < 6.0)
186
+ request_store (~> 1.1)
187
+ paperclip (4.3.6)
188
+ activemodel (>= 3.2.0)
189
+ activesupport (>= 3.2.0)
190
+ cocaine (~> 0.5.5)
176
191
  mime-types
177
- pg (0.17.1)
178
- polyamorous (0.6.4)
192
+ mimemagic (= 0.3.0)
193
+ pg (0.18.4)
194
+ polyamorous (1.3.0)
179
195
  activerecord (>= 3.0)
180
- polyglot (0.3.5)
181
- premailer (1.8.2)
182
- css_parser (>= 1.3.5)
196
+ premailer (1.8.6)
197
+ css_parser (>= 1.3.6)
183
198
  htmlentities (>= 4.0.0)
184
- pry (0.10.1)
199
+ pry (0.10.4)
185
200
  coderay (~> 1.1.0)
186
201
  method_source (~> 0.8.1)
187
202
  slop (~> 3.4)
188
- pry-rails (0.3.2)
203
+ pry-rails (0.3.4)
189
204
  pry (>= 0.9.10)
205
+ public_suffix (2.0.4)
190
206
  quiet_assets (1.1.0)
191
207
  railties (>= 3.1, < 5.0)
192
- rack (1.4.5)
193
- rack-cache (1.2)
194
- rack (>= 0.4)
195
- rack-ssl (1.3.4)
196
- rack
197
- rack-test (0.6.2)
208
+ rack (1.6.5)
209
+ rack-test (0.6.3)
198
210
  rack (>= 1.0)
199
- rails (3.2.21)
200
- actionmailer (= 3.2.21)
201
- actionpack (= 3.2.21)
202
- activerecord (= 3.2.21)
203
- activeresource (= 3.2.21)
204
- activesupport (= 3.2.21)
205
- bundler (~> 1.0)
206
- railties (= 3.2.21)
207
- rails3-jquery-autocomplete (1.0.14)
208
- rails (>= 3.0)
211
+ rails (4.2.7.1)
212
+ actionmailer (= 4.2.7.1)
213
+ actionpack (= 4.2.7.1)
214
+ actionview (= 4.2.7.1)
215
+ activejob (= 4.2.7.1)
216
+ activemodel (= 4.2.7.1)
217
+ activerecord (= 4.2.7.1)
218
+ activesupport (= 4.2.7.1)
219
+ bundler (>= 1.3.0, < 2.0)
220
+ railties (= 4.2.7.1)
221
+ sprockets-rails
222
+ rails-deprecated_sanitizer (1.0.3)
223
+ activesupport (>= 4.2.0.alpha)
224
+ rails-dom-testing (1.0.7)
225
+ activesupport (>= 4.2.0.beta, < 5.0)
226
+ nokogiri (~> 1.6.0)
227
+ rails-deprecated_sanitizer (>= 1.0.1)
228
+ rails-html-sanitizer (1.0.3)
229
+ loofah (~> 2.0)
230
+ rails-observers (0.1.2)
231
+ activemodel (~> 4.0)
232
+ rails3-jquery-autocomplete (1.0.15)
233
+ rails (>= 3.2)
209
234
  rails_12factor (0.0.3)
210
235
  rails_serve_static_assets
211
236
  rails_stdout_logging
212
237
  rails_autolink (1.1.6)
213
238
  rails (> 3.1)
214
- rails_serve_static_assets (0.0.3)
215
- rails_stdout_logging (0.0.3)
216
- railties (3.2.21)
217
- actionpack (= 3.2.21)
218
- activesupport (= 3.2.21)
219
- rack-ssl (~> 1.3.2)
239
+ rails_serve_static_assets (0.0.4)
240
+ rails_stdout_logging (0.0.4)
241
+ railties (4.2.7.1)
242
+ actionpack (= 4.2.7.1)
243
+ activesupport (= 4.2.7.1)
220
244
  rake (>= 0.8.7)
221
- rdoc (~> 3.4)
222
- thor (>= 0.14.6, < 2.0)
223
- raindrops (0.13.0)
224
- rake (10.4.2)
225
- ransack (1.1.0)
245
+ thor (>= 0.18.1, < 2.0)
246
+ raindrops (0.17.0)
247
+ rake (11.3.0)
248
+ ransack (1.6.6)
226
249
  actionpack (>= 3.0)
227
250
  activerecord (>= 3.0)
228
- polyamorous (~> 0.6.0)
251
+ activesupport (>= 3.0)
252
+ i18n
253
+ polyamorous (~> 1.2)
229
254
  ransack_chronic (1.1.0)
230
255
  chronic (>= 0.6.7)
231
- ransack_ui (1.2.2)
256
+ ransack_ui (1.3.4)
232
257
  ransack
233
258
  ransack_chronic (>= 1.1.0)
234
259
  rb-fchange (0.0.6)
235
260
  ffi
236
- rb-fsevent (0.9.4)
237
- rb-inotify (0.9.5)
261
+ rb-fsevent (0.9.8)
262
+ rb-inotify (0.9.7)
238
263
  ffi (>= 0.5.0)
239
- rdoc (3.12.2)
240
- json (~> 1.4)
241
- ref (1.0.5)
264
+ ref (2.0.0)
265
+ request_store (1.2.1)
266
+ responders (2.1.1)
267
+ railties (>= 4.2.0, < 5.1)
242
268
  responds_to_parent (1.1.0)
243
- rest-client (1.7.2)
244
- mime-types (>= 1.16, < 3.0)
245
- netrc (~> 0.7)
246
- rspec (2.99.0)
247
- rspec-core (~> 2.99.0)
248
- rspec-expectations (~> 2.99.0)
249
- rspec-mocks (~> 2.99.0)
250
- rspec-collection_matchers (1.1.2)
251
- rspec-expectations (>= 2.99.0.beta1)
252
- rspec-core (2.99.2)
253
- rspec-expectations (2.99.2)
254
- diff-lcs (>= 1.1.3, < 2.0)
255
- rspec-mocks (2.99.2)
256
- rspec-rails (2.99.0)
257
- actionpack (>= 3.0)
269
+ rspec (3.5.0)
270
+ rspec-core (~> 3.5.0)
271
+ rspec-expectations (~> 3.5.0)
272
+ rspec-mocks (~> 3.5.0)
273
+ rspec-activemodel-mocks (1.0.2)
258
274
  activemodel (>= 3.0)
259
275
  activesupport (>= 3.0)
276
+ rspec-mocks (>= 2.99, < 4.0)
277
+ rspec-core (3.5.4)
278
+ rspec-support (~> 3.5.0)
279
+ rspec-expectations (3.5.0)
280
+ diff-lcs (>= 1.2.0, < 2.0)
281
+ rspec-support (~> 3.5.0)
282
+ rspec-mocks (3.5.0)
283
+ diff-lcs (>= 1.2.0, < 2.0)
284
+ rspec-support (~> 3.5.0)
285
+ rspec-rails (3.5.2)
286
+ actionpack (>= 3.0)
287
+ activesupport (>= 3.0)
260
288
  railties (>= 3.0)
261
- rspec-collection_matchers
262
- rspec-core (~> 2.99.0)
263
- rspec-expectations (~> 2.99.0)
264
- rspec-mocks (~> 2.99.0)
265
- rubyzip (1.1.6)
266
- sass (3.4.9)
267
- sass-rails (3.2.6)
268
- railties (~> 3.2.0)
269
- sass (>= 3.1.10)
270
- tilt (~> 1.3)
271
- select2-rails (3.5.9.1)
289
+ rspec-core (~> 3.5.0)
290
+ rspec-expectations (~> 3.5.0)
291
+ rspec-mocks (~> 3.5.0)
292
+ rspec-support (~> 3.5.0)
293
+ rspec-support (3.5.0)
294
+ rubyzip (1.2.0)
295
+ sass (3.4.20)
296
+ sass-rails (5.0.4)
297
+ railties (>= 4.0.0, < 5.0)
298
+ sass (~> 3.1)
299
+ sprockets (>= 2.8, < 4.0)
300
+ sprockets-rails (>= 2.0, < 4.0)
301
+ tilt (>= 1.1, < 3)
302
+ scrypt (2.0.2)
303
+ ffi-compiler (>= 0.0.2)
304
+ rake
305
+ select2-rails (3.5.9.3)
272
306
  thor (~> 0.14)
273
- selenium-webdriver (2.44.0)
307
+ selenium-webdriver (2.48.1)
274
308
  childprocess (~> 0.5)
275
309
  multi_json (~> 1.0)
276
310
  rubyzip (~> 1.0)
277
311
  websocket (~> 1.0)
278
- simple_form (2.0.4)
279
- actionpack (~> 3.0)
280
- activemodel (~> 3.0)
281
- simplecov (0.9.1)
282
- docile (~> 1.1.0)
283
- multi_json (~> 1.0)
284
- simplecov-html (~> 0.8.0)
285
- simplecov-html (0.8.0)
312
+ shellany (0.0.1)
313
+ simple_form (3.2.1)
314
+ actionpack (> 4, < 5.1)
315
+ activemodel (> 4, < 5.1)
286
316
  slop (3.6.0)
287
- sprockets (2.2.3)
288
- hike (~> 1.2)
289
- multi_json (~> 1.0)
290
- rack (~> 1.0)
291
- tilt (~> 1.1, != 1.3.0)
292
- sqlite3 (1.3.10)
293
- sshkit (1.6.1)
294
- colorize (>= 0.7.0)
317
+ sort_alphabetical (1.1.0)
318
+ unicode_utils (>= 1.2.2)
319
+ sprockets (3.7.0)
320
+ concurrent-ruby (~> 1.0)
321
+ rack (> 1, < 3)
322
+ sprockets-rails (2.2.2)
323
+ actionpack (>= 3.0)
324
+ activesupport (>= 3.0)
325
+ sprockets (>= 2.8, < 4.0)
326
+ sqlite3 (1.3.12)
327
+ sshkit (1.11.4)
295
328
  net-scp (>= 1.1.2)
296
329
  net-ssh (>= 2.8.0)
297
- term-ansicolor (1.3.0)
298
- tins (~> 1.0)
299
- therubyracer (0.12.1)
330
+ therubyracer (0.12.2)
300
331
  libv8 (~> 3.16.14.0)
301
332
  ref
302
- thin (1.6.3)
333
+ thin (1.6.4)
303
334
  daemons (~> 1.0, >= 1.0.9)
304
- eventmachine (~> 1.0)
335
+ eventmachine (~> 1.0, >= 1.0.4)
305
336
  rack (~> 1.0)
306
- thor (0.19.1)
307
- tilt (1.4.1)
308
- timecop (0.7.1)
309
- timers (4.0.1)
310
- hitimes
311
- tins (1.3.3)
312
- treetop (1.4.15)
313
- polyglot
314
- polyglot (>= 0.3.1)
315
- turbo-sprockets-rails3 (0.3.14)
316
- railties (> 3.2.8, < 4.0.0)
317
- sprockets (>= 2.2.0)
318
- tzinfo (0.3.42)
319
- uglifier (2.6.0)
337
+ thor (0.19.4)
338
+ thread_safe (0.3.5)
339
+ tilt (2.0.5)
340
+ timecop (0.8.1)
341
+ tzinfo (1.2.2)
342
+ thread_safe (~> 0.1)
343
+ uglifier (2.7.2)
320
344
  execjs (>= 0.3.0)
321
345
  json (>= 1.8.0)
322
- unicorn (4.8.3)
346
+ unicode_utils (1.4.0)
347
+ unicorn (5.0.1)
323
348
  kgio (~> 2.6)
324
349
  rack
325
350
  raindrops (~> 0.7)
326
- valium (0.5.0)
327
- activerecord (>= 3.0.2)
328
- websocket (1.2.1)
351
+ websocket (1.2.3)
329
352
  will_paginate (3.0.7)
330
353
  xpath (2.0.0)
331
354
  nokogiri (~> 1.3)
332
- zeus (0.15.3)
355
+ zeus (0.15.4)
333
356
  method_source (>= 0.6.7)
334
357
 
335
358
  PLATFORMS
336
359
  ruby
337
360
 
338
361
  DEPENDENCIES
339
- acts-as-taggable-on (~> 2.3.3)
340
- acts_as_commentable (~> 3.0.1)
362
+ acts-as-taggable-on (>= 3.4.3)
363
+ acts_as_commentable
341
364
  acts_as_fu
342
- acts_as_list (~> 0.1.4)
343
- authlogic (= 3.1.0)
365
+ acts_as_list
366
+ authlogic (>= 3.4.4)
344
367
  byebug
345
- cancan
368
+ cancancan
346
369
  capistrano
347
370
  capistrano-bundler
348
371
  capistrano-rails
349
372
  capistrano-rvm
350
373
  capybara
351
374
  cocaine
352
- coffee-rails (~> 3.2.1)
353
- coveralls
375
+ coffee-rails
376
+ coffee-script-source (~> 1.8.0)
377
+ country_select
354
378
  database_cleaner
355
- debugger
356
379
  dynamic_form
357
380
  email_reply_parser_ffcrm
358
381
  execjs
359
382
  factory_girl_rails
360
- ffaker (>= 1.12.0)
383
+ ffaker (>= 2)
361
384
  font-awesome-rails
362
385
  guard
363
386
  guard-rails
364
387
  guard-rspec
365
388
  haml
366
389
  headless
367
- jquery-rails (~> 2.1.4)
368
- nokogiri
369
- paper_trail (~> 2.7.0)
390
+ jquery-migrate-rails
391
+ jquery-rails
392
+ jquery-ui-rails
393
+ nokogiri (>= 1.6.8)
394
+ paper_trail (>= 4.0.0.beta2)
370
395
  paperclip
371
396
  pg
372
397
  premailer
373
398
  pry-rails
374
399
  quiet_assets
375
- rails (~> 3.2.12)
400
+ rails (~> 4.2.0)
401
+ rails-observers
376
402
  rails3-jquery-autocomplete
377
403
  rails_12factor
378
404
  rails_autolink
379
- ransack (= 1.1.0)
380
- ransack_ui (>= 1.1.0)
405
+ ransack (~> 1.6.2)
406
+ ransack_ui (>= 1.3.1)
381
407
  rb-fchange
382
408
  rb-fsevent
383
409
  rb-inotify
384
- responds_to_parent (>= 1.1.0)
385
- rspec-rails (~> 2)
410
+ responders (~> 2.0)
411
+ responds_to_parent
412
+ rspec-activemodel-mocks
413
+ rspec-rails
386
414
  sass
387
- sass-rails (~> 3.2.3)
388
- select2-rails
415
+ sass-rails
416
+ select2-rails (~> 3.5.9.3)
389
417
  selenium-webdriver
390
- simple_form (~> 2.0.1)
418
+ simple_form
419
+ sprockets-rails (= 2.2.2)
391
420
  therubyracer
392
421
  thin
393
422
  thor
394
423
  timecop
395
- turbo-sprockets-rails3
396
- uglifier (>= 1.0.3)
424
+ uglifier
397
425
  unicorn
398
- valium
399
426
  will_paginate
400
427
  zeus
428
+
429
+ BUNDLED WITH
430
+ 1.12.5