crane_rails 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Vagrantfile +28 -0
- data/lib/crane_rails/cli.rb +2 -2
- data/lib/crane_rails/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7c334e2d81b87e42f59f359ae536de1311def11
|
4
|
+
data.tar.gz: ec140f6d3f29998ae4259df0950d4e3318408794
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 281e28802f05608ee1c7d46344d3de4e9a829ed006e0defe0c9c7f443212e0d6893c553c5c74fe663851c6ea25e5a6c21f9d74faee83bf367fd222992bf3322b
|
7
|
+
data.tar.gz: d77de967489f3f386f2e7238b5007478933a592210ea1b88c10385ecdeb7aa3432d6f21fb1ef79e0e1224ecdf025ea48e4d1338669e53c514e38ad404a478daa
|
data/Vagrantfile
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
Vagrant.configure('2') do |config|
|
2
|
+
config.vm.box = 'coreos'
|
3
|
+
config.vm.box_url = 'http://storage.core-os.net/coreos/amd64-generic/dev-channel/coreos_production_vagrant.box'
|
4
|
+
|
5
|
+
# Uncomment below to enable NFS for sharing the host machine into the coreos-vagrant VM.
|
6
|
+
config.ssh.forward_agent = true
|
7
|
+
config.vm.network 'private_network', ip: '172.12.8.150'
|
8
|
+
config.vm.synced_folder '.', '/home/core/share', id: 'core', :nfs => true, :mount_options => ['nolock,vers=3,udp']
|
9
|
+
|
10
|
+
# Fix docker not being able to resolve private registry in VirtualBox
|
11
|
+
config.vm.provider :virtualbox do |vb, override|
|
12
|
+
vb.customize ['modifyvm', :id, '--natdnshostresolver1', 'on']
|
13
|
+
vb.customize ['modifyvm', :id, '--natdnsproxy1', 'on']
|
14
|
+
end
|
15
|
+
|
16
|
+
config.vm.provider :vmware_fusion do |vb, override|
|
17
|
+
override.vm.box_url = 'http://storage.core-os.net/coreos/amd64-generic/dev-channel/coreos_production_vagrant_vmware_fusion.box'
|
18
|
+
end
|
19
|
+
|
20
|
+
# plugin conflict
|
21
|
+
if Vagrant.has_plugin?('vagrant-vbguest') then
|
22
|
+
config.vbguest.auto_update = false
|
23
|
+
end
|
24
|
+
|
25
|
+
config.vm.provider 'shell', inline: <<-COMMANDS
|
26
|
+
docker build --name=redis -d shicholas/redis
|
27
|
+
COMMANDS
|
28
|
+
end
|
data/lib/crane_rails/cli.rb
CHANGED
@@ -13,8 +13,8 @@ module CraneRails
|
|
13
13
|
template 'Vagrantfile', 'Vagrantfile'
|
14
14
|
remove_file 'Gemfile'
|
15
15
|
remove_file 'Gemfile.lock'
|
16
|
-
get 'https://raw.githubusercontent.com/shicholas/
|
17
|
-
get 'https://raw.githubusercontent.com/shicholas/
|
16
|
+
get 'https://raw.githubusercontent.com/shicholas/Dockerfile-rails/master/Gemfile', 'Gemfile'
|
17
|
+
get 'https://raw.githubusercontent.com/shicholas/Dockerfile-rails/master/Gemfile.lock', 'Gemfile.lock'
|
18
18
|
end
|
19
19
|
|
20
20
|
default_task :bootstrap
|
data/lib/crane_rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicholas Shook
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
11
|
+
date: 2014-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -66,6 +66,7 @@ files:
|
|
66
66
|
- MIT-LICENSE
|
67
67
|
- README.md
|
68
68
|
- Rakefile
|
69
|
+
- Vagrantfile
|
69
70
|
- bin/crane_rails
|
70
71
|
- crane_rails.gemspec
|
71
72
|
- features/generator.feature
|