ffcrm_cloudfuji 0.2.10 → 0.2.11
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fat_free_crm/cloudfuji.rb +5 -2
- data/lib/ffcrm_cloudfuji/version.rb +1 -1
- metadata +4 -4
@@ -3,9 +3,12 @@ module FatFreeCRM
|
|
3
3
|
class << self
|
4
4
|
def enable_cloudfuji!
|
5
5
|
load_observers!
|
6
|
-
extend_user!
|
7
6
|
extend_lead!
|
8
|
-
|
7
|
+
# Prevent User class from loading if database is empty
|
8
|
+
if (User.table_exists? rescue false)
|
9
|
+
extend_user!
|
10
|
+
setup_authentication!
|
11
|
+
end
|
9
12
|
end
|
10
13
|
|
11
14
|
def extend_user!
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ffcrm_cloudfuji
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.11
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-06-
|
13
|
+
date: 2012-06-04 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rspec-rails
|
@@ -168,7 +168,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
168
168
|
version: '0'
|
169
169
|
segments:
|
170
170
|
- 0
|
171
|
-
hash:
|
171
|
+
hash: 4051267979847360433
|
172
172
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
173
173
|
none: false
|
174
174
|
requirements:
|
@@ -177,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
177
177
|
version: '0'
|
178
178
|
segments:
|
179
179
|
- 0
|
180
|
-
hash:
|
180
|
+
hash: 4051267979847360433
|
181
181
|
requirements: []
|
182
182
|
rubyforge_project:
|
183
183
|
rubygems_version: 1.8.24
|