staticmatic 0.11.0.alpha.9 → 0.11.0.alpha.10
Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml
CHANGED
data/lib/staticmatic/helpers.rb
CHANGED
@@ -1,3 +1,12 @@
|
|
1
1
|
["assets", "form", "current_path", "render", "tag", "url"].each do |helper|
|
2
2
|
require File.join(File.dirname(__FILE__), "helpers", "#{helper}_helper")
|
3
3
|
end
|
4
|
+
|
5
|
+
module StaticMatic::Helpers
|
6
|
+
include TagHelper
|
7
|
+
include UrlHelper
|
8
|
+
include AssetsHelper
|
9
|
+
include FormHelper
|
10
|
+
include RenderHelper
|
11
|
+
include CurrentPathHelper
|
12
|
+
end
|
@@ -2,7 +2,7 @@
|
|
2
2
|
require File.dirname(__FILE__) + "/../spec_helper"
|
3
3
|
|
4
4
|
describe "Helpers:" do
|
5
|
-
include StaticMatic::Helpers::
|
5
|
+
include StaticMatic::Helpers::AssetsHelper
|
6
6
|
include StaticMatic::Helpers::CurrentPathHelper
|
7
7
|
include StaticMatic::Helpers::TagHelper
|
8
8
|
before do
|
@@ -2,7 +2,7 @@
|
|
2
2
|
require File.dirname(__FILE__) + "/../spec_helper"
|
3
3
|
|
4
4
|
describe "Helpers:" do
|
5
|
-
include StaticMatic::Helpers::
|
5
|
+
include StaticMatic::Helpers::AssetsHelper
|
6
6
|
include StaticMatic::Helpers::CurrentPathHelper
|
7
7
|
include StaticMatic::Helpers::TagHelper
|
8
8
|
before do
|