trusty-layouts-extension 3.1.0 → 3.1.1

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: 40eb329bd5f19d4e120c4eb35129d10a85f8a3ef
4
- data.tar.gz: 89b695ab2c4d03e75a8d72f3c5120b5815e1145f
3
+ metadata.gz: a84862b2967048cdcd2fdc8bbd0260a04aac596c
4
+ data.tar.gz: e0f2c0c920b3a2bd71bce6a0afa6c428f8229d2c
5
5
  SHA512:
6
- metadata.gz: 455ce3732ffaafe1998ebeb36f40f165309ae2f4b518a1be8f07f47d1bc95d68f5fd658e8d8773f9d902ee06d6fcea71abf9701926faa560cc3717df25d2a950
7
- data.tar.gz: fa7df302a4388b391fb318aaa5b9bb491c87f37b495087a9718c68ef23ec067eb8b796e614eedfd66463c475ea16b341ddd3abd07ca48c9c2bb6ba514b960929
6
+ metadata.gz: 44c814fb82cb84d3d8127cea39df3028d3373629eead4082b2e366ff432e33053892c33950da25cc087994f7230a9971f4216472cc5ff53e5d256fd688b7384c
7
+ data.tar.gz: 5175538eb6476bc4163862b659ed0d1c31df3aa67454525cbcbc786b442d1445729a92383ff86a452e858dbffb27568faf86e778f69e088eb7c6519c3e3ea880
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trusty-layouts-extension (3.1.0)
4
+ trusty-layouts-extension (3.1.1)
5
5
  trusty-cms (~> 3.1.0)
6
6
 
7
7
  GEM
@@ -126,7 +126,7 @@ GEM
126
126
  thor (>= 0.14, < 2.0)
127
127
  launchy (2.4.3)
128
128
  addressable (~> 2.3)
129
- libv8 (3.16.14.19)
129
+ libv8 (3.16.14.19-x86_64-darwin-16)
130
130
  loofah (2.0.3)
131
131
  nokogiri (>= 1.5.9)
132
132
  mail (2.6.6)
@@ -1,26 +1,26 @@
1
1
  module ShareLayouts
2
2
  module Controllers
3
3
  module ActionController
4
-
4
+
5
5
  def self.included(base)
6
6
  base.extend ClassMethods
7
7
  end
8
-
8
+
9
9
  module ClassMethods
10
10
  def trusty_layout(name=nil, options={}, &block)
11
11
  raise ArgumentError, "A layout name or block is required!" unless name || block
12
12
  class_attribute :trusty_layout
13
13
  self.trusty_layout = name || block
14
- before_filter :set_trusty_layout
14
+ before_action :set_trusty_layout
15
15
  layout 'trusty', options
16
16
  end
17
17
  end
18
-
18
+
19
19
  def set_trusty_layout
20
20
  @trusty_layout = self.class.trusty_layout
21
21
  @trusty_layout = @trusty_layout.call(self) if @trusty_layout.is_a? Proc
22
22
  end
23
-
23
+
24
24
  end
25
25
  end
26
26
  end
@@ -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 = "3.1.0"
6
+ s.version = "3.1.1"
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", "Brittany Martin"]
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: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Sipple
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2017-08-08 00:00:00.000000000 Z
17
+ date: 2017-08-09 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: trusty-cms