minimal 0.0.24 → 0.0.25

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,8 +15,8 @@ class Minimal::Template
15
15
  protected
16
16
 
17
17
  def template_class_name_and_format(path)
18
- %r(views/(.*?)(\.[^\.]*)?.rb) =~ path
18
+ %r((?:^|/)views/(.*?)(\.[^\.]*)?.rb) =~ path
19
19
  [$1.try(:camelize), ($2 || 'html').gsub('.', '').to_sym]
20
20
  end
21
21
  end
22
- end
22
+ end
@@ -1,3 +1,3 @@
1
1
  module Minimal
2
- VERSION = "0.0.24"
2
+ VERSION = "0.0.25"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minimal
3
3
  version: !ruby/object:Gem::Version
4
- hash: 47
4
+ hash: 45
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 24
10
- version: 0.0.24
9
+ - 25
10
+ version: 0.0.25
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sven Fuchs
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-11 00:00:00 +01:00
18
+ date: 2011-01-18 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency