crane_rails 0.2.3 → 0.2.4

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: 7abac7100625a385fe7725948f68f808e9604779
4
- data.tar.gz: 750bb66af7d492a029935048e12a6f74e88c65a6
3
+ metadata.gz: b148e9e2d83ab78509c6bc21278578acf01cbf6b
4
+ data.tar.gz: 08ec3c1de4b045b8e07363465ab4e6dcd1504db9
5
5
  SHA512:
6
- metadata.gz: d1c15095c0416800ade7624a8d095558f3850deb9776d6f85dff42c09bd9b9939d2193d712d3cce8340e2fefc294c5330a91af10a52f8fed3124761f70a225ca
7
- data.tar.gz: 693b7ce68b9afc8e4b5c5e39719c69c7e1a6360c84270b1090852aca3f2691bd17faaf5d84eaec02d4c9a25b246503a1bd0fee63d136569c7b15402db779a0ce
6
+ metadata.gz: 2b1476ec69278ac3a8c012946c979db563d9d46f46e2ab87965314f25f7b6d1266cd64a149a1714fc201f3d972802ca01bf955cbb3e7b3eaa6cc3625bed81d42
7
+ data.tar.gz: f59c87e23be3ca8112ff6ccbb950faab41690dea62a3947f9caf84d95d1d0b30476cd5199cdc2936a44e28ca73285f35601a8b73e3f7f9e212a1645a7f750b99
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- crane_rails (0.1.9)
4
+ crane_rails (0.2.3)
5
5
  thor (= 0.18.1)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,27 +1,35 @@
1
1
  # Crane::Rails
2
2
 
3
- ## Installation
4
-
5
- Add this line to your application's Gemfile:
6
-
7
- gem 'crane_rails'
3
+ ## Prerequisites
8
4
 
9
- And then execute:
5
+ This gem makes the assumption you have the following installed:
10
6
 
11
- $ bundle
7
+ * Virtualbox
8
+ * Vagrant
9
+ * Tmuxinator
12
10
 
13
- Or install it yourself as:
11
+ ## Installation
14
12
 
15
- $ gem install crane_rails
13
+ ```
14
+ gem install crane_rails
15
+ ```
16
+ There is really no point in adding this gem to your gemfile as it will override your current Gemfile
16
17
 
17
18
  ## Usage
18
19
 
19
20
  Run this command in a rails project
21
+
20
22
  ```
21
23
  rails g crane:bootstrap
22
24
  ```
23
25
 
24
- When this is done it will create a ```.crane.yml``` file in ```Rails.root``` to set up crane and provide a one step development environment by running ```vagrant up```. The ```.crane.yml``` can also be used for ci with the command ```crane ci```
26
+ Next comes Tmuxinator
27
+
28
+ ```
29
+ mv tmuxinator-sample.yml ~/.tmuxinator/rails.yml
30
+ tmuxinator start rails
31
+ ```
32
+
25
33
 
26
34
  ## Contributing
27
35
 
@@ -7,9 +7,11 @@ Feature: Generating Config Files
7
7
  When I run `crane_rails bootstrap`
8
8
  Then the file "Vagrantfile" should contain:
9
9
  """
10
- Vagrant.configure('2') do |config|
11
- config.vm.box = 'coreos'
12
- config.vm.box_url = 'http://storage.core-os.net/coreos/amd64-generic/dev-channel/coreos_production_vagrant.box'
10
+ config.vm.provision 'docker' do |d|
11
+ d.run 'shicholas/postgresql', args: '-d --name=pg'
12
+ d.pull_images 'shicholas/rails-server'
13
+ d.pull_images 'shicholas/rails-guard'
14
+ end
13
15
  """
14
16
  Then the file "Gemfile" should contain:
15
17
  """
@@ -6,7 +6,7 @@ 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 'shicholas/postgresql', args: '-d --name=pg'
9
+ d.run 'pg', image: 'shicholas/postgresql', args: '-d'
10
10
  d.pull_images 'shicholas/rails-server'
11
11
  d.pull_images 'shicholas/rails-guard'
12
12
  end
@@ -1,3 +1,3 @@
1
1
  module CraneRails
2
- VERSION = '0.2.3'
2
+ VERSION = '0.2.4'
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.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Shook