crane_rails 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/crane_rails/version.rb +1 -1
- data/lib/generators/crane_rails/bootstrap/bootstrap_generator.rb +13 -0
- data/lib/generators/{crane_bootstrap → crane_rails/bootstrap}/templates/Vagrantfile +0 -0
- metadata +3 -4
- data/lib/generators/crane_bootstrap_generator.rb +0 -10
- data/lib/tasks/crane_rails_tasks.rake +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66e0c80e3e65af1eb06a21d6645ee84be45e91b7
|
4
|
+
data.tar.gz: 8b5ec72bf47b5898880ff979d6c17a080024f5e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed4b62d1f941b20e6692904c923a79dbd7266498e376055b2752cfcc0ee902e9aebb84ea309e167a8f77d2981a4443db01ea3e9be98b2523b9ddb2bbdb3d3e7e
|
7
|
+
data.tar.gz: 800a411c059d78138dd55f4c6e984ba36bcc2ada956cd0622324a672a533a8653e24969423623cdeb5347f75711c5374d08784640df072de9becdb18f80b902d
|
data/lib/crane_rails/version.rb
CHANGED
@@ -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
|
File without changes
|
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.
|
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/
|
53
|
-
- lib/generators/
|
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
|