fat_free_crm 0.24.0 → 0.24.2

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: 583c16095787930cb44e9c376e303f5bb44d96d2acd85a2b87574d302afb23ab
4
- data.tar.gz: 72ca4114ddd58c79a7259abc6bd96d07a2d7b34d2e6315ccbc78661091fc522e
3
+ metadata.gz: e51023f054e1b4e27c80606a526908788ffb68cc97bfc926fca6e463fdf7112b
4
+ data.tar.gz: f338a29d816c802acc2fbb3be38ed58fb05e16b6d2fa756261e17ae2541d8bda
5
5
  SHA512:
6
- metadata.gz: 3bb966d52f44f40cc2e439286cfd7f596c21ac4afb7b445131d87b654ab8eff66b2c15ec87b188b34fcfa4b531addb73db195ca92ec1b0c56d1ef8ecfde5eb4f
7
- data.tar.gz: 076fd28ff58929818419f1960ad37e990ba3044b64ac80f6132f896bf5acb6f07c6ce4fc89e7c19a450813051286d15c81fdef00fd6840c91e476c14d77c0256
6
+ metadata.gz: 42a5e574664c72c5f897451431c3242edf8d78f816c03c3e9c7a82f3180ec3fb8643d26f14ad86df9637ecc78f9c8aa55e180846166b21af474c059f89095598
7
+ data.tar.gz: 0e196d27fef2f8aa5f49796cba0eb913740442182bc03affc111a4cb963d4a53d79158be0d25cbef6558542d9ca10f42fd1d900a67e90274258ced48eb111f5c
@@ -32,7 +32,7 @@ class Field < ActiveRecord::Base
32
32
  acts_as_list
33
33
 
34
34
  serialize :collection, type: Array
35
- serialize :settings, HashWithIndifferentAccess
35
+ serialize :settings, type: HashWithIndifferentAccess
36
36
 
37
37
  belongs_to :field_group, optional: true
38
38
 
@@ -15,7 +15,7 @@ xml.rss version: "2.0" do
15
15
  xml.channel do
16
16
  xml.generator "Fat Free CRM v#{FatFreeCRM::VERSION::STRING}"
17
17
  xml.link send(:"#{items}_url")
18
- xml.pubDate Time.now.to_s(:rfc822)
18
+ xml.pubDate Time.now.to_fs(:rfc822)
19
19
  xml.title title || t(items.to_sym)
20
20
 
21
21
  assets.each do |asset|
@@ -25,7 +25,7 @@ xml.rss version: "2.0" do
25
25
  xml.description send(:"#{item}_summary", asset) if respond_to?(:"#{item}_summary")
26
26
  xml.guid url
27
27
  xml.link url
28
- xml.pubDate asset.created_at.to_s(:rfc822)
28
+ xml.pubDate asset.created_at.to_fs(:rfc822)
29
29
  xml.title !asset.is_a?(User) ? asset.name : "#{asset.full_name} (#{asset.username})"
30
30
  end
31
31
  end
@@ -13,7 +13,7 @@ xml.rss version: "2.0" do
13
13
  xml.channel do
14
14
  xml.generator "Fat Free CRM v#{FatFreeCRM::VERSION::STRING}"
15
15
  xml.link send(:"#{@items}_url")
16
- xml.pubDate Time.now.to_s(:rfc822)
16
+ xml.pubDate Time.now.to_fs(:rfc822)
17
17
  xml.title title || t(@items.to_sym)
18
18
 
19
19
  @assets.each do |asset|
@@ -23,7 +23,7 @@ xml.rss version: "2.0" do
23
23
  xml.description send(:"#{item}_summary", asset) if respond_to?(:"#{item}_summary")
24
24
  xml.guid url
25
25
  xml.link url
26
- xml.pubDate asset.created_at.to_s(:rfc822)
26
+ xml.pubDate asset.created_at.to_fs(:rfc822)
27
27
  xml.title !asset.is_a?(User) ? asset.name : "#{asset.full_name} (#{asset.username})"
28
28
  end
29
29
  end
@@ -6,7 +6,7 @@ xml.rss version: "2.0" do
6
6
  xml.channel do
7
7
  xml.generator "Fat Free CRM v#{FatFreeCRM::VERSION::STRING}"
8
8
  xml.link root_url
