rocketio 0.0.0.pre.alpha → 0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +5 -2
- data/LICENSE.txt +22 -0
- data/README.md +5 -22
- data/Rakefile +1 -7
- data/lib/rocketio.rb +3 -131
- data/lib/rocketio/version.rb +2 -2
- data/rocketio.gemspec +17 -21
- metadata +11 -146
- data/.travis.yml +0 -3
- data/bin/console +0 -14
- data/bin/setup +0 -7
- data/lib/rocketio/application.rb +0 -31
- data/lib/rocketio/controller.rb +0 -288
- data/lib/rocketio/controller/authentication.rb +0 -141
- data/lib/rocketio/controller/authorization.rb +0 -53
- data/lib/rocketio/controller/cookies.rb +0 -59
- data/lib/rocketio/controller/error_handlers.rb +0 -89
- data/lib/rocketio/controller/filters.rb +0 -119
- data/lib/rocketio/controller/flash.rb +0 -21
- data/lib/rocketio/controller/helpers.rb +0 -438
- data/lib/rocketio/controller/middleware.rb +0 -32
- data/lib/rocketio/controller/render.rb +0 -148
- data/lib/rocketio/controller/render/engine.rb +0 -76
- data/lib/rocketio/controller/render/layout.rb +0 -27
- data/lib/rocketio/controller/render/layouts.rb +0 -85
- data/lib/rocketio/controller/render/templates.rb +0 -83
- data/lib/rocketio/controller/request.rb +0 -115
- data/lib/rocketio/controller/response.rb +0 -84
- data/lib/rocketio/controller/sessions.rb +0 -64
- data/lib/rocketio/controller/token_auth.rb +0 -118
- data/lib/rocketio/controller/websocket.rb +0 -21
- data/lib/rocketio/error_templates/404.html +0 -3
- data/lib/rocketio/error_templates/409.html +0 -7
- data/lib/rocketio/error_templates/500.html +0 -3
- data/lib/rocketio/error_templates/501.html +0 -6
- data/lib/rocketio/error_templates/layout.html +0 -1
- data/lib/rocketio/exceptions.rb +0 -4
- data/lib/rocketio/router.rb +0 -65
- data/lib/rocketio/util.rb +0 -122
- data/test/aliases_test.rb +0 -54
- data/test/authentication_test.rb +0 -307
- data/test/authorization_test.rb +0 -91
- data/test/cache_control_test.rb +0 -268
- data/test/content_type_test.rb +0 -124
- data/test/cookies_test.rb +0 -49
- data/test/error_handlers_test.rb +0 -125
- data/test/etag_test.rb +0 -445
- data/test/filters_test.rb +0 -177
- data/test/halt_test.rb +0 -73
- data/test/helpers_test.rb +0 -171
- data/test/middleware_test.rb +0 -57
- data/test/redirect_test.rb +0 -135
- data/test/render/engine_test.rb +0 -71
- data/test/render/get.erb +0 -1
- data/test/render/items.erb +0 -1
- data/test/render/layout.erb +0 -1
- data/test/render/layout_test.rb +0 -104
- data/test/render/layouts/master.erb +0 -1
- data/test/render/layouts_test.rb +0 -145
- data/test/render/master.erb +0 -1
- data/test/render/post.erb +0 -1
- data/test/render/put.erb +0 -1
- data/test/render/render_test.rb +0 -101
- data/test/render/setup.rb +0 -14
- data/test/render/templates/a/get.erb +0 -1
- data/test/render/templates/master.erb +0 -1
- data/test/render/templates_test.rb +0 -146
- data/test/request_test.rb +0 -105
- data/test/response_test.rb +0 -119
- data/test/routes_test.rb +0 -70
- data/test/sendfile_test.rb +0 -209
- data/test/sessions_test.rb +0 -176
- data/test/setup.rb +0 -59
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b54b354445fdc9e9c3fa7dc079e2cf3045bee94
|
4
|
+
data.tar.gz: 86677b1465a64ef8e80e78aaf65d06636b68a4aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8e7041276e36a0f353d1ec98e30c6aa633cae9bac32198bcc52a928a803d1e8e51213f2d33e520c9d8ff1c6c98a327e15dce41c695841a2ff3e82a2d84b8007
|
7
|
+
data.tar.gz: d0488ce7f83e2b3a918286add891f7d3c450de5aa506edbc145317932e1ac658c825c877db1c258fa0ca856d42e3ad8b7b2760e42f9866c0b71537c2590e6121
|
data/.gitignore
CHANGED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2014 Slee Woo
|
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/README.md
CHANGED
@@ -1,23 +1,6 @@
|
|
1
|
-
#
|
1
|
+
# Rocketio
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
Sample controller:
|
6
|
-
|
7
|
-
```ruby
|
8
|
-
class Users < RocketIO::Controller
|
9
|
-
|
10
|
-
# serving GET requests
|
11
|
-
def get
|
12
|
-
end
|
13
|
-
|
14
|
-
# serving POST requests
|
15
|
-
def post
|
16
|
-
end
|
17
|
-
|
18
|
-
# same for other request methods
|
19
|
-
end
|
20
|
-
```
|
3
|
+
TODO: Write a gem description
|
21
4
|
|
22
5
|
## Installation
|
23
6
|
|
@@ -35,13 +18,13 @@ Or install it yourself as:
|
|
35
18
|
|
36
19
|
$ gem install rocketio
|
37
20
|
|
38
|
-
##
|
39
|
-
|
21
|
+
## Usage
|
40
22
|
|
23
|
+
TODO: Write usage instructions here
|
41
24
|
|
42
25
|
## Contributing
|
43
26
|
|
44
|
-
1. Fork it ( https://github.com/
|
27
|
+
1. Fork it ( https://github.com/[my-github-username]/rocketio/fork )
|
45
28
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
46
29
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
47
30
|
4. Push to the branch (`git push origin my-new-feature`)
|
data/Rakefile
CHANGED
data/lib/rocketio.rb
CHANGED
@@ -1,133 +1,5 @@
|
|
1
|
-
|
2
|
-
require 'uri'
|
3
|
-
require 'stringio'
|
4
|
-
require 'json'
|
5
|
-
require 'cgi'
|
6
|
-
require 'digest'
|
7
|
-
require 'forwardable'
|
8
|
-
# gems
|
9
|
-
require 'rack'
|
10
|
-
require 'mustache'
|
11
|
-
require 'tilt'
|
1
|
+
require "rocketio/version"
|
12
2
|
|
13
|
-
module
|
14
|
-
|
15
|
-
|
16
|
-
ENVIRONMENTS = {
|
17
|
-
'development' => :development,
|
18
|
-
'testing' => :testing,
|
19
|
-
'stage' => :stage,
|
20
|
-
'production' => :production
|
21
|
-
}.freeze
|
22
|
-
|
23
|
-
environment = ENV['APP_ENV'] || ENV['RACK_ENV'] || ENVIRONMENTS.keys[0]
|
24
|
-
unless ENVIRONMENT = ENVIRONMENTS[environment]
|
25
|
-
raise(StandardError, '%s environment not supported. Use one of %s' % [environment.inspect, ENVIRONMENTS.keys*', '])
|
26
|
-
end
|
27
|
-
|
28
|
-
def environment
|
29
|
-
ENVIRONMENT
|
30
|
-
end
|
31
|
-
|
32
|
-
ENVIRONMENTS.each_value do |env|
|
33
|
-
define_method(env.to_s + '?') {ENVIRONMENT == env}
|
34
|
-
end
|
35
|
-
|
36
|
-
GET = 'GET'.freeze
|
37
|
-
POST = 'POST'.freeze
|
38
|
-
PUT = 'PUT'.freeze
|
39
|
-
DELETE = 'DELETE'.freeze
|
40
|
-
HEAD = 'HEAD'.freeze
|
41
|
-
|
42
|
-
REQUEST_METHODS = {
|
43
|
-
GET => :get,
|
44
|
-
POST => :post,
|
45
|
-
PUT => :put,
|
46
|
-
DELETE => :delete,
|
47
|
-
HEAD => :head
|
48
|
-
}.freeze
|
49
|
-
|
50
|
-
EMPTY_STRING = ''.freeze
|
51
|
-
EMPTY_STRING_PROC = proc {RocketIO::EMPTY_STRING}
|
52
|
-
EMPTY_ARRAY = [].freeze
|
53
|
-
EMPTY_HASH = {}.freeze
|
54
|
-
|
55
|
-
SLASH = '/'.freeze
|
56
|
-
QUERY_PREFIX = '?'.freeze
|
57
|
-
|
58
|
-
CONTENT_TYPE = 'Content-Type'.freeze
|
59
|
-
DEFAULT_CONTENT_TYPE = 'text/html'.freeze
|
60
|
-
CONTENT_LENGTH = 'Content-Length'.freeze
|
61
|
-
CONTENT_DISPOSITION = 'Content-Disposition'.freeze
|
62
|
-
APPLICATION_OCTET_STREAM = 'application/octet-stream'.freeze
|
63
|
-
DEFAULT_AUTH_REALM = 'AccessRestricted'.freeze
|
64
|
-
DEFAULT_TOKEN_AUTH_REALM = 'Application'.freeze
|
65
|
-
|
66
|
-
REQUEST_METHOD = 'REQUEST_METHOD'.freeze
|
67
|
-
PATH_INFO = 'PATH_INFO'.freeze
|
68
|
-
HTTP_ACCEPT = 'HTTP_ACCEPT'.freeze
|
69
|
-
REMOTE_USER = 'REMOTE_USER'.freeze
|
70
|
-
|
71
|
-
HTTP_CONNECTION = 'HTTP_CONNECTION'.freeze
|
72
|
-
HTTP_AUTHORIZATION_KEYS = ['HTTP_AUTHORIZATION', 'X-HTTP_AUTHORIZATION', 'X_HTTP_AUTHORIZATION'].map(&:freeze).freeze
|
73
|
-
HTTP_AUTHORIZATION_MOCKS = {
|
74
|
-
basic: 'Basic Og=='.freeze,
|
75
|
-
digest: 'Digest opaque="", qop="auth", uri="/"'.freeze
|
76
|
-
}.freeze
|
77
|
-
HTTP_UPGRADE = 'HTTP_UPGRADE'.freeze
|
78
|
-
UPGRADE = 'upgrade'.freeze
|
79
|
-
WEBSOCKET = 'websocket'.freeze
|
80
|
-
HTTP_1_1 = 'HTTP/1.1'.freeze
|
81
|
-
HTTP_VERSION = 'HTTP_VERSION'.freeze
|
82
|
-
HTTP_X_FORWARDED_HOST = 'HTTP_X_FORWARDED_HOST'.freeze
|
83
|
-
HTTP_IF_MATCH = 'HTTP_IF_MATCH'.freeze
|
84
|
-
HTTP_IF_NONE_MATCH = 'HTTP_IF_NONE_MATCH'.freeze
|
85
|
-
HTTP_IF_MODIFIED_SINCE = 'HTTP_IF_MODIFIED_SINCE'.freeze
|
86
|
-
HTTP_IF_UNMODIFIED_SINCE = 'HTTP_IF_UNMODIFIED_SINCE'.freeze
|
87
|
-
HTTP_X_REQUESTED_WITH = 'HTTP_X_REQUESTED_WITH'.freeze
|
88
|
-
XML_HTTP_REQUEST = 'XMLHttpRequest'.freeze
|
89
|
-
|
90
|
-
LOCATION = 'Location'.freeze
|
91
|
-
CACHE_CONTROL = 'Cache-Control'.freeze
|
92
|
-
EXPIRES = 'Expires'.freeze
|
93
|
-
LAST_MODIFIED = 'Last-Modified'.freeze
|
94
|
-
ETAG = 'ETag'.freeze
|
95
|
-
ETAG_KINDS = [:strong, :weak].freeze
|
96
|
-
|
97
|
-
DROP_BODY_RESPONSES = {204 => true, 205 => true, 304 => true}.freeze
|
98
|
-
|
99
|
-
ERROR_TEMPLATES = begin
|
100
|
-
path = File.expand_path('../rocketio/error_templates/', __FILE__)
|
101
|
-
templates = {layout: Class.new(Mustache) {self.template = File.read(path + '/layout.html').freeze}}
|
102
|
-
Dir[path + '/*.html'].each_with_object(templates) do |file,templates|
|
103
|
-
next if file =~ /layout\.html\z/
|
104
|
-
template = File.basename(file, File.extname(file)).to_i
|
105
|
-
templates[template] = Class.new(Mustache) {self.template = File.read(file).freeze}
|
106
|
-
end
|
107
|
-
end.freeze
|
108
|
-
|
109
|
-
BEFORE_FORMAT = 'before_%s'.freeze
|
110
|
-
AROUND_FORMAT = 'around_%s'.freeze
|
111
|
-
AFTER_FORMAT = 'after_%s'.freeze
|
112
|
-
ROUTE_INSPECT_FORMAT = '#<RocketIO::Route:%s>'.freeze
|
113
|
-
ENGINE_CONST_FORMAT = '%sTemplate'.freeze
|
114
|
-
TEMPLATE_PATH_FORMAT = '%s/%s.%s'.freeze
|
115
|
-
|
116
|
-
FOUND_TEMPLATES = {}
|
117
|
-
READ_TEMPLATES = {}
|
118
|
-
COMPILED_TEMPLATES = {}
|
119
|
-
|
120
|
-
DEFAULT_ENGINE = [Tilt::ERBTemplate, [].freeze].freeze
|
121
|
-
|
122
|
-
def controllers
|
123
|
-
@controllers ||= []
|
124
|
-
end
|
3
|
+
module Rocketio
|
4
|
+
# Your code goes here...
|
125
5
|
end
|
126
|
-
|
127
|
-
require 'rocketio/util'
|
128
|
-
require 'rocketio/exceptions'
|
129
|
-
require 'rocketio/controller'
|
130
|
-
require 'rocketio/router'
|
131
|
-
require 'rocketio/application'
|
132
|
-
|
133
|
-
RocketIO::Controller.map(RocketIO::SLASH)
|
data/lib/rocketio/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
module
|
2
|
-
VERSION =
|
1
|
+
module Rocketio
|
2
|
+
VERSION = "0.0.0"
|
3
3
|
end
|
data/rocketio.gemspec
CHANGED
@@ -1,27 +1,23 @@
|
|
1
1
|
# coding: utf-8
|
2
|
-
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'rocketio/version'
|
3
5
|
|
4
6
|
Gem::Specification.new do |spec|
|
5
|
-
spec.name =
|
6
|
-
spec.version =
|
7
|
-
spec.authors = [
|
8
|
-
spec.email = [
|
9
|
-
spec.summary =
|
10
|
-
spec.description =
|
11
|
-
spec.homepage =
|
12
|
-
spec.license =
|
7
|
+
spec.name = "rocketio"
|
8
|
+
spec.version = Rocketio::VERSION
|
9
|
+
spec.authors = ["Slee Woo"]
|
10
|
+
spec.email = ["mail@sleewoo.com"]
|
11
|
+
spec.summary = %q{Write a short summary. Required.}
|
12
|
+
spec.description = %q{Write a longer description. Optional.}
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
13
15
|
|
14
|
-
spec.files
|
15
|
-
spec.
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
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"]
|
16
20
|
|
17
|
-
spec.
|
18
|
-
|
19
|
-
spec.add_runtime_dependency 'rack', '~> 1.5'
|
20
|
-
spec.add_runtime_dependency 'mustache', '~> 1'
|
21
|
-
spec.add_runtime_dependency 'tilt', '~> 2'
|
22
|
-
|
23
|
-
spec.add_development_dependency 'bundler', '~> 1.7'
|
24
|
-
spec.add_development_dependency 'rake', '~> 10.0'
|
25
|
-
spec.add_development_dependency 'tokyo', '~> 0'
|
26
|
-
spec.add_development_dependency 'rack-radar'
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.7"
|
22
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
27
23
|
end
|
metadata
CHANGED
@@ -1,57 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rocketio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.0
|
4
|
+
version: 0.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Slee Woo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: rack
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '1.5'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '1.5'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: mustache
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '1'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '1'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: tilt
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '2'
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '2'
|
55
13
|
- !ruby/object:Gem::Dependency
|
56
14
|
name: bundler
|
57
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,35 +38,7 @@ dependencies:
|
|
80
38
|
- - "~>"
|
81
39
|
- !ruby/object:Gem::Version
|
82
40
|
version: '10.0'
|
83
|
-
|
84
|
-
name: tokyo
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: rack-radar
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
|
-
description: Simple, fast, scalable web framework for Ruby
|
41
|
+
description: Write a longer description. Optional.
|
112
42
|
email:
|
113
43
|
- mail@sleewoo.com
|
114
44
|
executables: []
|
@@ -116,79 +46,14 @@ extensions: []
|
|
116
46
|
extra_rdoc_files: []
|
117
47
|
files:
|
118
48
|
- ".gitignore"
|
119
|
-
- ".pryrc"
|
120
|
-
- ".travis.yml"
|
121
49
|
- Gemfile
|
50
|
+
- LICENSE.txt
|
122
51
|
- README.md
|
123
52
|
- Rakefile
|
124
|
-
- bin/console
|
125
|
-
- bin/setup
|
126
53
|
- lib/rocketio.rb
|
127
|
-
- lib/rocketio/application.rb
|
128
|
-
- lib/rocketio/controller.rb
|
129
|
-
- lib/rocketio/controller/authentication.rb
|
130
|
-
- lib/rocketio/controller/authorization.rb
|
131
|
-
- lib/rocketio/controller/cookies.rb
|
132
|
-
- lib/rocketio/controller/error_handlers.rb
|
133
|
-
- lib/rocketio/controller/filters.rb
|
134
|
-
- lib/rocketio/controller/flash.rb
|
135
|
-
- lib/rocketio/controller/helpers.rb
|
136
|
-
- lib/rocketio/controller/middleware.rb
|
137
|
-
- lib/rocketio/controller/render.rb
|
138
|
-
- lib/rocketio/controller/render/engine.rb
|
139
|
-
- lib/rocketio/controller/render/layout.rb
|
140
|
-
- lib/rocketio/controller/render/layouts.rb
|
141
|
-
- lib/rocketio/controller/render/templates.rb
|
142
|
-
- lib/rocketio/controller/request.rb
|
143
|
-
- lib/rocketio/controller/response.rb
|
144
|
-
- lib/rocketio/controller/sessions.rb
|
145
|
-
- lib/rocketio/controller/token_auth.rb
|
146
|
-
- lib/rocketio/controller/websocket.rb
|
147
|
-
- lib/rocketio/error_templates/404.html
|
148
|
-
- lib/rocketio/error_templates/409.html
|
149
|
-
- lib/rocketio/error_templates/500.html
|
150
|
-
- lib/rocketio/error_templates/501.html
|
151
|
-
- lib/rocketio/error_templates/layout.html
|
152
|
-
- lib/rocketio/exceptions.rb
|
153
|
-
- lib/rocketio/router.rb
|
154
|
-
- lib/rocketio/util.rb
|
155
54
|
- lib/rocketio/version.rb
|
156
55
|
- rocketio.gemspec
|
157
|
-
|
158
|
-
- test/authentication_test.rb
|
159
|
-
- test/authorization_test.rb
|
160
|
-
- test/cache_control_test.rb
|
161
|
-
- test/content_type_test.rb
|
162
|
-
- test/cookies_test.rb
|
163
|
-
- test/error_handlers_test.rb
|
164
|
-
- test/etag_test.rb
|
165
|
-
- test/filters_test.rb
|
166
|
-
- test/halt_test.rb
|
167
|
-
- test/helpers_test.rb
|
168
|
-
- test/middleware_test.rb
|
169
|
-
- test/redirect_test.rb
|
170
|
-
- test/render/engine_test.rb
|
171
|
-
- test/render/get.erb
|
172
|
-
- test/render/items.erb
|
173
|
-
- test/render/layout.erb
|
174
|
-
- test/render/layout_test.rb
|
175
|
-
- test/render/layouts/master.erb
|
176
|
-
- test/render/layouts_test.rb
|
177
|
-
- test/render/master.erb
|
178
|
-
- test/render/post.erb
|
179
|
-
- test/render/put.erb
|
180
|
-
- test/render/render_test.rb
|
181
|
-
- test/render/setup.rb
|
182
|
-
- test/render/templates/a/get.erb
|
183
|
-
- test/render/templates/master.erb
|
184
|
-
- test/render/templates_test.rb
|
185
|
-
- test/request_test.rb
|
186
|
-
- test/response_test.rb
|
187
|
-
- test/routes_test.rb
|
188
|
-
- test/sendfile_test.rb
|
189
|
-
- test/sessions_test.rb
|
190
|
-
- test/setup.rb
|
191
|
-
homepage: https://github.com/rocketio/rocketio
|
56
|
+
homepage: ''
|
192
57
|
licenses:
|
193
58
|
- MIT
|
194
59
|
metadata: {}
|
@@ -198,18 +63,18 @@ require_paths:
|
|
198
63
|
- lib
|
199
64
|
required_ruby_version: !ruby/object:Gem::Requirement
|
200
65
|
requirements:
|
201
|
-
- - "
|
66
|
+
- - ">="
|
202
67
|
- !ruby/object:Gem::Version
|
203
|
-
version: '
|
68
|
+
version: '0'
|
204
69
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
205
70
|
requirements:
|
206
|
-
- - "
|
71
|
+
- - ">="
|
207
72
|
- !ruby/object:Gem::Version
|
208
|
-
version:
|
73
|
+
version: '0'
|
209
74
|
requirements: []
|
210
75
|
rubyforge_project:
|
211
|
-
rubygems_version: 2.
|
76
|
+
rubygems_version: 2.2.2
|
212
77
|
signing_key:
|
213
78
|
specification_version: 4
|
214
|
-
summary:
|
79
|
+
summary: Write a short summary. Required.
|
215
80
|
test_files: []
|