Sha256: 87a9ad23f03bb7e354623607beb7d6a235dcf86728162d4f46fe2299b0e47c95
Contents?: true
Size: 466 Bytes
Versions: 2
Compression:
Stored size: 466 Bytes
Contents
require 'rails/generators' require 'rails/generators/migration' module Socialite module Generators class InstallGenerator < Rails::Generators::Base include Rails::Generators::Migration desc 'Generates the socialite initializer' def self.source_root File.join(File.dirname(__FILE__), 'templates') end def copy_initializer template 'socialite.rb', 'config/initializers/socialite.rb' end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
socialite-0.0.1.beta4 | lib/generators/socialite/install_generator.rb |
socialite-0.0.1.beta2 | lib/generators/socialite/install_generator.rb |