bulk_api 0.0.6 → 0.0.7
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/bulk/engine.rb +4 -0
- data/lib/bulk/resource.rb +1 -1
- metadata +1 -1
data/lib/bulk/engine.rb
CHANGED
@@ -8,6 +8,10 @@ module Bulk
|
|
8
8
|
end
|
9
9
|
|
10
10
|
initializer "require sproutcore Rack app" do
|
11
|
+
# fix some failz from sass and haml, TODO: investigate
|
12
|
+
require 'haml/util'
|
13
|
+
require 'sass/util'
|
14
|
+
|
11
15
|
# it needs to be done after rails load, otherwise haml freaks out
|
12
16
|
require 'bulk/sproutcore'
|
13
17
|
end
|
data/lib/bulk/resource.rb
CHANGED
@@ -30,7 +30,7 @@ module Bulk
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def application_resource_class
|
33
|
-
@application_resource_class ||= ApplicationResource
|
33
|
+
@application_resource_class ||= "ApplicationResource"
|
34
34
|
@application_resource_class.is_a?(Class) ? @application_resource_class : Object.const_get(@application_resource_class.to_sym)
|
35
35
|
end
|
36
36
|
|