Skip to content

Commit 40b8fd3

Browse files
authored
Merge pull request #70 from OpenVoxProject/update_update_gems
Update components and update_gems script
2 parents e2a35b7 + 19b799f commit 40b8fd3

201 files changed

Lines changed: 2048 additions & 2981 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/component_diff_check.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/workflows/runtime_tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,6 @@ jobs:
5151
if [ $stat -eq 1 ]; then
5252
false
5353
fi
54+
55+
- name: Run rubocop
56+
run: bundle exec rubocop

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ ext/packaging
88
ext/build_metadata*.json
99
pkg
1010
*.swp
11+
.ruby-version

.rubocop.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
plugins:
3+
- rubocop-rake
4+
5+
AllCops:
6+
TargetRubyVersion: 3.2
7+
NewCops: disable
8+
9+
Layout/LineLength:
10+
Enabled: false
11+
12+
Metrics/AbcSize:
13+
Enabled: false
14+
15+
Metrics/BlockLength:
16+
Enabled: false
17+
18+
Metrics/CyclomaticComplexity:
19+
Enabled: false
20+
21+
Metrics/MethodLength:
22+
Enabled: false
23+
24+
Metrics/PerceivedComplexity:
25+
Enabled: false
26+
27+
Naming/FileName:
28+
Enabled: false
29+
30+
Style/Documentation:
31+
Enabled: false
32+
33+
Style/DoubleNegation:
34+
Enabled: false
35+
36+
Style/FrozenStringLiteralComment:
37+
Enabled: false
38+
39+
Style/HashSyntax:
40+
Enabled: false
41+
42+
Style/PerlBackrefs:
43+
Enabled: false
44+
45+
Style/RegexpLiteral:
46+
Enabled: false
47+
48+
Style/SymbolArray:
49+
Enabled: false
50+
51+
Style/SymbolProc:
52+
Enabled: false
53+
54+
Style/WordArray:
55+
Enabled: false

Gemfile

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
source ENV['GEM_SOURCE'] || "https://rubygems.org"
1+
source ENV['GEM_SOURCE'] || 'https://rubygems.org'
22

33
def location_for(place)
44
if place =~ /^((?:git[:@]|https:)[^#]*)#(.*)/
@@ -11,16 +11,20 @@ def location_for(place)
1111
end
1212

1313
gem 'artifactory'
14-
gem 'vanagon', *location_for(ENV['VANAGON_LOCATION'] || 'https://github.com/openvoxproject/vanagon#main')
1514
gem 'packaging', *location_for(ENV['PACKAGING_LOCATION'] || '~> 0.105')
1615
gem 'rake', '~> 13.0'
16+
gem 'rubocop'
17+
gem 'rubocop-rake'
18+
gem 'vanagon', *location_for(ENV['VANAGON_LOCATION'] || 'https://github.com/openvoxproject/vanagon#main')
19+
# Need to update the openssl gem on MacOS to avoid SSL errors. Doesn't hurt to have the newest
20+
# for all platforms.
21+
# https://www.rubyonmac.dev/certificate-verify-failed-unable-to-get-certificate-crl-openssl-ssl-sslerror
22+
gem 'openssl' unless `uname -o`.chomp == 'Cygwin'
1723

1824
group(:development, optional: true) do
25+
gem 'hashdiff', require: false
1926
gem 'highline', require: false
2027
gem 'parallel', require: false
21-
gem 'colorize', require: false
22-
gem 'hashdiff', require: false
23-
gem 'tty-table', require: false
2428
end
2529

2630
group(:release, optional: true) do

Rakefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
require 'open3'
22

3-
RED = "\033[31m"
4-
GREEN = "\033[32m"
5-
RESET = "\033[0m"
3+
RED = "\033[31m".freeze
4+
GREEN = "\033[32m".freeze
5+
RESET = "\033[0m".freeze
66

77
def run_command(cmd, silent: true, print_command: false, report_status: false)
88
puts "#{GREEN}Running #{cmd}#{RESET}" if print_command

configs/components/_base-ruby-augeas.rb

Lines changed: 0 additions & 121 deletions
This file was deleted.

0 commit comments

Comments
 (0)