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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4fe24376b339f7d18f11034851b747619af22f17
4
- data.tar.gz: d3b43e1effbf379bec2ef4a2256721bb3bbe2590
3
+ metadata.gz: 6210348c47ba0c70aeaacddc80d61aa9f26a8be9
4
+ data.tar.gz: 431ddc17ea98114727c0672e20a54b285af9cb8e
5
5
  SHA512:
6
- metadata.gz: adad5ec925d71f611c8ae25d88d18a98c2dbbbdc063c8134132c4e3b82c951a51ad79245d9e88d6e093ab65ee28aabd0d177f201ba84cd8259516e8b937a337c
7
- data.tar.gz: 99110a7283ce5e03ad5d5902608cb7a4cea499a20a0dbcae4dea528896b513f71f60d482778bd193d5c50d3ac1c5909d06a97f284df6b5792d44e6d1fa35d779
6
+ metadata.gz: ffcd258462b3ef4bb3fb71c3e570237fab36a093bf28e6933e25468ed4f738d1211dbd0db47adb5c805bbea7d828a551c8900e7431ce69b6ed075feea91d80d6
7
+ data.tar.gz: 73b897c2e084245f41c3ed2b3bbce95c3c7375f942d99aa992cad8788889975d3ff7e67b4177a807d533cf70a34269344b3a32140574920e634f9e079dd434c7
@@ -2,7 +2,7 @@ language: ruby
2
2
  rvm:
3
3
  - 1.9.3
4
4
  - 2.0.0
5
- - 2.1.0
5
+ - 2.1.4
6
6
  - jruby
7
7
  - rbx
8
8
  - ruby-head
@@ -1,4 +1,9 @@
1
- ## 0.5.x
1
+ ## 0.5.1
2
+
3
+ * Fix test path in rake test task
4
+ * Lock rack at 1.5.2 and up.
5
+
6
+ ## 0.5.0
2
7
 
3
8
  * Add accept-extension parameter support
4
9
  * Add Guardfile
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012 Michael Jackson
1
+ Copyright (c) 2014 Jack Chu
2
2
 
3
3
  MIT License
4
4
 
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
@@ -3,7 +3,7 @@ require 'rake/testtask'
3
3
 
4
4
  Rake::TestTask.new do |t|
5
5
  t.libs.push 'lib'
6
- t.test_files = FileList['spec/**/*_spec.rb']
6
+ t.test_files = FileList['test/**/*test.rb']
7
7
  t.verbose = true
8
8
  end
9
9
 
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  module AcceptHeaders
3
- VERSION = '0.5.0'
3
+ VERSION = '0.5.1'
4
4
  end
5
5
  end
@@ -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'
@@ -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.0
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-26 00:00:00.000000000 Z
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: '0'
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: '0'
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