crane_rails 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 74d9e072b814c27ba389172498446684e7a7913b
4
- data.tar.gz: cf08cb086d22584c5aa7876cf3d356de67857f28
3
+ metadata.gz: 4f90bb44a1c6aad03a58fe3600be048563c12135
4
+ data.tar.gz: 16217f523a2b9c6efd7f68b4198cc56cb4cd211d
5
5
  SHA512:
6
- metadata.gz: 9de75978830194c839abaf1c5a4363bd23ea2c31b0f801468e39e3c7eeaa9008d6129b627e343c9d55db2e258e191669674f6d37383f49e750a97ebd1828c777
7
- data.tar.gz: da2fb37be1257e246e258e0cae05303649219a42f3e7707dd92397701b1b4ef3e25d4b3826f8db3357990d224501e3d61828f101d020583edac258b8cba6de51
6
+ metadata.gz: 0f727dc167d8e80534b18495ef70579b0f8c8319c90edadd1f62c4235b4037b20f5adfbd9d5a878a7babd3645eda32ec9a0f89792d21337833f5f99d328aadb5
7
+ data.tar.gz: 690176082e28309fb6cdd42fda315f1b34268bac9f9f2486bdb314bae2dcd20269d02cc464138ab3456d0bb432a81dac62f9e8affec2a82fd6bc04f55109abc1
@@ -1,31 +1,13 @@
1
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'
2
+ config.vm.box = 'hashicorp/precise64'
4
3
 
5
- config.vm.synced_folder '.', '/home/core/rails', id: 'core', type: 'rsync'
4
+ config.vm.synced_folder '.', '/home/vagrant/rails', type: 'rsync'
6
5
 
7
- # Rails server port
8
6
  config.vm.network 'forwarded_port', guest: 3000, host: 3000
9
7
 
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']
8
+ config.vm.provision 'docker' do |d|
9
+ d.run 'shicholas/postgres', args: '-d --name=pg'
10
+ d.pull_images 'shicholas/rails-server'
11
+ d.pull_images 'shicholas/rails-guard'
14
12
  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
- # install service containers for rails application
26
- config.vm.provision 'shell', inline: <<-COMMANDS
27
- docker run --name=pg -d shicholas/postgresql
28
- docker pull shicholas/rails-server
29
- docker pull shicholas/rails-guard
30
- COMMANDS
31
13
  end
@@ -1,3 +1,3 @@
1
1
  module CraneRails
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  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.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Shook