amardaxini-enginator 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('enginator', '0.1.1') do |p|
5
+ Echoe.new('enginator', '0.1.2') do |p|
6
6
  p.project = "enginator"
7
7
  p.description = "A collection of useful generator scripts for Rails engine."
8
8
  p.url = ""
data/enginator.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{enginator}
5
- s.version = "0.1.1"
5
+ s.version = "0.1.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Amar Daxini"]
@@ -201,7 +201,7 @@ class EngineGenerator < Rails::Generator::NamedBase
201
201
  application_helper_file .each do |line|
202
202
  application_content += "#{line} "
203
203
  end
204
- app1 = "module #{plural_class_name}"
204
+ app1 = "module #{plural_class_name}Helper"
205
205
  application_content.sub!(/module ApplicationHelper{1}/,"#{app1}")
206
206
  application_helper_file = File.open("#{plugin_path}/app/helpers/application_helper.rb","w")
207
207
  application_helper_file.write(application_content)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amardaxini-enginator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amar Daxini