rack-simple_user_agent 1.0.0 → 1.1.0

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
  SHA256:
3
- metadata.gz: 1056a07fd58b2befd3416eff67b1adf9c38c9524b49501ff68c7759db4b95da4
4
- data.tar.gz: 438663a0ad72835d65d0bd0b29328cd0325ebc1559504976fd8f7d45c0b4314b
3
+ metadata.gz: fe6922c9e8223d122bc509b33f12adec836684127b8ecf43badb88cb993cf967
4
+ data.tar.gz: c67c157c3ce9c5cacddb7ecabf84bb140bee0e498b37db2fe7405f6ac31d6e38
5
5
  SHA512:
6
- metadata.gz: 8583d04857131dd70f563748d8a5cc049b130f2d0b394b16bafc307d7c920724da020d464c104d32ee7d86ac92499d9c242fd1677228ce64fea5feedab2a0da9
7
- data.tar.gz: 28059ebbefa919cad0db8df4b96ec6506b3671b05b62fb8f648462d51feddeed22662fc2f0e4fed99278025f8ccc54cc5724c368fb8373e05564b7627adf1d96
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
- - uses: actions/checkout@v3
14
- - name: Set up Ruby
15
- uses: ruby/setup-ruby@v1
16
- with:
17
- ruby-version: 2.6
18
- bundler-cache: true
19
- - uses: paambaati/codeclimate-action@v3.0.0
20
- env:
21
- CC_TEST_REPORTER_ID: 40cc6409f7d531fa06fe880b7d7e4bd81ff89efcaa4dee782e03fb8fb3cdb902
22
- with:
23
- coverageCommand: bundle exec rake
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
- - uses: actions/checkout@v3
10
- - name: Set up Ruby
11
- uses: ruby/setup-ruby@v1
12
- with:
13
- ruby-version: 2.6
14
- bundler-cache: true
15
- - run: bundle exec rubocop
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
@@ -10,13 +10,13 @@ jobs:
10
10
  test:
11
11
  strategy:
12
12
  matrix:
13
- ruby: [2.5, 2.6, 2.7, '3.0', '3.1']
13
+ ruby: ['2.7', '3.0', '3.1', '3.2']
14
14
  runs-on: ubuntu-latest
15
15
  steps:
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
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
@@ -3,7 +3,7 @@ inherit_from: .rubocop_todo.yml
3
3
  require: rubocop-minitest
4
4
 
5
5
  AllCops:
6
- TargetRubyVersion: 2.5
6
+ TargetRubyVersion: 2.7
7
7
 
8
8
  Layout/LineLength:
9
9
  Enabled: false
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2016-2022 Toshimaru
3
+ Copyright (c) 2016-2023 Toshimaru
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rack
4
4
  class SimpleUserAgent
5
- VERSION = '1.0.0'
5
+ VERSION = '1.1.0'
6
6
  end
7
7
  end
@@ -18,5 +18,5 @@ Gem::Specification.new do |spec|
18
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.required_ruby_version = '>= 2.5'
21
+ spec.required_ruby_version = '>= 2.7'
22
22
  end
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.0.0
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: 2022-05-05 00:00:00.000000000 Z
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.5'
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.3.7
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