committee-rails 0.6.0 → 0.7.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: 3c9e031103394dc6740d2597e215982bc98fc9c3b05cdf1a1e044f350043239e
4
- data.tar.gz: 0f1c74128a7587828a6e5151caec8d4a2f5dda61d76d24072a133d8b9a4c948f
3
+ metadata.gz: 6f476535df4e4a31d76926c58c5d13a564a71c317386aebc49e919e0f7700fc6
4
+ data.tar.gz: 90a20b69d10f83078c33bf635d7a868e186859ab94c46f682f79201c64979d33
5
5
  SHA512:
6
- metadata.gz: 1038193906d81208ffcbad37fd2a19388d3b9c2978c4a6408cf2a751bd2606b0b74868d7da4689e77a8a9a0f2cbc5223fce36a248162911b54aab7e6ac32597a
7
- data.tar.gz: 89f12a6200e0523519379b4aede4f4b98449998be4452e0ad2e4810f5090385fc716e9ac7c9e2dad1837520c4c15a62e83e968963415288ff5f3b98399808ca1
6
+ metadata.gz: a7d5d723fde7c8bb39c489d74e27e597c63e5454864122a3c16cfa3e64ded6a190da3785f3db7ab005a13a31d425f0189bf540a99eeb4da1c6b3baa9410a7135
7
+ data.tar.gz: 01423dd443e1580646df0f0b49e93814c4efc8e4121eee6b72cf6aeb64ea7ee8f20d43a129403fd29f39c6d965683f9c1eb39a2b622fc6bae071b735e5f1df70
@@ -0,0 +1,6 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: github-actions
4
+ directory: '/'
5
+ schedule:
6
+ interval: 'weekly'
@@ -14,43 +14,26 @@ jobs:
14
14
  test:
15
15
  runs-on: ubuntu-latest
16
16
 
17
- container: ${{ matrix.ruby }}
18
-
19
17
  strategy:
20
18
  fail-fast: false
21
-
22
19
  matrix:
23
20
  ruby:
24
- - ruby:2.4
25
- - ruby:2.5
26
- - ruby:2.6
27
- - ruby:2.7
28
- - ruby:3.0
29
- - ruby:3.1
30
- - rubylang/ruby:master-nightly-bionic
21
+ - '2.6'
22
+ - '2.7'
23
+ - '3.0'
24
+ - '3.1'
25
+ - '3.2'
26
+ - 'head'
31
27
  include:
32
- - ruby: rubylang/ruby:master-nightly-bionic
33
- allow_failures: "true"
28
+ - ruby: 'head'
29
+ allow_failures: 'true'
34
30
 
35
31
  steps:
36
- - uses: actions/checkout@v2
37
-
38
- - name: Cache vendor/bundle
39
- uses: actions/cache@v1
40
- id: cache_gem
32
+ - uses: actions/checkout@v3
33
+ - uses: ruby/setup-ruby@v1
41
34
  with:
42
- path: vendor/bundle
43
- key: v1-gem-${{ runner.os }}-${{ matrix.ruby }}-${{ github.sha }}
44
- restore-keys: |
45
- v1-gem-${{ runner.os }}-${{ matrix.ruby }}-
46
- continue-on-error: ${{ matrix.allow_failures == 'true' }}
47
-
48
- - name: bundle update
49
- run: |
50
- set -xe
51
- bundle config path vendor/bundle
52
- bundle update --jobs $(nproc) --retry 3
53
- continue-on-error: ${{ matrix.allow_failures == 'true' }}
35
+ ruby-version: ${{ matrix.ruby }}
36
+ bundler-cache: true
54
37
 
55
38
  - name: Run test
56
39
  run: |
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Committee::Rails
2
2
 
3
- [![Build Status](https://travis-ci.org/willnet/committee-rails.svg?branch=master)](https://travis-ci.org/willnet/committee-rails)
3
+ [![Build Status](https://github.com/willnet/committee-rails/actions/workflows/test.yml/badge.svg)](https://github.com/willnet/committee-rails/actions/workflows/test.yml)
4
4
  [![Gem Version](https://badge.fury.io/rb/committee-rails.svg)](https://badge.fury.io/rb/committee-rails)
5
5
 
6
6
  You can use `assert_response_schema_confirm` in rails.
@@ -17,6 +17,10 @@ And then execute:
17
17
 
18
18
  $ bundle
19
19
 
20
+ If you use committee prior to 5.0.0, you have to use committee-rails 0.6.x. Please see below.
21
+
22
+ [0.6 (0-6-stable) documentation](https://github.com/willnet/committee-rails/tree/0-6-stable)
23
+
20
24
  If you use committee prior to 4.4.0, you have to use committee-rails 0.5.x. Please see below.
21
25
 
22
26
  [0.5 (0-5-stable) documentation](https://github.com/willnet/committee-rails/tree/0-5-stable)
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.bindir = 'exe'
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ['lib']
21
- spec.add_dependency 'committee', '>= 4.4.0'
21
+ spec.add_dependency 'committee', '>= 5.0.0'
22
22
  spec.add_dependency 'activesupport'
23
23
  spec.add_dependency 'actionpack'
24
24
  spec.add_dependency 'railties'
@@ -9,11 +9,11 @@ module Committee::Rails
9
9
  end
10
10
 
11
11
  def path
12
- @request.original_fullpath
12
+ URI.parse(@request.original_fullpath).path
13
13
  end
14
14
 
15
15
  def path_info
16
- @request.original_fullpath
16
+ URI.parse(@request.original_fullpath).path
17
17
  end
18
18
 
19
19
  def request_method
@@ -1,5 +1,5 @@
1
1
  module Committee
2
2
  module Rails
3
- VERSION = "0.6.0"
3
+ VERSION = "0.7.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: committee-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - willnet
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-15 00:00:00.000000000 Z
11
+ date: 2023-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: committee
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 4.4.0
19
+ version: 5.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 4.4.0
26
+ version: 5.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -73,6 +73,7 @@ executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
+ - ".github/dependabot.yml"
76
77
  - ".github/workflows/test.yml"
77
78
  - ".gitignore"
78
79
  - CODE_OF_CONDUCT.md
@@ -91,7 +92,7 @@ homepage: https://github.com/willnet/committee-rails
91
92
  licenses:
92
93
  - MIT
93
94
  metadata: {}
94
- post_install_message:
95
+ post_install_message:
95
96
  rdoc_options: []
96
97
  require_paths:
97
98
  - lib
@@ -106,8 +107,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
107
  - !ruby/object:Gem::Version
107
108
  version: '0'
108
109
  requirements: []
109
- rubygems_version: 3.1.6
110
- signing_key:
110
+ rubygems_version: 3.3.3
111
+ signing_key:
111
112
  specification_version: 4
112
113
  summary: Committee for rails
113
114
  test_files: []