crane_rails 0.0.9 → 0.1.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d713f981e05b53c50fcfb0e561749bceb235cc4
|
4
|
+
data.tar.gz: c5adf9ffc548977a108f9a0eb052a0c107056be4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f38c84a91eb3efa59723bf57ce910e987a60776ce3107f7ead936b48d8f67e71dd612b35613e1910ddb78fc6d8308170db615d37b37c1c17d9a991de66884ad
|
7
|
+
data.tar.gz: d35539a4ab415e9e4e6b3901069d09921e80a7ea045735add639fa6917340f4dbd64c5d6805712151dbff91f149b2d6d7ee62ad70a2053156bc342e947a03e20
|
data/lib/crane_rails/cli.rb
CHANGED
@@ -13,9 +13,9 @@ module CraneRails
|
|
13
13
|
template 'Vagrantfile', 'Vagrantfile'
|
14
14
|
get 'https://raw.githubusercontent.com/shicholas/Dockerfile-rails/master/Gemfile', 'Gemfile'
|
15
15
|
get 'https://raw.githubusercontent.com/shicholas/Dockerfile-rails/master/Gemfile.lock', 'Gemfile.lock'
|
16
|
-
|
17
|
-
|
18
|
-
|
16
|
+
template 'database-dev.yml', 'config/database-dev.yml'
|
17
|
+
template 'database-test.yml', 'config/database-test.yml'
|
18
|
+
template 'database-ci.yml', 'config/database-ci.yml'
|
19
19
|
end
|
20
20
|
|
21
21
|
default_task :bootstrap
|
@@ -0,0 +1,29 @@
|
|
1
|
+
development:
|
2
|
+
adapter: postgresql
|
3
|
+
encoding: unicode
|
4
|
+
database: rails_development
|
5
|
+
pool: 5
|
6
|
+
username: rails
|
7
|
+
password: password
|
8
|
+
host: $PG_PORT_5432_TCP_ADDR
|
9
|
+
port: 5432
|
10
|
+
|
11
|
+
# test:
|
12
|
+
# adapter: postgresql
|
13
|
+
# encoding: unicode
|
14
|
+
# database: rails_test
|
15
|
+
# pool: 5
|
16
|
+
# username: rails
|
17
|
+
# password: password
|
18
|
+
# host: $PG_PORT_5432_TCP_ADDR
|
19
|
+
# port: 5432
|
20
|
+
|
21
|
+
|
22
|
+
# production:
|
23
|
+
# adapter: postgresql
|
24
|
+
# encoding: unicode
|
25
|
+
# database: rails_production
|
26
|
+
# pool: 5
|
27
|
+
# username: rails
|
28
|
+
# password: password
|
29
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
development:
|
2
|
+
adapter: postgresql
|
3
|
+
encoding: unicode
|
4
|
+
database: rails_development
|
5
|
+
pool: 5
|
6
|
+
username: rails
|
7
|
+
password: password
|
8
|
+
host: $PG_PORT_5432_TCP_ADDR
|
9
|
+
port: 5432
|
10
|
+
|
11
|
+
# test:
|
12
|
+
# adapter: postgresql
|
13
|
+
# encoding: unicode
|
14
|
+
# database: rails_test
|
15
|
+
# pool: 5
|
16
|
+
# username: rails
|
17
|
+
# password: password
|
18
|
+
# host: $PG_PORT_5432_TCP_ADDR
|
19
|
+
# port: 5432
|
20
|
+
|
21
|
+
|
22
|
+
# production:
|
23
|
+
# adapter: postgresql
|
24
|
+
# encoding: unicode
|
25
|
+
# database: rails_production
|
26
|
+
# pool: 5
|
27
|
+
# username: rails
|
28
|
+
# password: password
|
29
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
development:
|
2
|
+
adapter: postgresql
|
3
|
+
encoding: unicode
|
4
|
+
database: rails_development
|
5
|
+
pool: 5
|
6
|
+
username: rails
|
7
|
+
password: password
|
8
|
+
host: $PG_PORT_5432_TCP_ADDR
|
9
|
+
port: 5432
|
10
|
+
|
11
|
+
# test:
|
12
|
+
# adapter: postgresql
|
13
|
+
# encoding: unicode
|
14
|
+
# database: rails_test
|
15
|
+
# pool: 5
|
16
|
+
# username: rails
|
17
|
+
# password: password
|
18
|
+
# host: $PG_PORT_5432_TCP_ADDR
|
19
|
+
# port: 5432
|
20
|
+
|
21
|
+
|
22
|
+
# production:
|
23
|
+
# adapter: postgresql
|
24
|
+
# encoding: unicode
|
25
|
+
# database: rails_production
|
26
|
+
# pool: 5
|
27
|
+
# username: rails
|
28
|
+
# password: password
|
29
|
+
|
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.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicholas Shook
|
@@ -75,6 +75,9 @@ files:
|
|
75
75
|
- lib/crane_rails/generators/bootstrap.rb
|
76
76
|
- lib/crane_rails/templates/Vagrantfile
|
77
77
|
- lib/crane_rails/templates/crane.yml
|
78
|
+
- lib/crane_rails/templates/database-ci.yml
|
79
|
+
- lib/crane_rails/templates/database-dev.yml
|
80
|
+
- lib/crane_rails/templates/database-test.yml
|
78
81
|
- lib/crane_rails/templates/database.yml
|
79
82
|
- lib/crane_rails/version.rb
|
80
83
|
homepage: https://github.com/shicholas/crane_rails
|