rails_workflow 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/rails_workflow/process.rb +1 -1
  3. data/app/serializers/rails_workflow/process_template_serializer.rb +1 -1
  4. data/app/services/rails_workflow/default_importer_preprocessor.rb +1 -0
  5. data/db/migrate/20150630174700_create_workflow_processes.rb +1 -1
  6. data/lib/rails_workflow/version.rb +1 -1
  7. data/spec/controllers/rails_workflow/operation_templates_controller_spec.rb +48 -34
  8. data/spec/controllers/rails_workflow/process_templates_controller_spec.rb +31 -18
  9. data/spec/controllers/rails_workflow/processes_controller_spec.rb +29 -19
  10. data/spec/dummy/db/migrate/20150127171613_devise_create_users.rb +1 -1
  11. data/spec/dummy/db/migrate/20150130042852_create_sales_contacts.rb +1 -1
  12. data/spec/dummy/db/migrate/20150130043008_create_leads.rb +1 -1
  13. data/spec/dummy/db/schema.rb +87 -94
  14. data/spec/dummy/log/test.log +0 -0
  15. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-y/-yP0WN66grJeNzOLblWxb1YEe7Uh6nRoeKAVq6eV5cI.cache +0 -0
  16. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0K/0KW8A2-oHgfWiGlY1qXC_1XuU9sgSc84l0R_k4lo-R0.cache +1 -0
  17. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0P/0PofAOgtV8u136aLIgNVNNYbVjB3jyMcHXt4DkTf-lg.cache +0 -0
  18. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2D/2DQzNXWutOXG85Y2tWAP7ip49x8pgXsddxpmbrFmNzY.cache +3 -0
  19. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2y/2yPp5r70PAheOL1JP5JtBOyb_Eynavkjx5KDLEr7ZIQ.cache +0 -0
  20. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/3T/3TGL03zNzbwSPNXNOAcRiVGA97b_ot8W5xl1pS0i2pM.cache +1 -0
  21. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4L/4LGJOVDbB8Zdx2QXqpqG0ACRWsZu-BNcVwACewZHw1g.cache +0 -0
  22. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4Z/4Z5j7DmWUEoyvwdFpMjqw_ekEHYHqtRvLlv3fcG9r6Q.cache +0 -0
  23. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/63/63c-YEaSLN__amgnoEUCOp7jW5ZV6viSBHgH_caeAIc.cache +0 -0
  24. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6P/6PwUfYtDjXEpmNEanib0x3HRVFm9QE3yhSSs6rKIN2o.cache +0 -0
  25. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6u/6u1CApVRbvkLXv7dyShDWFhnfms3PbGfx2fGuVY1njg.cache +1 -0
  26. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7N/7Nyz34h2EkOynYzidI6hQxu4MUWzTB9qci-nMa6Bbno.cache +0 -0
  27. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Av/AvAiXS_Os_pK0QHxQvBR_gGxIyEaIR1D6S0FmeDpqNc.cache +0 -0
  28. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/CP/CPWYjMaHLAtl0p3wMxZ2QZUPNlJESmDs8F_iUDrIwTo.cache +1 -0
  29. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Dm/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache +0 -0
  30. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Dn/Dn9nfbKsZf4mkct7gWLtd_WpFKTSSy0Q7PbR5xeps48.cache +1 -0
  31. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Gq/GqAIXwOwkxqr43GxfaMxdNLSGVoM6ZQ8N55FHLVoiks.cache +0 -0
  32. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HW/HWckq3suZuacx_vpXkNXc7ycbMCpDmwwrG_yWwYYWUQ.cache +1 -0
  33. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/I2/I2rhxh5aDmyUpTFqSpegw8dUfndAjwV6ZXRtvpUU2nA.cache +1 -0
  34. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/IB/IBit6ykj8M8trJJ7seOksNEIFFouCmhvCfbUNGrvME0.cache +1 -0
  35. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ig/IgT9vZcopJdxhtKPKBoJyibVxP5sveGwzY1k_C_Ypns.cache +5 -0
  36. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Iu/IuGMXwwQW5jBuD_j2UzS-u8y9viU3BNLcJ29jc3d16c.cache +1 -0
  37. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/JD/JDzw-3Rf7GQdypuRj1w1shlPhHsXkieMJ4XyC4lhuLY.cache +0 -0
  38. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ml/MlrGcMlihMqbNvhvLizSA4gSabOIPM91ahUnC4Tb_ZI.cache +1 -0
  39. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Nv/NvKP3t5o4GUA42UkRuui3R73Jka8qqzgltXhFs4LkZo.cache +3 -0
  40. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/O8/O8akbUwAbmIKY-AhITimq-JDQ6IgsO3Hvq2v5etufFw.cache +0 -0
  41. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/OL/OLW-LBBb0M4fLiDs2TLFoB992GFPOcdG9yyUrOQ1cuw.cache +0 -0
  42. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/O_/O_8-bAiiNpMDRcJBF82E8ZLVZqVJOx32Qu3sGZwzDa4.cache +1 -0
  43. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Pp/PpgmXgc5nbujBgyYL1O1Eua8t-xi-Pub9j27B4GI_zo.cache +0 -0
  44. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Q4/Q40L8I1uqvkU85AmyoVGDcW4CwYgVL1qrNfXGdtyIzY.cache +1 -0
  45. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Qn/QnLguEVskMzYLVPMYn14Rr97tRwvg6hCHgLF8Xptim0.cache +1 -0
  46. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/R3/R3FCjZU5ZcQeIlCAVlDyPkMu_wDlEMNZm4VgIMvEbis.cache +0 -0
  47. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/T2/T2IXbAqCNxRMPSacUjTGQgPPsFYpram9L7NSJLceFh4.cache +1 -0
  48. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Td/TdhHQNYRwEbnVqoiqOclH8J3k9xkoy5_AZe_nApq-HQ.cache +1 -0
  49. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/VL/VL-8YDwAvHtbtfkdHcUvuvXuCNTh8YyhjnX60i2d38c.cache +1 -0
  50. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/XT/XTb4nPZdZRJNFmpTix61eG9jlDB7EC03-yOKbCP-gw8.cache +1 -0
  51. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/XY/XYt_814EEsuonqqWN9jqZRmD01K6VErvIAK0oeBVfl8.cache +0 -0
  52. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Xa/XaCpwU8tPWLbYy22GUfy0nJwhZKrB5amr6rGeTHCTLM.cache +0 -0
  53. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/aE/aEfejW1R9hFSjLVs0c2uDmKigf-c6vJFDBlxOd_IMZI.cache +0 -0
  54. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/aT/aTcVvpsQiorD1A8L-2zR3Z_xpv6N_kFm4bUyHdQJi-Y.cache +4 -0
  55. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bm/bmiSt2fdz3UYJCUc8udeasyk2fdq9X7AAlRC2XF9y6I.cache +0 -0
  56. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bo/boeF1gM2g4j4kRab6BefHw72S8DaW5U9YuCGi6sTE4E.cache +0 -0
  57. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bw/bwWCHVbMHAMRrpHAyQkzal-EzVy7JVXMSsIOrCxwT6Q.cache +0 -0
  58. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cD/cD_F8mE5JipnLEgKF8UIdEbDwJEiyK5ZBwTMd1dP394.cache +5 -0
  59. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cw/cwwxQvVXbsMXLFxhX9-IzusCxww5izIZlBQPbWgh5MQ.cache +1 -0
  60. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gB/gBsQO9vzukwby5U6yYHPpP_difqP836ni70qJe4BFMg.cache +2 -0
  61. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gZ/gZlCWlR9HzjnHaWyMeMoG9H3HuUGx19cjPVQFW2viKo.cache +1 -0
  62. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gg/ggjTwQLSDe-BlbQSRsXaP6tgzb4W2HaUCtzilBtZq5k.cache +0 -0
  63. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gl/gl73RrXxLIv0VdFbytBjCIRGvW56ByGD-QDlzTlmv_g.cache +0 -0
  64. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/hj/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache +0 -0
  65. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/iB/iBAUgPIEiCQ8rD3-e5U5qr3HwrgbNStLjKNxr9tF0sM.cache +1 -0
  66. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jh/jhMQFt_K902TwWegZm1FJuntPsQzO9TFUTsKwRwxm7I.cache +0 -0
  67. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/k3/k3LMpZ7GuSLQARkF-PAxmHyIJN98PNxO-n1k99gYIBw.cache +0 -0
  68. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/kC/kC_8-tKK7YGZWX5Qqd3VQN_PwiS3KboodvkDG5aql7Y.cache +0 -0
  69. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/l7/l7MJ4Nx6J7HtkLaVuuH-UEkY_7d7V9XgCSHIAWfEbfo.cache +1 -0
  70. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ln/ln_99KHeUnBxbY1kbNFoIo9l_41pGXY5yg8N2Z5mFbw.cache +0 -0
  71. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/o8/o8u5a_3dapGtwpJHRk-lzKLR2Ge3QO62xlGLa4lqoLY.cache +1 -0
  72. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oC/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache +0 -0
  73. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oN/oN4VeYD9C_w-J0IiAm2B8pPUGYXvI09uhDhdNcBN3iM.cache +0 -0
  74. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/pM/pMla-2766QdChhguQz-DPSKK4A7cWByaH3IDI2M52lU.cache +0 -0
  75. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/r4/r4pVIK6_7WRPFDs5Xl7x4h7gpiHlZqO5A1TI2nhm-Yo.cache +1 -0
  76. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/s0/s0gW-gR2uiQnOlE-1I2plnhk0MASG-bQUzHsx0i-u-8.cache +1 -0
  77. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/tP/tPF6H9NRpGO3whu2y5_e_R_1EACKdCwu5437D83qJT0.cache +0 -0
  78. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ut/utVWTJyn2pu2gUiiXdAhx8qm29czyctQxkgfHxGYXqA.cache +1 -0
  79. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/vk/vkmK1haX-wfcoSmhotSxDARyhpHKY9lYo0nC4rgfqiQ.cache +0 -0
  80. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xS/xSYylBQ_dmUa_u-oILbaAgna13HNirKN_Kg0MQu9KsA.cache +1 -0
  81. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/y3/y3BPztIjdmssS92HzcgHAPPa8fI5bctxJwvUtt6WWQM.cache +0 -0
  82. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ya/yatiO0gUaXGtS69lBdE00NzChpP5ZsltcaeNXbCi58w.cache +0 -0
  83. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zx/zxDaZg9NsqiR-kOlKKsEttfGkPGqv0LQLAY-B0PFh1g.cache +0 -0
  84. data/spec/serializers/process_template_serializer_spec.rb +6 -3
  85. metadata +102 -2
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- class DeviseCreateUsers < ActiveRecord::Migration
3
+ class DeviseCreateUsers < ActiveRecord::Migration[4.2]
4
4
  def change
5
5
  create_table(:users) do |t|
6
6
  ## Database authenticatable
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- class CreateSalesContacts < ActiveRecord::Migration
3
+ class CreateSalesContacts < ActiveRecord::Migration[4.2]
4
4
  def change
5
5
  create_table :sales_contacts do |t|
6
6
  t.text :message
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- class CreateLeads < ActiveRecord::Migration
3
+ class CreateLeads < ActiveRecord::Migration[4.2]
4
4
  def change
5
5
  create_table :leads do |t|
6
6
  t.integer :sales_contact_id
@@ -1,4 +1,3 @@
1
- # encoding: UTF-8
2
1
  # This file is auto-generated from the current state of the database. Instead
3
2
  # of editing this file, please use the migrations feature of Active Record to
4
3
  # incrementally modify your database, and then regenerate this schema definition.
@@ -16,139 +15,133 @@ ActiveRecord::Schema.define(version: 20150630174700) do
16
15
  # These are extensions that must be enabled in order to support this database
17
16
  enable_extension "plpgsql"
18
17
 
19
- create_table "leads", force: :cascade do |t|
20
- t.integer "sales_contact_id"
21
- t.text "offer"
22
- t.string "name"
18
+ create_table "leads", id: :serial, force: :cascade do |t|
19
+ t.integer "sales_contact_id"
20
+ t.text "offer"
21
+ t.string "name"
23
22
  t.datetime "created_at"
