slickplan-rooftop 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2e40c5fa5f7e299f94f6f2b608a0d37938076d6
|
4
|
+
data.tar.gz: 7983dc38314d0140942c04e168342cf1d3a301b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a81db8473cea9ffad15086eb70cc1d7a66144a9a70a34f2b69d48d62896f16c6ac79a9a2568e421f8d6d3b7c3bf8dfe22cafd6ecefbf6df2dbccaeddc5d2330
|
7
|
+
data.tar.gz: 2e66b06367d1643ed04711c302bf107f3b8444a0bccadc4445af4461871cffe1cf17fc660f1be0d7cf1cc2a431af17ee7ef3d89887b14505f1e22a8dd6ad89db
|
@@ -32,7 +32,7 @@ namespace :slickplan do
|
|
32
32
|
# iterate through and create the pages, saving the rt page id to the @sitemap.pages collection
|
33
33
|
@sitemap.pages.each do |page|
|
34
34
|
puts "Generating page #{page.title}"
|
35
|
-
new_page = Page.create(title: page.title, content: {basic: {content: content || page.content}}, status: 'publish'
|
35
|
+
new_page = Page.create(title: page.title, content: {basic: {content: content || page.content}}, status: 'publish')
|
36
36
|
page.rooftop_id = new_page.id
|
37
37
|
end
|
38
38
|
|
@@ -47,6 +47,10 @@ namespace :slickplan do
|
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
+
puts "Generating templates in Rails"
|
51
|
+
@sitemap.templates.each do |template|
|
52
|
+
`rails g rooftop:template #{template.parameterize.underscore}`
|
53
|
+
end
|
50
54
|
puts "Done."
|
51
55
|
|
52
56
|
Rake::Task['slickplan:list_templates'].invoke(options[:xml])
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slickplan-rooftop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ed Jones
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|