rika-stevedore 1.6.1-java → 1.6.2-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: 7f1391eba455a89a35240e83cefa5683783fa501
4
- data.tar.gz: c6c3cb25b505f0bcea707074b08365660257c32f
3
+ metadata.gz: e6512acf4baa532f2990b03eccf250f2c89263f7
4
+ data.tar.gz: aeaf398f1137fa896dc6dafc133b83c6f9da2c29
5
5
  SHA512:
6
- metadata.gz: 71788d9a4e52c8cc7507eddaaee19bcaaec083a96231a20a8f56ed2b4bfcc9587dde40e7bf8a5104871d5f0689e10a132f139702ca9785357e79f6274f1134e5
7
- data.tar.gz: 50a657165cf36f55fd169441e1a160a53db9d4c607dd5d7aa3f7642e6f0d0b0dadec9734cfbacfcf80da5cc0b4874ac7a54cf7ae7753f8fc989c1df33da42d54
6
+ metadata.gz: e40d244f3c10f4d2f4e34dabb2777be674f822a68fe4ee6115f180d180c774175a9e8e8ea5dda0815fc373a086eac319c05cd9d63f85c9f365685f942520105b
7
+ data.tar.gz: 43dd60e49eba26f9eda4af2bf8df521a6185ac101c2d9f07d8d5801943593d52376c36bb156f5bf9d9cea800f0feb355a17f45b8d01c6be17d567280ebb0bfeb
data/lib/rika/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rika
2
- VERSION = "1.6.1"
2
+ VERSION = "1.6.2"
3
3
  end
data/lib/rika.rb CHANGED
@@ -111,7 +111,7 @@ module Rika
111
111
  def get_input_type
112
112
  if File.exists?(@uri) && File.directory?(@uri) == false
113
113
  :file
114
- elsif URI(@uri).scheme == "http" && Net::HTTP.get_response(URI(@uri)).is_a?(Net::HTTPSuccess)
114
+ elsif URI(@uri).scheme.to_s.match(%r{https?})
115
115
  :http
116
116
  else
117
117
  raise IOError, "Input (#{@uri}) is neither file nor http."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rika-stevedore
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: java
6
6
  authors:
7
7
  - Richard Nyström
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-03-01 00:00:00.000000000 Z
12
+ date: 2016-04-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  requirement: !ruby/object:Gem::Requirement
@@ -78,8 +78,8 @@ files:
78
78
  - target/dependency/apache-mime4j-dom-0.7.2.jar
79
79
  - target/dependency/asm-debug-all-4.1.jar
80
80
  - target/dependency/aspectjrt-1.8.0.jar
81
- - target/dependency/bcmail-jdk15on-147.jar
82
- - target/dependency/bcprov-jdk15on-147.jar
81
+ - target/dependency/bcmail-jdk15on-154.jar
82
+ - target/dependency/bcprov-jdk15on-154.jar
83
83
  - target/dependency/boilerpipe-1.1.0.jar
84
84
  - target/dependency/commons-codec-1.9.jar
85
85
  - target/dependency/commons-compress-1.10.jar