accept_headers 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +6 -9
- data/CHANGELOG.md +5 -0
- data/Gemfile +0 -1
- data/README.md +0 -2
- data/accept_headers.gemspec +3 -4
- data/lib/accept_headers/version.rb +1 -1
- data/spec/spec_helper.rb +0 -6
- metadata +8 -24
- data/wercker.yml +0 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 4fe78baeb6173880a3a828984a2ece4ba13c586d56ec7aa2c9dcec8e1706cf08
|
4
|
+
data.tar.gz: ab2d2265cef9efb0615a756940c58723c754f44f446b16a39cdbbb5b954acc20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25ec2d46da27efaa2b46ba60a48dbdda47fa506930ae6ebbc609282c4494ef46ec575c447ca0d88432d9310f638919cfc1afc72ead05e12691342ecdb8a342d8
|
7
|
+
data.tar.gz: 1726ae60e312b8cae49d41713bd23391912cec46a327a2e2dd3bed8107db62f8bf3feab28f66a9bf2bb5d443ce44d201f7e0177d8b69f3e2ede989db8c176b16
|
data/.travis.yml
CHANGED
@@ -1,17 +1,14 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
-
- 2.
|
4
|
-
- 2.
|
5
|
-
-
|
3
|
+
- 2.4.6
|
4
|
+
- 2.5.5
|
5
|
+
- 2.6.3
|
6
6
|
- ruby-head
|
7
|
+
- jruby-9.2.7.0
|
7
8
|
- jruby-head
|
8
|
-
|
9
|
+
- rbx-3.107
|
9
10
|
matrix:
|
10
11
|
allow_failures:
|
11
|
-
- rvm: rbx
|
12
12
|
- rvm: ruby-head
|
13
13
|
- rvm: jruby-head
|
14
|
-
|
15
|
-
addons:
|
16
|
-
code_climate:
|
17
|
-
repo_token: 50c636c924d1aa253e29c57822931c1a172cd65675ad66396bba39d255373a58
|
14
|
+
- rvm: rbx-3.107
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,4 @@
|
|
1
1
|
[![Build Status](https://travis-ci.org/kamui/accept_headers.png)](https://travis-ci.org/kamui/accept_headers)
|
2
|
-
[![Code Climate](https://codeclimate.com/github/kamui/accept_headers/badges/gpa.svg)](https://codeclimate.com/github/kamui/accept_headers)
|
3
|
-
[![Test Coverage](https://codeclimate.com/github/kamui/accept_headers/badges/coverage.svg)](https://codeclimate.com/github/kamui/accept_headers)
|
4
2
|
|
5
3
|
# AcceptHeaders
|
6
4
|
|
data/accept_headers.gemspec
CHANGED
@@ -18,12 +18,11 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.required_ruby_version = '>= 2.
|
21
|
+
spec.required_ruby_version = '>= 2.4.0'
|
22
22
|
|
23
|
-
spec.add_development_dependency "
|
24
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
23
|
+
spec.add_development_dependency "rake", "~> 12.0"
|
25
24
|
|
26
|
-
spec.add_development_dependency "minitest", "~> 5.
|
25
|
+
spec.add_development_dependency "minitest", "~> 5.11"
|
27
26
|
spec.add_development_dependency "guard"
|
28
27
|
spec.add_development_dependency "guard-minitest"
|
29
28
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,14 +1,8 @@
|
|
1
|
-
require "codeclimate-test-reporter"
|
2
1
|
require "simplecov"
|
3
2
|
|
4
|
-
CodeClimate::TestReporter.configure do |config|
|
5
|
-
config.logger.level = Logger::WARN
|
6
|
-
end
|
7
|
-
|
8
3
|
SimpleCov.start do
|
9
4
|
formatter SimpleCov::Formatter::MultiFormatter[
|
10
5
|
SimpleCov::Formatter::HTMLFormatter,
|
11
|
-
CodeClimate::TestReporter::Formatter
|
12
6
|
]
|
13
7
|
add_filter 'spec/'
|
14
8
|
end
|
metadata
CHANGED
@@ -1,57 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: accept_headers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jack Chu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-04-19 00:00:00.000000000 Z
|
12
12
|
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
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: rake
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
30
16
|
requirements:
|
31
17
|
- - "~>"
|
32
18
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
19
|
+
version: '12.0'
|
34
20
|
type: :development
|
35
21
|
prerelease: false
|
36
22
|
version_requirements: !ruby/object:Gem::Requirement
|
37
23
|
requirements:
|
38
24
|
- - "~>"
|
39
25
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
26
|
+
version: '12.0'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: minitest
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
31
|
- - "~>"
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version: '5.
|
33
|
+
version: '5.11'
|
48
34
|
type: :development
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
38
|
- - "~>"
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version: '5.
|
40
|
+
version: '5.11'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: guard
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -125,7 +111,6 @@ files:
|
|
125
111
|
- spec/support/media_types/multipart.csv
|
126
112
|
- spec/support/media_types/text.csv
|
127
113
|
- spec/support/media_types/video.csv
|
128
|
-
- wercker.yml
|
129
114
|
homepage: ''
|
130
115
|
licenses:
|
131
116
|
- MIT
|
@@ -138,15 +123,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
138
123
|
requirements:
|
139
124
|
- - ">="
|
140
125
|
- !ruby/object:Gem::Version
|
141
|
-
version: 2.
|
126
|
+
version: 2.4.0
|
142
127
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
143
128
|
requirements:
|
144
129
|
- - ">="
|
145
130
|
- !ruby/object:Gem::Version
|
146
131
|
version: '0'
|
147
132
|
requirements: []
|
148
|
-
|
149
|
-
rubygems_version: 2.5.2
|
133
|
+
rubygems_version: 3.0.3
|
150
134
|
signing_key:
|
151
135
|
specification_version: 4
|
152
136
|
summary: A ruby library that does content negotiation and parses and sorts http accept
|
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
|