Kaseya_Ruby_Codestyles 1.1.0 → 1.1.1.a

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: 2b54060634518b729cbb348b80a880ca34186fe538b0559cbf63afe695d6bbab
4
- data.tar.gz: 714aa964e29e24d818b3163120373a9d429c36a0b026cda737df10420279fd03
3
+ metadata.gz: eb3234e586fa031e06a374bdcef3c7ee47f0e11c0b33b0b8dd8b04158f3bdc74
4
+ data.tar.gz: 886fff561506bee32ebc98993b5b0f82d1e257ddd9af30e76460b9d7dde82384
5
5
  SHA512:
6
- metadata.gz: 6403e540953659653f3d72b9ed0779641b680de97cffe49707ec85e9607983e146f621d0755892eb71396f732716917d29c3f904d88436ad4095cd33a4ab0b5b
7
- data.tar.gz: ef1b4f0ed75844f616875e6d98b0df426be86f5d538a0049ffce76e2f6516fac577aaa29cdd695239640f0da28b28b869e962c23265be64a7338f520fc293f99
6
+ metadata.gz: a3eac341e2b9d92ed971c1e32f8fa5de56508350165bb27b661c69dc3d3e1a2db5ca4ad9e7ea8c8e0164d66bfd45fd780d1aa823f3a2c696473d129de1d74498
7
+ data.tar.gz: e12b992220e29b33dfbc3af8b0c8f78cc80fcaa0fdafd3a43d483410da899ca877a74b425a8c6de96628928bf28afa7284eddd8def025e177a72033c2739a332
data/README.md CHANGED
@@ -4,12 +4,35 @@ This is Kaseya's Ruby library manager. The deploy-ruby.yml runs Rubocop against
4
4
 
5
5
  ## Deploy Ruby Codestyles
6
6
 
7
- * Install the `kaseya_ruby_codestyles` gem to get local access to all our public codestyles and files
7
+ * Install the `kaseya_ruby_codestyles` gem to get local access to all our public codestyles and files. Look to https://rubygems.org/gems/Kaseya_Ruby_Codestyles for information about dependencies and commands to install.
8
8
 
9
- ```ruby
9
+ ```
10
+ gem 'Kaseya_Ruby_Codestyles', '~> 1.1.1'
10
11
  gem install kaseya_ruby_codestyles
11
12
  ```
12
13
 
13
- ### Contributions
14
+ * Any dependency errors you run into such as parallel and activesupport version incompatibilities, install the suggested gem version displayed in the prompt message and attempt the install again
15
+
16
+ * If you run into the following error during `rubocop-thread_safety` parsing:
17
+ ```
18
+ RDoc::Parser::Ruby failure around line 125 of
19
+ lib/rubocop/cop/thread_safety/instance_variable_in_class_method.rb
20
+ ```
21
+ Run these 2 commands and attempt install again
22
+
23
+ ```
24
+ gem install stringio -v 0.0.2
25
+ gem install rdoc
26
+ ```
27
+
28
+ ## Contributions
29
+
30
+ * Ruby files added should go in the `ruby/ci/kaseya_ruby_codestyles` directory to best be tracked and checked by existed workflows
31
+
32
+ * Preparing your own github action to push within deploy-ruby.yml can be done 1 of 2 ways:
33
+
34
+ * Contribute towards the Rakefile that will run under the `Run Tests` step of deploy-ruby.yml.
35
+
36
+ * Name a unique step, make sure to specify the working directory as `${{ github.workspace }}/ruby` as is defined for the other steps and contribute the terminal commands to be run from there.
14
37
 
15
- * In order to prepare your own github action to push within deploy-ruby.yml, there are 2 ways to do so:
38
+ * Add comments where necessary to ensure the purpose and goal of the actions are clear.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CI
4
- VERSION = "1.1.0"
4
+ VERSION = "1.1.1.a"
5
5
  end
@@ -9,10 +9,10 @@ Gem::Specification.new do |spec|
9
9
  spec.license = 'Apache'
10
10
  spec.platform = Gem::Platform::RUBY
11
11
 
12
- spec.required_ruby_version = '>= 2.5.0'
12
+ spec.required_ruby_version = '>= 2.4.0'
13
13
 
14
14
  spec.summary = 'Kaseya Ruby style guides and shared style configs.'
15
- spec.homepage = 'https://github.com/SpanningCloudsApps/codestyle'
15
+ spec.homepage = 'https://github.com/SpanningCloudApps/codestyle'
16
16
 
17
17
  spec.files = Dir['README.md', 'LICENSE',
18
18
  'CHANGELOG.md', 'ci/**/*.rb',
@@ -22,11 +22,11 @@ Gem::Specification.new do |spec|
22
22
 
23
23
  spec.extra_rdoc_files = ['README.md']
24
24
 
25
- spec.add_dependency 'rubocop', '~> 1.28.2'
26
- spec.add_dependency 'rubocop-performance', '~> 1.13.3'
27
- spec.add_dependency 'rubocop-rails', '~> 2.14'
28
- spec.add_dependency 'rubocop-rake', '~> 0.6'
29
- spec.add_dependency 'rubocop-rspec', '~> 2.10'
25
+ spec.add_dependency 'rubocop', '~> 1.12.1'
26
+ spec.add_dependency 'rubocop-performance', '~> 1.10.2'
27
+ spec.add_dependency 'rubocop-rails', '~> 2.9'
28
+ spec.add_dependency 'rubocop-rake', '~> 0.5'
29
+ spec.add_dependency 'rubocop-rspec', '~> 2.2.0'
30
30
  spec.add_dependency 'rubocop-thread_safety', '~> 0.4'
31
31
  spec.add_development_dependency 'bundler', '~> 2.3.22'
32
32
  spec.add_development_dependency 'rake', '~> 13.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Kaseya_Ruby_Codestyles
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1.a
5
5
  platform: ruby
6
6
  authors:
7
7
  - Spanning Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-10 00:00:00.000000000 Z
11
+ date: 2022-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,70 +16,70 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.28.2
19
+ version: 1.12.1
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: 1.28.2
26
+ version: 1.12.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.13.3
33
+ version: 1.10.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.13.3
40
+ version: 1.10.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-rails
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '2.14'
47
+ version: '2.9'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '2.14'
54
+ version: '2.9'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rubocop-rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0.6'
61
+ version: '0.5'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0.6'
68
+ version: '0.5'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop-rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '2.10'
75
+ version: 2.2.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: '2.10'
82
+ version: 2.2.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rubocop-thread_safety
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -135,7 +135,7 @@ files:
135
135
  - ci/kaseya_ruby_codestyles.rb
136
136
  - ci/kaseya_ruby_codestyles/version.rb
137
137
  - kaseya_ruby_codestyles.gemspec
138
- homepage: https://github.com/SpanningCloudsApps/codestyle
138
+ homepage: https://github.com/SpanningCloudApps/codestyle
139
139
  licenses:
140
140
  - Apache
141
141
  metadata:
@@ -148,12 +148,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
148
148
  requirements:
149
149
  - - ">="
150
150
  - !ruby/object:Gem::Version
151
- version: 2.5.0
151
+ version: 2.4.0
152
152
  required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  requirements:
154
- - - ">="
154
+ - - ">"
155
155
  - !ruby/object:Gem::Version
156
- version: '0'
156
+ version: 1.3.1
157
157
  requirements: []
158
158
  rubygems_version: 3.1.2
159
159
  signing_key: