g2_command 0.4.0 → 2.3.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: 795f881d90230226f9ddb662080b9d8586474a3e42261129491c3c0b65f7e659
4
- data.tar.gz: ca5199ed96e14da877e03fc026b3afd6dc503f2aeddd7c3111164f1d46c5b1c7
3
+ metadata.gz: 9217fb815c461a03b28aee50cc536dbc233f5e6382ec997bd49eca32974c7def
4
+ data.tar.gz: 4ed49dde0c58e37e1f5b94bf206cd80b2b7c2266d73346f26a3d026ad519df9c
5
5
  SHA512:
6
- metadata.gz: 0d2f46c2cf70d1e008cc17ea2d0d7c2bc2dbdd22db0dbac5169b1f701a1e8da848c8c65c9e5bc357ea714bb1195713ae310be39a580508d0acb3998fa3cbfd7c
7
- data.tar.gz: 3dfe50a69b515562937438cdb87c689a2bff3c5f2e0151a73530492385f9c4eab3bc7fc238cf0ac5581ebb4b2199c4e3d700d618dbb680cd4c8c7b7222e5b32d
6
+ metadata.gz: 8cdc00cfe2a6c81ceb1ab2c7de10ecd160fb103e426e589c344ac1828643bcfba959e2ad4cb8c428654a50af074b7f34850616dc4bfa3a822a51978351b819fc
7
+ data.tar.gz: a7064a74ef68395310a38d4e80b33cccdee17ef3c2352de6e711366b88fc0bdc791ab145049339ef70868db9982e3d7f37fb6e6bef06a2c79d972cfa61828d0e
@@ -0,0 +1,25 @@
1
+ version: 2.1
2
+
3
+ orbs:
4
+ ruby: g2crowd/ruby@0.0.13
5
+
6
+ workflows:
7
+ version: 2
8
+ build:
9
+ jobs:
10
+ - ruby/appraisal:
11
+ context: g2crowd-global
12
+ matrix:
13
+ parameters:
14
+ ruby: ['2.4.10', '2.5.8', '2.6.6', '2.7.2']
15
+ appraisal:
16
+ - rails_5.1
17
+ - rails_5.2
18
+ - rails_6.0
19
+ exclude:
20
+ - ruby: '2.4.10'
21
+ appraisal: rails_6.0
22
+ - ruby/build:
23
+ context: g2crowd-global
24
+ setup-database: false
25
+ bundler-version: '2.1.4'
@@ -0,0 +1,17 @@
1
+ check_name: 'RuboCop'
2
+
3
+ # Instead of installing gems from rubygems, we can run `bundle install` on your project,
4
+ # you would need to do this if you are using something like 'rubocop-github' or if you don't
5
+ # want to list out dependencies with the `versions` key.
6
+ # Valid options: true || false
7
+ # Default: false
8
+ bundle: true
9
+
10
+ # The scope of code that Rubocop should lint. Use this if you only want to lint changed files. If this is not set
11
+ # or not equal to 'modified', Rubocop is run against the entire codebase. Note that this will not work on the main branch.
12
+ # Valid options: 'modified'
13
+ # Default: nil
14
+ check_scope: 'modified'
15
+
16
+ rubocop_force_exclusion: true
17
+ base_branch: "origin/main"
@@ -0,0 +1,17 @@
1
+ name: Linters
2
+
3
+ on:
4
+ push:
5
+ branches-ignore:
6
+ - main
7
+
8
+ jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v1
13
+
14
+ - name: Rubocop Linter
15
+ uses: g2crowd/rubocop-linter-action@v3.4.0
16
+ env:
17
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -1,46 +1,16 @@
1
+ inherit_gem:
2
+ rubocop-g2:
3
+ - config/ruby/default.yml
4
+
1
5
  require:
2
6
  - rubocop-rspec
7
+ - rubocop-g2
3
8
 
4
9
  AllCops:
5
- TargetRubyVersion: 2.6
6
-
7
- Layout/LineLength:
8
- Max: 120
9
-
10
- Layout/MultilineMethodCallIndentation:
11
- EnforcedStyle: indented_relative_to_receiver
12
-
13
- Layout/SpaceAroundMethodCallOperator:
14
- Enabled: true
15
-
16
- Lint/RaiseException:
17
- Enabled: true
18
-
19
- Lint/StructNewOverride:
20
- Enabled: true
10
+ NewCops: enable
11
+ TargetRubyVersion: 2.4
12
+ Exclude:
13
+ - gemfiles/*
21
14
 
22
15
  Style/Documentation:
23
16
  Enabled: false
24
-
25
- Style/ExponentialNotation:
26
- Enabled: true
27
-
28
- Style/HashEachMethods:
29
- Enabled: true
30
-
31
- Style/HashTransformKeys:
32
- Enabled: false
33
-
34
- Style/HashTransformValues:
35
- Enabled: false
36
-
37
- Style/PercentLiteralDelimiters:
38
- PreferredDelimiters:
39
- default: ()
40
- '%w': '()'
41
- '%W': '()'
42
- '%i': '()'
43
- '%I': '()'
44
-
45
- Style/NumericLiterals:
46
- Enabled: false
@@ -0,0 +1 @@
1
+ 2.7.2
@@ -1 +1 @@
1
- ruby 2.6.6
1
+ ruby 2.7.2
@@ -0,0 +1,13 @@
1
+ appraise 'rails_5.1' do
2
+ gem 'rails', '5.1.7'
3
+ gem 'sprockets', '~> 3'
4
+ end
5
+
6
+ appraise 'rails_5.2' do
7
+ gem 'rails', '5.2.4'
8
+ gem 'sprockets', '~> 3'
9
+ end
10
+
11
+ appraise 'rails_6.0' do
12
+ gem 'rails', '6.0.3'
13
+ end
data/Gemfile CHANGED
@@ -4,10 +4,12 @@ source 'https://rubygems.org'
4
4
 
5
5
  gemspec
6
6
 
7
+ gem 'appraisal'
8
+ gem 'fivemat'
7
9
  gem 'pry'
8
10
  gem 'rails'
9
11
  gem 'rake', '~> 12.0'
10
12
  gem 'rspec', '~> 3.0'
11
- gem 'rubocop'
12
- gem 'rubocop-rspec'
13
+ gem 'rspec_junit_formatter'
14
+ gem 'rubocop-g2'
13
15
  gem 'simplecov', '0.16.1'
@@ -1,93 +1,97 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- g2_command (0.4.0)
5
- activemodel (>= 6.0, < 7)
6
- activesupport (>= 6.0, < 7)
4
+ g2_command (2.3.0)
5
+ activemodel (>= 5.0, < 7)
6
+ activesupport (>= 5.0, < 7)
7
7
  dry-initializer (~> 3.0)
8
8
  dry-monads (~> 1.3)
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- actioncable (6.0.2.2)
14
- actionpack (= 6.0.2.2)
13
+ actioncable (6.0.3.3)
14
+ actionpack (= 6.0.3.3)
15
15
  nio4r (~> 2.0)
16
16
  websocket-driver (>= 0.6.1)
17
- actionmailbox (6.0.2.2)
18
- actionpack (= 6.0.2.2)
19
- activejob (= 6.0.2.2)
20
- activerecord (= 6.0.2.2)
21
- activestorage (= 6.0.2.2)
22
- activesupport (= 6.0.2.2)
17
+ actionmailbox (6.0.3.3)
18
+ actionpack (= 6.0.3.3)
19
+ activejob (= 6.0.3.3)
20
+ activerecord (= 6.0.3.3)
21
+ activestorage (= 6.0.3.3)
22
+ activesupport (= 6.0.3.3)
23
23
  mail (>= 2.7.1)
24
- actionmailer (6.0.2.2)
25
- actionpack (= 6.0.2.2)
26
- actionview (= 6.0.2.2)
27
- activejob (= 6.0.2.2)
24
+ actionmailer (6.0.3.3)
25
+ actionpack (= 6.0.3.3)
26
+ actionview (= 6.0.3.3)
27
+ activejob (= 6.0.3.3)
28
28
  mail (~> 2.5, >= 2.5.4)
29
29
  rails-dom-testing (~> 2.0)
30
- actionpack (6.0.2.2)
31
- actionview (= 6.0.2.2)
32
- activesupport (= 6.0.2.2)
30
+ actionpack (6.0.3.3)
31
+ actionview (= 6.0.3.3)
32
+ activesupport (= 6.0.3.3)
33
33
  rack (~> 2.0, >= 2.0.8)
34
34
  rack-test (>= 0.6.3)
35
35
  rails-dom-testing (~> 2.0)
36
36
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
37
- actiontext (6.0.2.2)
38
- actionpack (= 6.0.2.2)
39
- activerecord (= 6.0.2.2)
40
- activestorage (= 6.0.2.2)
41
- activesupport (= 6.0.2.2)
37
+ actiontext (6.0.3.3)
38
+ actionpack (= 6.0.3.3)
39
+ activerecord (= 6.0.3.3)
40
+ activestorage (= 6.0.3.3)
41
+ activesupport (= 6.0.3.3)
42
42
  nokogiri (>= 1.8.5)
43
- actionview (6.0.2.2)
44
- activesupport (= 6.0.2.2)
43
+ actionview (6.0.3.3)
44
+ activesupport (= 6.0.3.3)
45
45
  builder (~> 3.1)
46
46
  erubi (~> 1.4)
47
47
  rails-dom-testing (~> 2.0)
48
48
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
49
- activejob (6.0.2.2)
50
- activesupport (= 6.0.2.2)
49
+ activejob (6.0.3.3)
50
+ activesupport (= 6.0.3.3)
51
51
  globalid (>= 0.3.6)
52
- activemodel (6.0.2.2)
53
- activesupport (= 6.0.2.2)
54
- activerecord (6.0.2.2)
55
- activemodel (= 6.0.2.2)
56
- activesupport (= 6.0.2.2)
57
- activestorage (6.0.2.2)
58
- actionpack (= 6.0.2.2)
59
- activejob (= 6.0.2.2)
60
- activerecord (= 6.0.2.2)
52
+ activemodel (6.0.3.3)
53
+ activesupport (= 6.0.3.3)
54
+ activerecord (6.0.3.3)
55
+ activemodel (= 6.0.3.3)
56
+ activesupport (= 6.0.3.3)
57
+ activestorage (6.0.3.3)
58
+ actionpack (= 6.0.3.3)
59
+ activejob (= 6.0.3.3)
60
+ activerecord (= 6.0.3.3)
61
61
  marcel (~> 0.3.1)
62
- activesupport (6.0.2.2)
62
+ activesupport (6.0.3.3)
63
63
  concurrent-ruby (~> 1.0, >= 1.0.2)
64
64
  i18n (>= 0.7, < 2)
65
65
  minitest (~> 5.1)
66
66
  tzinfo (~> 1.1)
67
- zeitwerk (~> 2.2)
68
- ast (2.4.0)
67
+ zeitwerk (~> 2.2, >= 2.2.2)
68
+ appraisal (2.3.0)
69
+ bundler
70
+ rake
71
+ thor (>= 0.14.0)
72
+ ast (2.4.1)
69
73
  builder (3.2.4)
70
74
  coderay (1.1.2)
71
- concurrent-ruby (1.1.6)
75
+ concurrent-ruby (1.1.7)
72
76
  crass (1.0.6)
73
77
  diff-lcs (1.3)
74
78
  docile (1.3.2)
75
79
  dry-core (0.4.9)
76
80
  concurrent-ruby (~> 1.0)
77
81
  dry-equalizer (0.3.0)
78
- dry-initializer (3.0.3)
82
+ dry-initializer (3.0.4)
79
83
  dry-monads (1.3.5)
80
84
  concurrent-ruby (~> 1.0)
81
85
  dry-core (~> 0.4, >= 0.4.4)
82
86
  dry-equalizer
83
87
  erubi (1.9.0)
88
+ fivemat (1.3.7)
84
89
  globalid (0.4.2)
85
90
  activesupport (>= 4.2.0)
86
- i18n (1.8.2)
91
+ i18n (1.8.5)
87
92
  concurrent-ruby (~> 1.0)
88
- jaro_winkler (1.5.4)
89
93
  json (2.3.0)
90
- loofah (2.5.0)
94
+ loofah (2.7.0)
91
95
  crass (~> 1.0.2)
92
96
  nokogiri (>= 1.5.9)
93
97
  mail (2.7.1)
@@ -95,50 +99,51 @@ GEM
95
99
  marcel (0.3.3)
96
100
  mimemagic (~> 0.3.2)
97
101
  method_source (0.9.2)
98
- mimemagic (0.3.4)
102
+ mimemagic (0.3.5)
99
103
  mini_mime (1.0.2)
100
104
  mini_portile2 (2.4.0)
101
- minitest (5.14.0)
102
- nio4r (2.5.2)
103
- nokogiri (1.10.9)
105
+ minitest (5.14.2)
106
+ nio4r (2.5.4)
107
+ nokogiri (1.10.10)
104
108
  mini_portile2 (~> 2.4.0)
105
- parallel (1.19.1)
106
- parser (2.7.1.1)
107
- ast (~> 2.4.0)
109
+ parallel (1.19.2)
110
+ parser (2.7.2.0)
111
+ ast (~> 2.4.1)
108
112
  pry (0.12.2)
109
113
  coderay (~> 1.1.0)
110
114
  method_source (~> 0.9.0)
111
- rack (2.2.2)
115
+ rack (2.2.3)
112
116
  rack-test (1.1.0)
113
117
  rack (>= 1.0, < 3)
114
- rails (6.0.2.2)
115
- actioncable (= 6.0.2.2)
116
- actionmailbox (= 6.0.2.2)
117
- actionmailer (= 6.0.2.2)
118
- actionpack (= 6.0.2.2)
119
- actiontext (= 6.0.2.2)
120
- actionview (= 6.0.2.2)
121
- activejob (= 6.0.2.2)
122
- activemodel (= 6.0.2.2)
123
- activerecord (= 6.0.2.2)
124
- activestorage (= 6.0.2.2)
125
- activesupport (= 6.0.2.2)
118
+ rails (6.0.3.3)
119
+ actioncable (= 6.0.3.3)
120
+ actionmailbox (= 6.0.3.3)
121
+ actionmailer (= 6.0.3.3)
122
+ actionpack (= 6.0.3.3)
123
+ actiontext (= 6.0.3.3)
124
+ actionview (= 6.0.3.3)
125
+ activejob (= 6.0.3.3)
126
+ activemodel (= 6.0.3.3)
127
+ activerecord (= 6.0.3.3)
128
+ activestorage (= 6.0.3.3)
129
+ activesupport (= 6.0.3.3)
126
130
  bundler (>= 1.3.0)
127
- railties (= 6.0.2.2)
131
+ railties (= 6.0.3.3)
128
132
  sprockets-rails (>= 2.0.0)
129
133
  rails-dom-testing (2.0.3)
130
134
  activesupport (>= 4.2.0)
131
135
  nokogiri (>= 1.6)
132
136
  rails-html-sanitizer (1.3.0)
133
137
  loofah (~> 2.3)
134
- railties (6.0.2.2)
135
- actionpack (= 6.0.2.2)
136
- activesupport (= 6.0.2.2)
138
+ railties (6.0.3.3)
139
+ actionpack (= 6.0.3.3)
140
+ activesupport (= 6.0.3.3)
137
141
  method_source
138
142
  rake (>= 0.8.7)
139
143
  thor (>= 0.20.3, < 2.0)
140
144
  rainbow (3.0.0)
141
145
  rake (12.3.3)
146
+ regexp_parser (1.8.2)
142
147
  rexml (3.2.4)
143
148
  rspec (3.9.0)
144
149
  rspec-core (~> 3.9.0)
@@ -153,26 +158,40 @@ GEM
153
158
  diff-lcs (>= 1.2.0, < 2.0)
154
159
  rspec-support (~> 3.9.0)
155
160
  rspec-support (3.9.2)
156
- rubocop (0.82.0)
157
- jaro_winkler (~> 1.5.1)
161
+ rspec_junit_formatter (0.4.1)
162
+ rspec-core (>= 2, < 4, != 2.12.0)
163
+ rubocop (0.93.1)
158
164
  parallel (~> 1.10)
159
- parser (>= 2.7.0.1)
165
+ parser (>= 2.7.1.5)
160
166
  rainbow (>= 2.2.2, < 4.0)
167
+ regexp_parser (>= 1.8)
161
168
  rexml
169
+ rubocop-ast (>= 0.6.0)
162
170
  ruby-progressbar (~> 1.7)
163
171
  unicode-display_width (>= 1.4.0, < 2.0)
164
- rubocop-rspec (1.38.1)
165
- rubocop (>= 0.68.1)
172
+ rubocop-ast (1.1.0)
173
+ parser (>= 2.7.1.5)
174
+ rubocop-g2 (1.2.1)
175
+ rubocop (>= 0.82)
176
+ rubocop-rails (>= 2.5)
177
+ rubocop-rspec (>= 1.39)
178
+ rubocop-rails (2.8.1)
179
+ activesupport (>= 4.2.0)
180
+ rack (>= 1.1)
181
+ rubocop (>= 0.87.0)
182
+ rubocop-rspec (1.44.1)
183
+ rubocop (~> 0.87)
184
+ rubocop-ast (>= 0.7.1)
166
185
  ruby-progressbar (1.10.1)
167
186
  simplecov (0.16.1)
168
187
  docile (~> 1.1)
169
188
  json (>= 1.8, < 3)
170
189
  simplecov-html (~> 0.10.0)
171
190
  simplecov-html (0.10.2)
172
- sprockets (4.0.0)
191
+ sprockets (4.0.2)
173
192
  concurrent-ruby (~> 1.0)
174
193
  rack (> 1, < 3)
175
- sprockets-rails (3.2.1)
194
+ sprockets-rails (3.2.2)
176
195
  actionpack (>= 4.0)
177
196
  activesupport (>= 4.0)
178
197
  sprockets (>= 3.0.0)
@@ -181,22 +200,24 @@ GEM
181
200
  tzinfo (1.2.7)
182
201
  thread_safe (~> 0.1)
183
202
  unicode-display_width (1.7.0)
184
- websocket-driver (0.7.1)
203
+ websocket-driver (0.7.3)
185
204
  websocket-extensions (>= 0.1.0)
186
- websocket-extensions (0.1.4)
187
- zeitwerk (2.3.0)
205
+ websocket-extensions (0.1.5)
206
+ zeitwerk (2.4.0)
188
207
 
189
208
  PLATFORMS
190
209
  ruby
191
210
 
192
211
  DEPENDENCIES
212
+ appraisal
213
+ fivemat
193
214
  g2_command!
194
215
  pry
195
216
  rails
196
217
  rake (~> 12.0)
197
218
  rspec (~> 3.0)
198
- rubocop
199
- rubocop-rspec
219
+ rspec_junit_formatter
220
+ rubocop-g2
200
221
  simplecov (= 0.16.1)
201
222
 
202
223
  BUNDLED WITH