24
23
  t.datetime "updated_at"
25
24
  end
26
25
 
27
- create_table "rails_workflow_contexts", force: :cascade do |t|
28
- t.integer "parent_id"
29
- t.string "parent_type"
30
- t.text "body"
26
+ create_table "rails_workflow_contexts", id: :serial, force: :cascade do |t|
27
+ t.integer "parent_id"
28
+ t.string "parent_type"
29
+ t.text "body"
31
30
  t.datetime "created_at"
32
31
  t.datetime "updated_at"
32
+ t.index ["parent_id", "parent_type"], name: "rw_context_parents"
33
33
  end
34
34
 
35
- add_index "rails_workflow_contexts", ["parent_id", "parent_type"], name: "rw_context_parents", using: :btree
36
-
37
- create_table "rails_workflow_errors", force: :cascade do |t|
38
- t.string "message"
39
- t.text "stack_trace"
40
- t.integer "parent_id"
41
- t.string "parent_type"
35
+ create_table "rails_workflow_errors", id: :serial, force: :cascade do |t|
36
+ t.string "message"
37
+ t.text "stack_trace"
38
+ t.integer "parent_id"
39
+ t.string "parent_type"
42
40
  t.datetime "created_at"
43
41
  t.datetime "updated_at"
44
- t.boolean "resolved"
42
+ t.boolean "resolved"
43
+ t.index ["parent_id", "parent_type"], name: "rw_error_parents"
45
44
  end
46
45
 
47
- add_index "rails_workflow_errors", ["parent_id", "parent_type"], name: "rw_error_parents", using: :btree
48
-
49
- create_table "rails_workflow_operation_templates", force: :cascade do |t|
50
- t.string "title"
51
- t.string "version"
52
- t.string "uuid"
53
- t.string "tag"
54
- t.text "source"
55
- t.text "dependencies"
56
- t.string "operation_class"
57
- t.integer "process_template_id"
46
+ create_table "rails_workflow_operation_templates", id: :serial, force: :cascade do |t|
47
+ t.string "title"
48
+ t.string "version"
49
+ t.string "uuid"
50
+ t.string "tag"
51
+ t.text "source"
52
+ t.text "dependencies"
53
+ t.string "operation_class"
54
+ t.integer "process_template_id"
58
55
  t.datetime "created_at"
59
56
  t.datetime "updated_at"
60
- t.boolean "async"
61
- t.integer "child_process_id"
62
- t.integer "assignment_id"
63
- t.string "assignment_type"
64
- t.string "kind"
65
- t.string "role"
66
- t.string "group"
67
- t.text "instruction"
68
- t.boolean "is_background"
69
- t.string "type"
70
- t.string "partial_name"
57
+ t.boolean "async"
58
+ t.integer "child_process_id"
59
+ t.integer "assignment_id"
60
+ t.string "assignment_type"
61
+ t.string "kind"
62
+ t.string "role"
63
+ t.string "group"
64
+ t.text "instruction"
65
+ t.boolean "is_background"
66
+ t.string "type"
67
+ t.string "partial_name"
68
+ t.index ["process_template_id"], name: "rw_ot_to_pt"
69
+ t.index ["uuid"], name: "rw_ot_uuids"
71
70
  end
72
71
 
73
- add_index "rails_workflow_operation_templates", ["process_template_id"], name: "rw_ot_to_pt", using: :btree
74
- add_index "rails_workflow_operation_templates", ["uuid"], name: "rw_ot_uuids", using: :btree
75
-
76
- create_table "rails_workflow_operations", force: :cascade do |t|
77
- t.integer "status"
78
- t.boolean "async"
79
- t.string "version"
80
- t.string "tag"
81
- t.string "title"
72
+ create_table "rails_workflow_operations", id: :serial, force: :cascade do |t|
73
+ t.integer "status"
74
+ t.boolean "async"
75
+ t.string "version"
76
+ t.string "tag"
77
+ t.string "title"
82
78
  t.datetime "created_at"
83
79
  t.datetime "updated_at"
84
- t.integer "process_id"
85
- t.integer "template_id"
86
- t.text "dependencies"
87
- t.integer "child_process_id"
88
- t.integer "assignment_id"
89
- t.string "assignment_type"
80
+ t.integer "process_id"
81
+ t.integer "template_id"
82
+ t.text "dependencies"
83
+ t.integer "child_process_id"
84
+ t.integer "assignment_id"
85
+ t.string "assignment_type"
90
86
  t.datetime "assigned_at"
