boxcar_client 0.0.2 → 0.0.3

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: f0f7a69c0bbfead517a59779b521013fa85a2544
4
- data.tar.gz: 50f25ab1138b2863a51a51c9174cfcbc8640c26e
3
+ metadata.gz: 1b9dbe7a1624ac2a395ee483daf771457179ce04
4
+ data.tar.gz: 62a9f4877998d2ef2c1696a7b532caaaea51009e
5
5
  SHA512:
6
- metadata.gz: 38302c5bb149811f6a8099e14e167fbcd43d5ca3be1193e4b12730677117d347c3c9d3aa88bf62f48be16c7d10a9189aac8b7cf6bcbab2ce44e4dd991071bc92
7
- data.tar.gz: b331d7ac16f29386c6a439359af92b7e9b04d166012ea2b789d00ab9a4bd49b38ea97ef2854b94338f99d549d855f6acda33151c9a18f69e5b361788f01a6c0f
6
+ metadata.gz: 0c2b8e18b331b29e86572a642c1bea5439b87634c7a032e140d616fd16fe875e97a9da94426de981171796df6845e6f53e91d401b4fefd076bbb3bea6306c6de
7
+ data.tar.gz: ee0a71cbd6bb04e70c295c5cee2c40a1776d2cbf10664e003cdba54efc4a0f38d2c0600386aa034bdab27a5d07f68719927325cff745fa84cd3bc38e4391415d
@@ -6,9 +6,8 @@ module BoxcarClient
6
6
  end
7
7
 
8
8
  def push
9
- p @push_url
10
9
  uri = URI(@push_url)
11
- request = Net::HTTP::Post.new(uri)
10
+ request = Net::HTTP::Post.new(uri.to_s)
12
11
  request.set_form_data(@data)
13
12
 
14
13
  response = Net::HTTP.start(uri.hostname, uri.port).request(request)
@@ -1,3 +1,3 @@
1
1
  module BoxcarClient
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boxcar_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Srihari, Unni