xenon-http 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{xenon-http/lib → lib}/xenon/auth.rb +0 -0
- data/{xenon-http/lib → lib}/xenon/errors.rb +0 -0
- data/lib/xenon/etag.rb +85 -0
- data/{xenon-http/lib → lib}/xenon/headers.rb +7 -1
- data/{xenon-http/lib → lib}/xenon/headers/accept.rb +1 -1
- data/{xenon-http/lib → lib}/xenon/headers/accept_charset.rb +1 -1
- data/{xenon-http/lib → lib}/xenon/headers/accept_encoding.rb +1 -1
- data/{xenon-http/lib → lib}/xenon/headers/accept_language.rb +1 -1
- data/{xenon-http/lib → lib}/xenon/headers/authorization.rb +0 -0
- data/{xenon-http/lib → lib}/xenon/headers/cache_control.rb +0 -0
- data/lib/xenon/headers/content_length.rb +23 -0
- data/{xenon-http/lib → lib}/xenon/headers/content_type.rb +0 -0
- data/{xenon-http/lib → lib}/xenon/headers/if_match.rb +0 -0
- data/{xenon-http/lib → lib}/xenon/headers/if_modified_since.rb +0 -0
- data/{xenon-http/lib → lib}/xenon/headers/if_none_match.rb +0 -0
- data/{xenon-http/lib → lib}/xenon/headers/if_range.rb +0 -0
- data/{xenon-http/lib → lib}/xenon/headers/if_unmodified_since.rb +0 -0
- data/{xenon-http/lib → lib}/xenon/headers/user_agent.rb +0 -0
- data/{xenon-http/lib → lib}/xenon/headers/www_authenticate.rb +0 -0
- data/{xenon-http/lib → lib}/xenon/http.rb +0 -0
- data/{xenon-http/lib → lib}/xenon/http_version.rb +0 -0
- data/{xenon-http/lib → lib}/xenon/media_type.rb +4 -0
- data/{xenon-http/lib → lib}/xenon/parsers/basic_rules.rb +0 -0
- data/lib/xenon/parsers/etag.rb +9 -0
- data/{xenon-http/lib → lib}/xenon/parsers/header_rules.rb +0 -0
- data/{xenon-http/lib → lib}/xenon/parsers/media_type.rb +0 -0
- data/{xenon-http/lib → lib}/xenon/quoted_string.rb +4 -4
- data/{xenon-http/spec → spec}/spec_helper.rb +0 -0
- data/spec/xenon/etag_spec.rb +105 -0
- data/{xenon-http/spec → spec}/xenon/headers/accept_charset_spec.rb +0 -0
- data/{xenon-http/spec → spec}/xenon/headers/accept_encoding_spec.rb +0 -0
- data/{xenon-http/spec → spec}/xenon/headers/accept_language_spec.rb +0 -0
- data/{xenon-http/spec → spec}/xenon/headers/accept_spec.rb +0 -0
- data/{xenon-http/spec → spec}/xenon/headers/authorization_spec.rb +0 -0
- data/{xenon-http/spec → spec}/xenon/headers/cache_control_spec.rb +0 -0
- data/{xenon-http/spec → spec}/xenon/headers/if_match_spec.rb +0 -0
- data/{xenon-http/spec → spec}/xenon/headers/if_modified_since_spec.rb +0 -0
- data/{xenon-http/spec → spec}/xenon/headers/if_none_match_spec.rb +0 -0
- data/{xenon-http/spec → spec}/xenon/headers/if_range_spec.rb +1 -1
- data/{xenon-http/spec → spec}/xenon/headers/if_unmodified_since_spec.rb +0 -0
- data/{xenon-http/spec → spec}/xenon/headers/user_agent_spec.rb +0 -0
- data/{xenon-http/spec → spec}/xenon/headers/www_authenticate_spec.rb +0 -0
- data/{xenon-http/spec → spec}/xenon/media_type_spec.rb +1 -1
- data/{xenon-http/xenon-http.gemspec → xenon-http.gemspec} +2 -2
- metadata +50 -93
- data/.codeclimate.yml +0 -18
- data/.gitignore +0 -25
- data/.rspec +0 -3
- data/.travis.yml +0 -6
- data/Gemfile +0 -20
- data/Guardfile +0 -16
- data/LICENSE +0 -22
- data/README.md +0 -116
- data/Rakefile +0 -40
- data/VERSION +0 -1
- data/examples/hello_world/config.ru +0 -3
- data/examples/hello_world/hello_world.rb +0 -27
- data/xenon-http/lib/xenon/etag.rb +0 -48
- data/xenon-http/spec/xenon/etag_spec.rb +0 -19
- data/xenon-routing/lib/xenon/api.rb +0 -118
- data/xenon-routing/lib/xenon/marshallers.rb +0 -48
- data/xenon-routing/lib/xenon/request.rb +0 -40
- data/xenon-routing/lib/xenon/response.rb +0 -29
- data/xenon-routing/lib/xenon/routing.rb +0 -6
- data/xenon-routing/lib/xenon/routing/context.rb +0 -35
- data/xenon-routing/lib/xenon/routing/directives.rb +0 -14
- data/xenon-routing/lib/xenon/routing/header_directives.rb +0 -32
- data/xenon-routing/lib/xenon/routing/method_directives.rb +0 -26
- data/xenon-routing/lib/xenon/routing/param_directives.rb +0 -22
- data/xenon-routing/lib/xenon/routing/path_directives.rb +0 -37
- data/xenon-routing/lib/xenon/routing/route_directives.rb +0 -51
- data/xenon-routing/lib/xenon/routing/security_directives.rb +0 -34
- data/xenon-routing/lib/xenon/routing_version.rb +0 -3
- data/xenon-routing/spec/spec_helper.rb +0 -94
- data/xenon-routing/xenon-routing.gemspec +0 -25
- data/xenon.gemspec +0 -26
@@ -1,25 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'xenon/routing_version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = 'xenon-routing'
|
8
|
-
spec.version = Xenon::ROUTING_VERSION
|
9
|
-
spec.authors = ['Greg Beech']
|
10
|
-
spec.email = ['greg@gregbeech.com']
|
11
|
-
spec.summary = %q{An HTTP framework for building RESTful APIs.}
|
12
|
-
spec.description = %q{Provides a model for the HTTP protocol and a tree-based routing syntax.}
|
13
|
-
spec.homepage = 'https://github.com/gregbeech/xenon'
|
14
|
-
spec.license = 'MIT'
|
15
|
-
|
16
|
-
spec.files = `git ls-files -z`.split("\x0")
|
17
|
-
spec.executables = spec.files.grep(%r{^xenon-routing/bin/}) { |f| File.basename(f) }
|
18
|
-
spec.test_files = spec.files.grep(%r{^xenon-routing/(test|spec|features)/})
|
19
|
-
spec.require_paths = ['lib']
|
20
|
-
|
21
|
-
spec.required_ruby_version = '>= 2.2.0'
|
22
|
-
|
23
|
-
spec.add_runtime_dependency 'rack', '~> 1.6'
|
24
|
-
spec.add_runtime_dependency 'xenon-http', Xenon::ROUTING_VERSION
|
25
|
-
end
|
data/xenon.gemspec
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
|
5
|
-
xenon_version = File.read(File.join(__dir__, 'VERSION'))
|
6
|
-
|
7
|
-
Gem::Specification.new do |spec|
|
8
|
-
spec.name = 'xenon'
|
9
|
-
spec.version = xenon_version
|
10
|
-
spec.authors = ['Greg Beech']
|
11
|
-
spec.email = ['greg@gregbeech.com']
|
12
|
-
spec.summary = %q{An HTTP framework for building RESTful APIs.}
|
13
|
-
spec.description = %q{Provides a model for the HTTP protocol and a tree-based routing syntax.}
|
14
|
-
spec.homepage = 'https://github.com/gregbeech/xenon'
|
15
|
-
spec.license = 'MIT'
|
16
|
-
|
17
|
-
spec.files = []
|
18
|
-
spec.executables = []
|
19
|
-
spec.test_files = []
|
20
|
-
spec.require_paths = ['lib']
|
21
|
-
|
22
|
-
spec.required_ruby_version = '>= 2.2.0'
|
23
|
-
|
24
|
-
spec.add_runtime_dependency 'xenon-http', xenon_version
|
25
|
-
spec.add_runtime_dependency 'xenon-routing', xenon_version
|
26
|
-
end
|