templates 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,7 +16,7 @@ module Templates
16
16
 
17
17
  app_templates = { :mtime => last_modify }
18
18
 
19
- Dir.new("#{RAILS_ROOT}/app/controllers").entries.each do |controller_file_name|
19
+ Dir.new("#{Rails.root}/app/controllers").entries.each do |controller_file_name|
20
20
 
21
21
  if controller_file_name =~ /_controller/
22
22
  controller_name = controller_file_name.camelize.gsub('.rb', '')
@@ -1,3 +1,3 @@
1
1
  module Templates
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: templates
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sasha Koss