rails_apps_pages 0.5.14 → 0.5.15

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: 9ef359a0fec8a858da4b7bf89214f3aab064861d
4
- data.tar.gz: ff1b5c84ba18d0d9eaa635a416d9c04aacdf050f
3
+ metadata.gz: 5802c52c8674a590019d42012a54349e641cf61c
4
+ data.tar.gz: f44a22fc29132d513e54e1f92f7825fe1e11e9db
5
5
  SHA512:
6
- metadata.gz: aafba5f5bd885a5521cc643e50716c4a0cdf23127356ee48357e1643beb10c9705de7a5002eff15bbf4b4e4250507e3a527d9bb52174821f80f488793c5018cd
7
- data.tar.gz: 386ef8b2f30d39068a7027c89e4df20adad5c1b94d3d88fcb8138b662db60d181ecb6d7bb9088ca66f83827eac88bf76f89415ebf84b069476d988572a05fb3b
6
+ metadata.gz: 9bb8c666b0d57939b692361ab2585741df87ee2a11998d2724607ba06adf20467d034699b075459f27ba75e57b1735325817e4458d81feecf0556d6a9b397869
7
+ data.tar.gz: 8e897bd86b4a457533784727a8896a92c8343421ad452581774c62c521b4315b5bae405d6b2f4e9daade18ee80382683a081ead7bad8d8aa900127aa797f9811
data/CHANGELOG.textile CHANGED
@@ -1,5 +1,9 @@
1
1
  h1. CHANGELOG
2
2
 
3
+ h3. 0.5.15 September 14, 2014
4
+
5
+ * generate a navlink for Upmin using the 'rails_layout' gem instead
6
+
3
7
  h3. 0.5.14 September 14, 2014
4
8
 
5
9
  * add generator for Upmin for an admin interface
@@ -11,8 +11,6 @@ module Pages
11
11
  copy_file 'upmin.rb', 'config/initializers/upmin.rb'
12
12
  route = " mount Upmin::Engine => '/admin'"
13
13
  inject_into_file 'config/routes.rb', route + "\n", :after => "routes.draw do\n"
14
- navlink = " <li><%= link_to 'Admin', '/admin' %></li>"
15
- inject_into_file 'app/views/layouts/_navigation_links.html.erb', navlink + "\n", :after => "<% if current_user.admin? %>\n"
16
14
  end
17
15
 
18
16
  end
@@ -1,3 +1,3 @@
1
1
  module RailsAppsPages
2
- VERSION = "0.5.14"
2
+ VERSION = "0.5.15"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_apps_pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.14
4
+ version: 0.5.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Kehoe