egalite 1.5.15 → 1.5.16

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
- ---
2
- SHA1:
3
- metadata.gz: dbfc73af2ba067b4b7278c031eef5e8922409d3c
4
- data.tar.gz: fa0e9d6eb79cf495ace9496455b78879e98fafa9
5
- SHA512:
6
- metadata.gz: 5259f0c26544063d8a4447052baf29425512cb190dfaae3ed7564d0d320b8f7a55ac70dcf646d3281603cd444801a207d37aad4499fed939856481523a8d2a54
7
- data.tar.gz: d494300fd010741c580ba07468ca7b1b8f913db3a652a92e3a603a35124e75ad42bc4653fb833ba098604836ec024af47b5c9347fd1495e92e28e385dde4f607
1
+ ---
2
+ SHA1:
3
+ data.tar.gz: 06173227f95e00091fff07d444005762da8a09cb
4
+ metadata.gz: a1a46e416239922d02970752ecfad422f65d07f4
5
+ SHA512:
6
+ data.tar.gz: bb7dc40e376c23a3af1ec864bf0a3e56ed2bffd6373ee1190dbb227218559fc46bbdf459ab80d696b81eb3f6149680557f4182eb901e46fc18dac4c031412138
7
+ metadata.gz: 09b06a89aacb7a0098d474c82cc7f2b30c00ea6d353ecb35466285f8988c85f894fb7955bccd952f2661d263309ec1719213b5e82d9137a06cc7b8e484e5f160
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
@@ -1,3 +1,3 @@
1
1
  module Egalite
2
- VERSION = "1.5.15"
2
+ VERSION = "1.5.16"
3
3
  end
data/lib/egalite.rb CHANGED
@@ -200,7 +200,7 @@ class Controller
200
200
  EgaliteResponse.new(:delegate, params)
201
201
  end
202
202
  def include(params)
203
- raw(req.handler.inner_dispatch(req, params)[2].to_s)
203
+ raw(req.handler.inner_dispatch(req, params)[2].join)
204
204
  end
205
205
  def send_file(path, content_type = nil)
206
206
  ext = File.extname(path)[1..-1]
metadata CHANGED
@@ -1,65 +1,56 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: egalite
3
- version: !ruby/object:Gem::Version
4
- version: 1.5.15
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.5.16
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Shunichi Arai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-13 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
11
+
12
+ date: 2017-05-08 00:00:00 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
14
15
  name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.3'
20
- type: :development
21
16
  prerelease: false
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'
17
+ requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: "1.3"
34
22
  type: :development
23
+ version_requirements: *id001
24
+ - !ruby/object:Gem::Dependency
25
+ name: rake
35
26
  prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
27
+ requirement: &id002 !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - &id003
30
+ - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: "0"
33
+ type: :development
34
+ version_requirements: *id002
35
+ - !ruby/object:Gem::Dependency
42
36
  name: rack
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :runtime
49
37
  prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
38
+ requirement: &id004 !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - *id003
41
+ type: :runtime
42
+ version_requirements: *id004
55
43
  description: Egalite - yet another web application framework. see description at https://github.com/araipiyo/egalite
56
- email:
44
+ email:
57
45
  - arai@mellowtone.co.jp
58
46
  executables: []
47
+
59
48
  extensions: []
49
+
60
50
  extra_rdoc_files: []
61
- files:
62
- - ".gitignore"
51
+
52
+ files:
53
+ - .gitignore
63
54
  - Gemfile
64
55
  - LICENSE.txt
65
56
  - README.md
@@ -134,30 +125,29 @@ files:
134
125
  - test/test_stringify_hash.rb
135
126
  - test/test_template.rb
136
127
  homepage: https://github.com/araipiyo/egalite
137
- licenses:
128
+ licenses:
138
129
  - MIT
139
130
  metadata: {}
131
+
140
132
  post_install_message:
141
133
  rdoc_options: []
142
- require_paths:
134
+
135
+ require_paths:
143
136
  - lib
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'
137
+ required_ruby_version: !ruby/object:Gem::Requirement
138
+ requirements:
139
+ - *id003
140
+ required_rubygems_version: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - *id003
154
143
  requirements: []
144
+
155
145
  rubyforge_project:
156
- rubygems_version: 2.2.2
146
+ rubygems_version: 2.4.3
157
147
  signing_key:
158
148
  specification_version: 4
159
149
  summary: Egalite - yet another web application framework.
160
- test_files:
150
+ test_files:
161
151
  - test/cache.html
162
152
  - test/cache_cache.html
163
153
  - test/cache_nocache.html
@@ -186,3 +176,4 @@ test_files:
186
176
  - test/test_session.rb
187
177
  - test/test_stringify_hash.rb
188
178
  - test/test_template.rb
179
+ has_rdoc: