lpxc 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lpxc.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e9055cfc3547883f793f5c2a1dbf2e3e39d4d6f5
4
- data.tar.gz: d662f72b722516458f8e1f31dd1ddfafcf85129c
3
+ metadata.gz: 19631c08167371097e6da687a1e38d97d30471b6
4
+ data.tar.gz: 117697d42d8b6b0fd5311682ccf82809dcbfcbd7
5
5
  SHA512:
6
- metadata.gz: 8fe8cd9dfb9a9db8bfecf22cadbb6532364c3208e6cc76bfba7504e062c6883d03577c1dd7e3494f737fa3c6be831d94a4fbd6ceb531767a1acd95446e786f18
7
- data.tar.gz: d8547c0561673704ea4646fc02a4de1d2ae060c0a679cc2bda11b4f6cd71b099864233b8ce871bb5110033b273feccbb3de50ae8ae0f3a02d8669b0da208ee26
6
+ metadata.gz: 7b0da8d3078581cabfe27d250a12ed77599d2a070fcc5e9476f67a5a91eedc634ed6d7285e78e20e8242f60fabb6e1ec587b70276dd9db0f98434e23b1e0ca83
7
+ data.tar.gz: 10617fd0b33ea9b5d6eb32dad2e0b81fab5dff3f3cd6ecf3faa11d13fb266dd6d31705bcdc060c3dd657fc4cb2561b6be88684bd09f8449833b13f754ba74676
data/lpxc.rb CHANGED
@@ -174,7 +174,7 @@ class Lpxc
174
174
  rescue => e
175
175
  $stdout.puts("at=req-error msg=#{e.message}") if ENV['DEBUG']
176
176
  ensure
177
- http.finish
177
+ http.finish if http.started?
178
178
  end
179
179
  end
180
180
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lpxc
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
  - Ryan Smith (♠ ace hacker)