manticore 0.5.5-java → 0.6.0-java

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 111c250ba25bbaa0452c9bee6bd1ad09b589a007
4
- data.tar.gz: a6dac53321a576076f418e47729a90bdfd85504e
3
+ metadata.gz: aaec2b636e38b91767b212d83f2519c7e52ed085
4
+ data.tar.gz: 83eda4139c8cad24ccff8f9c022d5b4a8a9e7778
5
5
  SHA512:
6
- metadata.gz: e20565e5b7a754d475c894eca5a4d718fcea9848e47dea4bb836747fd12cf166486faf4d0604a9eb72addf319833f0c8a54bec45e5c099315b361e5cda251695
7
- data.tar.gz: 7ef91033ae1aff1dffea2ba44816e0665d76c951267a4832f5175cb25b732fece0a656a39c13dc09ac5c847fe3e7a6b129dd35d2370d6365981d060f42c4fe6f
6
+ metadata.gz: 9e60fe0524842aaba68b508587ef4928db16c11fbbfcdd5b29c2453d1175e6edd79322ec4068c18e921eea3f7e021d5a5a9b523e46ad12aeed5e7668c6920b1d
7
+ data.tar.gz: 90c45bbc808cfeeac2b79685eed88162092fe8a73c81ca928f9c81309b10897a02c0ec2e88866ab1ef97baeeb884df85a595e48916c6d63cc2c925307cc4a2bc
@@ -1,6 +1,13 @@
1
- ## v0.5
1
+ ## v0.6
2
+
3
+ ### v0.6.1 (pending)
4
+
5
+ ### v0.6.0
2
6
 
