database_url 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ba2ea5185f9833e0f0b30d7e4440c138019b6427
4
- data.tar.gz: 87bd701c1f3eea559518ca379f6361d795f68e0d
3
+ metadata.gz: 87af4247427018bbd5ac82d5870048f58ca83c4e
4
+ data.tar.gz: eb3191147c79c95486e1bf92c9ad48496a23c9a0
5
5
  SHA512:
6
- metadata.gz: e016566a71450259e626674d6725ca26dcb41651a929ea342a42023eeb3c4c50c7044536cb154c1e7b7f0078fa839f6d2e270c045decf098c7b6a99376408837
7
- data.tar.gz: 34cb07b00a0673467d9c747a3251efe2da3bffbde41eca00f6989ee3b04b8b3cd006d5b8a7fdb13d3c66f5646e90517d234a33e1e7f088d778887aa13263da02
6
+ metadata.gz: d1478e21ef47dd6056dbb8eb93b4ceb99fb03498c452c9a367f38cfd216405cc49ae6eba275d24c2f22825c52dd5fdeee8a6e1c9fad9a93e5a7f1be8ecf1ca6a
7
+ data.tar.gz: 1fce4ae92ffdde01d6f22d4d6d42ed8b52bcb1f9b19738e838c3f170096bf65c6808d28583487dfe33c902dbf5192b5218d1d9e764ac8d13197279c1bb8f94ea
data/CHANGELOG CHANGED
@@ -1,3 +1,9 @@
1
+ 0.1.1 / 2014-10-28
2
+
3
+ * Bug fixes
4
+
5
+ * Don't die if no URL query - fixes #1 thanks @fmasuhr !
6
+
1
7
  0.1.0 / 2014-07-12
2
8
 
3
9
  * Breaking changes
@@ -42,7 +42,7 @@ module DatabaseUrl
42
42
  if uri.password
43
43
  memo[:password] = uri.password
44
44
  end
45
- query = CGI.parse uri.query
45
+ query = CGI.parse uri.query.to_s
46
46
  if query.has_key?('encoding')
47
47
  memo[:encoding] = query['encoding'][0]
48
48
  end
@@ -1,3 +1,3 @@
1
1
  module DatabaseUrl
2
- VERSION = "0.1.0"
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: database_url
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seamus Abshere
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-12 00:00:00.000000000 Z
11
+ date: 2014-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler