crane_rails 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +14 -0
- data/Gemfile.lock +39 -0
- data/features/generator.feature +2 -2
- data/lib/crane_rails/cli.rb +4 -1
- data/lib/crane_rails/version.rb +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 485ce8cad006c513acb7cd88b1de281293046b75
|
4
|
+
data.tar.gz: 7c288b239f7e3e96fa97bbd32b1b7ded27e3a666
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 611f98126c78bae777dbaf770bcd7ccc11e59eded685f301ee4754b21c9b28196bd4ff516cac3ed1c368d4be34194eddba12e6207afab6c1a63801c3033fdd99
|
7
|
+
data.tar.gz: b16caad258a7e2e93ff3d7c88d5b67a6e5a7c4d1754d6fef24010cba80ac52aebb51239899036058f10d135e5c4297a1206dd60299f02fce575153a00d6f199c
|
data/Gemfile
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
source "https://rubygems.org"
|
2
|
+
|
3
|
+
# Declare your gem's dependencies in crane_rails.gemspec.
|
4
|
+
# Bundler will treat runtime dependencies like base dependencies, and
|
5
|
+
# development dependencies will be added by default to the :development group.
|
6
|
+
gemspec
|
7
|
+
|
8
|
+
# Declare any dependencies that are still in development here instead of in
|
9
|
+
# your gemspec. These might include edge Rails or gems from your path or
|
10
|
+
# Git. Remember to move these dependencies to your gemspec before releasing
|
11
|
+
# your gem to rubygems.org.
|
12
|
+
|
13
|
+
# To use debugger
|
14
|
+
# gem 'debugger'
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
crane_rails (0.1.7)
|
5
|
+
thor (= 0.18.1)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
aruba (0.5.4)
|
11
|
+
childprocess (>= 0.3.6)
|
12
|
+
cucumber (>= 1.1.1)
|
13
|
+
rspec-expectations (>= 2.7.0)
|
14
|
+
builder (3.2.2)
|
15
|
+
childprocess (0.5.1)
|
16
|
+
ffi (~> 1.0, >= 1.0.11)
|
17
|
+
cucumber (1.3.13)
|
18
|
+
builder (>= 2.1.2)
|
19
|
+
diff-lcs (>= 1.1.3)
|
20
|
+
gherkin (~> 2.12)
|
21
|
+
multi_json (>= 1.7.5, < 2.0)
|
22
|
+
multi_test (>= 0.1.1)
|
23
|
+
diff-lcs (1.2.5)
|
24
|
+
ffi (1.9.3)
|
25
|
+
gherkin (2.12.2)
|
26
|
+
multi_json (~> 1.3)
|
27
|
+
multi_json (1.9.2)
|
28
|
+
multi_test (0.1.1)
|
29
|
+
rspec-expectations (2.14.5)
|
30
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
31
|
+
thor (0.18.1)
|
32
|
+
|
33
|
+
PLATFORMS
|
34
|
+
ruby
|
35
|
+
|
36
|
+
DEPENDENCIES
|
37
|
+
aruba
|
38
|
+
crane_rails!
|
39
|
+
cucumber
|
data/features/generator.feature
CHANGED
@@ -22,8 +22,8 @@ Feature: Generating Config Files
|
|
22
22
|
"""
|
23
23
|
Then the file "config/database.yml" should contain:
|
24
24
|
"""
|
25
|
-
|
26
|
-
|
25
|
+
host: <%= ENV['PG_PORT_5432_TCP_ADDR'] %>
|
26
|
+
port: <%= ENV['PG_PORT_5432_TCP_PORT'] %>
|
27
27
|
"""
|
28
28
|
Then the file "tmuxinator-sample.yml" should contain:
|
29
29
|
"""
|
data/lib/crane_rails/cli.rb
CHANGED
@@ -11,9 +11,12 @@ module CraneRails
|
|
11
11
|
desc 'bootstrap', 'Generates a files for rails app'
|
12
12
|
def bootstrap
|
13
13
|
template 'Vagrantfile', 'Vagrantfile'
|
14
|
+
|
14
15
|
get 'https://raw.githubusercontent.com/shicholas/Dockerfile-rails/master/Gemfile', 'Gemfile'
|
15
16
|
get 'https://raw.githubusercontent.com/shicholas/Dockerfile-rails/master/Gemfile.lock', 'Gemfile.lock'
|
16
|
-
|
17
|
+
|
18
|
+
copy_file '../templates/database.yml', 'config/database.yml'
|
19
|
+
|
17
20
|
template 'rails.yml', 'tmuxinator-sample.yml'
|
18
21
|
end
|
19
22
|
|
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.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicholas Shook
|
@@ -61,6 +61,8 @@ extensions: []
|
|
61
61
|
extra_rdoc_files: []
|
62
62
|
files:
|
63
63
|
- ".gitignore"
|
64
|
+
- Gemfile
|
65
|
+
- Gemfile.lock
|
64
66
|
- MIT-LICENSE
|
65
67
|
- README.md
|
66
68
|
- Rakefile
|