openhood-sinatra_app_gen 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/generators/sinatra_app/templates/app.rb.erb +1 -1
- data/sinatra_app_gen.gemspec +1 -1
- metadata +1 -1
data/VERSION.yml
CHANGED
@@ -56,7 +56,7 @@ module <%= name %>
|
|
56
56
|
Dir.glob(File.join(base_path, "helpers", "*.rb")).each do |h|
|
57
57
|
require h
|
58
58
|
module_name = "#{File.basename(h, ".rb").camelize}Helper"
|
59
|
-
include
|
59
|
+
include <%= name %>.const_get(module_name) if <%= name %>.const_defined?(module_name)
|
60
60
|
end
|
61
61
|
end
|
62
62
|
|
data/sinatra_app_gen.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{sinatra_app_gen}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Jonathan Tron", "Joseph Halter"]
|