bel_parser 1.0.2 → 1.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: d73fc8144235a55710aff6e515ee141645fd929c
4
- data.tar.gz: 7fe8e507fe85232ba73f974e98fff87745153471
3
+ metadata.gz: 4647de6538942a6a002e45a2e6a260920cf889d7
4
+ data.tar.gz: ef4be77c47a01419a46c5ac442dc276ac71e7789
5
5
  SHA512:
6
- metadata.gz: 34ea2bcc1306d7c9e3f781e6189cfe0be621805ffc8ccfd058d7ed20b7ac83fee12ce278c3b825ed6a5a2a011ff525cd8731e5c0b7126345a3c044cdc9bcd9bc
7
- data.tar.gz: e0c3457d6d916fbd4bcd1c02de29dd01b8604d1e3f0aa7f40f8d4ebfa0e19fa1e218dd8b7f9a76211c9de2c7ba3c28064fbfbd566e2ce79355eb1c0149a369d1
6
+ metadata.gz: a35f51b5f4056e019b12bebc28ffd065f487780b23665f29147e9624ec8a30d712d5374688eb986294f0e46b2cb476cdd45a108a5e9c3eddead2c0a8c777f170
7
+ data.tar.gz: 252c2c6f742cb1a4ed0ae7d8e162d2f43344a8cab269cd4638f6a6e814570a820b847ae5601ba1a6ed044e62457803c83d019bbf036b464186b283d5d85e318e
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.2
1
+ 1.0.3
@@ -180,13 +180,9 @@ module BELParser
180
180
  private
181
181
 
182
182
  def _get(url, &block)
183
- Net::HTTP.start(url.host, url.port) do |http|
184
- http.request(Net::HTTP::Get.new(url)) do |response|
185
- return response.read_body
186
- end
187
- end
183
+ http = Net::HTTP.new(url.host, url.port)
184
+ http.request_get(url).response.read_body
188
185
  end
189
-
190
186
  end
191
187
  end
192
188
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bel_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anthony Bargnesi
@@ -408,7 +408,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
408
408
  version: '0'
409
409
  requirements: []
410
410
  rubyforge_project:
411
- rubygems_version: 2.4.8
411
+ rubygems_version: 2.6.4
412
412
  signing_key:
413
413
  specification_version: 4
414
414
  summary: Parser for Biolgical Expression Language.