db-charmer 1.6.3 → 1.6.4
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.
- data/CHANGES +6 -0
- data/README.rdoc +4 -4
- data/VERSION +1 -1
- data/db-charmer.gemspec +2 -2
- data/lib/db_charmer.rb +1 -1
- metadata +3 -3
data/CHANGES
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
1.6.4 (2010-04-05):
|
2
|
+
|
3
|
+
Default behaviour changed: DbCharmer.connections_should_exist is true in all environments
|
4
|
+
by default. Old default behaviour was too misleading for many developers.
|
5
|
+
|
6
|
+
----------------------------------------------------------------------------------------
|
1
7
|
1.6.3 (2010-04-03):
|
2
8
|
|
3
9
|
Bugfix release: Modified stub connection initialization code to set default connections
|
data/README.rdoc
CHANGED
@@ -127,10 +127,10 @@ Migration class example (global connection rewrite, multiple connections with th
|
|
127
127
|
end
|
128
128
|
end
|
129
129
|
|
130
|
-
By default in
|
131
|
-
connection
|
132
|
-
|
133
|
-
|
130
|
+
By default in all environments <tt>on_db</tt> and <tt>db_magic</tt> statments would fail if
|
131
|
+
specified connection does not exist in database.yml. It is possible to make +DbCharmer+
|
132
|
+
ignore such situations in non-production environments so that rails would create the tables
|
133
|
+
in your single database (especially useful in test databases).
|
134
134
|
|
135
135
|
This behaviour is controlled by the <tt>DbCharmer.connections_should_exist</tt>
|
136
136
|
configuration attribute which could be set from a rails initializer.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.6.
|
1
|
+
1.6.4
|
data/db-charmer.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{db-charmer}
|
8
|
-
s.version = "1.6.
|
8
|
+
s.version = "1.6.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Alexey Kovyrin"]
|
12
|
-
s.date = %q{2010-04-
|
12
|
+
s.date = %q{2010-04-05}
|
13
13
|
s.description = %q{ActiveRecord Connections Magic (slaves, multiple connections, etc)}
|
14
14
|
s.email = %q{alexey@kovyrin.net}
|
15
15
|
s.extra_rdoc_files = [
|
data/lib/db_charmer.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 6
|
8
|
-
-
|
9
|
-
version: 1.6.
|
8
|
+
- 4
|
9
|
+
version: 1.6.4
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Alexey Kovyrin
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-04-
|
17
|
+
date: 2010-04-05 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|