91
- t.string "type"
92
- t.boolean "is_active"
87
+ t.string "type"
88
+ t.boolean "is_active"
93
89
  t.datetime "completed_at"
94
- t.boolean "is_background"
90
+ t.boolean "is_background"
91
+ t.index ["process_id"], name: "rw_o_process_ids"
92
+ t.index ["template_id"], name: "rw_o_template_ids"
95
93
  end
96
94
 
97
- add_index "rails_workflow_operations", ["process_id"], name: "rw_o_process_ids", using: :btree
98
- add_index "rails_workflow_operations", ["template_id"], name: "rw_o_template_ids", using: :btree
99
-
100
- create_table "rails_workflow_process_templates", force: :cascade do |t|
101
- t.string "title"
102
- t.text "source"
103
- t.string "uuid"
104
- t.string "version"
105
- t.string "tag"
106
- t.string "manager_class"
107
- t.string "process_class"
95
+ create_table "rails_workflow_process_templates", id: :serial, force: :cascade do |t|
96
+ t.string "title"
97
+ t.text "source"
98
+ t.string "uuid"
99
+ t.string "version"
100
+ t.string "tag"
101
+ t.string "manager_class"
102
+ t.string "process_class"
108
103
  t.datetime "created_at"
109
104
  t.datetime "updated_at"
110
- t.string "type"
111
- t.string "partial_name"
105
+ t.string "type"
106
+ t.string "partial_name"
107
+ t.index ["uuid"], name: "rw_pt_uuids"
112
108
  end
113
109
 
114
- add_index "rails_workflow_process_templates", ["uuid"], name: "rw_pt_uuids", using: :btree
115
-
116
- create_table "rails_workflow_processes", force: :cascade do |t|
117
- t.integer "status"
118
- t.string "version"
119
- t.string "tag"
120
- t.boolean "async"
121
- t.string "title"
110
+ create_table "rails_workflow_processes", id: :serial, force: :cascade do |t|
111
+ t.integer "status"
112
+ t.string "version"
113
+ t.string "tag"
114
+ t.boolean "async"
115
+ t.string "title"
122
116
  t.datetime "created_at"
123
117
  t.datetime "updated_at"
124
- t.integer "template_id"
125
- t.string "type"
118
+ t.integer "template_id"
119
+ t.string "type"
126
120
  end
127
121
 
128
- create_table "sales_contacts", force: :cascade do |t|
129
- t.text "message"
130
- t.string "email"
122
+ create_table "sales_contacts", id: :serial, force: :cascade do |t|
123
+ t.text "message"
124
+ t.string "email"
131
125
  t.datetime "created_at"
132
126
  t.datetime "updated_at"
133
127
  end
134
128
 
135
- create_table "users", force: :cascade do |t|
136
- t.string "email", default: "", null: false
137
- t.string "encrypted_password", default: "", null: false
138
- t.string "reset_password_token"
129
+ create_table "users", id: :serial, force: :cascade do |t|
130
+ t.string "email", default: "", null: false
131
+ t.string "encrypted_password", default: "", null: false
132
+ t.string "reset_password_token"
139
133
  t.datetime "reset_password_sent_at"
140
134
  t.datetime "remember_created_at"
141
- t.integer "sign_in_count", default: 0, null: false
135
+ t.integer "sign_in_count", default: 0, null: false
142
136
  t.datetime "current_sign_in_at"
143
137
  t.datetime "last_sign_in_at"
144
- t.string "current_sign_in_ip"
145
- t.string "last_sign_in_ip"
146
- t.string "role"
138
+ t.string "current_sign_in_ip"
139
+ t.string "last_sign_in_ip"
140
+ t.string "role"
147
141
  t.datetime "created_at"
148
142
  t.datetime "updated_at"
143
+ t.index ["email"], name: "index_users_on_email", unique: true
144
+ t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
149
145
  end
150
146
 
151
- add_index "users", ["email"], name: "index_users_on_email", unique: true, using: :btree
152
- add_index "users", ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true, using: :btree
153
-
154
147
  end
