ffcrm_cloudfuji 0.1.3 → 0.1.4

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.
data/config/routes.rb CHANGED
@@ -1,14 +1,14 @@
1
+ # Remove existing authentication routes
2
+ r = Rails.application.routes
3
+ r.set.routes.reject! {|r| %w(login logout).include? r.name }
4
+ r.set.send "clear_cache!"
5
+
1
6
  begin
2
7
  Rails.application.routes.draw do
3
8
  cloudfuji_routes
9
+ cloudfuji_authentication_routes if Cloudfuji::Platform.on_cloudfuji?
4
10
  end
5
11
  rescue => e
6
12
  puts "Error loading the Cloudfuji routes:"
7
13
  puts "#{e.inspect}"
8
14
  end
9
-
10
- FatFreeCRM::Application.routes.draw do
11
-
12
- cloudfuji_authentication_routes if Cloudfuji::Platform.on_cloudfuji?
13
-
14
- end
@@ -1,5 +1,5 @@
1
1
  module FatFreeCRM
2
2
  module Cloudfuji
3
- VERSION = '0.1.3'
3
+ VERSION = '0.1.4'
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.1.3
4
+ version: 0.1.4
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-05-11 00:00:00.000000000 Z
13
+ date: 2012-05-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: cloudfuji
@@ -86,7 +86,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
86
86
  version: '0'
87
87
  segments:
88
88
  - 0
89
- hash: -564127629
89
+ hash: 318352335
90
90
  required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  none: false
92
92
  requirements:
@@ -95,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
95
95
  version: '0'
96
96
  segments:
97
97
  - 0
98
- hash: -564127629
98
+ hash: 318352335
99
99
  requirements: []
100
100
  rubyforge_project:
101
101
  rubygems_version: 1.8.24