rf-stylez 1.1.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +6 -2
- data/.github/workflows/pronto.yml +2 -2
- data/.rubocop.yml +5 -0
- data/Gemfile +2 -2
- data/lib/rf/stylez/version.rb +1 -1
- data/rf-stylez.gemspec +4 -3
- data/ruby/rubocop.yml +2 -1
- metadata +22 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f68a6adb6aadb057df134ba555a8f4baab4a9114c8a12fa7bc5421ea4124d49b
|
4
|
+
data.tar.gz: cc72dc8706b1887618378d656ec220f3ff3cb1886f0b67e6143df616d64b3867
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef278b80243e4011a88ce6d398f4c8b723f67c4e963ba75a3ae17e255a0dbe07d4518e8b8babfe82d06946e20bd542bcc6a294566ffdc132bf168cd78926273d
|
7
|
+
data.tar.gz: 7fdf5b30a3d8684544f376a48fd0936fc943c8246398ab0e892bca6d10886b411cbcaebe8054bd2315f865b8619cdc0429630d08dd34711be6def6c27193fbb5
|
data/.circleci/config.yml
CHANGED
@@ -3,7 +3,7 @@ version: 2.1
|
|
3
3
|
jobs:
|
4
4
|
test:
|
5
5
|
docker:
|
6
|
-
- image: cimg/ruby:3.
|
6
|
+
- image: cimg/ruby:3.3.6
|
7
7
|
auth:
|
8
8
|
username: $DOCKERHUB_USERNAME
|
9
9
|
password: $DOCKERHUB_TOKEN
|
@@ -12,7 +12,10 @@ jobs:
|
|
12
12
|
- run:
|
13
13
|
name: Install Ruby gems
|
14
14
|
command: |
|
15
|
-
|
15
|
+
gem install bundler
|
16
|
+
bundle config set --local path 'vendor/bundle'
|
17
|
+
bundle config set --local without pronto
|
18
|
+
bundle check || bundle install --jobs=`nproc` --retry=3
|
16
19
|
- run:
|
17
20
|
name: Set up test output directory
|
18
21
|
command: sudo install -o circleci -d ~/rspec
|
@@ -32,6 +35,7 @@ jobs:
|
|
32
35
|
|
33
36
|
push_to_rubygems:
|
34
37
|
docker:
|
38
|
+
# Push to rubygems breaks with Ruby 3.3
|
35
39
|
- image: cimg/ruby:3.2.2
|
36
40
|
auth:
|
37
41
|
username: $DOCKERHUB_USERNAME
|
@@ -22,7 +22,7 @@ jobs:
|
|
22
22
|
|
23
23
|
steps:
|
24
24
|
- name: Checkout code
|
25
|
-
uses: actions/checkout@
|
25
|
+
uses: actions/checkout@v4
|
26
26
|
with:
|
27
27
|
fetch-depth: 100
|
28
28
|
- run: git fetch --no-tags --prune --depth=100 origin "+refs/heads/$GITHUB_BASE_REF:refs/remotes/origin/$GITHUB_BASE_REF"
|
@@ -30,7 +30,7 @@ jobs:
|
|
30
30
|
- name: Setup Ruby
|
31
31
|
uses: ruby/setup-ruby@v1
|
32
32
|
with:
|
33
|
-
ruby-version: "3.
|
33
|
+
ruby-version: "3.3.6"
|
34
34
|
bundler-cache: true
|
35
35
|
|
36
36
|
- name: Setup pronto
|
data/.rubocop.yml
CHANGED
data/Gemfile
CHANGED
data/lib/rf/stylez/version.rb
CHANGED
data/rf-stylez.gemspec
CHANGED
@@ -24,8 +24,9 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.add_runtime_dependency "pronto", "~> 0.11.2"
|
25
25
|
spec.add_runtime_dependency "pronto-rubocop", "~> 0.11.5"
|
26
26
|
spec.add_runtime_dependency "reek", "~> 6.2"
|
27
|
-
spec.add_runtime_dependency "rubocop", "1.
|
28
|
-
spec.add_runtime_dependency "rubocop-
|
29
|
-
spec.add_runtime_dependency "rubocop-
|
27
|
+
spec.add_runtime_dependency "rubocop", "1.68.0"
|
28
|
+
spec.add_runtime_dependency "rubocop-performance", "1.23.0"
|
29
|
+
spec.add_runtime_dependency "rubocop-rails", "2.27.0"
|
30
|
+
spec.add_runtime_dependency "rubocop-rspec", "3.2.0"
|
30
31
|
spec.add_runtime_dependency "unparser", "~> 0.6"
|
31
32
|
end
|
data/ruby/rubocop.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
AllCops:
|
2
|
-
TargetRubyVersion: 3.
|
2
|
+
TargetRubyVersion: 3.3
|
3
3
|
NewCops: enable
|
4
4
|
SuggestExtensions: false
|
5
5
|
Include:
|
@@ -20,6 +20,7 @@ inherit_from:
|
|
20
20
|
require:
|
21
21
|
- rf/stylez
|
22
22
|
- rubocop-rspec
|
23
|
+
- rubocop-performance
|
23
24
|
- get_env/cops
|
24
25
|
|
25
26
|
# Custom cops
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rf-stylez
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emanuel Evans
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: get_env
|
@@ -72,42 +72,56 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.
|
75
|
+
version: 1.68.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 1.
|
82
|
+
version: 1.68.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rubocop-performance
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 1.23.0
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 1.23.0
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: rubocop-rails
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
86
100
|
requirements:
|
87
101
|
- - '='
|
88
102
|
- !ruby/object:Gem::Version
|
89
|
-
version: 2.
|
103
|
+
version: 2.27.0
|
90
104
|
type: :runtime
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
108
|
- - '='
|
95
109
|
- !ruby/object:Gem::Version
|
96
|
-
version: 2.
|
110
|
+
version: 2.27.0
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: rubocop-rspec
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
115
|
- - '='
|
102
116
|
- !ruby/object:Gem::Version
|
103
|
-
version: 2.
|
117
|
+
version: 3.2.0
|
104
118
|
type: :runtime
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
107
121
|
requirements:
|
108
122
|
- - '='
|
109
123
|
- !ruby/object:Gem::Version
|
110
|
-
version: 2.
|
124
|
+
version: 3.2.0
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: unparser
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|