crane_rails 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e0c13d5043f96d56bd11bbad7d2e9763994e3967
4
- data.tar.gz: 48621680e57794315099a39be2176af353372e7b
3
+ metadata.gz: 66e0c80e3e65af1eb06a21d6645ee84be45e91b7
4
+ data.tar.gz: 8b5ec72bf47b5898880ff979d6c17a080024f5e4
5
5
  SHA512:
6
- metadata.gz: ec594d22a8380225228fa65f360ed31ad0fa18459ebcc3fcbf420969bb82bb463dd1bd63de7eca477ada4195961711d27335bc4beef0d6bb3daa8fe43aedd93b
7
- data.tar.gz: 903a047acaecfeb62e8c544750e4df566fa4b50f4dbba9329b8bff2681640029d290d7386a36bc6856b7eb2370cf6704220202e4969d07fd0dd71729b0895fd4
6
+ metadata.gz: ed4b62d1f941b20e6692904c923a79dbd7266498e376055b2752cfcc0ee902e9aebb84ea309e167a8f77d2981a4443db01ea3e9be98b2523b9ddb2bbdb3d3e7e
7
+ data.tar.gz: 800a411c059d78138dd55f4c6e984ba36bcc2ada956cd0622324a672a533a8653e24969423623cdeb5347f75711c5374d08784640df072de9becdb18f80b902d
@@ -1,3 +1,3 @@
1
1
  module CraneRails
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -0,0 +1,13 @@
1
+ module CraneRails
2
+ module Generators
3
+ class BootstrapGenerator < Rails::Generators::Base
4
+ desc 'creates files for crane_rails'
5
+ source_root File.expand_path('../templates', __FILE__)
6
+
7
+ def bootstrap
8
+ template '.crane.yml', '.crane.yml'
9
+ template 'Vagrantfile', 'Vagrantfile'
10
+ end
11
+ end
12
+ end
13
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crane_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Shook
@@ -49,9 +49,8 @@ files:
49
49
  - Rakefile
50
50
  - lib/crane_rails.rb
51
51
  - lib/crane_rails/version.rb
52
- - lib/generators/crane_bootstrap/templates/Vagrantfile
53
- - lib/generators/crane_bootstrap_generator.rb
54
- - lib/tasks/crane_rails_tasks.rake
52
+ - lib/generators/crane_rails/bootstrap/bootstrap_generator.rb
53
+ - lib/generators/crane_rails/bootstrap/templates/Vagrantfile
55
54
  homepage: https://github.com/shicholas/crane_rails
56
55
  licenses: []
57
56
  metadata: {}
@@ -1,10 +0,0 @@
1
- require 'rails/generators/base'
2
-
3
- class CraneBootstrapGenerator < Rails::Generators::NamedBase
4
- source_root File.expand_path('../templates', __FILE__)
5
-
6
- def bootstrap
7
- copy_file '.crane.yml', '.crane.yml'
8
- copy_file 'Vagrantfile', '.Vagrantfile'
9
- end
10
- end
@@ -1,4 +0,0 @@
1
- # desc "Explaining what the task does"
2
- task :crane_rails do
3
- # Task goes here
4
- end