decko 0.11.5 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/card_controller.rb +4 -0
- data/lib/card_controller/errors.rb +11 -13
- data/lib/card_controller/response.rb +0 -12
- data/lib/card_controller/rest.rb +14 -4
- data/lib/decko.rb +2 -15
- data/lib/decko/all.rb +2 -0
- data/lib/decko/application.rb +8 -89
- data/lib/decko/cli.rb +1 -7
- data/lib/decko/commands.rb +17 -110
- data/lib/decko/commands/application.rb +2 -2
- data/lib/decko/commands/cucumber_command.rb +8 -7
- data/lib/decko/commands/cucumber_command/parser.rb +2 -2
- data/lib/decko/engine.rb +1 -45
- data/lib/decko/generators.rb +17 -0
- data/lib/decko/mods_spec_helper.rb +1 -1
- data/lib/decko/railtie.rb +27 -0
- data/lib/decko/script_decko_loader.rb +5 -38
- data/lib/decko/tasks/cucumber.rake +25 -16
- data/lib/decko/tasks/decko.rake +7 -28
- data/lib/decko/tasks/decko/benchmark.rake +38 -0
- data/lib/decko/tasks/decko/docs.rake +1 -1
- data/lib/decko/tasks/decko/seed.rake +16 -7
- data/lib/generators/deck/deck_generator.rb +12 -0
- metadata +25 -72
- data/lib/decko/commands/command.rb +0 -28
- data/lib/decko/commands/rake_command.rb +0 -42
- data/lib/decko/commands/rake_command/parser.rb +0 -35
- data/lib/decko/commands/rspec_command.rb +0 -36
- data/lib/decko/commands/rspec_command/parser.rb +0 -97
- data/lib/decko/config/environments/cucumber.rb +0 -41
- data/lib/decko/config/environments/cypress.rb +0 -100
- data/lib/decko/config/environments/development.rb +0 -95
- data/lib/decko/config/environments/production.rb +0 -75
- data/lib/decko/config/environments/profile.rb +0 -33
- data/lib/decko/config/environments/test.rb +0 -69
- data/lib/decko/config/initializers/secret_token.rb +0 -15
- data/lib/decko/config/initializers/sedate_parser.rb +0 -8
- data/lib/decko/config/initializers/session_store.rb +0 -2
- data/lib/decko/generators/deck/USAGE +0 -9
- data/lib/decko/generators/deck/deck_generator.rb +0 -134
- data/lib/decko/generators/deck/deck_generator/deck_helper.rb +0 -110
- data/lib/decko/generators/deck/deck_generator/interactive.rb +0 -120
- data/lib/decko/generators/deck/deck_generator/rails_overrides.rb +0 -54
- data/lib/decko/generators/deck/templates/Gemfile.erb +0 -56
- data/lib/decko/generators/deck/templates/Rakefile.erb +0 -6
- data/lib/decko/generators/deck/templates/bin/spring.erb +0 -20
- data/lib/decko/generators/deck/templates/config.ru.erb +0 -11
- data/lib/decko/generators/deck/templates/config/application.rb.erb +0 -107
- data/lib/decko/generators/deck/templates/config/boot.rb.erb +0 -11
- data/lib/decko/generators/deck/templates/config/cucumber.yml +0 -1
- data/lib/decko/generators/deck/templates/config/databases/frontbase.yml +0 -34
- data/lib/decko/generators/deck/templates/config/databases/ibm_db.yml +0 -89
- data/lib/decko/generators/deck/templates/config/databases/jdbc.yml +0 -65
- data/lib/decko/generators/deck/templates/config/databases/jdbcmysql.yml +0 -36
- data/lib/decko/generators/deck/templates/config/databases/jdbcpostgresql.yml +0 -46
- data/lib/decko/generators/deck/templates/config/databases/jdbcsqlite3.yml +0 -23
- data/lib/decko/generators/deck/templates/config/databases/mysql.yml +0 -37
- data/lib/decko/generators/deck/templates/config/databases/oracle.yml +0 -42
- data/lib/decko/generators/deck/templates/config/databases/postgresql.yml +0 -39
- data/lib/decko/generators/deck/templates/config/databases/sqlite3.yml +0 -21
- data/lib/decko/generators/deck/templates/config/deck.yml +0 -10
- data/lib/decko/generators/deck/templates/config/environment.rb.erb +0 -5
- data/lib/decko/generators/deck/templates/config/initializers/cypress.rb +0 -12
- data/lib/decko/generators/deck/templates/config/puma.rb +0 -16
- data/lib/decko/generators/deck/templates/config/routes.rb.erb +0 -11
- data/lib/decko/generators/deck/templates/config/storage.yml +0 -0
- data/lib/decko/generators/deck/templates/gitignore +0 -18
- data/lib/decko/generators/deck/templates/pryrc +0 -6
- data/lib/decko/generators/deck/templates/public/files/htaccess +0 -9
- data/lib/decko/generators/deck/templates/public/robots.txt +0 -13
- data/lib/decko/generators/deck/templates/rspec.erb +0 -6
- data/lib/decko/generators/deck/templates/script/decko +0 -6
- data/lib/decko/generators/deck/templates/script/decko_cucumber +0 -8
- data/lib/decko/generators/deck/templates/script/decko_rspec +0 -8
- data/lib/decko/generators/deck/templates/script/delayed_job +0 -5
- data/lib/decko/generators/deck/templates/simplecov.rb.erb +0 -34
- data/lib/decko/generators/deck/templates/spec/javascripts/support/deck_jasmine.yml.erb +0 -56
- data/lib/decko/generators/deck/templates/spec/javascripts/support/decko_jasmine.yml.erb +0 -74
- data/lib/decko/generators/deck/templates/spec/spec_helper.rb +0 -1
- data/rails/application-routes.rb +0 -3
- data/rails/assets/external_link.png +0 -0
- data/rails/assets/jasmine/404.html +0 -27
- data/rails/assets/jasmine/500.html +0 -28
- data/rails/assets/jasmine/card_form.html +0 -13
- data/rails/assets/jquery.min.map +0 -1
- data/rails/engine-routes.rb +0 -53
- data/script/autospec +0 -4
- data/script/decko +0 -6
- data/script/rails +0 -6
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# -*- encoding : utf-8 -*-
|
|
2
|
-
|
|
3
|
-
require "rubygems"
|
|
4
|
-
|
|
5
|
-
# defaults to development mode without the following
|
|
6
|
-
<%= "# " unless shark? %>ENV["RAILS_ENV"] ||= "production"
|
|
7
|
-
|
|
8
|
-
# Set up gems listed in the Gemfile.
|
|
9
|
-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("Gemfile")
|
|
10
|
-
|
|
11
|
-
require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"])
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
default: '<%= features_path %>'
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# FrontBase versions 4.x
|
|
2
|
-
#
|
|
3
|
-
# Get the bindings:
|
|
4
|
-
# gem install ruby-frontbase
|
|
5
|
-
#
|
|
6
|
-
# Configure Using Gemfile
|
|
7
|
-
# gem 'ruby-frontbase'
|
|
8
|
-
#
|
|
9
|
-
development:
|
|
10
|
-
adapter: frontbase
|
|
11
|
-
host: localhost
|
|
12
|
-
database: <%= app_name %>_development
|
|
13
|
-
username: <%= app_name %>
|
|
14
|
-
password: ''
|
|
15
|
-
|
|
16
|
-
# Warning: The database defined as "test" will be erased and
|
|
17
|
-
# re-generated from your development database when you run "rake".
|
|
18
|
-
# Do not set this db to the same as development or production.
|
|
19
|
-
test: &test
|
|
20
|
-
adapter: frontbase
|
|
21
|
-
host: localhost
|
|
22
|
-
database: <%= app_name %>_test
|
|
23
|
-
username: <%= app_name %>
|
|
24
|
-
password: ''
|
|
25
|
-
|
|
26
|
-
cucumber: *test
|
|
27
|
-
cypress: *test
|
|
28
|
-
|
|
29
|
-
production:
|
|
30
|
-
adapter: frontbase
|
|
31
|
-
host: localhost
|
|
32
|
-
database: <%= app_name %>_production
|
|
33
|
-
username: <%= app_name %>
|
|
34
|
-
password: ''
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
# IBM Dataservers
|
|
2
|
-
#
|
|
3
|
-
# Home Page
|
|
4
|
-
# http://rubyforge.org/projects/rubyibm/
|
|
5
|
-
#
|
|
6
|
-
# To install the ibm_db gem:
|
|
7
|
-
#
|
|
8
|
-
# On Linux:
|
|
9
|
-
# . /home/db2inst1/sqllib/db2profile
|
|
10
|
-
# export IBM_DB_INCLUDE=/opt/ibm/db2/V9.7/include
|
|
11
|
-
# export IBM_DB_LIB=/opt/ibm/db2/V9.7/lib32
|
|
12
|
-
# gem install ibm_db
|
|
13
|
-
#
|
|
14
|
-
# On Mac OS X 10.5:
|
|
15
|
-
# . /home/db2inst1/sqllib/db2profile
|
|
16
|
-
# export IBM_DB_INCLUDE=/opt/ibm/db2/V9.7/include
|
|
17
|
-
# export IBM_DB_LIB=/opt/ibm/db2/V9.7/lib32
|
|
18
|
-
# export ARCHFLAGS="-arch i386"
|
|
19
|
-
# gem install ibm_db
|
|
20
|
-
#
|
|
21
|
-
# On Mac OS X 10.6:
|
|
22
|
-
# . /home/db2inst1/sqllib/db2profile
|
|
23
|
-
# export IBM_DB_INCLUDE=/opt/ibm/db2/V9.7/include
|
|
24
|
-
# export IBM_DB_LIB=/opt/ibm/db2/V9.7/lib64
|
|
25
|
-
# export ARCHFLAGS="-arch x86_64"
|
|
26
|
-
# gem install ibm_db
|
|
27
|
-
#
|
|
28
|
-
# On Windows:
|
|
29
|
-
# Issue the command: gem install ibm_db
|
|
30
|
-
#
|
|
31
|
-
# Configure Using Gemfile
|
|
32
|
-
# gem 'ibm_db'
|
|
33
|
-
#
|
|
34
|
-
# For more details on the installation and the connection parameters below,
|
|
35
|
-
# please refer to the latest documents at http://rubyforge.org/docman/?group_id=2361
|
|
36
|
-
|
|
37
|
-
development:
|
|
38
|
-
adapter: ibm_db
|
|
39
|
-
username: db2inst1
|
|
40
|
-
password:
|
|
41
|
-
database: <%= app_name[0,4] %>_dev
|
|
42
|
-
#schema: db2inst1
|
|
43
|
-
#host: localhost
|
|
44
|
-
#port: 50000
|
|
45
|
-
#account: my_account
|
|
46
|
-
#app_user: my_app_user
|
|
47
|
-
#application: my_application
|
|
48
|
-
#workstation: my_workstation
|
|
49
|
-
#security: SSL
|
|
50
|
-
#timeout: 10
|
|
51
|
-
#authentication: SERVER
|
|
52
|
-
#parameterized: false
|
|
53
|
-
|
|
54
|
-
test: &test
|
|
55
|
-
adapter: ibm_db
|
|
56
|
-
username: db2inst1
|
|
57
|
-
password:
|
|
58
|
-
database: <%= app_name[0,4] %>_tst
|
|
59
|
-
#schema: db2inst1
|
|
60
|
-
#host: localhost
|
|
61
|
-
#port: 50000
|
|
62
|
-
#account: my_account
|
|
63
|
-
#app_user: my_app_user
|
|
64
|
-
#application: my_application
|
|
65
|
-
#workstation: my_workstation
|
|
66
|
-
#security: SSL
|
|
67
|
-
#timeout: 10
|
|
68
|
-
#authentication: SERVER
|
|
69
|
-
#parameterized: false
|
|
70
|
-
|
|
71
|
-
cucumber: *test
|
|
72
|
-
cypress: *test
|
|
73
|
-
|
|
74
|
-
production:
|
|
75
|
-
adapter: ibm_db
|
|
76
|
-
username: db2inst1
|
|
77
|
-
password:
|
|
78
|
-
database: <%= app_name[0,8] %>
|
|
79
|
-
#schema: db2inst1
|
|
80
|
-
#host: localhost
|
|
81
|
-
#port: 50000
|
|
82
|
-
#account: my_account
|
|
83
|
-
#app_user: my_app_user
|
|
84
|
-
#application: my_application
|
|
85
|
-
#workstation: my_workstation
|
|
86
|
-
#security: SSL
|
|
87
|
-
#timeout: 10
|
|
88
|
-
#authentication: SERVER
|
|
89
|
-
#parameterized: false
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
# If you are using mssql, derby, hsqldb, or h2 with one of the
|
|
2
|
-
# ActiveRecord JDBC adapters, install the appropriate driver, e.g.,:
|
|
3
|
-
# gem install activerecord-jdbcmssql-adapter
|
|
4
|
-
#
|
|
5
|
-
# Configure using Gemfile:
|
|
6
|
-
# gem 'activerecord-jdbcmssql-adapter'
|
|
7
|
-
#
|
|
8
|
-
#development:
|
|
9
|
-
# adapter: mssql
|
|
10
|
-
# username: <%= app_name %>
|
|
11
|
-
# password:
|
|
12
|
-
# host: localhost
|
|
13
|
-
# database: <%= app_name %>_development
|
|
14
|
-
#
|
|
15
|
-
# Warning: The database defined as "test" will be erased and
|
|
16
|
-
# re-generated from your development database when you run "rake".
|
|
17
|
-
# Do not set this db to the same as development or production.
|
|
18
|
-
#
|
|
19
|
-
#test: &test
|
|
20
|
-
# adapter: mssql
|
|
21
|
-
# username: <%= app_name %>
|
|
22
|
-
# password:
|
|
23
|
-
# host: localhost
|
|
24
|
-
# database: <%= app_name %>_test
|
|
25
|
-
#
|
|
26
|
-
#production:
|
|
27
|
-
# adapter: mssql
|
|
28
|
-
# username: <%= app_name %>
|
|
29
|
-
# password:
|
|
30
|
-
# host: localhost
|
|
31
|
-
# database: <%= app_name %>_production
|
|
32
|
-
|
|
33
|
-
# If you are using oracle, db2, sybase, informix or prefer to use the plain
|
|
34
|
-
# JDBC adapter, configure your database setting as the example below (requires
|
|
35
|
-
# you to download and manually install the database vendor's JDBC driver .jar
|
|
36
|
-
# file). See your driver documentation for the apropriate driver class and
|
|
37
|
-
# connection string:
|
|
38
|
-
|
|
39
|
-
development:
|
|
40
|
-
adapter: jdbc
|
|
41
|
-
username: <%= app_name %>
|
|
42
|
-
password:
|
|
43
|
-
driver:
|
|
44
|
-
url: jdbc:db://localhost/<%= app_name %>_development
|
|
45
|
-
|
|
46
|
-
# Warning: The database defined as "test" will be erased and
|
|
47
|
-
# re-generated from your development database when you run "rake".
|
|
48
|
-
# Do not set this db to the same as development or production.
|
|
49
|
-
|
|
50
|
-
test: &test
|
|
51
|
-
adapter: jdbc
|
|
52
|
-
username: <%= app_name %>
|
|
53
|
-
password:
|
|
54
|
-
driver:
|
|
55
|
-
url: jdbc:db://localhost/<%= app_name %>_test
|
|
56
|
-
|
|
57
|
-
cucumber: *test
|
|
58
|
-
cypress: *test
|
|
59
|
-
|
|
60
|
-
production:
|
|
61
|
-
adapter: jdbc
|
|
62
|
-
username: <%= app_name %>
|
|
63
|
-
password:
|
|
64
|
-
driver:
|
|
65
|
-
url: jdbc:db://localhost/<%= app_name %>_production
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# MySQL. Versions 4.1 and 5.0 are recommended.
|
|
2
|
-
#
|
|
3
|
-
# Install the MySQL driver:
|
|
4
|
-
# gem install activerecord-jdbcmysql-adapter
|
|
5
|
-
#
|
|
6
|
-
# Configure Using Gemfile
|
|
7
|
-
# gem 'activerecord-jdbcmysql-adapter'
|
|
8
|
-
#
|
|
9
|
-
# And be sure to use new-style password hashing:
|
|
10
|
-
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
|
|
11
|
-
development:
|
|
12
|
-
adapter: mysql
|
|
13
|
-
database: <%= app_name %>_development
|
|
14
|
-
username: root
|
|
15
|
-
password:
|
|
16
|
-
host: localhost
|
|
17
|
-
|
|
18
|
-
# Warning: The database defined as "test" will be erased and
|
|
19
|
-
# re-generated from your development database when you run "rake".
|
|
20
|
-
# Do not set this db to the same as development or production.
|
|
21
|
-
test: &test
|
|
22
|
-
adapter: mysql
|
|
23
|
-
database: <%= app_name %>_test
|
|
24
|
-
username: root
|
|
25
|
-
password:
|
|
26
|
-
host: localhost
|
|
27
|
-
|
|
28
|
-
cucumber: *test
|
|
29
|
-
cypress: *test
|
|
30
|
-
|
|
31
|
-
production:
|
|
32
|
-
adapter: mysql
|
|
33
|
-
database: <%= app_name %>_production
|
|
34
|
-
username: root
|
|
35
|
-
password:
|
|
36
|
-
host: localhost
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
# PostgreSQL. Versions 8.2 and up are supported.
|
|
2
|
-
#
|
|
3
|
-
# Configure Using Gemfile
|
|
4
|
-
# gem 'activerecord-jdbcpostgresql-adapter'
|
|
5
|
-
|
|
6
|
-
development:
|
|
7
|
-
adapter: postgresql
|
|
8
|
-
encoding: unicode
|
|
9
|
-
database: <%= app_name %>_development
|
|
10
|
-
username: <%= app_name %>
|
|
11
|
-
password:
|
|
12
|
-
|
|
13
|
-
# Connect on a TCP socket. Omitted by default since the client uses a
|
|
14
|
-
# domain socket that doesn't need configuration. Windows does not have
|
|
15
|
-
# domain sockets, so uncomment these lines.
|
|
16
|
-
#host: localhost
|
|
17
|
-
#port: 5432
|
|
18
|
-
|
|
19
|
-
# Schema search path. The server defaults to $user,public
|
|
20
|
-
#schema_search_path: myapp,sharedapp,public
|
|
21
|
-
|
|
22
|
-
# Minimum log levels, in increasing order:
|
|
23
|
-
# debug5, debug4, debug3, debug2, debug1,
|
|
24
|
-
# log, notice, warning, error, fatal, and panic
|
|
25
|
-
# The server defaults to notice.
|
|
26
|
-
#min_messages: warning
|
|
27
|
-
|
|
28
|
-
# Warning: The database defined as "test" will be erased and
|
|
29
|
-
# re-generated from your development database when you run "rake".
|
|
30
|
-
# Do not set this db to the same as development or production.
|
|
31
|
-
test: &test
|
|
32
|
-
adapter: postgresql
|
|
33
|
-
encoding: unicode
|
|
34
|
-
database: <%= app_name %>_test
|
|
35
|
-
username: <%= app_name %>
|
|
36
|
-
password:
|
|
37
|
-
|
|
38
|
-
cucumber: *test
|
|
39
|
-
cypress: *test
|
|
40
|
-
|
|
41
|
-
production:
|
|
42
|
-
adapter: postgresql
|
|
43
|
-
encoding: unicode
|
|
44
|
-
database: <%= app_name %>_production
|
|
45
|
-
username: <%= app_name %>
|
|
46
|
-
password:
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# SQLite version 3.x
|
|
2
|
-
# gem 'activerecord-jdbcsqlite3-adapter'
|
|
3
|
-
#
|
|
4
|
-
# Configure Using Gemfile
|
|
5
|
-
# gem 'activerecord-jdbcsqlite3-adapter'
|
|
6
|
-
#
|
|
7
|
-
development:
|
|
8
|
-
adapter: sqlite3
|
|
9
|
-
database: db/development.sqlite3
|
|
10
|
-
|
|
11
|
-
# Warning: The database defined as "test" will be erased and
|
|
12
|
-
# re-generated from your development database when you run "rake".
|
|
13
|
-
# Do not set this db to the same as development or production.
|
|
14
|
-
test: &test
|
|
15
|
-
adapter: sqlite3
|
|
16
|
-
database: db/test.sqlite3
|
|
17
|
-
|
|
18
|
-
cucumber: *test
|
|
19
|
-
cypress: *test
|
|
20
|
-
|
|
21
|
-
production:
|
|
22
|
-
adapter: sqlite3
|
|
23
|
-
database: db/production.sqlite3
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
# MySQL. Versions 4.1 and 5.0 are recommended.
|
|
2
|
-
# Be sure to use new-style password hashing:
|
|
3
|
-
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
|
|
4
|
-
|
|
5
|
-
shared:
|
|
6
|
-
adapter: mysql2
|
|
7
|
-
encoding: utf8
|
|
8
|
-
reconnect: false
|
|
9
|
-
pool: 5
|
|
10
|
-
username: root
|
|
11
|
-
password:
|
|
12
|
-
<% if mysql_socket -%>
|
|
13
|
-
socket: <%= mysql_socket %>
|
|
14
|
-
<% else -%>
|
|
15
|
-
host: localhost
|
|
16
|
-
<% end -%>
|
|
17
|
-
|
|
18
|
-
production:
|
|
19
|
-
database: <%= app_name %>_production
|
|
20
|
-
|
|
21
|
-
development: &development
|
|
22
|
-
database: <%= app_name %>_development
|
|
23
|
-
|
|
24
|
-
# Warning: The database defined as "test" will be erased and
|
|
25
|
-
# re-generated from your development database when you run "rake".
|
|
26
|
-
# Do not set this db to the same as development or production.
|
|
27
|
-
test: &test
|
|
28
|
-
database: <%= app_name %>_test
|
|
29
|
-
|
|
30
|
-
cucumber: *test
|
|
31
|
-
cypress: *test
|
|
32
|
-
|
|
33
|
-
profile: *development
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
# Oracle/OCI 8i, 9, 10g
|
|
2
|
-
#
|
|
3
|
-
# Requires Ruby/OCI8:
|
|
4
|
-
# http://rubyforge.org/projects/ruby-oci8/
|
|
5
|
-
#
|
|
6
|
-
# Specify your database using any valid connection syntax, such as a
|
|
7
|
-
# tnsnames.ora service name, or an SQL connect string of the form:
|
|
8
|
-
#
|
|
9
|
-
# //host:[port][/service name]
|
|
10
|
-
#
|
|
11
|
-
# By default prefetch_rows (OCI_ATTR_PREFETCH_ROWS) is set to 100. And
|
|
12
|
-
# until true bind variables are supported, cursor_sharing is set by default
|
|
13
|
-
# to 'similar'. Both can be changed in the configuration below; the defaults
|
|
14
|
-
# are equivalent to specifying:
|
|
15
|
-
#
|
|
16
|
-
# prefetch_rows: 100
|
|
17
|
-
# cursor_sharing: similar
|
|
18
|
-
#
|
|
19
|
-
|
|
20
|
-
development:
|
|
21
|
-
adapter: oracle
|
|
22
|
-
database: <%= app_name %>_development
|
|
23
|
-
username: <%= app_name %>
|
|
24
|
-
password:
|
|
25
|
-
|
|
26
|
-
# Warning: The database defined as "test" will be erased and
|
|
27
|
-
# re-generated from your development database when you run "rake".
|
|
28
|
-
# Do not set this db to the same as development or production.
|
|
29
|
-
test: &test
|
|
30
|
-
adapter: oracle
|
|
31
|
-
database: <%= app_name %>_test
|
|
32
|
-
username: <%= app_name %>
|
|
33
|
-
password:
|
|
34
|
-
|
|
35
|
-
cucumber: *test
|
|
36
|
-
cypress: *test
|
|
37
|
-
|
|
38
|
-
production:
|
|
39
|
-
adapter: oracle
|
|
40
|
-
database: <%= app_name %>_production
|
|
41
|
-
username: <%= app_name %>
|
|
42
|
-
password:
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# PostgreSQL. Versions 8.2 and up are supported.
|
|
2
|
-
|
|
3
|
-
shared:
|
|
4
|
-
adapter: postgresql
|
|
5
|
-
encoding: unicode
|
|
6
|
-
pool: 5
|
|
7
|
-
username: <%= app_name %>
|
|
8
|
-
password:
|
|
9
|
-
|
|
10
|
-
development:
|
|
11
|
-
database: <%= app_name %>_development
|
|
12
|
-
|
|
13
|
-
# Connect on a TCP socket. Omitted by default since the client uses a
|
|
14
|
-
# domain socket that doesn't need configuration. Windows does not have
|
|
15
|
-
# domain sockets, so uncomment these lines.
|
|
16
|
-
#host: localhost
|
|
17
|
-
#port: 5432
|
|
18
|
-
|
|
19
|
-
# Schema search path. The server defaults to $user,public
|
|
20
|
-
#schema_search_path: myapp,sharedapp,public
|
|
21
|
-
|
|
22
|
-
# Minimum log levels, in increasing order:
|
|
23
|
-
# debug5, debug4, debug3, debug2, debug1,
|
|
24
|
-
# log, notice, warning, error, fatal, and panic
|
|
25
|
-
# The server defaults to notice.
|
|
26
|
-
#min_messages: warning
|
|
27
|
-
|
|
28
|
-
# Warning: The database defined as "test" will be erased and
|
|
29
|
-
# re-generated from your development database when you run "rake".
|
|
30
|
-
# Do not set this db to the same as development or production.
|
|
31
|
-
test: &test
|
|
32
|
-
database: <%= app_name %>_test
|
|
33
|
-
|
|
34
|
-
cucumber: *test
|
|
35
|
-
cypress: *test
|
|
36
|
-
|
|
37
|
-
production:
|
|
38
|
-
database: <%= app_name %>_production
|
|
39
|
-
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# SQLite version 3.x
|
|
2
|
-
shared:
|
|
3
|
-
adapter: sqlite3
|
|
4
|
-
pool: 5
|
|
5
|
-
timeout: 5000
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
development:
|
|
9
|
-
database: db/development.sqlite3
|
|
10
|
-
|
|
11
|
-
# Warning: The database defined as "test" will be erased and
|
|
12
|
-
# re-generated from your development database when you run "rake".
|
|
13
|
-
# Do not set this db to the same as development or production.
|
|
14
|
-
test: &test
|
|
15
|
-
database: db/test.sqlite3
|
|
16
|
-
|
|
17
|
-
cucumber: *test
|
|
18
|
-
cypress: *test
|
|
19
|
-
|
|
20
|
-
production:
|
|
21
|
-
database: db/production.sqlite3
|