trusty-layouts-extension 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/MIT-LICENSE CHANGED
@@ -1,8 +1,8 @@
1
1
  # Layouts Extension
2
2
 
3
- Is a collaboration of many parties that solves some common shortcomings with standard Radiant layouts
3
+ Is a collaboration of many parties that solved some common shortcomings with standard Radiant layouts. It has been branched to work with the TrustyCMS
4
4
 
5
- http://github.com/squaretalent/radiant-layouts-extension/
5
+ https://github.com/pgharts/trusty-share-layouts-extension
6
6
 
7
7
  ## Nested Layouts
8
8
 
@@ -48,6 +48,8 @@ SOFTWARE.
48
48
 
49
49
  Copyright (c) 2010 Radiant - Jim Gay, William Ross
50
50
 
51
+ TrustyCms is released under the MIT license. The Radiant portions of the codebase are copyright (c) John W. Long and Sean Cribbs; anything after the fork is copyright (c) Pittsburgh Cultural Trust. A copy of the MIT license can be found in the LICENSE file.
52
+
51
53
  Permission is hereby granted, free of charge, to any person obtaining a copy
52
54
  of this software and associated documentation files (the "Software"), to deal
53
55
  in the Software without restriction, including without limitation the rights
data/layouts_extension.rb CHANGED
@@ -6,7 +6,7 @@ class LayoutsExtension < TrustyCms::Extension
6
6
  def activate
7
7
  # Shared Layouts
8
8
  RailsPage
9
- ActionController::Base.send :include, ShareLayouts::Controllers::ActionController
9
+ ApplicationController.send :include, ShareLayouts::Controllers::ActionController
10
10
  ActionView::Base.send :include, ShareLayouts::Helpers::ActionView
11
11
 
12
12
  # Nested Layouts
@@ -38,7 +38,7 @@ module NestedLayouts
38
38
  # Save contents of inside_layout for later insertion
39
39
  tag.globals.nested_layouts_content_stack << tag.expand
40
40
 
41
- # Set the page layout that Radiant should use for rendering, which is different than the actual
41
+ # Set the page layout that Trusty should use for rendering, which is different than the actual
42
42
  # page's layout when layouts are nested. The final/highest +inside_layout+ tag will set or
43
43
  # overwrite this value for the last time.
44
44
  tag.globals.page.layout = layout
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
  require "trusty-layouts-extension"
4
4
  Gem::Specification.new do |s|
5
5
  s.name = %q{trusty-layouts-extension}
6
- s.version = "1.0.1"
6
+ s.version = "1.0.2"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
9
  s.authors = ["Eric Sipple", "Michael Klett", "Jim Gay", "William Ross", "Tony Issakov", "Dirk Kelly"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trusty-layouts-extension
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: