Class: Preseason::Recipe::Gemfile

Inherits:
Preseason::Recipe show all
Defined in:
lib/preseason/recipe/gemfile.rb

Instance Attribute Summary

Attributes inherited from Preseason::Recipe

#config

Instance Method Summary collapse

Methods inherited from Preseason::Recipe

#initialize, #post_install_hook, #recipe_root

Methods included from Colorize

#ask, #readme, #yes?

Methods included from GeneratorContext

#method_missing

Constructor Details

This class inherits a constructor from Preseason::Recipe

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Preseason::GeneratorContext

Instance Method Details

#prepareObject



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'lib/preseason/recipe/gemfile.rb', line 2

def prepare
  remove_comments
  remove_unwanted_gems
  remove_empty_lines
  add_ruby_version
  add_database_gem
  add_global_gems
  add_non_heroku_gems
  add_production_gems
  add_development_gems
  add_development_test_gems
  add_test_gems
  add_factory_gem
  add_bourbon_gems
  add_bitters_gem
  add_templating_gem
  add_active_admin_gem
  add_authentication_gem
  add_modernizr_gem
  add_normalize_gem
  add_ie8_gems
end