enlightenment 0.0.1.pre.2 → 0.0.1.pre.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,7 @@ GIT
9
9
  PATH
10
10
  remote: .
11
11
  specs:
12
- enlightenment (0.0.1.pre.2)
12
+ enlightenment (0.0.1.pre.3)
13
13
  green_light
14
14
  i18n-js
15
15
  jquery-rails
@@ -1,5 +1,5 @@
1
1
  module Enlightenment
2
- class ApplicationController < ActionController::Base
2
+ class ApplicationController < ::ApplicationController
3
3
  def show(options = {})
4
4
  render(path, options)
5
5
  end
@@ -1,6 +1,7 @@
1
1
  module Enlightenment
2
2
  class PagesController < Enlightenment::ApplicationController
3
3
  respond_to :html
4
+ layout :pages_layout
4
5
 
5
6
  def show
6
7
  super
@@ -8,7 +9,11 @@ module Enlightenment
8
9
 
9
10
  private
10
11
 
11
- # handle deprecation warning.
12
+ def pages_layout
13
+ Enlightenment.pages_layout
14
+ end
15
+
16
+ # handles deprecation warning.
12
17
  def path
13
18
  super.sub(/\.html$/, '')
14
19
  end
@@ -48,6 +48,9 @@ module Enlightenment
48
48
  autoload :ValidatesUniqueness, 'enlightenment/validations/validates_uniqueness'
49
49
  end
50
50
 
51
+ mattr_accessor :pages_layout
52
+ @@pages_layout = 'application'
53
+
51
54
  mattr_accessor :validate_models
52
55
  @@validate_models = {}
53
56
 
@@ -1,3 +1,3 @@
1
1
  module Enlightenment
2
- VERSION = "0.0.1.pre.2"
3
- end
2
+ VERSION = "0.0.1.pre.3"
3
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enlightenment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.pre.2
4
+ version: 0.0.1.pre.3
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -284,7 +284,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
284
284
  version: '0'
285
285
  segments:
286
286
  - 0
287
- hash: 3114011181592340144
287
+ hash: -425918526441680426
288
288
  required_rubygems_version: !ruby/object:Gem::Requirement
289
289
  none: false
290
290
  requirements: