rad_core 0.0.22 → 0.0.23

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  development_error_template: '/rad_default_templates/development/error'
2
- production_error_template: nil
2
+ production_error_template:
3
3
  test_error_template: '/rad_default_templates/development/error'
@@ -29,7 +29,7 @@ module Rad::Environment::FilesHelper
29
29
 
30
30
  def find_files_by_pattern_without_cache pattern, directories = nil
31
31
  directories ||= self.directories
32
- patterns = directories.to_a.collect{|d| "#{d}#{pattern}"}
32
+ patterns = directories.to_a.collect{|d| "#{d}#{pattern}"}
33
33
  Dir.glob patterns
34
34
  end
35
35
  alias_method :find_files_by_pattern, :find_files_by_pattern_without_cache
@@ -68,7 +68,7 @@ class Rad::Template
68
68
  if format
69
69
  _find_file("#{tname}.#{format}.*", directories) or
70
70
  _find_file("#{tname}.*", directories, exact_format)
71
- else
71
+ else
72
72
  _find_file("#{tname}.*", directories)
73
73
  end
74
74
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rad_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.22
4
+ version: 0.0.23
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-07-04 00:00:00 +04:00
13
+ date: 2011-07-05 00:00:00 +04:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency