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 +4 -4
- data/app/models/entities/account.rb +1 -1
- data/app/models/entities/campaign.rb +1 -1
- data/app/models/entities/contact.rb +1 -1
- data/app/models/entities/lead.rb +1 -1
- data/app/models/entities/opportunity.rb +1 -1
- data/app/models/fields/field.rb +1 -1
- data/app/models/polymorphic/task.rb +1 -1
- data/lib/fat_free_crm/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 583c16095787930cb44e9c376e303f5bb44d96d2acd85a2b87574d302afb23ab
|
4
|
+
data.tar.gz: 72ca4114ddd58c79a7259abc6bd96d07a2d7b34d2e6315ccbc78661091fc522e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
data/app/models/entities/lead.rb
CHANGED
@@ -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)
|
data/app/models/fields/field.rb
CHANGED
@@ -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.
|
data/lib/fat_free_crm/version.rb
CHANGED
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.
|
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.
|
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.
|
30
|
+
version: 7.1.0
|
31
31
|
- - "<"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 7.3.0
|