nobel 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/nobel/http.rb +3 -0
  2. data/lib/nobel/version.rb +1 -1
  3. metadata +1 -1
@@ -9,6 +9,9 @@ module Nobel
9
9
  Net::HTTP.start(uri.host, uri.port) do |http|
10
10
  request = Net::HTTP::Get.new(uri.request_uri)
11
11
  response = http.request(request)
12
+
13
+ http.finish
14
+
12
15
  response.body if response.code == '200'
13
16
  end
14
17
  rescue StandardError
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Nobel
4
- VERSION = "0.0.2"
4
+ VERSION = "0.0.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nobel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: