fat_free_crm 0.24.0 → 0.24.1

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: 355e27d31add131b594ac6284785c1853536a964d5734f65ab061d392a7f12e5
4
+ data.tar.gz: f2ced50b2fc1750144b57fe9a117c0cff51e27bf4f55ab7bf151e39106945967
5
5
  SHA512:
6
- metadata.gz: 3bb966d52f44f40cc2e439286cfd7f596c21ac4afb7b445131d87b654ab8eff66b2c15ec87b188b34fcfa4b531addb73db195ca92ec1b0c56d1ef8ecfde5eb4f
7
- data.tar.gz: 076fd28ff58929818419f1960ad37e990ba3044b64ac80f6132f896bf5acb6f07c6ce4fc89e7c19a450813051286d15c81fdef00fd6840c91e476c14d77c0256
6
+ metadata.gz: 5a428fd5c4f4700f7f4876cc363608733de6083bc081e9b47146fc0167ebc5a23254433c8e918e25f0f388dd1f078b52d1d0c1dd1f7abf6a33c30b8f6ad9807b
7
+ data.tar.gz: c293aed6006c339ecc4b4c314952d2350017f830e199346663ab95de2652fbc08d0c2b9cedd6a02288f44c3272de2ccf6f6feb0ccdcb1d9372b219bd26eb82ef
@@ -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
File without changes
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 = 1
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.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Dvorkin
@@ -1090,7 +1090,11 @@ files:
1090
1090
  - db/demo/tasks.yml
1091
1091
  - db/demo/users.yml
1092
1092
  - db/fat_free_crm_development.sqlite3
1093
+ - db/fat_free_crm_development.sqlite3-shm
1094
+ - db/fat_free_crm_development.sqlite3-wal
1093
1095
  - db/fat_free_crm_test.sqlite3
1096
+ - db/fat_free_crm_test.sqlite3-shm
1097
+ - db/fat_free_crm_test.sqlite3-wal
1094
1098
  - db/migrate/20100928030598_create_sessions.rb
1095
1099
  - db/migrate/20100928030599_create_users.rb
1096
1100
  - db/migrate/20100928030600_create_openid_tables.rb