nomadize 0.4.1 → 0.4.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2ec6b901bd206ae3d65a945679248183c23e8fa5
4
- data.tar.gz: 4886dd3cafa1f31a9ab7d120fec4a7952e2f3305
3
+ metadata.gz: d18eebcd72492beb69712cbc1e8b84b0f0baab8b
4
+ data.tar.gz: 077c9540785db921b785201dd790d1d74b9a7d6a
5
5
  SHA512:
6
- metadata.gz: 40c6977c99aaa8e4187ddc8fa0c1f82cf725e9296bd7dbfcd9a92a94a3d67294de9bf27b498f77321dee1b75695197e32f9d916432fb1f3e85b4a7d9e20ad96b
7
- data.tar.gz: 26079c9bb1642085fcffebca2fab530e8bae7d5fc4a0ab618123d6151cfc7dce912573f6226bfb065b44cd70339326b07d21cfe7b012fd4c98f00d5d3965ae29
6
+ metadata.gz: dcc42cee6b4e52dfcfcbc7e0220956c59c43a21df9058c49aee6edc65152273bfa18caa292c8de7d2c9918bb42600035bc631f12fe9509b7c25a805dcd0b4d10
7
+ data.tar.gz: a98279a5672f8a7965e6415e3ddb6925c3194fd62a92b9d2e5f89e4802c0207b4d8f5505372d525cf92cd9789d1c720aa30c9e8d3318acb0e2f19a08ff77d3b1
data/README.md CHANGED
@@ -39,10 +39,6 @@ production:
39
39
 
40
40
  The test/development/production keys define environment dependent options for the `PG.connection` based on the environment set via `RACK_ENV`. These key/value pairs are handed directly to the `PG.connect` method, documentation for what options can be passed can be found [here](http://deveiate.org/code/pg/PG/Connection.html#method-c-new).
41
41
 
42
- The directory in which to find migrations files can optionally be set with the config:
43
- `migrations_path: db/migrations`
44
- The default value is `db/migrations`
45
-
46
42
  ### ENV['DATABASE_URL']
47
43
 
48
44
  As of 0.4.0 Nomadize will also respect the `DATABASE_URL` environment variable. If `DATABASE_URL` is set it will override the connection information in the config file `config/database.yml`.
@@ -112,6 +108,9 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/piisal
112
108
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
113
109
 
114
110
  ## Changelog
111
+ 0.4.2
112
+ * Make migrations path hard coded (this fixes an issue with heroku overwriting the database.yml file)
113
+
115
114
  0.4.1
116
115
  * Fix a bug with command line utility using and incorrect method name.
117
116
 
@@ -19,7 +19,7 @@ module Nomadize
19
19
  end
20
20
 
21
21
  def self.migrations_path
22
- config_file.fetch('migrations_path', 'db/migrations')
22
+ 'db/migrations'
23
23
  end
24
24
 
25
25
  def self.config_file(path = 'config/database.yml')
@@ -1,3 +1,3 @@
1
1
  module Nomadize
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nomadize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Dawson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-03-28 00:00:00.000000000 Z
11
+ date: 2016-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler