flynn-autoconf 0.1.0 → 0.2.0
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.
- checksums.yaml +4 -4
- data/README.md +2 -9
- data/lib/flynn/autoconf/rails.rb +1 -0
- data/lib/flynn/autoconf/version.rb +1 -1
- data/lib/flynn/autoconf.rb +2 -0
- 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: 04c2fc60832a832fdde216ade1c6e5e6f84fb431
|
|
4
|
+
data.tar.gz: 2a94a266566c14042693cc2ed07ec3031646c9b9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 67fff461f3787d95c7717f0dea176efa7a7e9e60552b970982831d330623f4b69452710651cb1db5dec299353f4317ca839173b8bdb119aa5f226c66b7889628
|
|
7
|
+
data.tar.gz: 0a5d3b40052bb7bad0dfe00d3faa34fde9bdaf9f0a59bd64ef3a450629bce73b0d6f88f4367b26b67e1ac71b5e79572c335140ca64e7cf8624d05ec4f5daaead
|
data/README.md
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
# Flynn::Autoconf
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
|
3
|
+
Small utility gem that sets up DATABASE_URL from PGUSER PGPASSWORD PGHOST and PGDATABASE environment vars.
|
|
6
4
|
|
|
7
5
|
## Installation
|
|
8
6
|
|
|
@@ -22,13 +20,8 @@ Or install it yourself as:
|
|
|
22
20
|
|
|
23
21
|
## Usage
|
|
24
22
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
## Development
|
|
28
|
-
|
|
29
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
23
|
+
Flynn::AutoConf.setup_postgres
|
|
30
24
|
|
|
31
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
32
25
|
|
|
33
26
|
## Contributing
|
|
34
27
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Flynn::AutoConf.setup_postgres(key: 'DATABASE_URL')
|
data/lib/flynn/autoconf.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: flynn-autoconf
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hannes Nevalainen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-10-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -76,6 +76,7 @@ files:
|
|
|
76
76
|
- bin/setup
|
|
77
77
|
- flynn-autoconf.gemspec
|
|
78
78
|
- lib/flynn/autoconf.rb
|
|
79
|
+
- lib/flynn/autoconf/rails.rb
|
|
79
80
|
- lib/flynn/autoconf/version.rb
|
|
80
81
|
homepage: https://github.com/kwando/flynn-autoconf
|
|
81
82
|
licenses: []
|