rails_apps_pages 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.textile +4 -0
- data/lib/generators/theme/business_casual/business_casual_generator.rb +6 -0
- data/lib/generators/theme/clean_blog/clean_blog_generator.rb +6 -0
- data/lib/generators/theme/modern_business/modern_business_generator.rb +6 -0
- data/lib/rails_apps_pages/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3ea654251dc015f3854191e488c3c50a82fe960
|
4
|
+
data.tar.gz: 97aad0b90c0a964d18352e97474bfed9ae561e5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10a8d2fb4240281f83e542ee789ab05d3cf139dcd95d130acb5997edbaa75b31435740c8dbe918be852d97416b337f735ed4988d1907e0415e6c903c438b0e95
|
7
|
+
data.tar.gz: 0887bec9bd4d3c1e763c1388ba433daeaeae1ef584b0b58f164e3280893097c576ccc46fcc6f822a6ac3dd36d19777aeffb67cabc398352c049eb6f8a1619211
|
data/CHANGELOG.textile
CHANGED
@@ -19,6 +19,12 @@ module Theme
|
|
19
19
|
copy_file 'business-casual.css', 'app/assets/stylesheets/business-casual.css'
|
20
20
|
end
|
21
21
|
|
22
|
+
def modify_layout_for_auth_links
|
23
|
+
return unless File.exists?('app/views/layouts/_nav_links_for_auth.html.erb')
|
24
|
+
partial = "<%= render 'layouts/navigation_links' %>\n <%= render 'layouts/nav_links_for_auth' %>"
|
25
|
+
gsub_file "app/views/layouts/_navigation.html.erb", /<%= render 'layouts\/navigation_links' %>/, partial
|
26
|
+
end
|
27
|
+
|
22
28
|
end
|
23
29
|
end
|
24
30
|
end
|
@@ -19,6 +19,12 @@ module Theme
|
|
19
19
|
copy_file 'clean-blog.css', 'app/assets/stylesheets/clean-blog.css'
|
20
20
|
end
|
21
21
|
|
22
|
+
def modify_layout_for_auth_links
|
23
|
+
return unless File.exists?('app/views/layouts/_nav_links_for_auth.html.erb')
|
24
|
+
partial = "<%= render 'layouts/navigation_links' %>\n <%= render 'layouts/nav_links_for_auth' %>"
|
25
|
+
gsub_file "app/views/layouts/_navigation.html.erb", /<%= render 'layouts\/navigation_links' %>/, partial
|
26
|
+
end
|
27
|
+
|
22
28
|
end
|
23
29
|
end
|
24
30
|
end
|
@@ -98,6 +98,12 @@ module Theme
|
|
98
98
|
LINKS
|
99
99
|
end
|
100
100
|
|
101
|
+
def modify_layout_for_auth_links
|
102
|
+
return unless File.exists?('app/views/layouts/_nav_links_for_auth.html.erb')
|
103
|
+
partial = "<%= render 'layouts/navigation_links' %>\n <%= render 'layouts/nav_links_for_auth' %>"
|
104
|
+
gsub_file "app/views/layouts/_navigation.html.erb", /<%= render 'layouts\/navigation_links' %>/, partial
|
105
|
+
end
|
106
|
+
|
101
107
|
end
|
102
108
|
end
|
103
109
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_apps_pages
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Kehoe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|