warp_drive 0.1.9 → 0.1.11
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/lib/warp_drive/boot/procs.rb +6 -0
- data/lib/warp_drive/boot/workers.rb +11 -0
- metadata +2 -2
|
@@ -32,7 +32,18 @@ module WarpDrive
|
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
def initialize_routing # :nodoc:
|
|
35
|
+
# this method is a copy/paste of the method of the same name in the rails 2.3.4 initializer.rb
|
|
36
|
+
# we're doing this to be able to insert the warp drive routes at the correct place in the
|
|
37
|
+
# routes list to be able to override them with client applications
|
|
38
|
+
return unless Rails.configuration.frameworks.include?(:action_controller)
|
|
39
|
+
|
|
40
|
+
ActionController::Routing.controller_paths += Rails.configuration.controller_paths
|
|
41
|
+
ActionController::Routing::Routes.add_configuration_file(Rails.configuration.routes_configuration_file)
|
|
42
|
+
|
|
43
|
+
# this is the only bit we've changed from the rails 2.3.4 initializer.rb
|
|
35
44
|
ActionController::Routing::Routes.add_configuration_file(WarpDrive::Path.config.routes.rb.to_s)
|
|
45
|
+
|
|
46
|
+
ActionController::Routing::Routes.reload!
|
|
36
47
|
end
|
|
37
48
|
|
|
38
49
|
def load_view_paths # :nodoc:
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: warp_drive
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- markbates
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-
|
|
12
|
+
date: 2009-12-17 00:00:00 -05:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|