heroku_db_env 0.0.2 → 0.0.3
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/README.md +1 -1
- data/heroku_db_env.gemspec +2 -2
- data/lib/heroku_db_env/railtie.rb +1 -1
- data/lib/heroku_db_env/version.rb +1 -1
- metadata +6 -5
data/README.md
CHANGED
data/heroku_db_env.gemspec
CHANGED
|
@@ -8,8 +8,8 @@ Gem::Specification.new do |s|
|
|
|
8
8
|
s.authors = ["Alex Skryl"]
|
|
9
9
|
s.email = ["rut216@gmail.com"]
|
|
10
10
|
s.homepage = "http://github.com/skryl/heroku_db_env"
|
|
11
|
-
s.summary = %q{Overwrite Heroku's auto generated database
|
|
12
|
-
s.description = %q{Use a custom database
|
|
11
|
+
s.summary = %q{Overwrite Heroku's auto generated database configuration}
|
|
12
|
+
s.description = %q{Use a custom database configuration in a Heroku application}
|
|
13
13
|
|
|
14
14
|
s.rubyforge_project = "heroku_db_env"
|
|
15
15
|
|
|
@@ -2,7 +2,7 @@ module HerokuDbEnv
|
|
|
2
2
|
DB_URL_MATCHER = /(.*)_DATABASE_URL/
|
|
3
3
|
|
|
4
4
|
class HerokuDbEnvRailtie < Rails::Railtie
|
|
5
|
-
|
|
5
|
+
initializer :initialize_heroku_db_env, {:group => :default, :before => "active_record.initialize_database"} do |app|
|
|
6
6
|
db_config = HerokuDbEnv.build_db_config(app.config.database_configuration)
|
|
7
7
|
|
|
8
8
|
# force active_record to use the db config instead of the db url
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: heroku_db_env
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,9 +9,9 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2013-02-10 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
|
-
description: Use a custom database
|
|
14
|
+
description: Use a custom database configuration in a Heroku application
|
|
15
15
|
email:
|
|
16
16
|
- rut216@gmail.com
|
|
17
17
|
executables: []
|
|
@@ -47,8 +47,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
47
47
|
version: '0'
|
|
48
48
|
requirements: []
|
|
49
49
|
rubyforge_project: heroku_db_env
|
|
50
|
-
rubygems_version: 1.8.
|
|
50
|
+
rubygems_version: 1.8.23
|
|
51
51
|
signing_key:
|
|
52
52
|
specification_version: 3
|
|
53
|
-
summary: Overwrite Heroku's auto generated database
|
|
53
|
+
summary: Overwrite Heroku's auto generated database configuration
|
|
54
54
|
test_files: []
|
|
55
|
+
has_rdoc:
|