fat_free_crm 0.23.0 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


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

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 170884fee8c43222891b33e09f6a1996c6a33c70cf5839de3eae5ab987340ef1
4
- data.tar.gz: d1f638adddae45577b72fc71d24b88f1ec7ca8513b98ae2a29ba9977ea5b5c28
3
+ metadata.gz: 583c16095787930cb44e9c376e303f5bb44d96d2acd85a2b87574d302afb23ab
4
+ data.tar.gz: 72ca4114ddd58c79a7259abc6bd96d07a2d7b34d2e6315ccbc78661091fc522e
5
5
  SHA512:
6
- metadata.gz: e5284a4f39f18595dfb12b87acf4052fb464a432675959f3c0e58a6edb3eeb59899e11bcff8433e3f251656bba35eea6e5f0abde513d4dc56c1c3fce98f576d3
7
- data.tar.gz: 5644a00f3ebf9db88505d686591856d8614c4ac7908bf484fe5147494b656aacda669e236fcabdce48801d9e96cf19454b22f586aa2902ffb3e70c3bffd75a32
6
+ metadata.gz: 3bb966d52f44f40cc2e439286cfd7f596c21ac4afb7b445131d87b654ab8eff66b2c15ec87b188b34fcfa4b531addb73db195ca92ec1b0c56d1ef8ecfde5eb4f
7
+ data.tar.gz: 076fd28ff58929818419f1960ad37e990ba3044b64ac80f6132f896bf5acb6f07c6ce4fc89e7c19a450813051286d15c81fdef00fd6840c91e476c14d77c0256
@@ -41,7 +41,7 @@ class Account < ActiveRecord::Base
41
41
  has_many :addresses, dependent: :destroy, as: :addressable, class_name: "Address" # advanced search uses this
42
42
  has_many :emails, as: :mediator
43
43
 
44
- serialize :subscribed_users, Array
44
+ serialize :subscribed_users, type: Array
45
45
 
46
46
  accepts_nested_attributes_for :billing_address, allow_destroy: true, reject_if: proc { |attributes| Address.reject_address(attributes) }
47
47
  accepts_nested_attributes_for :shipping_address, allow_destroy: true, reject_if: proc { |attributes| Address.reject_address(attributes) }
@@ -39,7 +39,7 @@ class Campaign < ActiveRecord::Base
39
39
  has_many :opportunities, -> { order "id DESC" }
40
40
  has_many :emails, as: :mediator
41
41
 
42
- serialize :subscribed_users, Array
42
+ serialize :subscribed_users, type: Array
43
43
 
44
44
  scope :state, lambda { |filters|
45
45
  where('status IN (?)' + (filters.delete('other') ? ' OR status IS NULL' : ''), filters)
@@ -57,7 +57,7 @@ class Contact < ActiveRecord::Base
57
57
  has_ransackable_associations %w[account opportunities tags activities emails addresses comments tasks]
58
58
  ransack_can_autocomplete
59
59
 
60
- serialize :subscribed_users, Array
60
+ serialize :subscribed_users, type: Array
61
61
 
62
62
  accepts_nested_attributes_for :business_address, allow_destroy: true, reject_if: proc { |attributes| Address.reject_address(attributes) }
63
63
 
@@ -48,7 +48,7 @@ class Lead < ActiveRecord::Base
48
48
  has_many :addresses, dependent: :destroy, as: :addressable, class_name: "Address" # advanced search uses this
49
49
  has_many :emails, as: :mediator
50
50
 
51
- serialize :subscribed_users, Array
51
+ serialize :subscribed_users, type: Array
52
52
 
53
53
  accepts_nested_attributes_for :business_address, allow_destroy: true, reject_if: proc { |attributes| Address.reject_address(attributes) }
54
54
 
@@ -38,7 +38,7 @@ class Opportunity < ActiveRecord::Base
38
38
  has_many :tasks, as: :asset, dependent: :destroy # , :order => 'created_at DESC'
39
39
  has_many :emails, as: :mediator
40
40
 
41
- serialize :subscribed_users, Array
41
+ serialize :subscribed_users, type: Array
42
42
 
43
43
  scope :state, lambda { |filters|
44
44
  where('stage IN (?)' + (filters.delete('other') ? ' OR stage IS NULL' : ''), filters)
@@ -31,7 +31,7 @@
31
31
  class Field < ActiveRecord::Base
32
32
  acts_as_list
33
33
 
34
- serialize :collection, Array
34
+ serialize :collection, type: Array
35
35
  serialize :settings, HashWithIndifferentAccess
36
36
 
37
37
  belongs_to :field_group, optional: true
@@ -39,7 +39,7 @@ class Task < ActiveRecord::Base
39
39
  belongs_to :completor, class_name: "User", foreign_key: :completed_by, optional: true # TODO: Is this really optional?
40
40
  belongs_to :asset, polymorphic: true, optional: true # TODO: Is this really optional?
41
41
 
42
- serialize :subscribed_users, Array
42
+ serialize :subscribed_users, type: Array
43
43
 
44
44
  # Tasks created by the user for herself, or assigned to her by others. That's
45
45
  # what gets shown on Tasks/Pending and Tasks/Completed pages.
@@ -8,7 +8,7 @@
8
8
  module FatFreeCRM
9
9
  module VERSION # :nodoc:
10
10
  MAJOR = 0
11
- MINOR = 23
11
+ MINOR = 24
12
12
  TINY = 0
13
13
  PRE = nil
14
14
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fat_free_crm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Dvorkin
@@ -17,7 +17,7 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: 7.0.0
20
+ version: 7.1.0
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
23
  version: 7.3.0
@@ -27,7 +27,7 @@ dependencies:
27
27
  requirements:
28
28
  - - ">="
29
29
  - !ruby/object:Gem::Version
30
- version: 7.0.0
30
+ version: 7.1.0
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
33
  version: 7.3.0