zen 0.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,5 +8,5 @@ module Zen
8
8
  # @author Yorick Peterse
9
9
  # @since 0.1
10
10
  #
11
- Version = '0.2'
11
+ Version = '0.2.3'
12
12
  end
@@ -40,7 +40,7 @@ module Zen
40
40
 
41
41
  # A theme is always required
42
42
  if @settings[:theme].nil? or @settings[:theme].empty?
43
- respond(@zen_general_lang.errors[:no_theme])
43
+ respond(lang('zen_general.errors.no_theme'))
44
44
  end
45
45
 
46
46
  theme = ::Zen::Package[@settings[:theme]]
@@ -72,7 +72,7 @@ module Zen
72
72
  if File.exist?(offline_path)
73
73
  render_file(offline_path)
74
74
  else
75
- respond(@zen_general_lang.errors[:website_offline])
75
+ respond(lang('zen_general.errors.website_offline'))
76
76
  end
77
77
  else
78
78
  # Check if the group exists
@@ -84,7 +84,7 @@ module Zen
84
84
  if File.exist?(not_found)
85
85
  render_file(not_found)
86
86
  else
87
- respond(@zen_general_lang.errors[:no_templates], 404)
87
+ respond(lang('zen_general.errors.no_templates'), 404)
88
88
  end
89
89
  end
90
90
  end
@@ -1,7 +1,7 @@
1
- require __DIR__('categories/lib/categories')
1
+ require __DIR__('users/lib/users')
2
+ require __DIR__('sections/lib/sections')
3
+ require __DIR__('settings/lib/settings')
2
4
  require __DIR__('comments/lib/comments')
5
+ require __DIR__('categories/lib/categories')
3
6
  require __DIR__('custom_fields/lib/custom_fields')
4
7
  require __DIR__('menus/lib/menus')
5
- require __DIR__('sections/lib/sections')
6
- require __DIR__('settings/lib/settings')
7
- require __DIR__('users/lib/users')
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: zen
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: "0.2"
5
+ version: 0.2.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Yorick Peterse
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-03-14 00:00:00 +01:00
13
+ date: 2011-03-20 00:00:00 +01:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency