File: config.example.yml

package info (click to toggle)
rails 2%3A7.2.2.1%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 43,352 kB
  • sloc: ruby: 349,799; javascript: 30,703; yacc: 46; sql: 43; sh: 29; makefile: 27
file content (83 lines) | stat: -rw-r--r-- 2,016 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
connections:
  mysql2:
    arunit:
      username: rails
      encoding: utf8mb4
      collation: utf8mb4_unicode_ci
    <% if ENV['MYSQL_PREPARED_STATEMENTS'] %>
      prepared_statements: true
    <% else %>
      prepared_statements: false
    <% end %>
    <% if ENV['MYSQL_HOST'] %>
      host: <%= ENV['MYSQL_HOST'] %>
    <% end %>
    <% if ENV['MYSQL_SOCK'] %>
      socket: "<%= ENV['MYSQL_SOCK'] %>"
    <% end %>
    arunit2:
      username: rails
      encoding: utf8mb4
      collation: utf8mb4_general_ci
    <% if ENV['MYSQL_PREPARED_STATEMENTS'] %>
      prepared_statements: true
    <% else %>
      prepared_statements: false
    <% end %>
    <% if ENV['MYSQL_HOST'] %>
      host: <%= ENV['MYSQL_HOST'] %>
    <% end %>
    <% if ENV['MYSQL_SOCK'] %>
      socket: "<%= ENV['MYSQL_SOCK'] %>"
    <% end %>

  trilogy:
    arunit:
      username: rails
      encoding: utf8mb4
      collation: utf8mb4_unicode_ci
      prepared_statements: false
    <% if ENV['MYSQL_HOST'] %>
      host: <%= ENV['MYSQL_HOST'] %>
    <% end %>
    <% if ENV['MYSQL_SOCK'] %>
      socket: "<%= ENV['MYSQL_SOCK'] %>"
    <% end %>
    arunit2:
      username: rails
      encoding: utf8mb4
      collation: utf8mb4_general_ci
      prepared_statements: false
    <% if ENV['MYSQL_HOST'] %>
      host: <%= ENV['MYSQL_HOST'] %>
    <% end %>
    <% if ENV['MYSQL_SOCK'] %>
      socket: "<%= ENV['MYSQL_SOCK'] %>"
    <% end %>

  postgresql:
    arunit:
      min_messages: warning
    arunit_without_prepared_statements:
      min_messages: warning
      prepared_statements: false
    arunit2:
      min_messages: warning

  sqlite3:
    arunit:
      database: <%= FIXTURES_ROOT %>/fixture_database.sqlite3
      timeout:  5000
      strict:   true
    arunit2:
      database: <%= FIXTURES_ROOT %>/fixture_database_2.sqlite3
      timeout:  5000
      strict:   true

  sqlite3_mem:
    arunit:
      adapter: sqlite3
      database: ':memory:'
    arunit2:
      adapter: sqlite3
      database: ':memory:'