accept_headers 0.0.9 → 0.2.0

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,57 +1,42 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: accept_headers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Chu
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2016-12-01 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.7'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '1.7'
27
12
  - !ruby/object:Gem::Dependency
28
13
  name: rake
29
14
  requirement: !ruby/object:Gem::Requirement
30
15
  requirements:
31
16
  - - "~>"
32
17
  - !ruby/object:Gem::Version
33
- version: '10.0'
18
+ version: '13.0'
34
19
  type: :development
35
20
  prerelease: false
36
21
  version_requirements: !ruby/object:Gem::Requirement
37
22
  requirements:
38
23
  - - "~>"
39
24
  - !ruby/object:Gem::Version
40
- version: '10.0'
25
+ version: '13.0'
41
26
  - !ruby/object:Gem::Dependency
42
27
  name: minitest
43
28
  requirement: !ruby/object:Gem::Requirement
44
29
  requirements:
45
30
  - - "~>"
46
31
  - !ruby/object:Gem::Version
47
- version: '5.4'
32
+ version: '5.11'
48
33
  type: :development
49
34
  prerelease: false
50
35
  version_requirements: !ruby/object:Gem::Requirement
51
36
  requirements:
52
37
  - - "~>"
53
38
  - !ruby/object:Gem::Version
54
- version: '5.4'
39
+ version: '5.11'
55
40
  - !ruby/object:Gem::Dependency
56
41
  name: guard
57
42
  requirement: !ruby/object:Gem::Requirement
@@ -80,16 +65,17 @@ dependencies:
80
65
  - - ">="
81
66
  - !ruby/object:Gem::Version
82
67
  version: '0'
83
- description: A ruby library that does content negotiation and parses and sorts http
84
- accept headers. Adheres to RFC 2616.
68
+ description: A ruby library that parses HTTP accept headers and negotiates media types,
69
+ content codings, and languages using RFC 9110 and RFC 4647 Basic Filtering.
85
70
  email:
86
71
  - kamuigt@gmail.com
87
72
  executables: []
88
73
  extensions: []
89
74
  extra_rdoc_files: []
90
75
  files:
76
+ - ".github/dependabot.yml"
77
+ - ".github/workflows/ci.yml"
91
78
  - ".gitignore"
92
- - ".travis.yml"
93
79
  - CHANGELOG.md
94
80
  - Gemfile
95
81
  - Guardfile
@@ -110,11 +96,15 @@ files:
110
96
  - lib/accept_headers/version.rb
111
97
  - spec/encoding/negotiator_spec.rb
112
98
  - spec/encoding_spec.rb
99
+ - spec/equality_spec.rb
113
100
  - spec/language/negotiator_spec.rb
114
101
  - spec/language_spec.rb
102
+ - spec/malformed_spec.rb
115
103
  - spec/media_type/negotiator_spec.rb
116
104
  - spec/media_type_spec.rb
117
105
  - spec/middleware_spec.rb
106
+ - spec/readme_spec.rb
107
+ - spec/rejection_spec.rb
118
108
  - spec/spec_helper.rb
119
109
  - spec/support/encodings/content-coding.csv
120
110
  - spec/support/media_types/application.csv
@@ -125,12 +115,10 @@ files:
125
115
  - spec/support/media_types/multipart.csv
126
116
  - spec/support/media_types/text.csv
127
117
  - spec/support/media_types/video.csv
128
- - wercker.yml
129
118
  homepage: ''
130
119
  licenses:
131
120
  - MIT
132
121
  metadata: {}
133
- post_install_message:
134
122
  rdoc_options: []
135
123
  require_paths:
136
124
  - lib
@@ -138,27 +126,29 @@ required_ruby_version: !ruby/object:Gem::Requirement
138
126
  requirements:
139
127
  - - ">="
140
128
  - !ruby/object:Gem::Version
141
- version: 2.2.0
129
+ version: 2.4.0
142
130
  required_rubygems_version: !ruby/object:Gem::Requirement
143
131
  requirements:
144
132
  - - ">="
145
133
  - !ruby/object:Gem::Version
146
134
  version: '0'
147
135
  requirements: []
148
- rubyforge_project:
149
- rubygems_version: 2.5.2
150
- signing_key:
136
+ rubygems_version: 4.0.16
151
137
  specification_version: 4
152
138
  summary: A ruby library that does content negotiation and parses and sorts http accept
153
139
  headers.
154
140
  test_files:
155
141
  - spec/encoding/negotiator_spec.rb
156
142
  - spec/encoding_spec.rb
143
+ - spec/equality_spec.rb
157
144
  - spec/language/negotiator_spec.rb
158
145
  - spec/language_spec.rb
146
+ - spec/malformed_spec.rb
159
147
  - spec/media_type/negotiator_spec.rb
160
148
  - spec/media_type_spec.rb
161
149
  - spec/middleware_spec.rb
150
+ - spec/readme_spec.rb
151
+ - spec/rejection_spec.rb
162
152
  - spec/spec_helper.rb
163
153
  - spec/support/encodings/content-coding.csv
164
154
  - spec/support/media_types/application.csv
data/.travis.yml DELETED
@@ -1,17 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.2.6
4
- - 2.3.3
5
- - rbx
6
- - ruby-head
7
- - jruby-head
8
-
9
- matrix:
10
- allow_failures:
11
- - rvm: rbx
12
- - rvm: ruby-head
13
- - rvm: jruby-head
14
-
15
- addons:
16
- code_climate:
17
- repo_token: 50c636c924d1aa253e29c57822931c1a172cd65675ad66396bba39d255373a58
data/wercker.yml DELETED
@@ -1,27 +0,0 @@
1
- box: wercker/rvm
2
- # Build definition
3
- build:
4
- # The steps that will be executed on build
5
- # See the Ruby section on the wercker devcenter:
6
- # http://devcenter.wercker.com/articles/languages/ruby.html
7
- steps:
8
- # Uncomment this to force RVM to use a specific Ruby version
9
- - rvm-use:
10
- version: 2.3.1
11
-
12
- # A step that executes `bundle install` command
13
- - bundle-install
14
-
15
- # A custom script step, name value is used in the UI
16
- # and the code value contains the command that get executed
17
- - script:
18
- name: echo ruby information
19
- code: |
20
- echo "ruby version $(ruby --version) running"
21
- echo "from location $(which ruby)"
22
- echo -p "gem list: $(gem list)"
23
-
24
- # Add more steps here:
25
- - script:
26
- name: rake
27
- code: bundle exec rake