9
- xml.pubDate Time.now.to_s(:rfc822)
9
+ xml.pubDate Time.now.to_fs(:rfc822)
10
10
  xml.title t(:activities)
11
11
 
12
12
  @activities.each do |activity|
@@ -14,7 +14,7 @@ xml.rss version: "2.0" do
14
14
  xml.author activity.user.try(:full_name)
15
15
  # xml.guid activity.id
16
16
  # xml.link nil
17
- xml.pubDate activity.created_at.to_s(:rfc822)
17
+ xml.pubDate activity.created_at.to_fs(:rfc822)
18
18
  xml.title activity_title(activity)
19
19
  end
20
20
  end
data/db/demo/accounts.yml CHANGED
@@ -42,6 +42,6 @@ account<%= i %>:
42
42
  background_info : <%= "#{FFaker::Company.catch_phrase} #{FFaker::Company.bs}" %>
43
43
  rating : <%= rand(5) %>
44
44
  category : <%= category.sample %>
45
- created_at : <%= created_at = (rand(60) + 2).days.ago + rand(600).minutes; created_at.to_s(:db) %>
46
- updated_at : <%= (created_at + rand(36_000).seconds).to_s(:db) %>
45
+ created_at : <%= created_at = (rand(60) + 2).days.ago + rand(600).minutes; created_at.to_fs(:db) %>
46
+ updated_at : <%= (created_at + rand(36_000).seconds).to_fs(:db) %>
47
47
  <% end %>
@@ -139,6 +139,6 @@ campaign<%= i %>:
139
139
  objectives : <%= FFaker::Lorem.sentence %>
140
140
  background_info :
141
141
  # background_info : <%= FFaker::Lorem.paragraph[0,255] %>
142
- created_at : <%= created_at = (rand(60) + 2).days.ago + rand(600).minutes; created_at.to_s(:db) %>
143
- updated_at : <%= (created_at + rand(36_000).seconds).to_s(:db) %>
142
+ created_at : <%= created_at = (rand(60) + 2).days.ago + rand(600).minutes; created_at.to_fs(:db) %>
143
+ updated_at : <%= (created_at + rand(36_000).seconds).to_fs(:db) %>
144
144
  <% end %>
