rack-simple_user_agent 1.0.0 → 1.1.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.
- checksums.yaml +4 -4
- data/.github/workflows/coverage.yml +11 -11
- data/.github/workflows/rubocop.yml +7 -7
- data/.github/workflows/test.yml +8 -8
- data/.rubocop.yml +1 -1
- data/LICENSE.txt +1 -1
- data/lib/rack/simple_user_agent/version.rb +1 -1
- data/rack-simple_user_agent.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fe6922c9e8223d122bc509b33f12adec836684127b8ecf43badb88cb993cf967
|
|
4
|
+
data.tar.gz: c67c157c3ce9c5cacddb7ecabf84bb140bee0e498b37db2fe7405f6ac31d6e38
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4b9bb9a5af10b560bb8e574591a7fb211d67b8097c05b1309ce88f0afcb7efabb85401cbd1514fa001736970aa552f6e93ee733b63a14984b01ed8194cc4f4c1
|
|
7
|
+
data.tar.gz: 17ac4242d8cd4c41a5fb85c92901b9aa6c76ae218435ee63097ed54b5d7e1122b260b5c5c19c18d388417c016cd8f055eff36b8ba3ad67fa1366c22398ecc9ce
|
|
@@ -10,14 +10,14 @@ jobs:
|
|
|
10
10
|
coverage:
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
12
|
steps:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
13
|
+
- uses: actions/checkout@v3
|
|
14
|
+
- name: Set up Ruby
|
|
15
|
+
uses: ruby/setup-ruby@v1
|
|
16
|
+
with:
|
|
17
|
+
ruby-version: 3.2
|
|
18
|
+
bundler-cache: true
|
|
19
|
+
- uses: paambaati/codeclimate-action@v3.2.0
|
|
20
|
+
env:
|
|
21
|
+
CC_TEST_REPORTER_ID: 40cc6409f7d531fa06fe880b7d7e4bd81ff89efcaa4dee782e03fb8fb3cdb902
|
|
22
|
+
with:
|
|
23
|
+
coverageCommand: bundle exec rake
|
|
@@ -6,10 +6,10 @@ jobs:
|
|
|
6
6
|
rubocop:
|
|
7
7
|
runs-on: ubuntu-latest
|
|
8
8
|
steps:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
- uses: actions/checkout@v3
|
|
10
|
+
- name: Set up Ruby
|
|
11
|
+
uses: ruby/setup-ruby@v1
|
|
12
|
+
with:
|
|
13
|
+
ruby-version: 3.2
|
|
14
|
+
bundler-cache: true
|
|
15
|
+
- run: bundle exec rubocop
|
data/.github/workflows/test.yml
CHANGED
|
@@ -10,13 +10,13 @@ jobs:
|
|
|
10
10
|
test:
|
|
11
11
|
strategy:
|
|
12
12
|
matrix:
|
|
13
|
-
ruby: [2.
|
|
13
|
+
ruby: ['2.7', '3.0', '3.1', '3.2']
|
|
14
14
|
runs-on: ubuntu-latest
|
|
15
15
|
steps:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
- uses: actions/checkout@v3
|
|
17
|
+
- name: Set up Ruby
|
|
18
|
+
uses: ruby/setup-ruby@v1
|
|
19
|
+
with:
|
|
20
|
+
ruby-version: ${{ matrix.ruby }}
|
|
21
|
+
bundler-cache: true
|
|
22
|
+
- run: bundle exec rake
|
data/.rubocop.yml
CHANGED
data/LICENSE.txt
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rack-simple_user_agent
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- toshimaru
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-01-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Rack::SimpleUserAgent is Rack::Request extension which detects user-agent
|
|
14
14
|
from user-agent string. No complicated logic for the detection, it simply(stupidly)
|
|
@@ -56,14 +56,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
56
56
|
requirements:
|
|
57
57
|
- - ">="
|
|
58
58
|
- !ruby/object:Gem::Version
|
|
59
|
-
version: '2.
|
|
59
|
+
version: '2.7'
|
|
60
60
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
61
61
|
requirements:
|
|
62
62
|
- - ">="
|
|
63
63
|
- !ruby/object:Gem::Version
|
|
64
64
|
version: '0'
|
|
65
65
|
requirements: []
|
|
66
|
-
rubygems_version: 3.
|
|
66
|
+
rubygems_version: 3.4.1
|
|
67
67
|
signing_key:
|
|
68
68
|
specification_version: 4
|
|
69
69
|
summary: Rack::SimpleUserAgent is stupidly simple UA detector
|