devape_cms 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
File without changes
|
@@ -1,4 +1,11 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
namespace :devape_cms do
|
2
|
+
desc "Override Files"
|
3
|
+
task :override do
|
4
|
+
if (view = ENV["view"]).present?
|
5
|
+
pattern = "#{view.split("/").join(File::SEPARATOR)}"
|
6
|
+
|
7
|
+
source_file = File.expand_path("../../../app/views/" + pattern, __FILE__)
|
8
|
+
cp source_file, 'app/views/' + pattern
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: devape_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- John Kealy
|
@@ -102,8 +102,8 @@ files:
|
|
102
102
|
- app/views/layouts/2-cols-right.html.erb
|
103
103
|
- app/views/layouts/admin/layout.html.erb
|
104
104
|
- app/views/layouts/_header.html.erb
|
105
|
+
- app/views/layouts/3-cols.html.erb
|
105
106
|
- app/views/layouts/_devise_nav_with_settings.html.erb
|
106
|
-
- app/views/layouts/3-cols-html.erb
|
107
107
|
- app/views/layouts/devape_cms/application.html.erb
|
108
108
|
- app/views/layouts/member/layout.html.erb
|
109
109
|
- app/views/layouts/application.html.erb
|