rack-accept_headers 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/CHANGELOG.md +6 -1
- data/LICENSE.txt +1 -1
- data/README.md +3 -0
- data/Rakefile +1 -1
- data/lib/rack/accept_headers/version.rb +1 -1
- data/rack-accept_headers.gemspec +1 -1
- data/wercker.yml +27 -0
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6210348c47ba0c70aeaacddc80d61aa9f26a8be9
|
4
|
+
data.tar.gz: 431ddc17ea98114727c0672e20a54b285af9cb8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffcd258462b3ef4bb3fb71c3e570237fab36a093bf28e6933e25468ed4f738d1211dbd0db47adb5c805bbea7d828a551c8900e7431ce69b6ed075feea91d80d6
|
7
|
+
data.tar.gz: 73b897c2e084245f41c3ed2b3bbce95c3c7375f942d99aa992cad8788889975d3ff7e67b4177a807d533cf70a34269344b3a32140574920e634f9e079dd434c7
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -3,6 +3,9 @@
|
|
3
3
|
**Rack::AcceptHeaders** is a suite of tools for Ruby/Rack applications that eases the
|
4
4
|
complexity of building and interpreting the Accept* family of [HTTP request headers][rfc].
|
5
5
|
|
6
|
+
This is a fork of [rack-accept](https://github.com/mjijackson/rack-accept). The
|
7
|
+
major addition being accept-extension parameter support.
|
8
|
+
|
6
9
|
Some features of the library are:
|
7
10
|
|
8
11
|
* Strict adherence to [RFC 2616][rfc], specifically [section 14][rfc-sec14]
|
data/Rakefile
CHANGED
data/rack-accept_headers.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.test_files = spec.files.grep(%r{^(test)/})
|
18
18
|
spec.require_paths = ["lib"]
|
19
19
|
|
20
|
-
spec.add_dependency 'rack'
|
20
|
+
spec.add_dependency 'rack', '>= 1.5.2'
|
21
21
|
|
22
22
|
spec.add_development_dependency 'bundler'
|
23
23
|
spec.add_development_dependency 'rake'
|
data/wercker.yml
ADDED
@@ -0,0 +1,27 @@
|
|
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.1.4
|
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
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-accept_headers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jack Chu
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-04
|
12
|
+
date: 2014-11-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rack
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
20
|
+
version: 1.5.2
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version:
|
27
|
+
version: 1.5.2
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: bundler
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -131,6 +131,7 @@ files:
|
|
131
131
|
- test/media_type_test.rb
|
132
132
|
- test/request_test.rb
|
133
133
|
- test/test_helper.rb
|
134
|
+
- wercker.yml
|
134
135
|
homepage: https://github.com/kamui/rack-accept_headers
|
135
136
|
licenses:
|
136
137
|
- MIT
|