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: daa7cbfd828b4a5081f8e62a1e2bba478cf4e41d
4
- data.tar.gz: 9cc76c5822f105749ea9907cbcaf5418e3baa3dc
3
+ metadata.gz: 9d713f981e05b53c50fcfb0e561749bceb235cc4
4
+ data.tar.gz: c5adf9ffc548977a108f9a0eb052a0c107056be4
5
5
  SHA512:
6
- metadata.gz: 31a0d5f33e88687a1aeaeecc5b1b35b077979055fda7db5b663fbfe1bca17c406190505882a8346ddcf366f056e2570066bf9af289109ee576ec8045e21a6253
7
- data.tar.gz: b97036813e8d124e31e380a9fd9070fd6c72497e8a4d7882dede250a9f6852bf60aaba51fc9aa81338a5884fc0ffeafb0536486a1bbbf7fd246375cbd1e88f22
6
+ metadata.gz: 5f38c84a91eb3efa59723bf57ce910e987a60776ce3107f7ead936b48d8f67e71dd612b35613e1910ddb78fc6d8308170db615d37b37c1c17d9a991de66884ad
7
+ data.tar.gz: d35539a4ab415e9e4e6b3901069d09921e80a7ea045735add639fa6917340f4dbd64c5d6805712151dbff91f149b2d6d7ee62ad70a2053156bc342e947a03e20
@@ -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
- get 'https://raw.githubusercontent.com/shicholas/Dockerfile-rails-server/master/database.yml', 'config/database-dev.yml'
17
- get 'https://raw.githubusercontent.com/shicholas/Dockerfile-rails-guard/master/database.yml', 'config/database-test.yml'
18
- get 'https://raw.githubusercontent.com/shicholas/Dockerfile-rails-ci/master/database.yml', 'config/database-ci.yml'
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
+
@@ -1,3 +1,3 @@
1
1
  module CraneRails
2
- VERSION = '0.0.9'
2
+ VERSION = '0.1.0'
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.0.9
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