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.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/{xenon-http/lib → lib}/xenon/auth.rb +0 -0
  3. data/{xenon-http/lib → lib}/xenon/errors.rb +0 -0
  4. data/lib/xenon/etag.rb +85 -0
  5. data/{xenon-http/lib → lib}/xenon/headers.rb +7 -1
  6. data/{xenon-http/lib → lib}/xenon/headers/accept.rb +1 -1
  7. data/{xenon-http/lib → lib}/xenon/headers/accept_charset.rb +1 -1
  8. data/{xenon-http/lib → lib}/xenon/headers/accept_encoding.rb +1 -1
  9. data/{xenon-http/lib → lib}/xenon/headers/accept_language.rb +1 -1
  10. data/{xenon-http/lib → lib}/xenon/headers/authorization.rb +0 -0
  11. data/{xenon-http/lib → lib}/xenon/headers/cache_control.rb +0 -0
  12. data/lib/xenon/headers/content_length.rb +23 -0
  13. data/{xenon-http/lib → lib}/xenon/headers/content_type.rb +0 -0
  14. data/{xenon-http/lib → lib}/xenon/headers/if_match.rb +0 -0
  15. data/{xenon-http/lib → lib}/xenon/headers/if_modified_since.rb +0 -0
  16. data/{xenon-http/lib → lib}/xenon/headers/if_none_match.rb +0 -0
  17. data/{xenon-http/lib → lib}/xenon/headers/if_range.rb +0 -0
  18. data/{xenon-http/lib → lib}/xenon/headers/if_unmodified_since.rb +0 -0
  19. data/{xenon-http/lib → lib}/xenon/headers/user_agent.rb +0 -0
  20. data/{xenon-http/lib → lib}/xenon/headers/www_authenticate.rb +0 -0
  21. data/{xenon-http/lib → lib}/xenon/http.rb +0 -0
  22. data/{xenon-http/lib → lib}/xenon/http_version.rb +0 -0
  23. data/{xenon-http/lib → lib}/xenon/media_type.rb +4 -0
  24. data/{xenon-http/lib → lib}/xenon/parsers/basic_rules.rb +0 -0
  25. data/lib/xenon/parsers/etag.rb +9 -0
  26. data/{xenon-http/lib → lib}/xenon/parsers/header_rules.rb +0 -0
  27. data/{xenon-http/lib → lib}/xenon/parsers/media_type.rb +0 -0
  28. data/{xenon-http/lib → lib}/xenon/quoted_string.rb +4 -4
  29. data/{xenon-http/spec → spec}/spec_helper.rb +0 -0
  30. data/spec/xenon/etag_spec.rb +105 -0
  31. data/{xenon-http/spec → spec}/xenon/headers/accept_charset_spec.rb +0 -0
  32. data/{xenon-http/spec → spec}/xenon/headers/accept_encoding_spec.rb +0 -0
  33. data/{xenon-http/spec → spec}/xenon/headers/accept_language_spec.rb +0 -0
  34. data/{xenon-http/spec → spec}/xenon/headers/accept_spec.rb +0 -0
  35. data/{xenon-http/spec → spec}/xenon/headers/authorization_spec.rb +0 -0
  36. data/{xenon-http/spec → spec}/xenon/headers/cache_control_spec.rb +0 -0
  37. data/{xenon-http/spec → spec}/xenon/headers/if_match_spec.rb +0 -0
  38. data/{xenon-http/spec → spec}/xenon/headers/if_modified_since_spec.rb +0 -0
  39. data/{xenon-http/spec → spec}/xenon/headers/if_none_match_spec.rb +0 -0
  40. data/{xenon-http/spec → spec}/xenon/headers/if_range_spec.rb +1 -1
  41. data/{xenon-http/spec → spec}/xenon/headers/if_unmodified_since_spec.rb +0 -0
  42. data/{xenon-http/spec → spec}/xenon/headers/user_agent_spec.rb +0 -0
  43. data/{xenon-http/spec → spec}/xenon/headers/www_authenticate_spec.rb +0 -0
  44. data/{xenon-http/spec → spec}/xenon/media_type_spec.rb +1 -1
  45. data/{xenon-http/xenon-http.gemspec → xenon-http.gemspec} +2 -2
  46. metadata +50 -93
  47. data/.codeclimate.yml +0 -18
  48. data/.gitignore +0 -25
  49. data/.rspec +0 -3
  50. data/.travis.yml +0 -6
  51. data/Gemfile +0 -20
  52. data/Guardfile +0 -16
  53. data/LICENSE +0 -22
  54. data/README.md +0 -116
  55. data/Rakefile +0 -40
  56. data/VERSION +0 -1
  57. data/examples/hello_world/config.ru +0 -3
  58. data/examples/hello_world/hello_world.rb +0 -27
  59. data/xenon-http/lib/xenon/etag.rb +0 -48
  60. data/xenon-http/spec/xenon/etag_spec.rb +0 -19
  61. data/xenon-routing/lib/xenon/api.rb +0 -118
  62. data/xenon-routing/lib/xenon/marshallers.rb +0 -48
  63. data/xenon-routing/lib/xenon/request.rb +0 -40
  64. data/xenon-routing/lib/xenon/response.rb +0 -29
  65. data/xenon-routing/lib/xenon/routing.rb +0 -6
  66. data/xenon-routing/lib/xenon/routing/context.rb +0 -35
  67. data/xenon-routing/lib/xenon/routing/directives.rb +0 -14
  68. data/xenon-routing/lib/xenon/routing/header_directives.rb +0 -32
  69. data/xenon-routing/lib/xenon/routing/method_directives.rb +0 -26
  70. data/xenon-routing/lib/xenon/routing/param_directives.rb +0 -22
  71. data/xenon-routing/lib/xenon/routing/path_directives.rb +0 -37
  72. data/xenon-routing/lib/xenon/routing/route_directives.rb +0 -51
  73. data/xenon-routing/lib/xenon/routing/security_directives.rb +0 -34
  74. data/xenon-routing/lib/xenon/routing_version.rb +0 -3
  75. data/xenon-routing/spec/spec_helper.rb +0 -94
  76. data/xenon-routing/xenon-routing.gemspec +0 -25
  77. 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
@@ -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