crane_rails 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/lib/crane_rails/templates/Vagrantfile +5 -3
- data/lib/crane_rails/version.rb +1 -1
- metadata +1 -2
- data/Rakefile +0 -32
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 717faf363ec82fcb8133290562c437815d96d0be
|
4
|
+
data.tar.gz: 10ef00e530a7033dfea57d733bf31c3d14f5f8a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16e3a26e33a175abf90192cb43b3514c5676c657576ffd9efed86f2d2bccc069add33b117427a177a45412e9982f1bedbde76a3e313813cd794c776adc0cac73
|
7
|
+
data.tar.gz: baa50bc9d7f612452a1720b7f786172d8c7c9abb7e35b36ff87304919bcdba8e5d57e8fb734df3e4ccd47c7672488a5779f8371be601edb8a40dddbd1f3e5144
|
data/README.md
CHANGED
@@ -17,9 +17,11 @@ There is really no point in adding this gem to your gemfile as it will override
|
|
17
17
|
|
18
18
|
## Usage
|
19
19
|
|
20
|
-
Run this command in a rails project
|
20
|
+
Run this command in the root of a rails project
|
21
21
|
|
22
22
|
```
|
23
|
+
rails new docker_is_awesome -T --skip-bundle --database=postgresql
|
24
|
+
cd docker_is_awesome
|
23
25
|
rails g crane:bootstrap
|
24
26
|
```
|
25
27
|
|
@@ -6,8 +6,10 @@ Vagrant.configure('2') do |config|
|
|
6
6
|
config.vm.network 'forwarded_port', guest: 3000, host: 3000
|
7
7
|
|
8
8
|
config.vm.provision 'docker' do |d|
|
9
|
-
d.run 'pg', image: 'shicholas/postgresql', daemonize: true
|
10
|
-
d.pull_images 'shicholas/rails-server'
|
11
|
-
d.pull_images 'shicholas/rails-guard'
|
12
9
|
end
|
10
|
+
config.vm.provision 'shell', inline: <<-COMMANDS
|
11
|
+
docker run --name=pg -d shicholas/postgresql
|
12
|
+
docker pull shicholas/rails-server
|
13
|
+
docker pull shicholas/rails-guard
|
14
|
+
COMMANDS
|
13
15
|
end
|
data/lib/crane_rails/version.rb
CHANGED
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.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicholas Shook
|
@@ -65,7 +65,6 @@ files:
|
|
65
65
|
- Gemfile.lock
|
66
66
|
- MIT-LICENSE
|
67
67
|
- README.md
|
68
|
-
- Rakefile
|
69
68
|
- bin/crane_rails
|
70
69
|
- crane_rails.gemspec
|
71
70
|
- features/generator.feature
|
data/Rakefile
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
begin
|
2
|
-
require 'bundler/setup'
|
3
|
-
rescue LoadError
|
4
|
-
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
5
|
-
end
|
6
|
-
|
7
|
-
require 'rdoc/task'
|
8
|
-
|
9
|
-
RDoc::Task.new(:rdoc) do |rdoc|
|
10
|
-
rdoc.rdoc_dir = 'rdoc'
|
11
|
-
rdoc.title = 'CraneRails'
|
12
|
-
rdoc.options << '--line-numbers'
|
13
|
-
rdoc.rdoc_files.include('README.rdoc')
|
14
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
15
|
-
end
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
Bundler::GemHelper.install_tasks
|
21
|
-
|
22
|
-
require 'rake/testtask'
|
23
|
-
|
24
|
-
Rake::TestTask.new(:test) do |t|
|
25
|
-
t.libs << 'lib'
|
26
|
-
t.libs << 'test'
|
27
|
-
t.pattern = 'test/**/*_test.rb'
|
28
|
-
t.verbose = false
|
29
|
-
end
|
30
|
-
|
31
|
-
|
32
|
-
task default: :test
|