lolcommits 0.17.2 → 0.17.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/{build.yml → ci.yml} +29 -24
- data/.gitignore +2 -0
- data/.quickhook/pre-commit/ruby-lint +3 -0
- data/.rubocop.yml +309 -9
- data/CHANGELOG.md +45 -234
- data/CODE_OF_CONDUCT.md +10 -12
- data/Gemfile +4 -2
- data/README.md +14 -26
- data/Rakefile +11 -48
- data/bin/cucumber +25 -0
- data/bin/lolcommits +2 -12
- data/bin/rubocop +25 -0
- data/features/step_definitions/lolcommits_steps.rb +0 -2
- data/features/support/env.rb +1 -3
- data/features/support/path_helpers.rb +2 -4
- 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 +7 -9
- 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 +16 -21
- 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
- data/lolcommits.gemspec +23 -24
- data/test/permissions_test.rb +7 -9
- data/test/test_helper.rb +2 -4
- metadata +62 -53
- data/.gitattributes +0 -1
- data/.github/workflows/push_gem.yml +0 -25
- data/.rubocop_todo.yml +0 -97
- data/.travis.yml +0 -45
- data/bin/console +0 -12
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,18 @@ This project adheres to [Semantic Versioning][Semver].
|
|
7
7
|
|
8
8
|
* Your contribution here!
|
9
9
|
|
10
|
+
## [0.17.3][] (18 Jan 2025)
|
11
|
+
* Truncate CHANGELOG
|
12
|
+
* Update Github CI workflows
|
13
|
+
* Bump Ruby in CI
|
14
|
+
* Refresh rubocop rules with omakase Rails rules (minus the Rails stuff)
|
15
|
+
* Appease all rubocop rules
|
16
|
+
* Update README
|
17
|
+
* Remove unused files
|
18
|
+
* Use bundler for gem pushing (not GH)
|
19
|
+
* Remove frozen_string_literal: true magic comment
|
20
|
+
* Use MiniMagick instead of shell cmd for animated gifs
|
21
|
+
|
10
22
|
## [0.17.2][] (22 Sep 2024)
|
11
23
|
* Change plugin testing helper to use /tmp for test repo path
|
12
24
|
|
@@ -108,7 +120,7 @@ This project adheres to [Semantic Versioning][Semver].
|
|
108
120
|
- update all remaining gem dependencies (incl. Aruba, Cucumber)
|
109
121
|
- remove @unstable tag from features
|
110
122
|
|
111
|
-
##
|
123
|
+
## 0.10.0 (10 January 2018)
|
112
124
|
* Plugin configuration changes (@matthutchinson [#365][])
|
113
125
|
- `--plugins` now shows if plugin is enabled or not
|
114
126
|
- `default_options` now available, nested hash with default values
|
@@ -116,7 +128,7 @@ This project adheres to [Semantic Versioning][Semver].
|
|
116
128
|
- `prompt_autocomplete_hash` helper method added
|
117
129
|
* Better plugin config flow (@matthutchinson [#363][])
|
118
130
|
|
119
|
-
##
|
131
|
+
## 0.9.8 (3 December 2017)
|
120
132
|
* Extract protonet to gem (@matthutchinson [#361][])
|
121
133
|
* Extract flowdock to gem (@matthutchinson [#360][])
|
122
134
|
* Extract yammer to gem (@matthutchinson [#359][])
|
@@ -125,99 +137,99 @@ This project adheres to [Semantic Versioning][Semver].
|
|
125
137
|
* Extract term_output to gem (@matthutchinson [#356][])
|
126
138
|
* Add Ruby 2.4.2 to Travis config (@matthutchinson)
|
127
139
|
|
128
|
-
##
|
140
|
+
## 0.9.7 (17 September 2017)
|
129
141
|
* Extract dotcom to gem (@matthutchinson [#355][])
|
130
142
|
* Extract uploldz to gem (@matthutchinson [#354][])
|
131
143
|
* Extract lolsrv to gem (@matthutchinson [#353][])
|
132
144
|
|
133
|
-
##
|
145
|
+
## 0.9.6 (28 August 2017)
|
134
146
|
* Clean legacy plugin methods (@matthutchinson [#348][])
|
135
147
|
* Extract Slack Plugin to gem (@matthutchinson [#349][])
|
136
148
|
* Fix Windows install hook (@matthutchinson)
|
137
149
|
* Animated capturing for Windows via ffmpeg (@freehugs [#351][])
|
138
150
|
* Pin `public_suffix` gem version (@matthutchinson [#352][])
|
139
151
|
|
140
|
-
##
|
152
|
+
## 0.9.5 (21 July 2017)
|
141
153
|
* Extract Twitter Plugin / refactor Plugin::Base (@matthutchinson [#347][])
|
142
154
|
|
143
|
-
##
|
155
|
+
## 0.9.4 (17 April 2017)
|
144
156
|
* Add captureready plugin hook (@matthutchinson [#342][])
|
145
157
|
* README changes (@mroth [#341][])
|
146
158
|
* Extract tranzlate plugin to gem (@matthutchinson [#340][])
|
147
159
|
* Extract loltext plugin to gem (@matthutchinson [#339][])
|
148
160
|
|
149
|
-
##
|
161
|
+
## 0.9.3 (5 April 2017)
|
150
162
|
* LOLCOMMITS_CAPTURE_DISABLED env var (@williamboman [#338][])
|
151
163
|
* Plugin Manager and Gem plugin support (@matthutchinson [#332][])
|
152
164
|
* Add North gravity for ImageMagick (@domudall [#331][])
|
153
165
|
* remove Ruby 1.9 magic comments (@matthutchinson [#330][])
|
154
166
|
* add links to PRs in CHANGELOG (@bfontaine [#329][])
|
155
167
|
|
156
|
-
##
|
168
|
+
## 0.9.2 (3 January 2017)
|
157
169
|
* Remove twitter gem, fixes Ruby 2.4 issues (@matthutchinson [#328][])
|
158
170
|
|
159
|
-
##
|
171
|
+
## 0.9.1 (20 December 2016)
|
160
172
|
* Remove Choice gem, use Methadone (@matthutchinson [#326][])
|
161
173
|
|
162
|
-
##
|
174
|
+
## 0.9.0 (14 December 2016)
|
163
175
|
* ditch ruby 1.9 support and upgrade some gems (@matthutchinson [#325][])
|
164
176
|
* term_output plugin added (iTerm2 only) (@ruxton [#323][])
|
165
177
|
|
166
|
-
##
|
178
|
+
## 0.8.1 (11 October 2016)
|
167
179
|
* **last release supporting Ruby < 2.0**
|
168
180
|
* shebang fix in installer (@matthutchinson [#317][])
|
169
181
|
* FlowDock plugin (@mikecrittenden [#318][])
|
170
182
|
* HipChat plugin (@Salzig [#320][])
|
171
183
|
* peg gems for legacy ruby 1.9.3 (@matthutchinson [#321][])
|
172
184
|
|
173
|
-
##
|
185
|
+
## 0.8.0 (13 July 2016)
|
174
186
|
* New release requires Ruby 1.9.3+ minimum (@matthutchinson [#313][])
|
175
187
|
* All gems upgraded to latest versions (6 held back, see lolcommits.gemspec)
|
176
188
|
* See [this issue](https://github.com/lolcommits/lolcommits/issues/310) for details
|
177
189
|
|
178
|
-
##
|
190
|
+
## 0.7.0 (13 July 2016)
|
179
191
|
* **last release supporting Ruby < 1.9.3** (@matthutchinson [#313][])
|
180
192
|
|
181
|
-
##
|
193
|
+
## 0.6.7 (8 June 2016)
|
182
194
|
* Remove `console` binary from packaged gem (@samgranieri [#309][])
|
183
195
|
|
184
|
-
##
|
196
|
+
## 0.6.6 (1 June 2016)
|
185
197
|
* Show error/exit when --config outside a git repo (@matthutchinson [#308][])
|
186
198
|
* Add more options to loltext plugin (@ruxton [#304][])
|
187
199
|
* Added CODE_OF_CONDUCT.md to repo (@matthutchinson)
|
188
200
|
* Added a useful `console` binary for development and debugging (@matthutchinson)
|
189
201
|
|
190
|
-
##
|
202
|
+
## 0.6.5 (12 April 2016)
|
191
203
|
* Add mercurial support (@tak [#301][] [#302][] [#303][])
|
192
204
|
|
193
|
-
##
|
205
|
+
## 0.6.4 (15 March 2016)
|
194
206
|
* Add quotes to correctly handle paths with spaces (@matthutchinson [#298][])
|
195
207
|
|
196
|
-
##
|
208
|
+
## 0.6.3 (14 March 2016)
|
197
209
|
* Add quotes to correctly handle paths with spaces (@pedrocunha [#296][])
|
198
210
|
* Added plugin config path to output (@KrauseFx [#294][])
|
199
211
|
|
200
|
-
##
|
212
|
+
## 0.6.2 (21 February 2016)
|
201
213
|
* Avoid invoking ruby if in a rebase (@jhawthorn [#286][])
|
202
214
|
* Slow gif problem on mac (@a06kin [#289][])
|
203
215
|
* Peg RuboCop gem to 0.37.2 and fix cop issues (@matthutchinson [#292][])
|
204
216
|
|
205
|
-
##
|
217
|
+
## 0.6.1 (16 September 2015)
|
206
218
|
* Optional http auth header user/password in uploldz plugin (@felixroos [#283][])
|
207
219
|
* Slack plugin added (@yasakbulut [#284][])
|
208
220
|
* Updated rubies in Travis settings (@matthutchinson)
|
209
221
|
* Fixed README badge URLS (@matthutchinson)
|
210
222
|
|
211
|
-
##
|
223
|
+
## 0.6.0 (27 July 2015)
|
212
224
|
* Configurable text options for loltext plugin (@matthutchinson [#282][])
|
213
225
|
* Working AppVeyor configuration added (@nysthee [#280][])
|
214
226
|
* Tumblr plugin (@mveytsman [#279][])
|
215
227
|
* CHANGELOG (this file) now in markdown format (@matthutchinson)
|
216
228
|
|
217
|
-
##
|
229
|
+
## 0.5.9 (24 April 2015)
|
218
230
|
* Fix windows post commit hook path (@matthutchinson [#278][])
|
219
231
|
|
220
|
-
##
|
232
|
+
## 0.5.8 (22 April 2015)
|
221
233
|
* Fix Windows MiniMagick issue (@matthutchinson [#276][])
|
222
234
|
* Rubocop code clean ups (@nysthee [#272][])
|
223
235
|
* Fix gem issues on earlier Ruby versions ([#270][])
|
@@ -228,14 +240,14 @@ This project adheres to [Semantic Versioning][Semver].
|
|
228
240
|
* lol_protonet plugin added (@salzig [#251][])
|
229
241
|
* Allow local plugins in $LOLCOMMITS_DIR/.plugins (@salzig [#250][])
|
230
242
|
|
231
|
-
##
|
243
|
+
## 0.5.7 (28 December 2014)
|
232
244
|
* Uploldz plugin sends more post params (@clops [#224][] @matthutchinson [#241][])
|
233
245
|
* More configurable twitter plugin (@woodrowbarlow [#207][] @matthutchinson)
|
234
246
|
* Upgrade all gems that can be, 4 held back ([#244][] @matthutchinson)
|
235
247
|
* Ruby 2.2.0 compatible ([#244][] @matthutchinson)
|
236
248
|
* Glob /dev/video for default video device (linux only) ([#246][] @Ferada)
|
237
249
|
|
238
|
-
##
|
250
|
+
## 0.5.6 (24 November 2014)
|
239
251
|
* Updates and clean ups on the gemspec (@mroth [#228][])
|
240
252
|
* Travis CI now includes ruby-head (@mroth [#229][])
|
241
253
|
* Improved error message for ImageMagick issues [#159][] (@matthutchinson [#233][])
|
@@ -246,7 +258,7 @@ This project adheres to [Semantic Versioning][Semver].
|
|
246
258
|
* Better failover when no snapshot created (@matthutchinson [#237][])
|
247
259
|
* Export LANG to post-commit hook, fixes GitHub client (@matthutchinson [#240][])
|
248
260
|
|
249
|
-
##
|
261
|
+
## 0.5.5 (29 September 2014)
|
250
262
|
* Animated gif capture support (@theY4Kman [#226][])
|
251
263
|
* Fix plugin config issues with user input (@matthutchinson [#225][] [#223][])
|
252
264
|
* Fix Linux FPS timing issues (@matthutchinson [#215][])
|
@@ -256,14 +268,14 @@ This project adheres to [Semantic Versioning][Semver].
|
|
256
268
|
* Explain global Git hooks how-to in README (@matthutchinson [#212][] [#112][])
|
257
269
|
* Minor improvments to Linux Capturer (@matthutchinson)
|
258
270
|
|
259
|
-
##
|
271
|
+
## 0.5.4 (13 April 2014)
|
260
272
|
* Excluded vendor/bundle from rubocop cops (@matthutchinson)
|
261
273
|
* Peg fivemat gem to ~> 1.2.1 (@mroth)
|
262
274
|
* Fix lolsrv log file issue (@matthutchinson [#202][])
|
263
275
|
* Yammer Plugin added (@mrclmvn [#160][])
|
264
276
|
* Refactor on capture options (@mroth)
|
265
277
|
|
266
|
-
##
|
278
|
+
## 0.5.3 (30 March 2014)
|
267
279
|
* Fixed permissions on CommandCam (755) for cygwin (@matthutchinson)
|
268
280
|
* Added `--devices` option, mac only for now (@matthutchinson [#183][], [#174][])
|
269
281
|
* Replace http with https in twitter plugin (@kleinschmidt [#195][])
|
@@ -274,7 +286,7 @@ This project adheres to [Semantic Versioning][Semver].
|
|
274
286
|
* Added --version (-v) flag (@bfontaine [#184][])
|
275
287
|
* Send more VCS details to lolsrv (@drewwells [#181][])
|
276
288
|
|
277
|
-
##
|
289
|
+
## 0.5.2 (5 December 2013)
|
278
290
|
* Allow lolsrv plugin to sync/upload gifs (@matthutchinson [#180][])
|
279
291
|
* Plugins refactor, can now configure themselves (@matthutchinson [#179][])
|
280
292
|
- also closes issue [#136][] and issue [#73][]
|
@@ -287,14 +299,14 @@ This project adheres to [Semantic Versioning][Semver].
|
|
287
299
|
* Improved --enable option, accepts passing arguments (@matthutchinson [#154][])
|
288
300
|
- README updated to explain enabling with options
|
289
301
|
|
290
|
-
##
|
302
|
+
## 0.5.1 (13 November 2013)
|
291
303
|
* Fix JSON gem issue [#163][] (@matthutchinson, [#171][])
|
292
304
|
* Enable image capture under Cygwin (@cwc, [#105][])
|
293
305
|
* Add Ruby PATH to post-commit hook (@matthutchinson, [#155][])
|
294
306
|
* "Stealth mode" where no notification is given (@sionide21, [#156][])
|
295
307
|
* BUGFIX: comparison error for animate (@Yabes, [#151][])
|
296
308
|
|
297
|
-
##
|
309
|
+
## 0.5.0 (10 September 2013)
|
298
310
|
* better handling of LOLCOMMITS_DELAY (thx @leewillis77, [#125][])
|
299
311
|
* LOLCOMMITS_DEVICE support on Linux (thx @EbenezerEdelman, [#139][])
|
300
312
|
* better handling of repository names (thx @drocamor and @andromedado, [#145][] and [#146][])
|
@@ -412,7 +424,8 @@ This project adheres to [Semantic Versioning][Semver].
|
|
412
424
|
reliable to not glitch.)
|
413
425
|
|
414
426
|
[Semver]: http://semver.org
|
415
|
-
[Unreleased]: https://github.com/lolcommits/lolcommits/compare/v0.17.
|
427
|
+
[Unreleased]: https://github.com/lolcommits/lolcommits/compare/v0.17.3...HEAD
|
428
|
+
[0.17.3]: https://github.com/lolcommits/lolcommits/compare/v0.17.2...v0.17.3
|
416
429
|
[0.17.2]: https://github.com/lolcommits/lolcommits/compare/v0.17.1...v0.17.2
|
417
430
|
[0.17.1]: https://github.com/lolcommits/lolcommits/compare/v0.17.0...v0.17.1
|
418
431
|
[0.17.0]: https://github.com/lolcommits/lolcommits/compare/v0.16.5...v0.17.0
|
@@ -433,205 +446,3 @@ This project adheres to [Semantic Versioning][Semver].
|
|
433
446
|
[0.12.0]: https://github.com/lolcommits/lolcommits/compare/v0.11.0...v0.12.0
|
434
447
|
[0.11.0]: https://github.com/lolcommits/lolcommits/compare/v0.10.0...v0.11.0
|
435
448
|
[0.10.0]: https://github.com/lolcommits/lolcommits/compare/v0.9.8...v0.10.0
|
436
|
-
[0.9.8]: https://github.com/lolcommits/lolcommits/compare/v0.9.7...v0.9.8
|
437
|
-
[0.9.7]: https://github.com/lolcommits/lolcommits/compare/v0.9.6...v0.9.7
|
438
|
-
[0.9.6]: https://github.com/lolcommits/lolcommits/compare/v0.9.5...v0.9.6
|
439
|
-
[0.9.5]: https://github.com/lolcommits/lolcommits/compare/v0.9.4...v0.9.5
|
440
|
-
[0.9.4]: https://github.com/lolcommits/lolcommits/compare/v0.9.3...v0.9.4
|
441
|
-
[0.9.3]: https://github.com/lolcommits/lolcommits/compare/v0.9.2...v0.9.3
|
442
|
-
[0.9.2]: https://github.com/lolcommits/lolcommits/compare/v0.9.1...v0.9.2
|
443
|
-
[0.9.1]: https://github.com/lolcommits/lolcommits/compare/v0.9.0...v0.9.1
|
444
|
-
[0.9.0]: https://github.com/lolcommits/lolcommits/compare/v0.8.1...v0.9.0
|
445
|
-
[0.8.1]: https://github.com/lolcommits/lolcommits/compare/v0.8.0...v0.8.1
|
446
|
-
[0.8.0]: https://github.com/lolcommits/lolcommits/compare/v0.7.0...v0.8.0
|
447
|
-
[0.7.0]: https://github.com/lolcommits/lolcommits/compare/v0.6.7...v0.7.0
|
448
|
-
[0.6.7]: https://github.com/lolcommits/lolcommits/compare/v0.6.6...v0.6.7
|
449
|
-
[0.6.6]: https://github.com/lolcommits/lolcommits/compare/v0.6.5...v0.6.6
|
450
|
-
[0.6.5]: https://github.com/lolcommits/lolcommits/compare/v0.6.4...v0.6.5
|
451
|
-
[0.6.4]: https://github.com/lolcommits/lolcommits/compare/v0.6.3...v0.6.4
|
452
|
-
[0.6.3]: https://github.com/lolcommits/lolcommits/compare/v0.6.2...v0.6.3
|
453
|
-
[0.6.2]: https://github.com/lolcommits/lolcommits/compare/v0.6.1...v0.6.2
|
454
|
-
[0.6.1]: https://github.com/lolcommits/lolcommits/compare/v0.6.0...v0.6.1
|
455
|
-
[0.6.0]: https://github.com/lolcommits/lolcommits/compare/v0.5.9...v0.6.0
|
456
|
-
[0.5.9]: https://github.com/lolcommits/lolcommits/compare/v0.5.8...v0.5.9
|
457
|
-
[0.5.8]: https://github.com/lolcommits/lolcommits/compare/v0.5.7...v0.5.8
|
458
|
-
[0.5.7]: https://github.com/lolcommits/lolcommits/compare/v0.5.6...v0.5.7
|
459
|
-
[0.5.6]: https://github.com/lolcommits/lolcommits/compare/v0.5.5...v0.5.6
|
460
|
-
[0.5.5]: https://github.com/lolcommits/lolcommits/compare/v0.5.4...v0.5.5
|
461
|
-
[0.5.4]: https://github.com/lolcommits/lolcommits/compare/v0.5.3...v0.5.4
|
462
|
-
[0.5.3]: https://github.com/lolcommits/lolcommits/compare/v0.5.2...v0.5.3
|
463
|
-
[0.5.2]: https://github.com/lolcommits/lolcommits/compare/v0.5.1...v0.5.2
|
464
|
-
[0.5.1]: https://github.com/lolcommits/lolcommits/compare/v0.5.0...v0.5.1
|
465
|
-
[0.5.0]: https://github.com/lolcommits/lolcommits/compare/v0.4.9...v0.5.0
|
466
|
-
[#9]: https://github.com/lolcommits/lolcommits/pull/9
|
467
|
-
[#21]: https://github.com/lolcommits/lolcommits/pull/21
|
468
|
-
[#31]: https://github.com/lolcommits/lolcommits/pull/31
|
469
|
-
[#43]: https://github.com/lolcommits/lolcommits/pull/43
|
470
|
-
[#50]: https://github.com/lolcommits/lolcommits/pull/50
|
471
|
-
[#51]: https://github.com/lolcommits/lolcommits/pull/51
|
472
|
-
[#73]: https://github.com/lolcommits/lolcommits/pull/73
|
473
|
-
[#82]: https://github.com/lolcommits/lolcommits/pull/82
|
474
|
-
[#83]: https://github.com/lolcommits/lolcommits/pull/83
|
475
|
-
[#87]: https://github.com/lolcommits/lolcommits/pull/87
|
476
|
-
[#89]: https://github.com/lolcommits/lolcommits/pull/89
|
477
|
-
[#90]: https://github.com/lolcommits/lolcommits/pull/90
|
478
|
-
[#91]: https://github.com/lolcommits/lolcommits/pull/91
|
479
|
-
[#92]: https://github.com/lolcommits/lolcommits/pull/92
|
480
|
-
[#93]: https://github.com/lolcommits/lolcommits/pull/93
|
481
|
-
[#94]: https://github.com/lolcommits/lolcommits/pull/94
|
482
|
-
[#95]: https://github.com/lolcommits/lolcommits/pull/95
|
483
|
-
[#104]: https://github.com/lolcommits/lolcommits/pull/104
|
484
|
-
[#105]: https://github.com/lolcommits/lolcommits/pull/105
|
485
|
-
[#107]: https://github.com/lolcommits/lolcommits/pull/107
|
486
|
-
[#108]: https://github.com/lolcommits/lolcommits/pull/108
|
487
|
-
[#109]: https://github.com/lolcommits/lolcommits/pull/109
|
488
|
-
[#112]: https://github.com/lolcommits/lolcommits/pull/112
|
489
|
-
[#112]: https://github.com/lolcommits/lolcommits/pull/112
|
490
|
-
[#114]: https://github.com/lolcommits/lolcommits/pull/114
|
491
|
-
[#119]: https://github.com/lolcommits/lolcommits/pull/119
|
492
|
-
[#123]: https://github.com/lolcommits/lolcommits/pull/123
|
493
|
-
[#125]: https://github.com/lolcommits/lolcommits/pull/125
|
494
|
-
[#133]: https://github.com/lolcommits/lolcommits/pull/133
|
495
|
-
[#136]: https://github.com/lolcommits/lolcommits/pull/136
|
496
|
-
[#139]: https://github.com/lolcommits/lolcommits/pull/139
|
497
|
-
[#145]: https://github.com/lolcommits/lolcommits/pull/145
|
498
|
-
[#146]: https://github.com/lolcommits/lolcommits/pull/146
|
499
|
-
[#151]: https://github.com/lolcommits/lolcommits/pull/151
|
500
|
-
[#154]: https://github.com/lolcommits/lolcommits/pull/154
|
501
|
-
[#155]: https://github.com/lolcommits/lolcommits/pull/155
|
502
|
-
[#156]: https://github.com/lolcommits/lolcommits/pull/156
|
503
|
-
[#159]: https://github.com/lolcommits/lolcommits/pull/159
|
504
|
-
[#159]: https://github.com/lolcommits/lolcommits/pull/159
|
505
|
-
[#160]: https://github.com/lolcommits/lolcommits/pull/160
|
506
|
-
[#163]: https://github.com/lolcommits/lolcommits/pull/163
|
507
|
-
[#168]: https://github.com/lolcommits/lolcommits/pull/168
|
508
|
-
[#171]: https://github.com/lolcommits/lolcommits/pull/171
|
509
|
-
[#173]: https://github.com/lolcommits/lolcommits/pull/173
|
510
|
-
[#174]: https://github.com/lolcommits/lolcommits/pull/174
|
511
|
-
[#175]: https://github.com/lolcommits/lolcommits/pull/175
|
512
|
-
[#176]: https://github.com/lolcommits/lolcommits/pull/176
|
513
|
-
[#177]: https://github.com/lolcommits/lolcommits/pull/177
|
514
|
-
[#178]: https://github.com/lolcommits/lolcommits/pull/178
|
515
|
-
[#179]: https://github.com/lolcommits/lolcommits/pull/179
|
516
|
-
[#180]: https://github.com/lolcommits/lolcommits/pull/180
|
517
|
-
[#181]: https://github.com/lolcommits/lolcommits/pull/181
|
518
|
-
[#183]: https://github.com/lolcommits/lolcommits/pull/183
|
519
|
-
[#184]: https://github.com/lolcommits/lolcommits/pull/184
|
520
|
-
[#186]: https://github.com/lolcommits/lolcommits/pull/186
|
521
|
-
[#188]: https://github.com/lolcommits/lolcommits/pull/188
|
522
|
-
[#189]: https://github.com/lolcommits/lolcommits/pull/189
|
523
|
-
[#192]: https://github.com/lolcommits/lolcommits/pull/192
|
524
|
-
[#193]: https://github.com/lolcommits/lolcommits/pull/193
|
525
|
-
[#194]: https://github.com/lolcommits/lolcommits/pull/194
|
526
|
-
[#195]: https://github.com/lolcommits/lolcommits/pull/195
|
527
|
-
[#196]: https://github.com/lolcommits/lolcommits/pull/196
|
528
|
-
[#202]: https://github.com/lolcommits/lolcommits/pull/202
|
529
|
-
[#206]: https://github.com/lolcommits/lolcommits/pull/206
|
530
|
-
[#207]: https://github.com/lolcommits/lolcommits/pull/207
|
531
|
-
[#208]: https://github.com/lolcommits/lolcommits/pull/208
|
532
|
-
[#212]: https://github.com/lolcommits/lolcommits/pull/212
|
533
|
-
[#215]: https://github.com/lolcommits/lolcommits/pull/215
|
534
|
-
[#223]: https://github.com/lolcommits/lolcommits/pull/223
|
535
|
-
[#224]: https://github.com/lolcommits/lolcommits/pull/224
|
536
|
-
[#225]: https://github.com/lolcommits/lolcommits/pull/225
|
537
|
-
[#226]: https://github.com/lolcommits/lolcommits/pull/226
|
538
|
-
[#228]: https://github.com/lolcommits/lolcommits/pull/228
|
539
|
-
[#229]: https://github.com/lolcommits/lolcommits/pull/229
|
540
|
-
[#231]: https://github.com/lolcommits/lolcommits/pull/231
|
541
|
-
[#232]: https://github.com/lolcommits/lolcommits/pull/232
|
542
|
-
[#233]: https://github.com/lolcommits/lolcommits/pull/233
|
543
|
-
[#234]: https://github.com/lolcommits/lolcommits/pull/234
|
544
|
-
[#235]: https://github.com/lolcommits/lolcommits/pull/235
|
545
|
-
[#236]: https://github.com/lolcommits/lolcommits/pull/236
|
546
|
-
[#237]: https://github.com/lolcommits/lolcommits/pull/237
|
547
|
-
[#240]: https://github.com/lolcommits/lolcommits/pull/240
|
548
|
-
[#241]: https://github.com/lolcommits/lolcommits/pull/241
|
549
|
-
[#244]: https://github.com/lolcommits/lolcommits/pull/244
|
550
|
-
[#244]: https://github.com/lolcommits/lolcommits/pull/244
|
551
|
-
[#246]: https://github.com/lolcommits/lolcommits/pull/246
|
552
|
-
[#250]: https://github.com/lolcommits/lolcommits/pull/250
|
553
|
-
[#251]: https://github.com/lolcommits/lolcommits/pull/251
|
554
|
-
[#252]: https://github.com/lolcommits/lolcommits/pull/252
|
555
|
-
[#254]: https://github.com/lolcommits/lolcommits/pull/254
|
556
|
-
[#256]: https://github.com/lolcommits/lolcommits/pull/256
|
557
|
-
[#258]: https://github.com/lolcommits/lolcommits/pull/258
|
558
|
-
[#263]: https://github.com/lolcommits/lolcommits/pull/263
|
559
|
-
[#266]: https://github.com/lolcommits/lolcommits/pull/266
|
560
|
-
[#266]: https://github.com/lolcommits/lolcommits/pull/266
|
561
|
-
[#267]: https://github.com/lolcommits/lolcommits/pull/267
|
562
|
-
[#270]: https://github.com/lolcommits/lolcommits/pull/270
|
563
|
-
[#272]: https://github.com/lolcommits/lolcommits/pull/272
|
564
|
-
[#276]: https://github.com/lolcommits/lolcommits/pull/276
|
565
|
-
[#278]: https://github.com/lolcommits/lolcommits/pull/278
|
566
|
-
[#279]: https://github.com/lolcommits/lolcommits/pull/279
|
567
|
-
[#280]: https://github.com/lolcommits/lolcommits/pull/280
|
568
|
-
[#282]: https://github.com/lolcommits/lolcommits/pull/282
|
569
|
-
[#283]: https://github.com/lolcommits/lolcommits/pull/283
|
570
|
-
[#284]: https://github.com/lolcommits/lolcommits/pull/284
|
571
|
-
[#286]: https://github.com/lolcommits/lolcommits/pull/286
|
572
|
-
[#289]: https://github.com/lolcommits/lolcommits/pull/289
|
573
|
-
[#292]: https://github.com/lolcommits/lolcommits/pull/292
|
574
|
-
[#294]: https://github.com/lolcommits/lolcommits/pull/294
|
575
|
-
[#296]: https://github.com/lolcommits/lolcommits/pull/296
|
576
|
-
[#298]: https://github.com/lolcommits/lolcommits/pull/298
|
577
|
-
[#301]: https://github.com/lolcommits/lolcommits/pull/301
|
578
|
-
[#302]: https://github.com/lolcommits/lolcommits/pull/302
|
579
|
-
[#303]: https://github.com/lolcommits/lolcommits/pull/303
|
580
|
-
[#304]: https://github.com/lolcommits/lolcommits/pull/304
|
581
|
-
[#308]: https://github.com/lolcommits/lolcommits/pull/308
|
582
|
-
[#309]: https://github.com/lolcommits/lolcommits/pull/309
|
583
|
-
[#313]: https://github.com/lolcommits/lolcommits/pull/313
|
584
|
-
[#313]: https://github.com/lolcommits/lolcommits/pull/313
|
585
|
-
[#317]: https://github.com/lolcommits/lolcommits/pull/317
|
586
|
-
[#318]: https://github.com/lolcommits/lolcommits/pull/318
|
587
|
-
[#320]: https://github.com/lolcommits/lolcommits/pull/320
|
588
|
-
[#321]: https://github.com/lolcommits/lolcommits/pull/321
|
589
|
-
[#323]: https://github.com/lolcommits/lolcommits/pull/323
|
590
|
-
[#325]: https://github.com/lolcommits/lolcommits/pull/325
|
591
|
-
[#326]: https://github.com/lolcommits/lolcommits/pull/326
|
592
|
-
[#328]: https://github.com/lolcommits/lolcommits/pull/328
|
593
|
-
[#329]: https://github.com/lolcommits/lolcommits/pull/329
|
594
|
-
[#330]: https://github.com/lolcommits/lolcommits/pull/330
|
595
|
-
[#331]: https://github.com/lolcommits/lolcommits/pull/331
|
596
|
-
[#332]: https://github.com/lolcommits/lolcommits/pull/332
|
597
|
-
[#338]: https://github.com/lolcommits/lolcommits/pull/338
|
598
|
-
[#339]: https://github.com/lolcommits/lolcommits/pull/339
|
599
|
-
[#340]: https://github.com/lolcommits/lolcommits/pull/340
|
600
|
-
[#341]: https://github.com/lolcommits/lolcommits/pull/341
|
601
|
-
[#342]: https://github.com/lolcommits/lolcommits/pull/342
|
602
|
-
[#347]: https://github.com/lolcommits/lolcommits/pull/347
|
603
|
-
[#348]: https://github.com/lolcommits/lolcommits/pull/348
|
604
|
-
[#349]: https://github.com/lolcommits/lolcommits/pull/349
|
605
|
-
[#351]: https://github.com/lolcommits/lolcommits/pull/351
|
606
|
-
[#352]: https://github.com/lolcommits/lolcommits/pull/352
|
607
|
-
[#353]: https://github.com/lolcommits/lolcommits/pull/353
|
608
|
-
[#354]: https://github.com/lolcommits/lolcommits/pull/354
|
609
|
-
[#355]: https://github.com/lolcommits/lolcommits/pull/355
|
610
|
-
[#356]: https://github.com/lolcommits/lolcommits/pull/356
|
611
|
-
[#357]: https://github.com/lolcommits/lolcommits/pull/357
|
612
|
-
[#358]: https://github.com/lolcommits/lolcommits/pull/358
|
613
|
-
[#359]: https://github.com/lolcommits/lolcommits/pull/359
|
614
|
-
[#360]: https://github.com/lolcommits/lolcommits/pull/360
|
615
|
-
[#361]: https://github.com/lolcommits/lolcommits/pull/361
|
616
|
-
[#363]: https://github.com/lolcommits/lolcommits/pull/363
|
617
|
-
[#365]: https://github.com/lolcommits/lolcommits/pull/365
|
618
|
-
[#366]: https://github.com/lolcommits/lolcommits/pull/366
|
619
|
-
[#367]: https://github.com/lolcommits/lolcommits/pull/367
|
620
|
-
[#369]: https://github.com/lolcommits/lolcommits/pull/369
|
621
|
-
[#377]: https://github.com/lolcommits/lolcommits/pull/377
|
622
|
-
[#384]: https://github.com/lolcommits/lolcommits/pull/384
|
623
|
-
[#385]: https://github.com/lolcommits/lolcommits/pull/385
|
624
|
-
[#386]: https://github.com/lolcommits/lolcommits/pull/386
|
625
|
-
[#392]: https://github.com/lolcommits/lolcommits/pull/392
|
626
|
-
[#394]: https://github.com/lolcommits/lolcommits/pull/394
|
627
|
-
[#398]: https://github.com/lolcommits/lolcommits/pull/398
|
628
|
-
[#399]: https://github.com/lolcommits/lolcommits/pull/399
|
629
|
-
[#400]: https://github.com/lolcommits/lolcommits/pull/400
|
630
|
-
[#401]: https://github.com/lolcommits/lolcommits/pull/401
|
631
|
-
[#402]: https://github.com/lolcommits/lolcommits/pull/402
|
632
|
-
[#405]: https://github.com/lolcommits/lolcommits/pull/405
|
633
|
-
[#411]: https://github.com/lolcommits/lolcommits/pull/411
|
634
|
-
[#417]: https://github.com/lolcommits/lolcommits/pull/417
|
635
|
-
[#430]: https://github.com/lolcommits/lolcommits/pull/430
|
636
|
-
[#432]: https://github.com/lolcommits/lolcommits/pull/432
|
637
|
-
[#433]: https://github.com/lolcommits/lolcommits/pull/433
|
data/CODE_OF_CONDUCT.md
CHANGED
@@ -52,18 +52,16 @@ address, posting via an official social media account, or acting as an appointed
|
|
52
52
|
representative at an online or offline event. Representation of a project may be
|
53
53
|
further defined and clarified by project maintainers.
|
54
54
|
|
55
|
-
##
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
faith may face temporary or permanent repercussions as determined by other
|
66
|
-
members of the project's leadership.
|
55
|
+
## Reporting
|
56
|
+
|
57
|
+
If you are subject to or witness unacceptable behavior, or have any other
|
58
|
+
concerns, please notify a project maintainer. All reports will be kept
|
59
|
+
confidential and will be reviewed and investigated promptly.
|
60
|
+
|
61
|
+
We will investigate every complaint and take appropriate action. We reserve the
|
62
|
+
right to remove any content that violates this Code of Conduct, or to
|
63
|
+
temporarily or permanently ban any contributor for other behaviors that we deem
|
64
|
+
inappropriate, threatening, offensive, or harmful.
|
67
65
|
|
68
66
|
## Attribution
|
69
67
|
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,28 +1,28 @@
|
|
1
1
|
# lolcommits
|
2
2
|
|
3
|
-
[![
|
3
|
+
[![CI](https://img.shields.io/github/actions/workflow/status/lolcommits/lolcommits/ci.yml?branch=main&style=flat&label=CI)](https://github.com/lolcommits/lolcommits/actions/workflows/ci.yml)
|
4
4
|
[![Depfu](https://img.shields.io/depfu/lolcommits/lolcommits.svg?style=flat)](https://depfu.com/github/lolcommits/lolcommits)
|
5
5
|
[![Gem](https://img.shields.io/gem/v/lolcommits.svg?style=flat)](http://rubygems.org/gems/lolcommits)
|
6
6
|
|
7
7
|
> git-based selfies for software developers
|
8
8
|
|
9
|
-
lolcommits takes a snapshot with your webcam every time you git commit
|
10
|
-
|
11
|
-
been so much fun
|
9
|
+
lolcommits takes a snapshot with your webcam every time you git commit,
|
10
|
+
archiving a "[LOLcat](https://en.wikipedia.org/wiki/Lolcat)" style image. Git
|
11
|
+
blame has never been so much fun!
|
12
12
|
|
13
|
-
By default
|
14
|
-
`~/.lolcommits` directory created for you.
|
13
|
+
By default these lol images are stored with a short SHA filename in a
|
14
|
+
`~/.lolcommits` directory created just for you.
|
15
15
|
|
16
16
|
## History
|
17
17
|
|
18
|
-
Originally created by [@mroth] in 2011 as a joke project for [Hack &&
|
19
|
-
|
20
|
-
|
18
|
+
Originally created by [@mroth] in 2011 (as a joke project for [Hack && Tell]),
|
19
|
+
lolcommits has grown considerably, has a plugin ecosystem and is now maintained
|
20
|
+
by [@matthutchinson].
|
21
21
|
|
22
|
-
|
22
|
+
Thanks to all the [contributors] and users throughout the years!
|
23
23
|
|
24
|
-
[@mroth]: https://github.com/mroth
|
25
24
|
[@matthutchinson]: https://github.com/matthutchinson
|
25
|
+
[@mroth]: https://github.com/mroth
|
26
26
|
[Hack && Tell]: https://hackandtell.org
|
27
27
|
[contributors]: https://github.com/lolcommits/lolcommits/graphs/contributors
|
28
28
|
|
@@ -32,7 +32,7 @@ Thank you to all of the [contributors] throughout the years!
|
|
32
32
|
|
33
33
|
Please add your own lolcommit to the [People Using
|
34
34
|
Lolcommits](https://github.com/lolcommits/lolcommits/wiki/Lolcommits-from-around-the-world%21)
|
35
|
-
page
|
35
|
+
page!
|
36
36
|
|
37
37
|
|
38
38
|
## Requirements
|
@@ -54,21 +54,11 @@ You'll need ImageMagick installed.
|
|
54
54
|
|
55
55
|
Then install with:
|
56
56
|
|
57
|
-
|
58
|
-
|
59
|
-
If you're using RVM (or rbenv), you can/should probably omit the sudo,
|
60
|
-
but the default macOS Ruby install usually requires it.
|
61
|
-
|
62
|
-
Lolcommits v0.8.1 was the last release to support Ruby < 2.0. If you'd
|
63
|
-
like to use older Rubies try:
|
64
|
-
|
65
|
-
[sudo] gem install lolcommits --version 0.8.1 # for Ruby 1.9
|
66
|
-
[sudo] gem install lolcommits --version 0.7.0 # for Ruby 1.8
|
67
|
-
|
57
|
+
gem install lolcommits
|
68
58
|
|
69
59
|
### Linux
|
70
60
|
|
71
|
-
Install
|
61
|
+
Install dependencies using your package manager of choice, for
|
72
62
|
example in Ubuntu:
|
73
63
|
|
74
64
|
sudo apt-get install mplayer imagemagick libmagickwand-dev
|
@@ -84,7 +74,6 @@ Then install with:
|
|
84
74
|
For more details, see [Installing on
|
85
75
|
Linux](https://github.com/lolcommits/lolcommits/wiki/Installing-on-Linux).
|
86
76
|
|
87
|
-
|
88
77
|
### Windows - here be dragons!
|
89
78
|
|
90
79
|
It works, but you'll need some more detailed instructions to get the
|
@@ -94,7 +83,6 @@ Windows](https://github.com/lolcommits/lolcommits/wiki/Installing-on-Windows).
|
|
94
83
|
|
95
84
|
## Usage
|
96
85
|
|
97
|
-
|
98
86
|
### Enabling and basic usage
|
99
87
|
|
100
88
|
Within any git repository, simply run `lolcommits --enable`. From that
|
data/Rakefile
CHANGED
@@ -1,53 +1,16 @@
|
|
1
|
-
|
1
|
+
require "bundler/setup"
|
2
|
+
require "bundler/gem_tasks"
|
2
3
|
|
3
|
-
require
|
4
|
-
|
5
|
-
|
6
|
-
require 'cucumber'
|
7
|
-
require 'cucumber/rake/task'
|
8
|
-
require 'rdoc/task'
|
9
|
-
require 'rubocop/rake_task'
|
10
|
-
|
11
|
-
# docs
|
12
|
-
Rake::RDocTask.new do |rdoc|
|
13
|
-
rdoc.main = 'README.md'
|
14
|
-
rdoc.rdoc_files.include('README.md', 'lib/**/*.rb', 'bin/**/*')
|
15
|
-
rdoc.rdoc_dir = 'doc'
|
16
|
-
end
|
17
|
-
|
18
|
-
# gem building
|
19
|
-
Bundler::GemHelper.install_tasks
|
20
|
-
task :ensure_executable_permissions do
|
21
|
-
# Reset all permissions.
|
22
|
-
system 'bash -c "find . -type f -exec chmod 644 {} \; && find . -type d -exec chmod 755 {} \;"'
|
23
|
-
# Executable files.
|
24
|
-
executables = %w(
|
25
|
-
vendor/ext/imagesnap/imagesnap
|
26
|
-
vendor/ext/videosnap/videosnap
|
27
|
-
vendor/ext/CommandCam/CommandCam.exe
|
28
|
-
)
|
29
|
-
|
30
|
-
system "bash -c \"chmod +x ./bin/* #{executables.join(' ')}\""
|
4
|
+
require "minitest/test_task"
|
5
|
+
Minitest::TestTask.create(:test) do |t|
|
6
|
+
t.warning = false
|
31
7
|
end
|
32
|
-
Rake::Task[:build].prerequisites.unshift :ensure_executable_permissions
|
33
8
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
t.pattern = 'test/*_test.rb'
|
40
|
-
end
|
41
|
-
|
42
|
-
# cucumber
|
43
|
-
ENV['CUCUMBER_PUBLISH_QUIET'] = 'true'
|
44
|
-
CLEAN.include("results.html")
|
45
|
-
Cucumber::Rake::Task.new(:features) do |t|
|
46
|
-
opts = %w[ features --format html -o results.html --format progress -x ]
|
47
|
-
opts << " --tags @#{ENV['tag']}" unless ENV['tag'].nil?
|
48
|
-
t.cucumber_opts = opts
|
49
|
-
t.fork = false
|
9
|
+
require "rdoc/task"
|
10
|
+
Rake::RDocTask.new do |rdoc|
|
11
|
+
rdoc.main = "README.md"
|
12
|
+
rdoc.rdoc_files.include("README.md", "lib/**/*.rb", "bin/**/*")
|
13
|
+
rdoc.rdoc_dir = "doc"
|
50
14
|
end
|
51
15
|
|
52
|
-
|
53
|
-
task default: %i[ rubocop test features ]
|
16
|
+
task default: :test
|