Commit 98d52608a03f9c405f447a23b82bed635255aaab

Authored by Rafael Manzo
1 parent 5dd4474c

Removed the database configuration file and moved to one sample

.gitignore
... ... @@ -16,3 +16,5 @@
16 16 /tmp
17 17  
18 18 coverage
  19 +
  20 +database.yml
... ...
.travis.yml
... ... @@ -3,6 +3,7 @@ rvm:
3 3 - 2.0.0-p247
4 4  
5 5 before_script:
  6 + - "cp config/database.yml.sample config/database.yml"
6 7 - "rake db:migrate RAILS_ENV=test"
7 8  
8 9 notifications:
... ...
config/database.yml
... ... @@ -1,28 +0,0 @@
1   -# SQLite version 3.x
2   -# gem install sqlite3
3   -#
4   -# Ensure the SQLite 3 gem is defined in your Gemfile
5   -# gem 'sqlite3'
6   -development:
7   - adapter: sqlite3
8   - database: db/development.sqlite3
9   - pool: 5
10   - timeout: 5000
11   -
12   -# Warning: The database defined as "test" will be erased and
13   -# re-generated from your development database when you run "rake".
14   -# Do not set this db to the same as development or production.
15   -test: &test
16   - adapter: sqlite3
17   - database: db/test.sqlite3
18   - pool: 5
19   - timeout: 5000
20   -
21   -production:
22   - adapter: sqlite3
23   - database: db/production.sqlite3
24   - pool: 5
25   - timeout: 5000
26   -
27   -cucumber:
28   - <<: *test
29 0 \ No newline at end of file
config/database.yml.sample 0 → 100644
... ... @@ -0,0 +1,28 @@
  1 +# SQLite version 3.x
  2 +# gem install sqlite3
  3 +#
  4 +# Ensure the SQLite 3 gem is defined in your Gemfile
  5 +# gem 'sqlite3'
  6 +development:
  7 + adapter: sqlite3
  8 + database: db/development.sqlite3
  9 + pool: 5
  10 + timeout: 5000
  11 +
  12 +# Warning: The database defined as "test" will be erased and
  13 +# re-generated from your development database when you run "rake".
  14 +# Do not set this db to the same as development or production.
  15 +test: &test
  16 + adapter: sqlite3
  17 + database: db/test.sqlite3
  18 + pool: 5
  19 + timeout: 5000
  20 +
  21 +production:
  22 + adapter: sqlite3
  23 + database: db/production.sqlite3
  24 + pool: 5
  25 + timeout: 5000
  26 +
  27 +cucumber:
  28 + <<: *test
0 29 \ No newline at end of file
... ...