right_http_connection 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +6 -3
- data/lib/base/net_fix.rb +2 -1
- data/lib/base/version.rb +1 -1
- data/right_http_connection.gemspec +1 -1
- metadata +23 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ba2dac9f5194cfcb8a8e6dec24f973418d07f22
|
4
|
+
data.tar.gz: 59e6d3f82e45ca7679849320fc7fd89f6e776d20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd754b030589555f947f2a52bb64c4d3524c902f3e0d95c00fbecf5a340c06d7d6353360763b225b3e05464357610e2dae54d7e21df17b899a65c3bef5430c02
|
7
|
+
data.tar.gz: 2ee74c4fc7cf86908f8a06b96be6cd892aeb25e16a345ea959e0fbe7907712a126c73704c8a3da013dec9443cecd8cc6e1caace3ebd4737c7e0e4da4e5287488
|
data/Rakefile
CHANGED
@@ -5,9 +5,9 @@ require 'rake'
|
|
5
5
|
require 'rake/clean'
|
6
6
|
require 'rake/testtask'
|
7
7
|
require 'rake/packagetask'
|
8
|
-
require 'rake/gempackagetask'
|
9
|
-
require 'rake/rdoctask'
|
10
|
-
require 'rake/contrib/rubyforgepublisher'
|
8
|
+
#require 'rake/gempackagetask'
|
9
|
+
#require 'rake/rdoctask'
|
10
|
+
#require 'rake/contrib/rubyforgepublisher'
|
11
11
|
require 'rspec/core/rake_task'
|
12
12
|
require 'cucumber/rake/task'
|
13
13
|
require 'fileutils'
|
@@ -16,6 +16,8 @@ require File.join(File.dirname(__FILE__), 'lib', 'right_http_connection')
|
|
16
16
|
|
17
17
|
Bundler::GemHelper.install_tasks
|
18
18
|
|
19
|
+
=begin
|
20
|
+
|
19
21
|
# == Gem == #
|
20
22
|
|
21
23
|
gemtask = Rake::GemPackageTask.new(Gem::Specification.load("right_http_connection.gemspec")) do |package|
|
@@ -61,6 +63,7 @@ task :check_version do
|
|
61
63
|
exit
|
62
64
|
end
|
63
65
|
end
|
66
|
+
=end
|
64
67
|
|
65
68
|
task :default => 'spec'
|
66
69
|
|
data/lib/base/net_fix.rb
CHANGED
@@ -25,6 +25,7 @@
|
|
25
25
|
# Net::HTTP and Net::HTTPGenericRequest fixes to support 100-continue on
|
26
26
|
# POST and PUT. The request must have 'expect' field set to '100-continue'.
|
27
27
|
|
28
|
+
require 'timeout'
|
28
29
|
|
29
30
|
module Net
|
30
31
|
|
@@ -48,7 +49,7 @@ module Net
|
|
48
49
|
end
|
49
50
|
|
50
51
|
def rbuf_fill
|
51
|
-
timeout(@read_timeout) {
|
52
|
+
Timeout.timeout(@read_timeout) {
|
52
53
|
@rbuf << @io.sysread(@@socket_read_size)
|
53
54
|
}
|
54
55
|
end
|
data/lib/base/version.rb
CHANGED
@@ -25,7 +25,7 @@ module RightHttpConnection #:nodoc:
|
|
25
25
|
module VERSION #:nodoc:
|
26
26
|
MAJOR = 1 unless defined?(MAJOR)
|
27
27
|
MINOR = 5 unless defined?(MINOR)
|
28
|
-
TINY =
|
28
|
+
TINY = 1 unless defined?(TINY)
|
29
29
|
|
30
30
|
STRING = [MAJOR, MINOR, TINY].join('.') unless defined?(STRING)
|
31
31
|
end
|
@@ -40,7 +40,7 @@ Gem::Specification.new do |spec|
|
|
40
40
|
spec.required_ruby_version = '>= 1.8.7'
|
41
41
|
spec.require_path = 'lib'
|
42
42
|
|
43
|
-
spec.add_development_dependency('rake')
|
43
|
+
spec.add_development_dependency('rake', '< 12')
|
44
44
|
spec.add_development_dependency('rspec', "~> 2.3")
|
45
45
|
spec.add_development_dependency('cucumber', "~> 0.8")
|
46
46
|
spec.add_development_dependency('flexmock', "~> 0.8.11")
|
metadata
CHANGED
@@ -1,83 +1,83 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: right_http_connection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- RightScale, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - "<"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '12'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - "<"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '12'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '2.3'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '2.3'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: cucumber
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0.8'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0.8'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: flexmock
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 0.8.11
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 0.8.11
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: trollop
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - ~>
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '1.16'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - ~>
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '1.16'
|
83
83
|
description: |
|
@@ -126,30 +126,30 @@ licenses: []
|
|
126
126
|
metadata: {}
|
127
127
|
post_install_message:
|
128
128
|
rdoc_options:
|
129
|
-
- --quiet
|
130
|
-
- --main
|
129
|
+
- "--quiet"
|
130
|
+
- "--main"
|
131
131
|
- README.txt
|
132
|
-
- --title
|
132
|
+
- "--title"
|
133
133
|
- right_http_connection documentation
|
134
|
-
- --opname
|
134
|
+
- "--opname"
|
135
135
|
- index.html
|
136
|
-
- --line-numbers
|
137
|
-
- --inline-source
|
136
|
+
- "--line-numbers"
|
137
|
+
- "--inline-source"
|
138
138
|
require_paths:
|
139
139
|
- lib
|
140
140
|
required_ruby_version: !ruby/object:Gem::Requirement
|
141
141
|
requirements:
|
142
|
-
- -
|
142
|
+
- - ">="
|
143
143
|
- !ruby/object:Gem::Version
|
144
144
|
version: 1.8.7
|
145
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
146
|
requirements:
|
147
|
-
- -
|
147
|
+
- - ">="
|
148
148
|
- !ruby/object:Gem::Version
|
149
149
|
version: '0'
|
150
150
|
requirements: []
|
151
151
|
rubyforge_project: rightscale
|
152
|
-
rubygems_version: 2.
|
152
|
+
rubygems_version: 2.5.2
|
153
153
|
signing_key:
|
154
154
|
specification_version: 4
|
155
155
|
summary: RightScale's robust HTTP/S connection module
|