Sha256: a63d90d25691ecfc5569e6a04d40f8739d864be1ba9ff00b534a530865939b52

Contents?: true

Size: 466 Bytes

Versions: 7

Compression:

Stored size: 466 Bytes

Contents

# encoding: UTF-8

module GoogleBigquery
  class InstallGenerator < ::Rails::Generators::Base

    source_root File.expand_path("../../../templates", __FILE__)

    desc "Creates a BigQuery initializer."
    #class_option :orm

    def copy_initializer
      say_status("installing", "BigQuery", :green)
      copy_file "bigquery.rb.erb", "config/initializers/bigquery.rb"
    end

    def show_readme
      readme "README" if behavior == :invoke
    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bigbroda-0.0.7 lib/generators/google_bigquery/install/install_generator.rb
bigbroda-0.0.6 lib/generators/google_bigquery/install/install_generator.rb
bigbroda-0.0.5 lib/generators/google_bigquery/install/install_generator.rb
bigbroda-0.0.4 lib/generators/google_bigquery/install/install_generator.rb
bigbroda-0.0.3 lib/generators/google_bigquery/install/install_generator.rb
bigbroda-0.0.2 lib/generators/google_bigquery/install/install_generator.rb
bigbroda-0.0.1 lib/generators/google_bigquery/install/install_generator.rb