gorp 0.16.4 → 0.16.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/gorp.gemspec +1 -1
  2. data/lib/gorp/net.rb +1 -1
  3. data/lib/version.rb +1 -1
  4. metadata +1 -1
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{gorp}
5
- s.version = "0.16.4"
5
+ s.version = "0.16.5"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Sam Ruby"]
@@ -83,7 +83,7 @@ def post path, form, options={}
83
83
  if path.include? ':'
84
84
  host, port, path = URI.parse(path).select(:host, :port, :path)
85
85
  else
86
- host, port = '127.0.0.1', $PORT
86
+ host, port = 'localhost', $PORT
87
87
  end
88
88
 
89
89
  Net::HTTP.start(host, port) do |http|
@@ -2,7 +2,7 @@ module Gorp
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 16
5
- TINY = 4
5
+ TINY = 5
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gorp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.4
4
+ version: 0.16.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Ruby