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 +4 -4
- data/lib/boxcar_client/agent.rb +1 -2
- data/lib/boxcar_client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b9dbe7a1624ac2a395ee483daf771457179ce04
|
4
|
+
data.tar.gz: 62a9f4877998d2ef2c1696a7b532caaaea51009e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c2b8e18b331b29e86572a642c1bea5439b87634c7a032e140d616fd16fe875e97a9da94426de981171796df6845e6f53e91d401b4fefd076bbb3bea6306c6de
|
7
|
+
data.tar.gz: ee0a71cbd6bb04e70c295c5cee2c40a1776d2cbf10664e003cdba54efc4a0f38d2c0600386aa034bdab27a5d07f68719927325cff745fa84cd3bc38e4391415d
|
data/lib/boxcar_client/agent.rb
CHANGED
@@ -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)
|