rails_best_practices 1.23.1 → 1.23.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cdd81904314b75ffb168757035157e2e28627f890691ee869b567721485bb7ab
4
- data.tar.gz: 98bd1b3d60c5a0218af2597f0ddf2a9d82f7375f2fe8466fc11d0f26f2f38e8b
3
+ metadata.gz: 184e634dda813019a60e4f5dd6499ce20cf976ff711979d6788b2e9fcf040216
4
+ data.tar.gz: 5a7a40cffe06f255d0b6a5fbb7c320aafe0e666510b3e7159faf32e3ae5751af
5
5
  SHA512:
6
- metadata.gz: e7bc62f7d7c9e69b69eadd2abc323aefd5e107135a29e6d91333f178c5f945621eb7b04d030745837335a706b0cd7a6628ec384d28ba407cbebb83e1f938cf1d
7
- data.tar.gz: b6c9dfba7e08e08cad07fbc74fcc5c66f3ee24659e07376365afea89b9f6490b98b0c6c4925c74782788369cbdc9788fbb8764607464b16e1c97f34b2835276c
6
+ metadata.gz: e1257de0e97847588db0598456bb4583089ca19ce8a093e4447360a80cae9c908821ee1af0ddce5585d5d530a05d4cd10b9d97285b4eb52578d111cca9ed900d
7
+ data.tar.gz: 377c696f09ee81fc1f8780f6ef5d6db8a70879fb29363436f6628cd2fa7adfb56bdb238a2774add079799bd4a40d612c993afbba0c4b1e701a5eedd2ff7145ec
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.1.0
1
+ 3.1.2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Next Release
2
2
 
3
+ ## 1.23.2 (2022-09-24)
4
+
5
+ * require_ruby_version 2.3.0
6
+
3
7
  ## 1.23.1 (2022-02-12)
4
8
 
5
9
  * Do not strict activesupport dependency version
data/Gemfile CHANGED
@@ -3,7 +3,7 @@
3
3
  source 'https://rubygems.org'
4
4
  gemspec
5
5
 
6
- gem 'coveralls', require: false
6
+ gem 'coveralls_reborn', require: false
7
7
 
8
8
  gem 'guard'
9
9
  gem 'guard-rspec'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rails_best_practices (1.23.1)
4
+ rails_best_practices (1.23.2)
5
5
  activesupport
6
6
  code_analyzer (~> 0.5.5)
7
7
  erubis
@@ -13,7 +13,7 @@ PATH
13
13
  GEM
14
14
  remote: https://rubygems.org/
15
15
  specs:
16
- activesupport (7.0.2.2)
16
+ activesupport (7.0.4)
17
17
  concurrent-ruby (~> 1.0, >= 1.0.2)
18
18
  i18n (>= 1.6, < 2)
19
19
  minitest (>= 5.1)
@@ -22,15 +22,14 @@ GEM
22
22
  code_analyzer (0.5.5)
23
23
  sexp_processor
24
24
  coderay (1.1.3)
25
- concurrent-ruby (1.1.9)
26
- coveralls (0.8.23)
27
- json (>= 1.8, < 3)
28
- simplecov (~> 0.16.1)
29
- term-ansicolor (~> 1.3)
30
- thor (>= 0.19.4, < 2.0)
31
- tins (~> 1.6)
25
+ concurrent-ruby (1.1.10)
26
+ coveralls_reborn (0.24.0)
27
+ simplecov (>= 0.18.1, < 0.22.0)
28
+ term-ansicolor (~> 1.6)
29
+ thor (>= 0.20.3, < 2.0)
30
+ tins (~> 1.16)
32
31
  diff-lcs (1.4.4)
33
- docile (1.3.2)
32
+ docile (1.4.0)
34
33
  erubis (2.7.0)
35
34
  ffi (1.15.4)
36
35
  formatador (0.3.0)
@@ -51,15 +50,15 @@ GEM
51
50
  haml (5.1.2)
52
51
  temple (>= 0.8.0)
53
52
  tilt
54
- i18n (1.9.1)
53
+ i18n (1.12.0)
55
54
  concurrent-ruby (~> 1.0)
