Sha256: 8f2bb1724382b962dabf2e607af42c9b8cc93a5486a9a4bf63c69897614aff20

Contents?: true

Size: 367 Bytes

Versions: 12

Compression:

Stored size: 367 Bytes

Contents

# A rails generator `vkontakte:install`. It creates a config file in `config/initializers/vkontakte_api.rb`.
class VkontakteApi::InstallGenerator < Rails::Generators::Base
  source_root File.expand_path('../templates', __FILE__)
  
  # Creates the config file.
  def create_initializer
    copy_file 'initializer.rb', 'config/initializers/vkontakte_api.rb'
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
vkontakte_api-1.3.1 lib/generators/vkontakte_api/install/install_generator.rb
vkontakte_api-1.3 lib/generators/vkontakte_api/install/install_generator.rb
vkontakte_api-1.2 lib/generators/vkontakte_api/install/install_generator.rb
vkontakte_api-1.1 lib/generators/vkontakte_api/install/install_generator.rb
vkontakte_api-1.0.4 lib/generators/vkontakte_api/install/install_generator.rb
vkontakte_api-1.0.3 lib/generators/vkontakte_api/install/install_generator.rb
vkontakte_api-1.0.2 lib/generators/vkontakte_api/install/install_generator.rb
vkontakte_api-1.0.1 lib/generators/vkontakte_api/install/install_generator.rb
vkontakte_api-1.0 lib/generators/vkontakte_api/install/install_generator.rb
vkontakte_api-1.0.rc3 lib/generators/vkontakte_api/install/install_generator.rb
vkontakte_api-1.0.rc2 lib/generators/vkontakte_api/install/install_generator.rb
vkontakte_api-1.0.rc lib/generators/vkontakte_api/install/install_generator.rb