Binary file
@@ -0,0 +1 @@
1
+ "%��}�������J�d���p�A,#G�� �j��
@@ -0,0 +1,3 @@
1
+ [o:Set:
2
+ @hash}
3
+ I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"file-digest:///home/maxim/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jquery-rails-4.3.1/vendor/assets/javascripts/jquery.js;TTF
@@ -0,0 +1 @@
1
+ I"}app/assets/stylesheets/application.css?type=text/css&id=713b995cdf7d8e826f76934af8511c8e5b5ea247bd829507fce26d29783dbd7e:ET
@@ -0,0 +1 @@
1
+ I"�/home/maxim/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bootstrap-rails-engine-3.1.1.0/app/assets/fonts/bootstrap/glyphicons-halflings-regular.woff?type=application/font-woff&id=758d33435640e8489f87a0914710e40382d708e0555a2ac69ad074ecffd02348:ET
@@ -0,0 +1 @@
1
+ I"�/home/maxim/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jquery-rails-4.3.1/vendor/assets/javascripts/jquery.js?type=application/javascript&pipeline=self&id=203f11d834c77f19caaed349684562e34afade0a6b5160ba34b33aa2083d8787:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/leads.js?type=application/javascript&pipeline=self&id=52010b0001395bd2f8f6860f0bee970dfa37369e43d077a446f3f7fe0c90e95c:ET
@@ -0,0 +1 @@
1
+ I"�/home/maxim/rails_workflow/app/assets/stylesheets/rails_workflow/application.css?type=text/css&id=d1e4b80e5684fdb042a4f0056f2ca488666e84ef3faefa33f077397a31c7df3d:ET
@@ -0,0 +1 @@
1
+ I"�/home/maxim/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bootstrap-rails-engine-3.1.1.0/app/assets/fonts/bootstrap/glyphicons-halflings-regular.eot?type=application/vnd.ms-fontobject&id=8cee6b3f94496a9688ed3add6b6030dc90bead6d16302ad787812c1a405e5cb1:ET
@@ -0,0 +1 @@
1
+ I"�/home/maxim/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bootstrap-rails-engine-3.1.1.0/app/assets/stylesheets/bootstrap/bootstrap.css.erb?type=text/css&pipeline=self&id=07b2130db28fc7bce8d5a51561717e20f106d086ab11a0caafa340f5e9961a68:ET
@@ -0,0 +1,5 @@
1
+ {:uriI"�file:///home/maxim/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bootstrap-rails-engine-3.1.1.0/app/assets/fonts/bootstrap/glyphicons-halflings-regular.woff?type=application/font-woff&id=758d33435640e8489f87a0914710e40382d708e0555a2ac69ad074ecffd02348:ET:load_pathI"o/home/maxim/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bootstrap-rails-engine-3.1.1.0/app/assets/fonts;T:
2
+ @hash}
3
+ I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Jprocessors:type=application/font-woff&file_type=application/font-woff;TTI"�file-digest:///home/maxim/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bootstrap-rails-engine-3.1.1.0/app/assets/fonts/bootstrap/glyphicons-halflings-regular.woff;TTF:dependencies_digest"%��pu��3��bÑN��
4
+ ���ݨVH�0�&�p�:idI"E758d33435640e8489f87a0914710e40382d708e0555a2ac69ad074ecffd02348;F:
5
+ mtimel+X��Y
@@ -0,0 +1 @@
1
+ "%uW��l��j��Z� xU��>�?]��pc��s
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/leads.css?type=text/css&pipeline=self&id=d6365c6305f48f8f2eea1fc2c1922bd8b3441879dd257c060472ba60388ed085:ET
@@ -0,0 +1,3 @@
1
+ [o:Set:
2
+ @hash}
3
+ I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"�file-digest:///home/maxim/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jquery-rails-4.3.1/vendor/assets/javascripts/jquery_ujs.js;TTF
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=942d19bd03e28367972cb30116e83e15ee3ea7e146c8006ab1fb3681b0a740b5:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/sales_contacts.js?type=application/javascript&pipeline=self&id=e784dd8b4502c1f3d8e5e28a77bf58c69928f45a234de5bcac1963fd1d8c2232:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/sales_contacts.css?type=text/css&pipeline=self&id=f9874c7e98c805527b2fb255b4a071fbc2ffb2bb3ea3c04b8c14b2e6eb2653ea:ET
@@ -0,0 +1 @@
1
+ I"�/home/maxim/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jquery-rails-4.3.1/vendor/assets/javascripts/jquery_ujs.js?type=application/javascript&pipeline=self&id=9f618508aa1214c8ccdf5be7b97f15b12e636400a2596fe429925922f8d9bf82:ET
@@ -0,0 +1 @@
1
+ "%C6������ܦ�M=��Qu���/�,"c�5u
@@ -0,0 +1 @@
1
+ I"�/home/maxim/rails_workflow/app/assets/stylesheets/rails_workflow/application.css?type=text/css&pipeline=self&id=fd204fde038d4abe41b442400a139ed37105cba2d0034603e83b9a64c0c53db9:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/scaffold.css?type=text/css&pipeline=self&id=1e453bc5d57b5aebff9b022db821bce2b67ba8ea47d338921af7fd2158e78bad:ET
@@ -0,0 +1,4 @@
1
+ {:uriI"file:///home/maxim/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bootstrap-rails-engine-3.1.1.0/app/assets/fonts/bootstrap/glyphicons-halflings-regular.eot?type=application/vnd.ms-fontobject&id=8cee6b3f94496a9688ed3add6b6030dc90bead6d16302ad787812c1a405e5cb1:ET:load_pathI"o/home/maxim/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bootstrap-rails-engine-3.1.1.0/app/assets/fonts;T:
2
+ @hash}
3
+ I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/vnd.ms-fontobject&file_type=application/vnd.ms-fontobject;TTI"�file-digest:///home/maxim/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bootstrap-rails-engine-3.1.1.0/app/assets/fonts/bootstrap/glyphicons-halflings-regular.eot;TTF:dependencies_digest"%Ҙv%�ο��b�%ύ�5���,�����"+�::idI"E8cee6b3f94496a9688ed3add6b6030dc90bead6d16302ad787812c1a405e5cb1;F:
4
+ mtimel+X��Y
@@ -0,0 +1,5 @@
1
+ {:uriI"�file:///home/maxim/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bootstrap-rails-engine-3.1.1.0/app/assets/fonts/bootstrap/glyphicons-halflings-regular.svg?type=image/svg+xml&id=23db4e81a2eaec32359d872ccfaff2de7c9dafaa352eb49c9857b8ec6d61a503:ET:load_pathI"o/home/maxim/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bootstrap-rails-engine-3.1.1.0/app/assets/fonts;T:
2
+ ��0��
3
+ @hash}
4
+ I"environment-version;TTI"environment-paths;TTI"rails-env;TTI":processors:type=image/svg+xml&file_type=image/svg+xml;TTI"�file-digest:///home/maxim/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bootstrap-rails-engine-3.1.1.0/app/assets/fonts/bootstrap/glyphicons-halflings-regular.svg;TTF:dependencies_digest"%�a怹��ޘ_kE���S���E�F�%k�:idI"E23db4e81a2eaec32359d872ccfaff2de7c9dafaa352eb49c9857b8ec6d61a503;F:
5
+ mtimel+X��Y
@@ -0,0 +1 @@
1
+ I"�/home/maxim/rails_workflow/app/assets/javascripts/rails_workflow/application.js?type=application/javascript&pipeline=self&id=2323a80a335726a09bb21a32cdf7d6373b71470a944f56a6a49dbaf9ee5950da:ET
@@ -0,0 +1,2 @@
1
+ "%~�n��Um�lr�+� Mp��
2
+ ���4v����
@@ -0,0 +1 @@
1
+ "%xJ�g&k��"��U���m��X�V�;Fj
@@ -0,0 +1 @@
1
+ I"�/home/maxim/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bootstrap-rails-engine-3.1.1.0/app/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf?type=application/x-font-ttf&id=49ec94358a118f8819bc598685a4189d296d2dda53b4595b988970c98ff4e4e6:ET
@@ -0,0 +1 @@
1
+ "%>��.��l�;T��_2��IT���Ɣc�ḩ
@@ -0,0 +1 @@
1
+ I"�/home/maxim/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bootstrap-rails-engine-3.1.1.0/app/assets/javascripts/bootstrap/bootstrap.js?type=application/javascript&pipeline=self&id=98bd80ad893fc2926aec097757b1867cfd2cb5366b27520901a43ea3b169b236:ET