apartment 0.10.2 → 0.10.3
Sign up to get free protection for your applications and to get access to all the features.
data/HISTORY.md
CHANGED
@@ -24,7 +24,7 @@ module Apartment
|
|
24
24
|
return reset if database.nil?
|
25
25
|
ActiveRecord::Base.connection.schema_search_path = database
|
26
26
|
rescue ActiveRecord::StatementInvalid => e
|
27
|
-
raise SchemaNotFound,
|
27
|
+
raise SchemaNotFound, "The Schema #{database.inspect} cannot be found."
|
28
28
|
end
|
29
29
|
|
30
30
|
def create(database)
|
@@ -37,7 +37,7 @@ module Apartment
|
|
37
37
|
seed_data if Apartment.seed_after_create
|
38
38
|
end
|
39
39
|
rescue ActiveRecord::StatementInvalid => e
|
40
|
-
raise SchemaExists,
|
40
|
+
raise SchemaExists, "The schema #{database} already exists."
|
41
41
|
end
|
42
42
|
|
43
43
|
def current_database
|
data/lib/apartment/version.rb
CHANGED
data/spec/config/database.yml
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: apartment
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.10.
|
5
|
+
version: 0.10.3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Ryan Brunner
|
@@ -223,7 +223,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
223
223
|
requirements:
|
224
224
|
- - ">="
|
225
225
|
- !ruby/object:Gem::Version
|
226
|
-
hash:
|
226
|
+
hash: 2467393586415245119
|
227
227
|
segments:
|
228
228
|
- 0
|
229
229
|
version: "0"
|
@@ -232,7 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
232
232
|
requirements:
|
233
233
|
- - ">="
|
234
234
|
- !ruby/object:Gem::Version
|
235
|
-
hash:
|
235
|
+
hash: 2467393586415245119
|
236
236
|
segments:
|
237
237
|
- 0
|
238
238
|
version: "0"
|