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.
@@ -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
- setup_authentication!
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!
@@ -1,5 +1,5 @@
1
1
  module FatFreeCRM
2
2
  module Cloudfuji
3
- VERSION = '0.2.10'
3
+ VERSION = '0.2.11'
4
4
  end
5
5
  end
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.10
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-03 00:00:00.000000000 Z
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: -429489658566264543
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: -429489658566264543
180
+ hash: 4051267979847360433
181
181
  requirements: []
182
182
  rubyforge_project:
183
183
  rubygems_version: 1.8.24