xenon 0.0.1 → 0.0.2

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.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xenon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Beech
@@ -10,6 +10,34 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2015-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '4.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: parslet
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.7'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.7'
13
41
  - !ruby/object:Gem::Dependency
14
42
  name: bundler
15
43
  requirement: !ruby/object:Gem::Requirement
@@ -28,16 +56,16 @@ dependencies:
28
56
  name: rake
29
57
  requirement: !ruby/object:Gem::Requirement
30
58
  requirements:
31
- - - ">="
59
+ - - "~>"
32
60
  - !ruby/object:Gem::Version
33
- version: '0'
61
+ version: '10.0'
34
62
  type: :development
35
63
  prerelease: false
36
64
  version_requirements: !ruby/object:Gem::Requirement
37
65
  requirements:
38
- - - ">="
66
+ - - "~>"
39
67
  - !ruby/object:Gem::Version
40
- version: '0'
68
+ version: '10.0'
41
69
  - !ruby/object:Gem::Dependency
42
70
  name: rspec
43
71
  requirement: !ruby/object:Gem::Requirement
@@ -60,12 +88,37 @@ extensions: []
60
88
  extra_rdoc_files: []
61
89
  files:
62
90
  - ".gitignore"
91
+ - ".rspec"
63
92
  - Gemfile
64
- - LICENSE.txt
93
+ - Guardfile
94
+ - LICENSE
65
95
  - README.md
66
96
  - Rakefile
67
97
  - lib/xenon.rb
98
+ - lib/xenon/errors.rb
99
+ - lib/xenon/headers.rb
100
+ - lib/xenon/headers/accept.rb
101
+ - lib/xenon/headers/accept_charset.rb
102
+ - lib/xenon/headers/accept_encoding.rb
103
+ - lib/xenon/headers/accept_language.rb
104
+ - lib/xenon/headers/authorization.rb
105
+ - lib/xenon/headers/cache_control.rb
106
+ - lib/xenon/headers/content_type.rb
107
+ - lib/xenon/media_type.rb
108
+ - lib/xenon/parsers/basic_rules.rb
109
+ - lib/xenon/parsers/header_rules.rb
110
+ - lib/xenon/parsers/media_type.rb
111
+ - lib/xenon/quoted_string.rb
112
+ - lib/xenon/routing.rb
68
113
  - lib/xenon/version.rb
114
+ - spec/spec_helper.rb
115
+ - spec/xenon/headers/accept_charset_spec.rb
116
+ - spec/xenon/headers/accept_encoding_spec.rb
117
+ - spec/xenon/headers/accept_language_spec.rb
118
+ - spec/xenon/headers/accept_spec.rb
119
+ - spec/xenon/headers/authorization_spec.rb
120
+ - spec/xenon/headers/cache_control_spec.rb
121
+ - spec/xenon/media_type_spec.rb
69
122
  - xenon.gemspec
70
123
  homepage: https://github.com/gregbeech/xenon
71
124
  licenses:
@@ -79,7 +132,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
79
132
  requirements:
80
133
  - - ">="
81
134
  - !ruby/object:Gem::Version
82
- version: '0'
135
+ version: 2.2.0
83
136
  required_rubygems_version: !ruby/object:Gem::Requirement
84
137
  requirements:
85
138
  - - ">="
@@ -87,8 +140,16 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
140
  version: '0'
88
141
  requirements: []
89
142
  rubyforge_project:
90
- rubygems_version: 2.2.2
143
+ rubygems_version: 2.4.6
91
144
  signing_key:
92
145
  specification_version: 4
93
146
  summary: An HTTP framework for building RESTful APIs.
94
- test_files: []
147
+ test_files:
148
+ - spec/spec_helper.rb
149
+ - spec/xenon/headers/accept_charset_spec.rb
150
+ - spec/xenon/headers/accept_encoding_spec.rb
151
+ - spec/xenon/headers/accept_language_spec.rb
152
+ - spec/xenon/headers/accept_spec.rb
153
+ - spec/xenon/headers/authorization_spec.rb
154
+ - spec/xenon/headers/cache_control_spec.rb
155
+ - spec/xenon/media_type_spec.rb
data/LICENSE.txt DELETED
@@ -1,22 +0,0 @@
1
- Copyright (c) 2015 Greg Beech
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.