bel_parser 1.0.2-java → 1.0.3-java

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: e9dc9967b15635956545532c547bc5a40ca86e66
4
- data.tar.gz: d67e94427b796f02d9e45879b3dd5820d4eb7692
3
+ metadata.gz: 6f361c605de318ce6ec8f629b1fbb3dd38d22454
4
+ data.tar.gz: ac40b0b31f4590eb812ae37a42691be2147d2649
5
5
  SHA512:
6
- metadata.gz: a10cff7fd5c64fc27668e549e040fad89280f5fbb62037fb52a3c1444c23c31f02602e3cac9ace74631176470ab5bd3a5f33f37476dd8675beaecde828ccdecf
7
- data.tar.gz: c994e00a6faa7c4f18f5fcf1ad02cc8c1882dc8133ef2c1297b7341757629f8de6308362904fa1a280d40a07868d9e052078dde7e5e82b08e979f65aaa98b50c
6
+ metadata.gz: 90d04385c23b3ce4dcd3a29872046306001a79e637ef786a87d9ccb76ef80419983ea4c4a00e6eae987c956c6f9c10f79784db5a7bbd066cbb0b70425dc398f4
7
+ data.tar.gz: b949467ff5387ea9312c1f16958d29bf924b564260f6d21e4c25b313c1f90e6b9ae0df2e1c7d97764a44a5512d5a8a66145d4741badc6aefb35f97840998e4d5
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: java
6
6
  authors:
7
7
  - Anthony Bargnesi
@@ -422,7 +422,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
422
422
  version: '0'
423
423
  requirements: []
424
424
  rubyforge_project:
425
- rubygems_version: 2.4.8
425
+ rubygems_version: 2.6.4
426
426
  signing_key:
427
427
  specification_version: 4
428
428
  summary: Parser for Biolgical Expression Language.