Sha256: 3a43471cdc2029d384f7ed4c32cf2993d6b14a28277001d1411f7cc68b9f379d

Contents?: true

Size: 280 Bytes

Versions: 20

Compression:

Stored size: 280 Bytes

Contents

module PgObjects
  ##
  # Creates default directories structure
  class InstallGenerator < ::Rails::Generators::Base
    def create_directories
      empty_directory 'db/objects'
      empty_directory 'db/objects/before'
      empty_directory 'db/objects/after'
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
pg_objects-1.0.3 lib/generators/pg_objects/install/install_generator.rb
pg_objects-1.0.2 lib/generators/pg_objects/install/install_generator.rb
pg_objects-1.0.1 lib/generators/pg_objects/install/install_generator.rb
pg_objects-1.0.0 lib/generators/pg_objects/install/install_generator.rb
pg_objects-0.5.13 lib/generators/pg_objects/install/install_generator.rb
pg_objects-0.5.12 lib/generators/pg_objects/install/install_generator.rb
pg_objects-0.5.11 lib/generators/pg_objects/install/install_generator.rb
pg_objects-0.5.10 lib/generators/pg_objects/install/install_generator.rb
pg_objects-0.5.9 lib/generators/pg_objects/install/install_generator.rb
pg_objects-0.5.8 lib/generators/pg_objects/install/install_generator.rb
pg_objects-0.5.7 lib/generators/pg_objects/install/install_generator.rb
pg_objects-0.5.6 lib/generators/pg_objects/install/install_generator.rb
pg_objects-0.5.5 lib/generators/pg_objects/install/install_generator.rb
pg_objects-0.5.4 lib/generators/pg_objects/install/install_generator.rb
pg_objects-0.5.3 lib/generators/pg_objects/install/install_generator.rb
pg_objects-0.5.2 lib/generators/pg_objects/install/install_generator.rb
pg_objects-0.4.4 lib/generators/pg_objects/install/install_generator.rb
pg_objects-0.4.3 lib/generators/pg_objects/install/install_generator.rb
pg_objects-0.4.2 lib/generators/pg_objects/install/install_generator.rb
pg_objects-0.3.4 lib/generators/pg_objects/install/install_generator.rb