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 +4 -4
- data/app/models/fields/field.rb +1 -1
- data/app/views/application/index.rss.builder +2 -2
- data/app/views/application/show.rss.builder +2 -2
- data/app/views/home/index.rss.builder +2 -2
- data/db/demo/accounts.yml +2 -2
- data/db/demo/campaigns.yml +2 -2
- data/db/demo/contacts.yml +2 -2
- data/db/demo/leads.yml +2 -2
- data/db/demo/opportunities.yml +2 -2
- data/db/demo/tasks.yml +2 -2
- data/db/fat_free_crm_development.sqlite3 +0 -0
- data/db/fat_free_crm_development.sqlite3-shm +0 -0
- data/db/fat_free_crm_development.sqlite3-wal +0 -0
- data/db/fat_free_crm_test.sqlite3 +0 -0
- data/db/fat_free_crm_test.sqlite3-shm +0 -0
- data/db/fat_free_crm_test.sqlite3-wal +0 -0
- data/db/schema.rb +1 -1
- data/lib/fat_free_crm/version.rb +1 -1
- metadata +5 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 355e27d31add131b594ac6284785c1853536a964d5734f65ab061d392a7f12e5
|
4
|
+
data.tar.gz: f2ced50b2fc1750144b57fe9a117c0cff51e27bf4f55ab7bf151e39106945967
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a428fd5c4f4700f7f4876cc363608733de6083bc081e9b47146fc0167ebc5a23254433c8e918e25f0f388dd1f078b52d1d0c1dd1f7abf6a33c30b8f6ad9807b
|
7
|
+
data.tar.gz: c293aed6006c339ecc4b4c314952d2350017f830e199346663ab95de2652fbc08d0c2b9cedd6a02288f44c3272de2ccf6f6feb0ccdcb1d9372b219bd26eb82ef
|
data/app/models/fields/field.rb
CHANGED
@@ -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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
46
|
-
updated_at : <%= (created_at + rand(36_000).seconds).
|
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 %>
|
data/db/demo/campaigns.yml
CHANGED
@@ -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.
|
143
|
-
updated_at : <%= (created_at + rand(36_000).seconds).
|
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.
|
67
|
-
updated_at : <%= (created_at + rand(36_000).seconds).
|
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.
|
69
|
-
updated_at : <%= (created_at + rand(36_000).seconds).
|
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 %>
|
data/db/demo/opportunities.yml
CHANGED
@@ -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.
|
46
|
-
updated_at : <%= (created_at + rand(36_000).seconds).
|
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.
|
63
|
-
updated_at : <%= (created_at + rand(36_000).seconds).
|
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
|
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.
|
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"
|
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.24.
|
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
|