egalite 1.5.16 → 1.5.17
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 +7 -7
- data/.gitignore +17 -17
- data/Gemfile +4 -4
- data/LICENSE.txt +22 -22
- data/Rakefile +1 -1
- data/egalite.gemspec +24 -24
- data/lib/egalite/http.rb +15 -0
- data/lib/egalite/version.rb +1 -1
- metadata +59 -50
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
|
4
|
-
|
5
|
-
SHA512:
|
6
|
-
|
7
|
-
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 1be8c7aafc49f11ad4a4ca22ed436d2feffea90a
|
4
|
+
data.tar.gz: c513f3916c6645a2ad178b78dc2594aefd9f038a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: bcb2530fa430c96d97004e2db0bc2d48941508454896b45fe701d2e96134fbd69a3159232f868c43915a3df6ec1fc84bec76973c87d80a9a9a1972de60be5f13
|
7
|
+
data.tar.gz: 32a5d26ad20aa7d43d359d17ace9d442ae857899cd0dce0f4dcb41a57f772836233b5f7837b819e1e41ff4aa48fd8131070c53fdb7274a5a082cfb07343df04d
|
data/.gitignore
CHANGED
@@ -1,17 +1,17 @@
|
|
1
|
-
*.gem
|
2
|
-
*.rbc
|
3
|
-
.bundle
|
4
|
-
.config
|
5
|
-
.yardoc
|
6
|
-
Gemfile.lock
|
7
|
-
InstalledFiles
|
8
|
-
_yardoc
|
9
|
-
coverage
|
10
|
-
doc/
|
11
|
-
lib/bundler/man
|
12
|
-
pkg
|
13
|
-
rdoc
|
14
|
-
spec/reports
|
15
|
-
test/tmp
|
16
|
-
test/version_tmp
|
17
|
-
tmp
|
1
|
+
*.gem
|
2
|
+
*.rbc
|
3
|
+
.bundle
|
4
|
+
.config
|
5
|
+
.yardoc
|
6
|
+
Gemfile.lock
|
7
|
+
InstalledFiles
|
8
|
+
_yardoc
|
9
|
+
coverage
|
10
|
+
doc/
|
11
|
+
lib/bundler/man
|
12
|
+
pkg
|
13
|
+
rdoc
|
14
|
+
spec/reports
|
15
|
+
test/tmp
|
16
|
+
test/version_tmp
|
17
|
+
tmp
|
data/Gemfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
source 'https://rubygems.org'
|
2
|
-
|
3
|
-
# Specify your gem's dependencies in egalite.gemspec
|
4
|
-
gemspec
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
# Specify your gem's dependencies in egalite.gemspec
|
4
|
+
gemspec
|
data/LICENSE.txt
CHANGED
@@ -1,22 +1,22 @@
|
|
1
|
-
Copyright (c) 2013 Shunichi Arai
|
2
|
-
|
3
|
-
MIT License
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
-
a copy of this software and associated documentation files (the
|
7
|
-
"Software"), to deal in the Software without restriction, including
|
8
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
-
permit persons to whom the Software is furnished to do so, subject to
|
11
|
-
the following conditions:
|
12
|
-
|
13
|
-
The above copyright notice and this permission notice shall be
|
14
|
-
included in all copies or substantial portions of the Software.
|
15
|
-
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
1
|
+
Copyright (c) 2013 Shunichi Arai
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/Rakefile
CHANGED
@@ -1 +1 @@
|
|
1
|
-
require "bundler/gem_tasks"
|
1
|
+
require "bundler/gem_tasks"
|
data/egalite.gemspec
CHANGED
@@ -1,24 +1,24 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'egalite/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = "egalite"
|
8
|
-
spec.version = Egalite::VERSION
|
9
|
-
spec.authors = ["Shunichi Arai"]
|
10
|
-
spec.email = ["arai@mellowtone.co.jp"]
|
11
|
-
spec.description = %q{Egalite - yet another web application framework. see description at https://github.com/araipiyo/egalite}
|
12
|
-
spec.summary = %q{Egalite - yet another web application framework.}
|
13
|
-
spec.homepage = "https://github.com/araipiyo/egalite"
|
14
|
-
spec.license = "MIT"
|
15
|
-
|
16
|
-
spec.files = `git ls-files`.split($/)
|
17
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
-
spec.require_paths = ["lib"]
|
20
|
-
|
21
|
-
spec.add_development_dependency "bundler", "~> 1.3"
|
22
|
-
spec.add_development_dependency "rake"
|
23
|
-
spec.add_dependency "rack"
|
24
|
-
end
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'egalite/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "egalite"
|
8
|
+
spec.version = Egalite::VERSION
|
9
|
+
spec.authors = ["Shunichi Arai"]
|
10
|
+
spec.email = ["arai@mellowtone.co.jp"]
|
11
|
+
spec.description = %q{Egalite - yet another web application framework. see description at https://github.com/araipiyo/egalite}
|
12
|
+
spec.summary = %q{Egalite - yet another web application framework.}
|
13
|
+
spec.homepage = "https://github.com/araipiyo/egalite"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
22
|
+
spec.add_development_dependency "rake"
|
23
|
+
spec.add_dependency "rack"
|
24
|
+
end
|
data/lib/egalite/http.rb
CHANGED
@@ -11,6 +11,21 @@ module Egalite
|
|
11
11
|
http.use_ssl = true
|
12
12
|
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
13
13
|
end
|
14
|
+
if options[:continue_timeout]
|
15
|
+
http.continue_timeout = options[:continue_timeout]
|
16
|
+
end
|
17
|
+
if options[:keep_alive_timeout]
|
18
|
+
http.keep_alive_timeout = options[:keep_alive_timeout]
|
19
|
+
end
|
20
|
+
if options[:open_timeout]
|
21
|
+
http.open_timeout = options[:open_timeout]
|
22
|
+
end
|
23
|
+
if options[:read_timeout]
|
24
|
+
http.read_timeout = options[:read_timeout]
|
25
|
+
end
|
26
|
+
if options[:ssl_timeout]
|
27
|
+
http.ssl_timeout = options[:ssl_timeout]
|
28
|
+
end
|
14
29
|
[http, uri]
|
15
30
|
end
|
16
31
|
def self.parse_options(options)
|
data/lib/egalite/version.rb
CHANGED
metadata
CHANGED
@@ -1,56 +1,65 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: egalite
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.5.17
|
5
5
|
platform: ruby
|
6
|
-
authors:
|
6
|
+
authors:
|
7
7
|
- Shunichi Arai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2017-10-23 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
15
14
|
name: bundler
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
version: "1.3"
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.3'
|
22
20
|
type: :development
|
23
|
-
version_requirements: *id001
|
24
|
-
- !ruby/object:Gem::Dependency
|
25
|
-
name: rake
|
26
21
|
prerelease: false
|
27
|
-
|
28
|
-
requirements:
|
29
|
-
-
|
30
|
-
-
|
31
|
-
|
32
|
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
33
34
|
type: :development
|
34
|
-
version_requirements: *id002
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: rack
|
37
35
|
prerelease: false
|
38
|
-
|
39
|
-
requirements:
|
40
|
-
-
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rack
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
41
48
|
type: :runtime
|
42
|
-
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
43
55
|
description: Egalite - yet another web application framework. see description at https://github.com/araipiyo/egalite
|
44
|
-
email:
|
56
|
+
email:
|
45
57
|
- arai@mellowtone.co.jp
|
46
58
|
executables: []
|
47
|
-
|
48
59
|
extensions: []
|
49
|
-
|
50
60
|
extra_rdoc_files: []
|
51
|
-
|
52
|
-
|
53
|
-
- .gitignore
|
61
|
+
files:
|
62
|
+
- ".gitignore"
|
54
63
|
- Gemfile
|
55
64
|
- LICENSE.txt
|
56
65
|
- README.md
|
@@ -125,29 +134,30 @@ files:
|
|
125
134
|
- test/test_stringify_hash.rb
|
126
135
|
- test/test_template.rb
|
127
136
|
homepage: https://github.com/araipiyo/egalite
|
128
|
-
licenses:
|
137
|
+
licenses:
|
129
138
|
- MIT
|
130
139
|
metadata: {}
|
131
|
-
|
132
140
|
post_install_message:
|
133
141
|
rdoc_options: []
|
134
|
-
|
135
|
-
require_paths:
|
142
|
+
require_paths:
|
136
143
|
- lib
|
137
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
138
|
-
requirements:
|
139
|
-
-
|
140
|
-
|
141
|
-
|
142
|
-
|
144
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
145
|
+
requirements:
|
146
|
+
- - ">="
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: '0'
|
149
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - ">="
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
143
154
|
requirements: []
|
144
|
-
|
145
155
|
rubyforge_project:
|
146
|
-
rubygems_version: 2.
|
156
|
+
rubygems_version: 2.5.1
|
147
157
|
signing_key:
|
148
158
|
specification_version: 4
|
149
159
|
summary: Egalite - yet another web application framework.
|
150
|
-
test_files:
|
160
|
+
test_files:
|
151
161
|
- test/cache.html
|
152
162
|
- test/cache_cache.html
|
153
163
|
- test/cache_nocache.html
|
@@ -176,4 +186,3 @@ test_files:
|
|
176
186
|
- test/test_session.rb
|
177
187
|
- test/test_stringify_hash.rb
|
178
188
|
- test/test_template.rb
|
179
|
-
has_rdoc:
|