lib/shogun/command/new.rb in shogun-6.2.0 vs lib/shogun/command/new.rb in shogun-6.2.1
- old
+ new
@@ -12,11 +12,12 @@
def execute
architecture(source: scaffold_directory, destination: current_directory) do |architect|
architect.create(directory: architect.destination(namespace))
architect.within(source: "project", destination: namespace) do |scope|
- scope.copy(file: ".gitignore", context: context)
+ scope.copy(file: "gitignore", as: ".gitignore", context: context)
scope.copy(file: ".rspec", context: context)
+ scope.copy(file: ".env", context: context)
scope.copy(file: ".ruby-gemset", context: context)
scope.copy(file: ".ruby-version", context: context)
scope.copy(file: ".slugignore", context: context)
scope.copy(file: ".travis.yml", context: context)
scope.copy(file: "config.ru", context: context)