lolcommits 0.17.2 → 0.18.0
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 +4 -4
- data/.rubocop.yml +309 -9
- data/README.md +14 -26
- data/bin/lolcommits +2 -12
- data/lib/core_ext/mercurial-ruby/changed_file.rb +1 -3
- data/lib/core_ext/mercurial-ruby/command.rb +2 -4
- data/lib/core_ext/mercurial-ruby/config_file.rb +0 -2
- data/lib/core_ext/mercurial-ruby/repository.rb +0 -2
- data/lib/core_ext/mercurial-ruby/shell.rb +1 -3
- data/lib/lolcommits/animated_gif.rb +12 -7
- data/lib/lolcommits/backends/git_info.rb +6 -8
- data/lib/lolcommits/backends/installation_git.rb +8 -10
- data/lib/lolcommits/backends/installation_mercurial.rb +8 -10
- data/lib/lolcommits/backends/mercurial_info.rb +9 -11
- data/lib/lolcommits/capturer/capture_cygwin.rb +0 -2
- data/lib/lolcommits/capturer/capture_fake.rb +2 -4
- data/lib/lolcommits/capturer/capture_linux.rb +4 -6
- data/lib/lolcommits/capturer/capture_linux_video.rb +1 -3
- data/lib/lolcommits/capturer/capture_mac.rb +2 -4
- data/lib/lolcommits/capturer/capture_mac_video.rb +1 -3
- data/lib/lolcommits/capturer/capture_windows.rb +2 -4
- data/lib/lolcommits/capturer/capture_windows_video.rb +5 -7
- data/lib/lolcommits/capturer.rb +9 -12
- data/lib/lolcommits/cli/fatals.rb +11 -16
- data/lib/lolcommits/cli/launcher.rb +1 -3
- data/lib/lolcommits/cli/process_runner.rb +2 -4
- data/lib/lolcommits/cli/timelapse_gif.rb +11 -11
- data/lib/lolcommits/cli.rb +6 -6
- data/lib/lolcommits/configuration.rb +32 -36
- data/lib/lolcommits/gem_plugin.rb +5 -7
- data/lib/lolcommits/installation.rb +5 -7
- data/lib/lolcommits/platform.rb +14 -18
- data/lib/lolcommits/plugin/base.rb +4 -8
- data/lib/lolcommits/plugin/configuration_helper.rb +4 -6
- data/lib/lolcommits/plugin_manager.rb +1 -3
- data/lib/lolcommits/runner.rb +21 -24
- data/lib/lolcommits/test_helpers/fake_io.rb +0 -2
- data/lib/lolcommits/test_helpers/git_repo.rb +3 -5
- data/lib/lolcommits/vcs_info.rb +2 -4
- data/lib/lolcommits/version.rb +1 -3
- data/lib/lolcommits.rb +26 -30
- metadata +42 -83
- data/.gitattributes +0 -1
- data/.github/workflows/build.yml +0 -64
- data/.github/workflows/push_gem.yml +0 -25
- data/.gitignore +0 -15
- data/.rubocop_todo.yml +0 -97
- data/.travis.yml +0 -45
- data/CHANGELOG.md +0 -637
- data/CODE_OF_CONDUCT.md +0 -73
- data/CONTRIBUTING.md +0 -44
- data/Gemfile +0 -4
- data/PULL_REQUEST_TEMPLATE.md +0 -16
- data/Rakefile +0 -53
- data/bin/console +0 -12
- data/features/bugs.feature +0 -52
- data/features/lolcommits.feature +0 -376
- data/features/step_definitions/lolcommits_steps.rb +0 -238
- data/features/support/env.rb +0 -56
- data/features/support/path_helpers.rb +0 -38
- data/lolcommits.gemspec +0 -62
- data/test/assets/test_image.jpg +0 -0
- data/test/assets/test_video.mp4 +0 -0
- data/test/images/test_image.jpg +0 -0
- data/test/permissions_test.rb +0 -19
- data/test/test_helper.rb +0 -4
metadata
CHANGED
@@ -1,130 +1,129 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lolcommits
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Rothenberg
|
8
8
|
- Matthew Hutchinson
|
9
|
-
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2025-02-15 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
14
|
+
name: base64
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
16
|
requirements:
|
18
|
-
- - "
|
17
|
+
- - ">="
|
19
18
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
19
|
+
version: '0'
|
21
20
|
type: :runtime
|
22
21
|
prerelease: false
|
23
22
|
version_requirements: !ruby/object:Gem::Requirement
|
24
23
|
requirements:
|
25
|
-
- - "
|
24
|
+
- - ">="
|
26
25
|
- !ruby/object:Gem::Version
|
27
|
-
version:
|
26
|
+
version: '0'
|
28
27
|
- !ruby/object:Gem::Dependency
|
29
|
-
name:
|
28
|
+
name: git
|
30
29
|
requirement: !ruby/object:Gem::Requirement
|
31
30
|
requirements:
|
32
31
|
- - "~>"
|
33
32
|
- !ruby/object:Gem::Version
|
34
|
-
version:
|
33
|
+
version: 2.3.3
|
35
34
|
type: :runtime
|
36
35
|
prerelease: false
|
37
36
|
version_requirements: !ruby/object:Gem::Requirement
|
38
37
|
requirements:
|
39
38
|
- - "~>"
|
40
39
|
- !ruby/object:Gem::Version
|
41
|
-
version:
|
40
|
+
version: 2.3.3
|
42
41
|
- !ruby/object:Gem::Dependency
|
43
|
-
name:
|
42
|
+
name: launchy
|
44
43
|
requirement: !ruby/object:Gem::Requirement
|
45
44
|
requirements:
|
46
45
|
- - "~>"
|
47
46
|
- !ruby/object:Gem::Version
|
48
|
-
version:
|
47
|
+
version: 3.0.1
|
49
48
|
type: :runtime
|
50
49
|
prerelease: false
|
51
50
|
version_requirements: !ruby/object:Gem::Requirement
|
52
51
|
requirements:
|
53
52
|
- - "~>"
|
54
53
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
54
|
+
version: 3.0.1
|
56
55
|
- !ruby/object:Gem::Dependency
|
57
|
-
name:
|
56
|
+
name: logger
|
58
57
|
requirement: !ruby/object:Gem::Requirement
|
59
58
|
requirements:
|
60
|
-
- - "
|
59
|
+
- - ">="
|
61
60
|
- !ruby/object:Gem::Version
|
62
|
-
version:
|
61
|
+
version: '0'
|
63
62
|
type: :runtime
|
64
63
|
prerelease: false
|
65
64
|
version_requirements: !ruby/object:Gem::Requirement
|
66
65
|
requirements:
|
67
|
-
- - "
|
66
|
+
- - ">="
|
68
67
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
68
|
+
version: '0'
|
70
69
|
- !ruby/object:Gem::Dependency
|
71
|
-
name:
|
70
|
+
name: mercurial-ruby
|
72
71
|
requirement: !ruby/object:Gem::Requirement
|
73
72
|
requirements:
|
74
73
|
- - "~>"
|
75
74
|
- !ruby/object:Gem::Version
|
76
|
-
version:
|
75
|
+
version: 0.7.12
|
77
76
|
type: :runtime
|
78
77
|
prerelease: false
|
79
78
|
version_requirements: !ruby/object:Gem::Requirement
|
80
79
|
requirements:
|
81
80
|
- - "~>"
|
82
81
|
- !ruby/object:Gem::Version
|
83
|
-
version:
|
82
|
+
version: 0.7.12
|
84
83
|
- !ruby/object:Gem::Dependency
|
85
|
-
name:
|
84
|
+
name: mini_magick
|
86
85
|
requirement: !ruby/object:Gem::Requirement
|
87
86
|
requirements:
|
88
87
|
- - "~>"
|
89
88
|
- !ruby/object:Gem::Version
|
90
|
-
version:
|
89
|
+
version: 5.0.1
|
91
90
|
type: :runtime
|
92
91
|
prerelease: false
|
93
92
|
version_requirements: !ruby/object:Gem::Requirement
|
94
93
|
requirements:
|
95
94
|
- - "~>"
|
96
95
|
- !ruby/object:Gem::Version
|
97
|
-
version:
|
96
|
+
version: 5.0.1
|
98
97
|
- !ruby/object:Gem::Dependency
|
99
|
-
name:
|
98
|
+
name: open4
|
100
99
|
requirement: !ruby/object:Gem::Requirement
|
101
100
|
requirements:
|
102
|
-
- - "
|
101
|
+
- - "~>"
|
103
102
|
- !ruby/object:Gem::Version
|
104
|
-
version:
|
103
|
+
version: 1.3.4
|
105
104
|
type: :runtime
|
106
105
|
prerelease: false
|
107
106
|
version_requirements: !ruby/object:Gem::Requirement
|
108
107
|
requirements:
|
109
|
-
- - "
|
108
|
+
- - "~>"
|
110
109
|
- !ruby/object:Gem::Version
|
111
|
-
version:
|
110
|
+
version: 1.3.4
|
112
111
|
- !ruby/object:Gem::Dependency
|
113
|
-
name:
|
112
|
+
name: optparse-plus
|
114
113
|
requirement: !ruby/object:Gem::Requirement
|
115
114
|
requirements:
|
116
|
-
- - "
|
115
|
+
- - "~>"
|
117
116
|
- !ruby/object:Gem::Version
|
118
|
-
version:
|
117
|
+
version: 3.0.1
|
119
118
|
type: :runtime
|
120
119
|
prerelease: false
|
121
120
|
version_requirements: !ruby/object:Gem::Requirement
|
122
121
|
requirements:
|
123
|
-
- - "
|
122
|
+
- - "~>"
|
124
123
|
- !ruby/object:Gem::Version
|
125
|
-
version:
|
124
|
+
version: 3.0.1
|
126
125
|
- !ruby/object:Gem::Dependency
|
127
|
-
name:
|
126
|
+
name: ostruct
|
128
127
|
requirement: !ruby/object:Gem::Requirement
|
129
128
|
requirements:
|
130
129
|
- - ">="
|
@@ -166,21 +165,7 @@ dependencies:
|
|
166
165
|
- !ruby/object:Gem::Version
|
167
166
|
version: '0'
|
168
167
|
- !ruby/object:Gem::Dependency
|
169
|
-
name:
|
170
|
-
requirement: !ruby/object:Gem::Requirement
|
171
|
-
requirements:
|
172
|
-
- - ">="
|
173
|
-
- !ruby/object:Gem::Version
|
174
|
-
version: '0'
|
175
|
-
type: :development
|
176
|
-
prerelease: false
|
177
|
-
version_requirements: !ruby/object:Gem::Requirement
|
178
|
-
requirements:
|
179
|
-
- - ">="
|
180
|
-
- !ruby/object:Gem::Version
|
181
|
-
version: '0'
|
182
|
-
- !ruby/object:Gem::Dependency
|
183
|
-
name: rdoc
|
168
|
+
name: debug
|
184
169
|
requirement: !ruby/object:Gem::Requirement
|
185
170
|
requirements:
|
186
171
|
- - ">="
|
@@ -194,7 +179,7 @@ dependencies:
|
|
194
179
|
- !ruby/object:Gem::Version
|
195
180
|
version: '0'
|
196
181
|
- !ruby/object:Gem::Dependency
|
197
|
-
name:
|
182
|
+
name: ffaker
|
198
183
|
requirement: !ruby/object:Gem::Requirement
|
199
184
|
requirements:
|
200
185
|
- - ">="
|
@@ -208,7 +193,7 @@ dependencies:
|
|
208
193
|
- !ruby/object:Gem::Version
|
209
194
|
version: '0'
|
210
195
|
- !ruby/object:Gem::Dependency
|
211
|
-
name:
|
196
|
+
name: minitest
|
212
197
|
requirement: !ruby/object:Gem::Requirement
|
213
198
|
requirements:
|
214
199
|
- - ">="
|
@@ -222,7 +207,7 @@ dependencies:
|
|
222
207
|
- !ruby/object:Gem::Version
|
223
208
|
version: '0'
|
224
209
|
- !ruby/object:Gem::Dependency
|
225
|
-
name:
|
210
|
+
name: rake
|
226
211
|
requirement: !ruby/object:Gem::Requirement
|
227
212
|
requirements:
|
228
213
|
- - ">="
|
@@ -236,7 +221,7 @@ dependencies:
|
|
236
221
|
- !ruby/object:Gem::Version
|
237
222
|
version: '0'
|
238
223
|
- !ruby/object:Gem::Dependency
|
239
|
-
name:
|
224
|
+
name: rdoc
|
240
225
|
requirement: !ruby/object:Gem::Requirement
|
241
226
|
requirements:
|
242
227
|
- - ">="
|
@@ -261,28 +246,10 @@ executables:
|
|
261
246
|
extensions: []
|
262
247
|
extra_rdoc_files: []
|
263
248
|
files:
|
264
|
-
- ".gitattributes"
|
265
|
-
- ".github/workflows/build.yml"
|
266
|
-
- ".github/workflows/push_gem.yml"
|
267
|
-
- ".gitignore"
|
268
249
|
- ".rubocop.yml"
|
269
|
-
- ".rubocop_todo.yml"
|
270
|
-
- ".travis.yml"
|
271
|
-
- CHANGELOG.md
|
272
|
-
- CODE_OF_CONDUCT.md
|
273
|
-
- CONTRIBUTING.md
|
274
|
-
- Gemfile
|
275
250
|
- LICENSE
|
276
|
-
- PULL_REQUEST_TEMPLATE.md
|
277
251
|
- README.md
|
278
|
-
- Rakefile
|
279
|
-
- bin/console
|
280
252
|
- bin/lolcommits
|
281
|
-
- features/bugs.feature
|
282
|
-
- features/lolcommits.feature
|
283
|
-
- features/step_definitions/lolcommits_steps.rb
|
284
|
-
- features/support/env.rb
|
285
|
-
- features/support/path_helpers.rb
|
286
253
|
- lib/core_ext/mercurial-ruby/changed_file.rb
|
287
254
|
- lib/core_ext/mercurial-ruby/command.rb
|
288
255
|
- lib/core_ext/mercurial-ruby/config_file.rb
|
@@ -320,19 +287,12 @@ files:
|
|
320
287
|
- lib/lolcommits/test_helpers/git_repo.rb
|
321
288
|
- lib/lolcommits/vcs_info.rb
|
322
289
|
- lib/lolcommits/version.rb
|
323
|
-
- lolcommits.gemspec
|
324
|
-
- test/assets/test_image.jpg
|
325
|
-
- test/assets/test_video.mp4
|
326
|
-
- test/images/test_image.jpg
|
327
|
-
- test/permissions_test.rb
|
328
|
-
- test/test_helper.rb
|
329
290
|
- vendor/ext/CommandCam/COPYING
|
330
291
|
- vendor/ext/CommandCam/CommandCam.exe
|
331
292
|
- vendor/ext/CommandCam/LICENSE
|
332
293
|
- vendor/ext/imagesnap/ReadMeOrDont.rtf
|
333
294
|
- vendor/ext/imagesnap/imagesnap
|
334
295
|
- vendor/ext/videosnap/videosnap
|
335
|
-
homepage:
|
336
296
|
licenses:
|
337
297
|
- LGPL-3.0
|
338
298
|
metadata:
|
@@ -341,7 +301,7 @@ metadata:
|
|
341
301
|
changelog_uri: https://github.com/lolcommits/lolcommits/blob/master/CHANGELOG.md
|
342
302
|
bug_tracker_uri: https://github.com/lolcommits/lolcommits/issues
|
343
303
|
allowed_push_host: https://rubygems.org
|
344
|
-
|
304
|
+
rubygems_mfa_required: 'true'
|
345
305
|
rdoc_options: []
|
346
306
|
require_paths:
|
347
307
|
- lib
|
@@ -358,8 +318,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
358
318
|
requirements:
|
359
319
|
- imagemagick
|
360
320
|
- a webcam
|
361
|
-
rubygems_version: 3.
|
362
|
-
signing_key:
|
321
|
+
rubygems_version: 3.6.2
|
363
322
|
specification_version: 4
|
364
323
|
summary: Capture webcam image on git commit for lulz.
|
365
324
|
test_files: []
|
data/.gitattributes
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
* text=auto
|
data/.github/workflows/build.yml
DELETED
@@ -1,64 +0,0 @@
|
|
1
|
-
name: Tests, features and style
|
2
|
-
|
3
|
-
on:
|
4
|
-
push:
|
5
|
-
branches: [ "main" ]
|
6
|
-
pull_request:
|
7
|
-
branches: [ "main" ]
|
8
|
-
|
9
|
-
permissions:
|
10
|
-
contents: read
|
11
|
-
|
12
|
-
jobs:
|
13
|
-
test:
|
14
|
-
runs-on: ubuntu-latest
|
15
|
-
steps:
|
16
|
-
- uses: actions/checkout@v4
|
17
|
-
- name: Set up Ruby
|
18
|
-
uses: ruby/setup-ruby@v1
|
19
|
-
with:
|
20
|
-
ruby-version: '3.4'
|
21
|
-
bundler-cache: true
|
22
|
-
- name: Run tests
|
23
|
-
run: bundle exec rake test
|
24
|
-
rubocop:
|
25
|
-
runs-on: ubuntu-latest
|
26
|
-
steps:
|
27
|
-
- uses: actions/checkout@v4
|
28
|
-
- name: Set up Ruby
|
29
|
-
uses: ruby/setup-ruby@v1
|
30
|
-
with:
|
31
|
-
ruby-version: '3.4'
|
32
|
-
bundler-cache: true
|
33
|
-
- name: Run rubocop
|
34
|
-
run: bundle exec rake rubocop
|
35
|
-
features:
|
36
|
-
runs-on: ubuntu-latest
|
37
|
-
strategy:
|
38
|
-
fail-fast: false
|
39
|
-
matrix:
|
40
|
-
ruby-version: ['3.1', '3.2', '3.3', '3.4']
|
41
|
-
steps:
|
42
|
-
- uses: actions/checkout@v4
|
43
|
-
- name: Set up Ruby
|
44
|
-
uses: ruby/setup-ruby@v1
|
45
|
-
with:
|
46
|
-
ruby-version: ${{ matrix.ruby-version }}
|
47
|
-
bundler-cache: true
|
48
|
-
- name: Set up imagemagick
|
49
|
-
uses: mfinelli/setup-imagemagick@v5
|
50
|
-
with:
|
51
|
-
cache: true
|
52
|
-
- name: Set up ffmpeg
|
53
|
-
uses: FedericoCarboni/setup-ffmpeg@v3
|
54
|
-
- name: Set up mplayer
|
55
|
-
run: sudo apt-get install -y mplayer
|
56
|
-
- name: Configure git user name, email
|
57
|
-
run: |
|
58
|
-
git config user.name $NAME
|
59
|
-
git config user.email $EMAIL
|
60
|
-
env:
|
61
|
-
NAME: "George Costanza"
|
62
|
-
EMAIL: "george.costanza@vandelay.com"
|
63
|
-
- name: Run cucumber features
|
64
|
-
run: bundle exec rake features
|
@@ -1,25 +0,0 @@
|
|
1
|
-
name: Publish gem to RubyGems.org
|
2
|
-
|
3
|
-
on:
|
4
|
-
push:
|
5
|
-
tags:
|
6
|
-
- v*
|
7
|
-
|
8
|
-
jobs:
|
9
|
-
push:
|
10
|
-
name: Push gem to RubyGems.org
|
11
|
-
runs-on: ubuntu-latest
|
12
|
-
|
13
|
-
permissions:
|
14
|
-
id-token: write
|
15
|
-
contents: write
|
16
|
-
|
17
|
-
steps:
|
18
|
-
- uses: actions/checkout@v4
|
19
|
-
- name: Set up Ruby
|
20
|
-
uses: ruby/setup-ruby@v1
|
21
|
-
with:
|
22
|
-
bundler-cache: true
|
23
|
-
ruby-version: ruby
|
24
|
-
|
25
|
-
- uses: rubygems/release-gem@v1
|
data/.gitignore
DELETED
data/.rubocop_todo.yml
DELETED
@@ -1,97 +0,0 @@
|
|
1
|
-
# This configuration was generated by
|
2
|
-
# `rubocop --auto-gen-config`
|
3
|
-
# on 2023-05-14 21:38:57 UTC using RuboCop version 1.50.2.
|
4
|
-
# The point is for the user to remove these configuration records
|
5
|
-
# one by one as the offenses are removed from the code base.
|
6
|
-
# Note that changes in the inspected code, or installation of new
|
7
|
-
# versions of RuboCop, may require this file to be generated again.
|
8
|
-
|
9
|
-
# Offense count: 1
|
10
|
-
# This cop supports safe autocorrection (--autocorrect).
|
11
|
-
Layout/HeredocIndentation:
|
12
|
-
Exclude:
|
13
|
-
- 'lib/lolcommits/backends/installation_git.rb'
|
14
|
-
|
15
|
-
# Offense count: 1
|
16
|
-
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
17
|
-
Lint/AmbiguousBlockAssociation:
|
18
|
-
Exclude:
|
19
|
-
- 'lib/lolcommits/cli/process_runner.rb'
|
20
|
-
|
21
|
-
# Offense count: 15
|
22
|
-
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
|
23
|
-
Metrics/AbcSize:
|
24
|
-
Max: 33
|
25
|
-
|
26
|
-
# Offense count: 2
|
27
|
-
# Configuration parameters: CountComments, CountAsOne.
|
28
|
-
Metrics/ClassLength:
|
29
|
-
Max: 144
|
30
|
-
|
31
|
-
# Offense count: 5
|
32
|
-
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
33
|
-
Metrics/CyclomaticComplexity:
|
34
|
-
Max: 10
|
35
|
-
|
36
|
-
# Offense count: 20
|
37
|
-
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
|
38
|
-
Metrics/MethodLength:
|
39
|
-
Max: 24
|
40
|
-
|
41
|
-
# Offense count: 5
|
42
|
-
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
43
|
-
Metrics/PerceivedComplexity:
|
44
|
-
Max: 10
|
45
|
-
|
46
|
-
# Offense count: 26
|
47
|
-
# Configuration parameters: AllowedConstants.
|
48
|
-
Style/Documentation:
|
49
|
-
Enabled: false
|
50
|
-
|
51
|
-
# Offense count: 6
|
52
|
-
# This cop supports safe autocorrection (--autocorrect).
|
53
|
-
# Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
|
54
|
-
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
|
55
|
-
# SupportedShorthandSyntax: always, never, either, consistent
|
56
|
-
Style/HashSyntax:
|
57
|
-
Exclude:
|
58
|
-
- 'lib/lolcommits/gem_plugin.rb'
|
59
|
-
- 'lib/lolcommits/runner.rb'
|
60
|
-
|
61
|
-
# Offense count: 1
|
62
|
-
# This cop supports unsafe autocorrection (--autocorrect-all).
|
63
|
-
Style/MapToHash:
|
64
|
-
Exclude:
|
65
|
-
- 'lib/lolcommits/plugin/base.rb'
|
66
|
-
|
67
|
-
# Offense count: 2
|
68
|
-
Style/MixinUsage:
|
69
|
-
Exclude:
|
70
|
-
- 'Rakefile'
|
71
|
-
- 'features/support/env.rb'
|
72
|
-
|
73
|
-
# Offense count: 5
|
74
|
-
# This cop supports safe autocorrection (--autocorrect).
|
75
|
-
# Configuration parameters: PreferredDelimiters.
|
76
|
-
Style/PercentLiteralDelimiters:
|
77
|
-
Exclude:
|
78
|
-
- 'Rakefile'
|
79
|
-
- 'features/support/path_helpers.rb'
|
80
|
-
- 'lib/lolcommits/backends/installation_mercurial.rb'
|
81
|
-
- 'lib/lolcommits/cli/fatals.rb'
|
82
|
-
- 'lib/lolcommits/installation.rb'
|
83
|
-
|
84
|
-
# Offense count: 2
|
85
|
-
# This cop supports safe autocorrection (--autocorrect).
|
86
|
-
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
87
|
-
# SupportedStyles: single_quotes, double_quotes
|
88
|
-
Style/StringLiterals:
|
89
|
-
Exclude:
|
90
|
-
- 'lib/lolcommits/version.rb'
|
91
|
-
|
92
|
-
# Offense count: 16
|
93
|
-
# This cop supports safe autocorrection (--autocorrect).
|
94
|
-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
|
95
|
-
# URISchemes: http, https
|
96
|
-
Layout/LineLength:
|
97
|
-
Max: 192
|
data/.travis.yml
DELETED
@@ -1,45 +0,0 @@
|
|
1
|
-
sudo: false
|
2
|
-
language: ruby
|
3
|
-
cache: bundler
|
4
|
-
rvm:
|
5
|
-
- 2.4.10
|
6
|
-
- 2.5.9
|
7
|
-
- 2.6.7
|
8
|
-
- 2.7.3
|
9
|
-
- 3.0.1
|
10
|
-
- ruby-head
|
11
|
-
|
12
|
-
matrix:
|
13
|
-
allow_failures:
|
14
|
-
- rvm: ruby-head
|
15
|
-
|
16
|
-
before_install:
|
17
|
-
# stub mplayer/ffmpeg so it looks like they are installed
|
18
|
-
- mkdir -p ~/bin
|
19
|
-
- touch ~/bin/mplayer ~/bin/ffmpeg
|
20
|
-
- chmod +x ~/bin/mplayer ~/bin/ffmpeg
|
21
|
-
- export PATH=~/bin:$PATH
|
22
|
-
- git --version
|
23
|
-
|
24
|
-
notifications:
|
25
|
-
slack:
|
26
|
-
secure: BkGsQOYMJqW55j94S1QwmR17BkwuTIULKVhwzRdnv37BvVcC17y9KLMo8NH+bcao36XZx9DukXcTyaDQc6tCSlFEbG/FcPUJM8bx9EWjHUoGVg1KdpVu/nVHu+GKosrB41lM3nfJWCnF0TOSnmTXU+bV8Pwkij+L5X+gNyAT2Ns=
|
27
|
-
|
28
|
-
deploy:
|
29
|
-
provider: rubygems
|
30
|
-
api_key:
|
31
|
-
secure: Y7FFOMDahITtHYRV3UQAw+BA2JbqoArN/Ii9PUTU6RaLmTIvpZBzqtvR3r8ah3SdXNh0Cx10gVf0pRc6HXKTNQdwMWCkOQwukAb+9kLDKFxl3x+w4X2u6yWmtsyNMTWK1gF4hEF1IHnsdg2dYEoFfE2M5bHex85ND/Q6820sPa8=
|
32
|
-
gem: lolcommits
|
33
|
-
on:
|
34
|
-
tags: true
|
35
|
-
repo: lolcommits/lolcommits
|
36
|
-
|
37
|
-
env:
|
38
|
-
global:
|
39
|
-
- CC_TEST_REPORTER_ID=6170a470c98ca6537e4c19848d4d4201dbb1eff1960ba7fee1a278d91b9fb1f1
|
40
|
-
before_script:
|
41
|
-
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
42
|
-
- chmod +x ./cc-test-reporter
|
43
|
-
- ./cc-test-reporter before-build
|
44
|
-
after_script:
|
45
|
-
- ./cc-test-reporter after-build
|