db_charmer_env_urls 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +0 -31
- data/lib/db_charmer_env_urls/engine.rb +1 -1
- data/lib/db_charmer_env_urls/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9402c02ada3ec9ab3d021405109c27a2990e302b
|
4
|
+
data.tar.gz: cb8ed2d04bdc1f16b49d220a90efa71d1dc18543
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 472a8b2c54bfe1cfb83c44b9a490ef30787ffd6ad396614ace55ddd9694cf9a35b556533d2b428a0fffc3738157589e98bc4d4c1b08e27b92040c6bc24c917ad
|
7
|
+
data.tar.gz: 6c7febf5e12938cf897aef38a20995f3bb7a4d07a0ffb6fe2d5c6fc56bbd2eea9766e3f270385dfb9f4f79770d418a61211818dd743a4c27eba6883af3f42703
|
data/CHANGELOG.md
ADDED
data/README.md
CHANGED
@@ -55,37 +55,6 @@ Or install it yourself as:
|
|
55
55
|
|
56
56
|
|
57
57
|
|
58
|
-
## Contributing
|
59
|
-
|
60
|
-
1. Fork it ( https://github.com/[my-github-username]/db_charmer_env_urls/fork )
|
61
|
-
2. Create your feature branch (`git checkout -b my-new-feature`)
|
62
|
-
3. Commit your changes (`git commit -am 'Add some feature'`)
|
63
|
-
4. Push to the branch (`git push origin my-new-feature`)
|
64
|
-
5. Create a new Pull Request
|
65
|
-
# DbCharmerEnvUrls
|
66
|
-
|
67
|
-
`DbCharmerEnvUrls` reads uls
|
68
|
-
|
69
|
-
## Installation
|
70
|
-
|
71
|
-
Add this line to your application's Gemfile:
|
72
|
-
|
73
|
-
```ruby
|
74
|
-
gem 'db_charmer_env_urls'
|
75
|
-
```
|
76
|
-
|
77
|
-
And then execute:
|
78
|
-
|
79
|
-
$ bundle
|
80
|
-
|
81
|
-
Or install it yourself as:
|
82
|
-
|
83
|
-
$ gem install db_charmer_env_urls
|
84
|
-
|
85
|
-
## Usage
|
86
|
-
|
87
|
-
TODO: Write usage instructions here
|
88
|
-
|
89
58
|
## Contributing
|
90
59
|
|
91
60
|
1. Fork it ( https://github.com/[my-github-username]/db_charmer_env_urls/fork )
|
@@ -6,7 +6,7 @@ module DbCharmerEnvUrls
|
|
6
6
|
#
|
7
7
|
# @see https://github.com/rails/rails/blob/38af3540ae53b9f2fbdb649a68cde3edf182fe67/activerecord/lib/active_record/railtie.rb#L79 ActiveRecord's default initializer
|
8
8
|
# @see DbCharmerEnvUrls.database_configurations
|
9
|
-
initializer "
|
9
|
+
initializer "db_charmer_env_urls.initialize_database", after: "active_record.initialize_database" do
|
10
10
|
ActiveSupport.on_load(:active_record) do
|
11
11
|
base = ActiveRecord::Base
|
12
12
|
# This will not be set if DATABASE_URL isn't used
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: db_charmer_env_urls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Hahn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -103,6 +103,7 @@ extra_rdoc_files: []
|
|
103
103
|
files:
|
104
104
|
- ".gitignore"
|
105
105
|
- ".rspec"
|
106
|
+
- CHANGELOG.md
|
106
107
|
- Gemfile
|
107
108
|
- LICENSE.txt
|
108
109
|
- README.md
|