56
- json (2.3.0)
55
+ json (2.6.2)
57
56
  listen (3.7.0)
58
57
  rb-fsevent (~> 0.10, >= 0.10.3)
59
58
  rb-inotify (~> 0.9, >= 0.9.10)
60
59
  lumberjack (1.2.8)
61
60
  method_source (1.0.0)
62
- minitest (5.15.0)
61
+ minitest (5.16.3)
63
62
  nenv (0.3.0)
64
63
  notiffany (0.1.3)
65
64
  nenv (~> 0.1)
@@ -86,23 +85,26 @@ GEM
86
85
  rspec-support (~> 3.10.0)
87
86
  rspec-support (3.10.2)
88
87
  ruby-progressbar (1.11.0)
89
- sexp_processor (4.16.0)
88
+ sexp_processor (4.16.1)
90
89
  shellany (0.0.1)
91
- simplecov (0.16.1)
90
+ simplecov (0.21.2)
92
91
  docile (~> 1.1)
93
- json (>= 1.8, < 3)
94
- simplecov-html (~> 0.10.0)
95
- simplecov-html (0.10.2)
92
+ simplecov-html (~> 0.11)
93
+ simplecov_json_formatter (~> 0.1)
94
+ simplecov-html (0.12.3)
95
+ simplecov_json_formatter (0.1.4)
96
96
  slim (4.0.1)
97
97
  temple (>= 0.7.6, < 0.9)
98
98
  tilt (>= 2.0.6, < 2.1)
99
+ sync (0.5.0)
99
100
  temple (0.8.2)
100
101
  term-ansicolor (1.7.1)
101
102
  tins (~> 1.0)
102
- thor (1.1.0)
103
+ thor (1.2.1)
103
104
  tilt (2.0.10)
104
- tins (1.22.2)
105
- tzinfo (2.0.4)
105
+ tins (1.31.1)
106
+ sync
107
+ tzinfo (2.0.5)
106
108
  concurrent-ruby (~> 1.0)
107
109
 
108
110
  PLATFORMS
@@ -111,7 +113,7 @@ PLATFORMS
111
113
  DEPENDENCIES
112
114
  awesome_print
113
115
  bundler
114
- coveralls
116
+ coveralls_reborn
115
117
  guard
116
118
  guard-rspec
117
119
  haml
@@ -122,4 +124,4 @@ DEPENDENCIES
122
124
  slim
123
125
 
124
126
  BUNDLED WITH
125
- 2.2.22
127
+ 2.3.15
data/Gemfile.ruby-2.6 CHANGED
@@ -4,7 +4,7 @@ source 'https://rubygems.org'
4
4
  gemspec
5
5
 
6
6
  gem 'activesupport', '~> 6.1.4'
7
- gem 'coveralls', require: false
7
+ gem 'coveralls_reborn', require: false
8
8
 
9
9
  gem 'guard'
10
10
  gem 'guard-rspec'
@@ -24,12 +24,11 @@ GEM
24
24
  sexp_processor
25
25
  coderay (1.1.3)
26
26
  concurrent-ruby (1.1.9)
27
- coveralls (0.8.23)
28
- json (>= 1.8, < 3)
29
- simplecov (~> 0.16.1)
30
- term-ansicolor (~> 1.3)
31
- thor (>= 0.19.4, < 2.0)
32
- tins (~> 1.6)
27
+ coveralls_reborn (0.24.0)
28
+ simplecov (>= 0.18.1, < 0.22.0)
29
+ term-ansicolor (~> 1.6)
30
+ thor (>= 0.20.3, < 2.0)
31
+ tins (~> 1.16)
33
32
  diff-lcs (1.5.0)
34
33
  docile (1.4.0)
35
34
  erubis (2.7.0)
@@ -89,11 +88,12 @@ GEM
89
88
  ruby-progressbar (1.11.0)
90
89
  sexp_processor (4.16.0)
91
90
  shellany (0.0.1)
92
- simplecov (0.16.1)
91
+ simplecov (0.21.2)
93
92
  docile (~> 1.1)