data/db/demo/contacts.yml CHANGED
@@ -63,8 +63,8 @@ contact_<%= i %>:
63
63
  skype : <%= %[#{(first_name + last_name.first).downcase}] if rand(10) < 8 %>
64
64
  born_on : <%= Date.today - (rand(20) + 20).years - rand(200).days %>
65
65
  do_not_call : false
66
- created_at : <%= created_at = (rand(60) + 2).days.ago + rand(600).minutes; created_at.to_s(:db) %>
67
- updated_at : <%= (created_at + rand(36_000).seconds).to_s(:db) %>
66
+ created_at : <%= created_at = (rand(60) + 2).days.ago + rand(600).minutes; created_at.to_fs(:db) %>
67
+ updated_at : <%= (created_at + rand(36_000).seconds).to_fs(:db) %>
68
68
  background_info : <%= FFaker::Lorem.paragraph[0,255] %>
69
69
  <% end %>
70
70
 
data/db/demo/leads.yml CHANGED
@@ -65,7 +65,7 @@ lead<%= i %>:
65
65
  phone : <%= FFaker::PhoneNumber.short_phone_number if rand(10) < 5 %>
66
66
  mobile : <%= FFaker::PhoneNumber.short_phone_number if rand(10) < 3 %>
67
67
  do_not_call : false
68
- created_at : <%= created_at = (rand(60) + 2).days.ago + rand(600).minutes; created_at.to_s(:db) %>
69
- updated_at : <%= (created_at + rand(36_000).seconds).to_s(:db) %>
68
+ created_at : <%= created_at = (rand(60) + 2).days.ago + rand(600).minutes; created_at.to_fs(:db) %>
69
+ updated_at : <%= (created_at + rand(36_000).seconds).to_fs(:db) %>
70
70
  background_info : <%= FFaker::Lorem.paragraph[0,255] %>
71
71
  <% end %>
@@ -42,7 +42,7 @@ opportunity_<%= i %>:
42
42
  amount : <%= (rand(8) + 1) * 100_000 %>
43
43
  closes_on : <%= Date.today + (rand(100) + 10).days %>
44
44
  background_info :
45
- created_at : <%= created_at = (rand(60) + 2).days.ago + rand(600).minutes; created_at.to_s(:db) %>
46
- updated_at : <%= (created_at + rand(36_000).seconds).to_s(:db) %>
45
+ created_at : <%= created_at = (rand(60) + 2).days.ago + rand(600).minutes; created_at.to_fs(:db) %>
46
+ updated_at : <%= (created_at + rand(36_000).seconds).to_fs(:db) %>
47
47
  background_info : <%= FFaker::Lorem.paragraph[0,255] %>
48
48
  <% end %>
data/db/demo/tasks.yml CHANGED
@@ -59,6 +59,6 @@ task<%= i %>:
59
59
  # background_info : <%= FFaker::Lorem.paragraph[0,255] %>
60
60
  due_at : <%= due_at %>
61
61
  completed_at : <%= completed_by ? Date.today - rand(5).days : "" %>
62
- created_at : <%= created_at = (rand(60) + 2).days.ago + rand(600).minutes; created_at.to_s(:db) %>
63
- updated_at : <%= (created_at + rand(36_000).seconds).to_s(:db) %>
62
+ created_at : <%= created_at = (rand(60) + 2).days.ago + rand(600).minutes; created_at.to_fs(:db) %>
63
+ updated_at : <%= (created_at + rand(36_000).seconds).to_fs(:db) %>
64
64
  <% end %>
Binary file
Binary file
Binary file
Binary file
data/db/schema.rb CHANGED
@@ -10,7 +10,7 @@
10
10
  #
11
11
  # It's strongly recommended that you check this file into your version control system.
12
12
 
13
- ActiveRecord::Schema[7.0].define(version: 2023_05_26_212613) do
13
+ ActiveRecord::Schema[7.1].define(version: 2023_05_26_212613) do
14
14
  create_table "account_contacts", force: :cascade do |t|
15
15
  t.integer "account_id"
16
16
  t.integer "contact_id"
@@ -9,7 +9,7 @@ module FatFreeCRM
9
9
  module VERSION # :nodoc:
10
10
  MAJOR = 0
11
11
  MINOR = 24
12
- TINY = 0
12
+ TINY = 2
13
13
  PRE = nil
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
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.24.0
4
+ version: 0.24.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Dvorkin
@@ -228,19 +228,19 @@ dependencies:
228
228
  - !ruby/object:Gem::Version
229
229
  version: 0.2.0
230
230
  - !ruby/object:Gem::Dependency
231
- name: acts_as_commentable
231
+ name: acts_as_commentable2
232
232
  requirement: !ruby/object:Gem::Requirement
233
233
  requirements:
234
- - - ">="
234
+ - - "~>"
235
235
  - !ruby/object:Gem::Version
236
- version: '6.1'
236
+ version: 7.1.0
237
237
  type: :runtime
238
238
  prerelease: false
239
239
  version_requirements: !ruby/object:Gem::Requirement
240
240
  requirements:
241
- - - ">="
241
+ - - "~>"
242
242
  - !ruby/object:Gem::Version
243
- version: '6.1'
243
+ version: 7.1.0
244
244
  - !ruby/object:Gem::Dependency
245
245
  name: acts-as-taggable-on
246
246
  requirement: !ruby/object:Gem::Requirement
@@ -382,7 +382,7 @@ dependencies:
382
382
  - !ruby/object:Gem::Version
383
383
  version: '0'
384
384
  - !ruby/object:Gem::Dependency
385
- name: responds_to_parent
385
+ name: responds_to_parent2
386
386
  requirement: !ruby/object:Gem::Requirement
387
387
  requirements:
388
388
  - - ">="
@@ -1091,6 +1091,8 @@ files:
1091
1091
  - db/demo/users.yml
1092
1092
  - db/fat_free_crm_development.sqlite3
1093
1093
  - db/fat_free_crm_test.sqlite3
1094
+ - db/fat_free_crm_test.sqlite3-shm
1095
+ - db/fat_free_crm_test.sqlite3-wal
1094
1096
  - db/migrate/20100928030598_create_sessions.rb
1095
1097
  - db/migrate/20100928030599_create_users.rb
1096
1098
  - db/migrate/20100928030600_create_openid_tables.rb