3
- ### v0.5.6 (pending)
7
+ * Dependent jars are now vendored, but managed with jar-dependencies. This solves issues installing manticore on platforms that have out-of-date root certs, and simplifies the install process.
8
+ * Fixed timeout behaviors (#48 - thanks @hobodave)
9
+
10
+ ## v0.5
4
11
 
5
12
  ### v0.5.5
6
13
 
data/README.md CHANGED
@@ -8,7 +8,7 @@ Manticore is a fast, robust HTTP client built on the Apache HTTPClient libraries
8
8
 
9
9
  Add this line to your application's Gemfile:
10
10
 
11
- gem 'manticore'
11
+ gem 'manticore', platform: :jruby
12
12
 
13
13
  And then execute:
14
14
 
data/Rakefile CHANGED
@@ -8,9 +8,9 @@ end
8
8
  task :default => [:generate_certs, :spec]
9
9
 
10
10
  # Download and vendor the jars needed
11
- require 'jar_installer'
11
+ require 'jars/installer'
12
12
  task :install_jars do
13
- Jars::JarInstaller.new.send :do_install, true, true
13
+ Jars::Installer.vendor_jars!
14
14
  end
15
15
 
16
16
  ## Build the Manticore extensions into a jar. You may need to install_jars first
@@ -56,8 +56,8 @@ module Faraday
56
56
  opts[:body] = body if body
57
57
 
58
58
  if req = env[:request]
59
- opts[:request_timeout] = opts[:connect_timeout] = opts[:socket_timeout] = req[:timeout] if req.key?(:timeout)
60
- opts[:connect_timeout] = opts[:socket_timeout] = req[:open_timeout] if req.key?(:open_timeout)
59
+ opts[:request_timeout] = opts[:socket_timeout] = opts[:connect_timeout] = req[:timeout] if req.key?(:timeout)
60
+ opts[:connect_timeout] = req[:open_timeout] if req.key?(:open_timeout)
61
61
  if prx = req[:proxy]
62
62
  opts[:proxy] = {
63
63
  :url => prx[:uri].to_s,
@@ -1,3 +1,3 @@
1
1
  module Manticore
2
- VERSION = "0.5.5"
2
+ VERSION = "0.6.0"
3
3
  end
@@ -1,8 +1,8 @@
1
1
  # this is a generated file, to avoid over-writing it just delete this comment
2
2
  require 'jar_dependencies'
3
3
 
4
- require_jar( 'org.apache.httpcomponents', 'httpcore', '4.4.1' )
5
- require_jar( 'commons-codec', 'commons-codec', '1.9' )
6
4
  require_jar( 'commons-logging', 'commons-logging', '1.2' )
7
- require_jar( 'org.apache.httpcomponents', 'httpmime', '4.5' )
8
- require_jar( 'org.apache.httpcomponents', 'httpclient', '4.5' )
5
+ require_jar( 'org.apache.httpcomponents', 'httpmime', '4.5.2' )
6
+ require_jar( 'commons-codec', 'commons-codec', '1.10' )
7
+ require_jar( 'org.apache.httpcomponents', 'httpclient', '4.5.2' )
8
+ require_jar( 'org.apache.httpcomponents', 'httpcore', '4.4.4' )
@@ -27,9 +27,11 @@ Gem::Specification.new do |spec|
27
27
 
28
28
  spec.add_development_dependency "bundler", "~> 1.3"
29
29
  spec.add_development_dependency "rake"
30
- spec.add_development_dependency 'ruby-maven', '~> 3.3'
30
+ spec.add_development_dependency "jar-dependencies"
31
31
 
32
- spec.add_runtime_dependency "jar-dependencies"
33
- spec.requirements << "jar org.apache.httpcomponents:httpclient, 4.5"
34
- spec.requirements << "jar org.apache.httpcomponents:httpmime, 4.5"
32
+ spec.requirements << "jar org.apache.httpcomponents:httpclient, '~> 4.5.0'"
33
+ spec.requirements << "jar org.apache.httpcomponents:httpmime, '~> 4.5.0'"
34
+ spec.requirements << "jar commons-logging:commons-logging, '~> 1.2'"
35
+ spec.requirements << "jar commons-codec:commons-codec, '~> 1.9'"
36
+ spec.requirements << "jar org.apache.httpcomponents:httpcore, '~> 4.4.4'"
35
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manticore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.6.0
5
5
  platform: java
6
6
  authors:
7
7
  - Chris Heald
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-15 00:00:00.000000000 Z
11
+ date: 2016-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
- - !ruby/object:Gem::Dependency
42
- requirement: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - "~>"
45
- - !ruby/object:Gem::Version
46
- version: '3.3'
47
- name: ruby-maven
48
- prerelease: false
49
- type: :development
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '3.3'
55
41
  - !ruby/object:Gem::Dependency
56
42
  requirement: !ruby/object:Gem::Requirement
57
43
  requirements:
@@ -60,7 +46,7 @@ dependencies:
60
46
  version: '0'
61
47
  name: jar-dependencies
62
48
  prerelease: false
63
- type: :runtime
49
+ type: :development
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
52
  - - ">="
@@ -85,6 +71,8 @@ files:
85
71
  - ext/manticore/org/manticore/HttpGetWithEntity.java
86
72
  - ext/manticore/org/manticore/Manticore.java
87
73
  - gem-public_cert.pem
74
+ - lib/commons-codec/commons-codec/1.10/commons-codec-1.10.jar
75
+ - lib/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
88
76
  - lib/faraday/adapter/manticore.rb
89
77
  - lib/manticore.rb
90
78
  - lib/manticore/client.rb
@@ -96,6 +84,9 @@ files:
96
84
  - lib/manticore/stubbed_response.rb
97
85
  - lib/manticore/version.rb
98
86
  - lib/manticore_jars.rb
87
+ - lib/org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.jar
88
+ - lib/org/apache/httpcomponents/httpcore/4.4.4/httpcore-4.4.4.jar
89
+ - lib/org/apache/httpcomponents/httpmime/4.5.2/httpmime-4.5.2.jar
99
90
  - lib/org/manticore/manticore-ext.jar
100
91
  - manticore.gemspec
101
92
  - spec/manticore/client_proxy_spec.rb
@@ -125,8 +116,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
116
  - !ruby/object:Gem::Version
126
117
  version: '0'
127
118
  requirements:
128
- - jar org.apache.httpcomponents:httpclient, 4.5
129
- - jar org.apache.httpcomponents:httpmime, 4.5
119
+ - jar org.apache.httpcomponents:httpclient, '~> 4.5.0'
120
+ - jar org.apache.httpcomponents:httpmime, '~> 4.5.0'
121
+ - jar commons-logging:commons-logging, '~> 1.2'
122
+ - jar commons-codec:commons-codec, '~> 1.9'
123
+ - jar org.apache.httpcomponents:httpcore, '~> 4.4.4'
130
124
  rubyforge_project:
131
125
  rubygems_version: 2.4.8
132
126
  signing_key: