Sha256: c013d512d8046e89c65dc2b28db9022e2b7c134cf181a0592a45896c8c3ed509

Contents?: true

Size: 319 Bytes

Versions: 15

Compression:

Stored size: 319 Bytes

Contents

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

    source_root File.expand_path('../', __FILE__)  
    def octokit_initializer
      copy_file "octokit.example.yml", "#{Rails.root}/config/octokit.yml"
      copy_file "octokit.rb", "#{Rails.root}/config/initializers/octokit.rb"
    end

  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
hubstats-0.0.18 lib/generators/hubstats/install_generator.rb
hubstats-0.0.17 lib/generators/hubstats/install_generator.rb
hubstats-0.0.16 lib/generators/hubstats/install_generator.rb
hubstats-0.0.15 lib/generators/hubstats/install_generator.rb
hubstats-0.0.14 lib/generators/hubstats/install_generator.rb
hubstats-0.0.13 lib/generators/hubstats/install_generator.rb
hubstats-0.0.12 lib/generators/hubstats/install_generator.rb
hubstats-0.0.10 lib/generators/hubstats/install_generator.rb
hubstats-0.0.9 lib/generators/hubstats/install_generator.rb
hubstats-0.0.8 lib/generators/hubstats/install_generator.rb
hubstats-0.0.7 lib/generators/hubstats/install_generator.rb
hubstats-0.0.6 lib/generators/hubstats/install_generator.rb
hubstats-0.0.5 lib/generators/hubstats/install_generator.rb
hubstats-0.0.4 lib/generators/hubstats/install_generator.rb
hubstats-0.0.3 lib/generators/hubstats/install_generator.rb