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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8cd74aedbfede73680a1b52989cd6607c3d150b0
4
- data.tar.gz: 38fdfdc253228a437fea7357c88522e02d2ec8be
3
+ metadata.gz: f3ea654251dc015f3854191e488c3c50a82fe960
4
+ data.tar.gz: 97aad0b90c0a964d18352e97474bfed9ae561e5e
5
5
  SHA512:
6
- metadata.gz: d8be04a5570620766066d8a215465c075738ad5c23e630b79ed05dbd43365d2c0ad1efc11ac93cd1e64486b1e64147b01c4b4a192740c5e42d4ac61ef9fdce93
7
- data.tar.gz: 79b7054e44730a6f1e9ed6ebc154767b9803a34a3f4d7a5416268d3195cc02f36c15c3a0db3349f4e91cc1ef4c7bfff0157979d5655acbc1d48e24a5163ad763
6
+ metadata.gz: 10a8d2fb4240281f83e542ee789ab05d3cf139dcd95d130acb5997edbaa75b31435740c8dbe918be852d97416b337f735ed4988d1907e0415e6c903c438b0e95
7
+ data.tar.gz: 0887bec9bd4d3c1e763c1388ba433daeaeae1ef584b0b58f164e3280893097c576ccc46fcc6f822a6ac3dd36d19777aeffb67cabc398352c049eb6f8a1619211
data/CHANGELOG.textile CHANGED
@@ -1,5 +1,9 @@
1
1
  h1. CHANGELOG
2
2
 
3
+ h3. 0.6.3 November 4, 2015
4
+
5
+ * modify Bootstrap layouts to accommodate Devise or OmniAuth
6
+
3
7
  h3. 0.6.2 October 26, 2015
4
8
 
5
9
  * add 'Business Frontpage' theme from startbootstrap.com
@@ -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
@@ -1,3 +1,3 @@
1
1
  module RailsAppsPages
2
- VERSION = "0.6.2"
2
+ VERSION = "0.6.3"
3
3
  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.2
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-10-26 00:00:00.000000000 Z
11
+ date: 2015-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler