mirror of
https://github.com/kbparagua/paloma
synced 2023-03-27 23:21:17 -04:00
paloma_generator to callback_generator. fix lib/paloma.rb
This commit is contained in:
parent
76f4466e2b
commit
51ec57e101
4 changed files with 6 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
PATH
|
||||
remote: .
|
||||
specs:
|
||||
paloma (0.0.1)
|
||||
paloma (0.0.2)
|
||||
|
||||
GEM
|
||||
remote: http://rubygems.org/
|
||||
|
|
|
@ -4,10 +4,11 @@ module Paloma
|
|||
end
|
||||
end
|
||||
|
||||
require 'rails/all'
|
||||
require 'action_controller/railtie'
|
||||
require 'rails/generators'
|
||||
|
||||
# TODO: Rails version checking
|
||||
|
||||
require 'paloma/paloma_generator'
|
||||
require 'paloma/callback_generator'
|
||||
require 'paloma/action_controller_filters'
|
||||
require 'paloma/action_controller_extension'
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
module Paloma
|
||||
|
||||
class PalomaGenerator < ::Rails::Generators::NamedBase
|
||||
class CallbackGenerator < ::Rails::Generators::NamedBase
|
||||
source_root File.expand_path('../templates', __FILE__)
|
||||
|
||||
def copy_initializer_file
|
|
@ -1,4 +1,4 @@
|
|||
require 'rails'
|
||||
require 'rails/all'
|
||||
require 'bundler/setup'
|
||||
Bundler.require
|
||||
|
||||
|
|
Loading…
Reference in a new issue