94
- json (>= 1.8, < 3)
95
- simplecov-html (~> 0.10.0)
96
- simplecov-html (0.10.2)
93
+ simplecov-html (~> 0.11)
94
+ simplecov_json_formatter (~> 0.1)
95
+ simplecov-html (0.12.3)
96
+ simplecov_json_formatter (0.1.4)
97
97
  slim (4.1.0)
98
98
  temple (>= 0.7.6, < 0.9)
99
99
  tilt (>= 2.0.6, < 2.1)
@@ -103,7 +103,7 @@ GEM
103
103
  tins (~> 1.0)
104
104
  thor (1.2.1)
105
105
  tilt (2.0.10)
106
- tins (1.31.0)
106
+ tins (1.31.1)
107
107
  sync
108
108
  tzinfo (2.0.4)
109
109
  concurrent-ruby (~> 1.0)
@@ -116,7 +116,7 @@ DEPENDENCIES
116
116
  activesupport (~> 6.1.4)
117
117
  awesome_print
118
118
  bundler
119
- coveralls
119
+ coveralls_reborn
120
120
  guard
121
121
  guard-rspec
122
122
  haml
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # rails_best_practices
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/rails_best_practices.svg)](http://badge.fury.io/rb/rails_best_practices)
4
- [![Build Status](https://secure.travis-ci.org/flyerhzm/rails_best_practices.svg)](http://travis-ci.org/flyerhzm/rails_best_practices)
4
+ [![CI](https://github.com/flyerhzm/rails_best_practices/actions/workflows/main.yml/badge.svg)](https://github.com/flyerhzm/rails_best_practices/actions/workflows/main.yml)
5
5
  [![Coverage Status](https://coveralls.io/repos/railsbp/rails_best_practices/badge.svg?branch=master)](https://coveralls.io/r/railsbp/rails_best_practices)
6
6
  [![AwesomeCode Status for flyerhzm/rails_best_practices](https://awesomecode.io/projects/d02ecd70-e068-4ad4-b61a-7003ac24b49a/status)](https://awesomecode.io/repos/flyerhzm/rails_best_practices)
7
7
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsBestPractices
4
- VERSION = '1.23.1'
4
+ VERSION = '1.23.2'
5
5
  end
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
15
15
  spec.description = 'a code metric tool for rails codes, written in Ruby.'
16
16
  spec.license = 'MIT'
17
17
 
18
- spec.required_ruby_version = '>= 1.9.0'
18
+ spec.required_ruby_version = '>= 2.3.0'
19
19
  spec.required_rubygems_version = '>= 1.3.6'
20
20
 
21
21
  spec.add_runtime_dependency('activesupport')
@@ -77,10 +77,10 @@ module RailsBestPractices
77
77
  subject { described_class.new('.', 'format' => format) }
78
78
 
79
79
  before do
80
- subject.stub(:output_terminal_errors)
81
- subject.stub(:output_html_errors)
82
- subject.stub(:output_yaml_errors)
83
- subject.stub(:output_xml_errors)
80
+ allow(subject).to receive(:output_terminal_errors)
81
+ allow(subject).to receive(:output_html_errors)
82
+ allow(subject).to receive(:output_yaml_errors)
83
+ allow(subject).to receive(:output_xml_errors)
84
84
 
85
85
  subject.output
86
86
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_best_practices
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.23.1
4
+ version: 1.23.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Huang
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-12 00:00:00.000000000 Z
11
+ date: 2022-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -399,14 +399,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
399
399
  requirements:
400
400
  - - ">="
401
401
  - !ruby/object:Gem::Version
402
- version: 1.9.0
402
+ version: 2.3.0
403
403
  required_rubygems_version: !ruby/object:Gem::Requirement
404
404
  requirements:
405
405
  - - ">="
406
406
  - !ruby/object:Gem::Version
407
407
  version: 1.3.6
408
408
  requirements: []
409
- rubygems_version: 3.3.3
409
+ rubygems_version: 3.3.7
410
410
  signing_key:
411
411
  specification_version: 4
412
412
  summary: a code metric tool for rails codes.