lolcommits 0.16.5 → 0.17.0
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 +64 -0
- data/.github/workflows/push_gem.yml +25 -0
- data/.gitignore +2 -2
- data/.rubocop.yml +6 -1
- data/CHANGELOG.md +18 -2
- data/README.md +3 -5
- data/Rakefile +21 -55
- data/bin/lolcommits +3 -3
- data/features/support/env.rb +1 -1
- data/lib/core_ext/mercurial-ruby/config_file.rb +10 -0
- data/lib/core_ext/mercurial-ruby/repository.rb +12 -0
- data/lib/lolcommits/backends/git_info.rb +1 -1
- data/lib/lolcommits/cli/fatals.rb +1 -1
- data/lib/lolcommits/cli/timelapse_gif.rb +6 -2
- data/lib/lolcommits/plugin_manager.rb +1 -1
- data/lib/lolcommits/version.rb +1 -1
- data/lib/lolcommits.rb +5 -1
- data/lolcommits.gemspec +10 -8
- data/test/test_helper.rb +0 -9
- metadata +63 -44
- data/.coveralls.yml +0 -1
- data/.editorconfig +0 -17
- data/appveyor.yml +0 -37
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7df07dc635044ff316e7c5849b7ecc4a639777cd40a347c5fe25d4a3e7d581c
|
4
|
+
data.tar.gz: 42ec12e85aaaa466c20ae8caf07f3d9f7663eb292d4f70f18008d11e5c563aab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 987efba08a9a0fd3574aaa2406993c3f030250edd76d7bcd18414defbc1e44820d39d13591569c6b2c7cdbabf69de2946aa00aaf42bf53d6405cf0860d99d1f9
|
7
|
+
data.tar.gz: c9a09531e119e5184a1d9c71c7aff3ee2d797c8bd11aaa2a842041e0e6b1c43840d260a91abfd54564497711596a50073f1c3fbfc46c1283b224927b24230ec3
|
@@ -0,0 +1,64 @@
|
|
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
|
@@ -0,0 +1,25 @@
|
|
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
CHANGED
data/.rubocop.yml
CHANGED
@@ -8,8 +8,13 @@ AllCops:
|
|
8
8
|
- 'bin/lolcommits'
|
9
9
|
- 'lolcommits.gemspec'
|
10
10
|
|
11
|
-
# don't agree with this one, can lead to long lines that are harder to parse
|
12
11
|
Style/IfUnlessModifier:
|
13
12
|
Enabled: false
|
14
13
|
|
14
|
+
Style/StringLiterals:
|
15
|
+
Enabled: false
|
16
|
+
|
17
|
+
Layout/SpaceInsidePercentLiteralDelimiters:
|
18
|
+
Enabled: false
|
19
|
+
|
15
20
|
inherit_from: .rubocop_todo.yml
|
data/CHANGELOG.md
CHANGED
@@ -5,7 +5,21 @@ This project adheres to [Semantic Versioning][Semver].
|
|
5
5
|
|
6
6
|
## [Unreleased]
|
7
7
|
|
8
|
-
|
8
|
+
* Your contribution here!
|
9
|
+
|
10
|
+
## [0.17.0][] (soon)
|
11
|
+
* Ditch Travis, switch to GitHub actions for CI
|
12
|
+
* Use GitHub actions for trusted gem publishing
|
13
|
+
* Bump all gem dependencies
|
14
|
+
* Add runtime gems (logger, ostruct, base64) to prep for Ruby 3.5+
|
15
|
+
* Drop code coverage tooling
|
16
|
+
* Swap pry for debug gem
|
17
|
+
* Update minimum Ruby version to 3.1 (oldest supported version) (@SalvatoreT [#433][])
|
18
|
+
* Patch `mercurial-ruby` to work with Ruby 3.2
|
19
|
+
* Update `optparse-plus` gem from 1.x to 3.x
|
20
|
+
* Update `mini_magick` gem from 4.x to 5.x
|
21
|
+
* Update `launchy` gem from 2.x to 3.x
|
22
|
+
* Update `git` gem from 1.x to 2.x
|
9
23
|
|
10
24
|
## [0.16.5][] (29 May 2024)
|
11
25
|
* Use Git 1.19.1 [#430][]
|
@@ -392,7 +406,8 @@ This project adheres to [Semantic Versioning][Semver].
|
|
392
406
|
reliable to not glitch.)
|
393
407
|
|
394
408
|
[Semver]: http://semver.org
|
395
|
-
[Unreleased]: https://github.com/lolcommits/lolcommits/compare/v0.
|
409
|
+
[Unreleased]: https://github.com/lolcommits/lolcommits/compare/v0.17.0...HEAD
|
410
|
+
[0.17.0]: https://github.com/lolcommits/lolcommits/compare/v0.16.5...v0.17.0
|
396
411
|
[0.16.5]: https://github.com/lolcommits/lolcommits/compare/v0.16.4...v0.16.5
|
397
412
|
[0.16.4]: https://github.com/lolcommits/lolcommits/compare/v0.16.3...v0.16.4
|
398
413
|
[0.16.3]: https://github.com/lolcommits/lolcommits/compare/v0.16.2...v0.16.3
|
@@ -611,3 +626,4 @@ This project adheres to [Semantic Versioning][Semver].
|
|
611
626
|
[#417]: https://github.com/lolcommits/lolcommits/pull/417
|
612
627
|
[#430]: https://github.com/lolcommits/lolcommits/pull/430
|
613
628
|
[#432]: https://github.com/lolcommits/lolcommits/pull/432
|
629
|
+
[#433]: https://github.com/lolcommits/lolcommits/pull/433
|
data/README.md
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
# lolcommits
|
2
2
|
|
3
|
-
[![
|
3
|
+
[![Build](https://img.shields.io/github/actions/workflow/status/lolcommits/lolcommits/build.yml?branch=main&style=flat)](https://github.com/lolcommits/lolcommits/actions/workflows/build.yml)
|
4
4
|
[![Depfu](https://img.shields.io/depfu/lolcommits/lolcommits.svg?style=flat)](https://depfu.com/github/lolcommits/lolcommits)
|
5
|
-
[![
|
6
|
-
[![Test Coverage](https://api.codeclimate.com/v1/badges/c13fa50206e122e416c2/test_coverage)](https://codeclimate.com/github/lolcommits/lolcommits/test_coverage)
|
5
|
+
[![Gem](https://img.shields.io/gem/v/lolcommits.svg?style=flat)](http://rubygems.org/gems/lolcommits)
|
7
6
|
|
8
7
|
> git-based selfies for software developers
|
9
8
|
|
@@ -38,7 +37,7 @@ page on our wiki!
|
|
38
37
|
|
39
38
|
## Requirements
|
40
39
|
|
41
|
-
* Ruby >=
|
40
|
+
* Ruby >= 3.1
|
42
41
|
* A webcam
|
43
42
|
* [ImageMagick](http://www.imagemagick.org)
|
44
43
|
* [ffmpeg](https://www.ffmpeg.org) (optional) for animated gif capturing
|
@@ -46,7 +45,6 @@ page on our wiki!
|
|
46
45
|
|
47
46
|
## Installation
|
48
47
|
|
49
|
-
|
50
48
|
### macOS
|
51
49
|
|
52
50
|
You'll need ImageMagick installed.
|
data/Rakefile
CHANGED
@@ -2,21 +2,22 @@
|
|
2
2
|
|
3
3
|
require 'bundler'
|
4
4
|
require 'rake/clean'
|
5
|
-
|
6
5
|
require 'rake/testtask'
|
7
|
-
|
8
|
-
ENV['CUCUMBER_PUBLISH_QUIET'] = 'true'
|
9
6
|
require 'cucumber'
|
10
7
|
require 'cucumber/rake/task'
|
11
|
-
|
12
|
-
gem 'rdoc' # we need the installed RDoc gem, not the system one
|
13
8
|
require 'rdoc/task'
|
9
|
+
require 'rubocop/rake_task'
|
14
10
|
|
15
|
-
|
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
|
16
17
|
|
18
|
+
# gem building
|
17
19
|
Bundler::GemHelper.install_tasks
|
18
|
-
|
19
|
-
task :fix_permissions do
|
20
|
+
task :ensure_executable_permissions do
|
20
21
|
# Reset all permissions.
|
21
22
|
system 'bash -c "find . -type f -exec chmod 644 {} \; && find . -type d -exec chmod 755 {} \;"'
|
22
23
|
# Executable files.
|
@@ -28,60 +29,25 @@ task :fix_permissions do
|
|
28
29
|
|
29
30
|
system "bash -c \"chmod +x ./bin/* #{executables.join(' ')}\""
|
30
31
|
end
|
32
|
+
Rake::Task[:build].prerequisites.unshift :ensure_executable_permissions
|
31
33
|
|
32
|
-
|
34
|
+
# rubocop
|
35
|
+
RuboCop::RakeTask.new
|
33
36
|
|
37
|
+
# tests
|
34
38
|
Rake::TestTask.new do |t|
|
35
39
|
t.pattern = 'test/*_test.rb'
|
36
40
|
end
|
37
41
|
|
38
|
-
|
39
|
-
|
40
|
-
CLEAN
|
42
|
+
# cucumber
|
43
|
+
ENV['CUCUMBER_PUBLISH_QUIET'] = 'true'
|
44
|
+
CLEAN.include("results.html")
|
41
45
|
Cucumber::Rake::Task.new(:features) do |t|
|
42
|
-
|
43
|
-
|
44
|
-
t.cucumber_opts =
|
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
|
45
49
|
t.fork = false
|
46
50
|
end
|
47
51
|
|
48
|
-
|
49
|
-
|
50
|
-
rd.rdoc_files.include('README.md', 'lib/**/*.rb', 'bin/**/*')
|
51
|
-
end
|
52
|
-
|
53
|
-
require 'rubocop/rake_task'
|
54
|
-
RuboCop::RakeTask.new
|
55
|
-
|
56
|
-
desc 'Migrate an existing local .lolcommits directory to Dropbox'
|
57
|
-
task :dropboxify do
|
58
|
-
dropbox_loldir = "#{Dir.home}/Dropbox/lolcommits"
|
59
|
-
loldir = "#{Dir.home}/.lolcommits"
|
60
|
-
backup_loldir = "#{Dir.home}/.lolcommits.old"
|
61
|
-
|
62
|
-
# check whether we've done this already
|
63
|
-
abort 'already dropboxified!' if File.symlink? loldir
|
64
|
-
|
65
|
-
# create dropbox folder
|
66
|
-
FileUtils.mkdir_p dropbox_loldir unless File.directory? dropbox_loldir
|
67
|
-
|
68
|
-
# backup existing loldir
|
69
|
-
FileUtils.mv(loldir, backup_loldir) if File.directory? loldir
|
70
|
-
|
71
|
-
# symlink dropbox to local
|
72
|
-
FileUtils.ln_s(dropbox_loldir, loldir)
|
73
|
-
|
74
|
-
# copy over existing files
|
75
|
-
FileUtils.cp_r("#{backup_loldir}/.", loldir)
|
76
|
-
end
|
77
|
-
|
78
|
-
# run tests with code coverage
|
79
|
-
namespace :test do
|
80
|
-
desc 'Run all unit tests and generate a coverage report'
|
81
|
-
task :coverage do
|
82
|
-
ENV['COVERAGE'] = 'true'
|
83
|
-
Rake::Task[:test].execute
|
84
|
-
end
|
85
|
-
end
|
86
|
-
|
87
|
-
task default: [:rubocop, 'test:coverage', :features]
|
52
|
+
# default tasks
|
53
|
+
task default: %i[ rubocop test features ]
|
data/bin/lolcommits
CHANGED
@@ -8,14 +8,14 @@ rescue LoadError
|
|
8
8
|
end
|
9
9
|
|
10
10
|
require 'optparse'
|
11
|
-
require '
|
11
|
+
require 'optparse_plus'
|
12
12
|
require 'lolcommits/cli.rb'
|
13
13
|
|
14
14
|
# allow logging from everywhere
|
15
|
-
include
|
15
|
+
include OptparsePlus::CLILogging
|
16
16
|
|
17
17
|
class App
|
18
|
-
include
|
18
|
+
include OptparsePlus::Main
|
19
19
|
|
20
20
|
include Lolcommits
|
21
21
|
include Lolcommits::CLI
|
data/features/support/env.rb
CHANGED
@@ -0,0 +1,12 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Mercurial
|
4
|
+
class Repository
|
5
|
+
def self.open(destination)
|
6
|
+
# Mercurial::Repository.open patched to be Ruby 3.2+ compatible
|
7
|
+
raise Mercurial::RepositoryNotFound, destination unless File.exist?(destination)
|
8
|
+
|
9
|
+
new(destination)
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
@@ -31,8 +31,12 @@ module Lolcommits
|
|
31
31
|
|
32
32
|
puts '*** Generating animated timelapse gif.'
|
33
33
|
|
34
|
-
|
35
|
-
|
34
|
+
MiniMagick.convert do |convert|
|
35
|
+
convert.delay 50
|
36
|
+
convert.loop 0
|
37
|
+
lolimages.each { |image| convert << image }
|
38
|
+
convert << File.join(timelapses_dir_path, "#{filename}.gif")
|
39
|
+
end
|
36
40
|
|
37
41
|
puts "*** Done, generated at #{gif.path}"
|
38
42
|
end
|
data/lib/lolcommits/version.rb
CHANGED
data/lib/lolcommits.rb
CHANGED
@@ -6,7 +6,7 @@ require 'mini_magick'
|
|
6
6
|
require 'fileutils'
|
7
7
|
require 'git'
|
8
8
|
require 'open3'
|
9
|
-
require '
|
9
|
+
require 'optparse_plus'
|
10
10
|
require 'date'
|
11
11
|
require 'mercurial-ruby'
|
12
12
|
|
@@ -26,6 +26,10 @@ require 'core_ext/mercurial-ruby/shell'
|
|
26
26
|
|
27
27
|
# String#encode patched to be Ruby 3.0+ compatible
|
28
28
|
require 'core_ext/mercurial-ruby/changed_file'
|
29
|
+
# Mercurial::ConfigFile#exists? patched to be Ruby 3.2+ compatible
|
30
|
+
require 'core_ext/mercurial-ruby/config_file'
|
31
|
+
# Mercurial::Repository.open patched to be Ruby 3.2+ compatible
|
32
|
+
require 'core_ext/mercurial-ruby/repository'
|
29
33
|
|
30
34
|
# backends
|
31
35
|
require 'lolcommits/backends/installation_git'
|
data/lolcommits.gemspec
CHANGED
@@ -28,22 +28,25 @@ Gem::Specification.new do |s|
|
|
28
28
|
}
|
29
29
|
|
30
30
|
s.files = `git ls-files`.split("\n")
|
31
|
-
s.test_files = `git ls-files -- {test,
|
31
|
+
s.test_files = `git ls-files -- {test,features}/*`.split("\n")
|
32
32
|
s.executables = 'lolcommits'
|
33
33
|
s.require_paths = ['lib']
|
34
34
|
|
35
35
|
# non-gem dependencies
|
36
|
-
s.required_ruby_version = '>=
|
36
|
+
s.required_ruby_version = '>= 3.1'
|
37
37
|
s.requirements << 'imagemagick'
|
38
38
|
s.requirements << 'a webcam'
|
39
39
|
|
40
40
|
# core
|
41
|
-
s.add_runtime_dependency('
|
41
|
+
s.add_runtime_dependency('optparse-plus', '~> 3.0.1')
|
42
42
|
s.add_runtime_dependency('mercurial-ruby', '~> 0.7.12')
|
43
|
-
s.add_runtime_dependency('mini_magick', '~>
|
44
|
-
s.add_runtime_dependency('launchy', '~>
|
43
|
+
s.add_runtime_dependency('mini_magick', '~> 5.0.1')
|
44
|
+
s.add_runtime_dependency('launchy', '~> 3.0.1')
|
45
45
|
s.add_runtime_dependency('open4', '~> 1.3.4')
|
46
|
-
s.add_runtime_dependency('git', '~>
|
46
|
+
s.add_runtime_dependency('git', '~> 2.3.0')
|
47
|
+
s.add_runtime_dependency('logger')
|
48
|
+
s.add_runtime_dependency('ostruct')
|
49
|
+
s.add_runtime_dependency('base64')
|
47
50
|
|
48
51
|
# included plugins
|
49
52
|
s.add_runtime_dependency('lolcommits-loltext', '~> 0.4.0')
|
@@ -52,9 +55,8 @@ Gem::Specification.new do |s|
|
|
52
55
|
s.add_development_dependency('aruba')
|
53
56
|
s.add_development_dependency('rake')
|
54
57
|
s.add_development_dependency('rdoc')
|
55
|
-
s.add_development_dependency('
|
58
|
+
s.add_development_dependency('debug')
|
56
59
|
s.add_development_dependency('rubocop')
|
57
60
|
s.add_development_dependency('minitest')
|
58
|
-
s.add_development_dependency('simplecov')
|
59
61
|
s.add_development_dependency('ffaker')
|
60
62
|
end
|
data/test/test_helper.rb
CHANGED
@@ -1,13 +1,4 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
if ENV['COVERAGE']
|
4
|
-
require 'simplecov'
|
5
|
-
SimpleCov.start
|
6
|
-
SimpleCov.at_exit do
|
7
|
-
SimpleCov.result.format!
|
8
|
-
`open ./coverage/index.html` if RUBY_PLATFORM =~ /darwin/
|
9
|
-
end
|
10
|
-
end
|
11
|
-
|
12
3
|
require 'lolcommits'
|
13
4
|
require 'minitest/autorun'
|
metadata
CHANGED
@@ -1,30 +1,30 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lolcommits
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Rothenberg
|
8
8
|
- Matthew Hutchinson
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-09-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
15
|
+
name: optparse-plus
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
20
|
+
version: 3.0.1
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version:
|
27
|
+
version: 3.0.1
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: mercurial-ruby
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -45,28 +45,28 @@ dependencies:
|
|
45
45
|
requirements:
|
46
46
|
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version:
|
48
|
+
version: 5.0.1
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
55
|
+
version: 5.0.1
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: launchy
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
60
|
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version:
|
62
|
+
version: 3.0.1
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
69
|
+
version: 3.0.1
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: open4
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -87,36 +87,36 @@ dependencies:
|
|
87
87
|
requirements:
|
88
88
|
- - "~>"
|
89
89
|
- !ruby/object:Gem::Version
|
90
|
-
version:
|
90
|
+
version: 2.3.0
|
91
91
|
type: :runtime
|
92
92
|
prerelease: false
|
93
93
|
version_requirements: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
95
|
- - "~>"
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version:
|
97
|
+
version: 2.3.0
|
98
98
|
- !ruby/object:Gem::Dependency
|
99
|
-
name:
|
99
|
+
name: logger
|
100
100
|
requirement: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
|
-
- - "
|
102
|
+
- - ">="
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: 0
|
104
|
+
version: '0'
|
105
105
|
type: :runtime
|
106
106
|
prerelease: false
|
107
107
|
version_requirements: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
|
-
- - "
|
109
|
+
- - ">="
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
version: 0
|
111
|
+
version: '0'
|
112
112
|
- !ruby/object:Gem::Dependency
|
113
|
-
name:
|
113
|
+
name: ostruct
|
114
114
|
requirement: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
116
|
- - ">="
|
117
117
|
- !ruby/object:Gem::Version
|
118
118
|
version: '0'
|
119
|
-
type: :
|
119
|
+
type: :runtime
|
120
120
|
prerelease: false
|
121
121
|
version_requirements: !ruby/object:Gem::Requirement
|
122
122
|
requirements:
|
@@ -124,7 +124,35 @@ dependencies:
|
|
124
124
|
- !ruby/object:Gem::Version
|
125
125
|
version: '0'
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
|
-
name:
|
127
|
+
name: base64
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0'
|
133
|
+
type: :runtime
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '0'
|
140
|
+
- !ruby/object:Gem::Dependency
|
141
|
+
name: lolcommits-loltext
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - "~>"
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: 0.4.0
|
147
|
+
type: :runtime
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - "~>"
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: 0.4.0
|
154
|
+
- !ruby/object:Gem::Dependency
|
155
|
+
name: aruba
|
128
156
|
requirement: !ruby/object:Gem::Requirement
|
129
157
|
requirements:
|
130
158
|
- - ">="
|
@@ -138,7 +166,7 @@ dependencies:
|
|
138
166
|
- !ruby/object:Gem::Version
|
139
167
|
version: '0'
|
140
168
|
- !ruby/object:Gem::Dependency
|
141
|
-
name:
|
169
|
+
name: rake
|
142
170
|
requirement: !ruby/object:Gem::Requirement
|
143
171
|
requirements:
|
144
172
|
- - ">="
|
@@ -152,7 +180,7 @@ dependencies:
|
|
152
180
|
- !ruby/object:Gem::Version
|
153
181
|
version: '0'
|
154
182
|
- !ruby/object:Gem::Dependency
|
155
|
-
name:
|
183
|
+
name: rdoc
|
156
184
|
requirement: !ruby/object:Gem::Requirement
|
157
185
|
requirements:
|
158
186
|
- - ">="
|
@@ -166,7 +194,7 @@ dependencies:
|
|
166
194
|
- !ruby/object:Gem::Version
|
167
195
|
version: '0'
|
168
196
|
- !ruby/object:Gem::Dependency
|
169
|
-
name:
|
197
|
+
name: debug
|
170
198
|
requirement: !ruby/object:Gem::Requirement
|
171
199
|
requirements:
|
172
200
|
- - ">="
|
@@ -180,7 +208,7 @@ dependencies:
|
|
180
208
|
- !ruby/object:Gem::Version
|
181
209
|
version: '0'
|
182
210
|
- !ruby/object:Gem::Dependency
|
183
|
-
name:
|
211
|
+
name: rubocop
|
184
212
|
requirement: !ruby/object:Gem::Requirement
|
185
213
|
requirements:
|
186
214
|
- - ">="
|
@@ -194,7 +222,7 @@ dependencies:
|
|
194
222
|
- !ruby/object:Gem::Version
|
195
223
|
version: '0'
|
196
224
|
- !ruby/object:Gem::Dependency
|
197
|
-
name:
|
225
|
+
name: minitest
|
198
226
|
requirement: !ruby/object:Gem::Requirement
|
199
227
|
requirements:
|
200
228
|
- - ">="
|
@@ -233,9 +261,9 @@ executables:
|
|
233
261
|
extensions: []
|
234
262
|
extra_rdoc_files: []
|
235
263
|
files:
|
236
|
-
- ".coveralls.yml"
|
237
|
-
- ".editorconfig"
|
238
264
|
- ".gitattributes"
|
265
|
+
- ".github/workflows/build.yml"
|
266
|
+
- ".github/workflows/push_gem.yml"
|
239
267
|
- ".gitignore"
|
240
268
|
- ".rubocop.yml"
|
241
269
|
- ".rubocop_todo.yml"
|
@@ -248,7 +276,6 @@ files:
|
|
248
276
|
- PULL_REQUEST_TEMPLATE.md
|
249
277
|
- README.md
|
250
278
|
- Rakefile
|
251
|
-
- appveyor.yml
|
252
279
|
- bin/console
|
253
280
|
- bin/lolcommits
|
254
281
|
- features/bugs.feature
|
@@ -258,6 +285,8 @@ files:
|
|
258
285
|
- features/support/path_helpers.rb
|
259
286
|
- lib/core_ext/mercurial-ruby/changed_file.rb
|
260
287
|
- lib/core_ext/mercurial-ruby/command.rb
|
288
|
+
- lib/core_ext/mercurial-ruby/config_file.rb
|
289
|
+
- lib/core_ext/mercurial-ruby/repository.rb
|
261
290
|
- lib/core_ext/mercurial-ruby/shell.rb
|
262
291
|
- lib/lolcommits.rb
|
263
292
|
- lib/lolcommits/animated_gif.rb
|
@@ -303,7 +332,7 @@ files:
|
|
303
332
|
- vendor/ext/imagesnap/ReadMeOrDont.rtf
|
304
333
|
- vendor/ext/imagesnap/imagesnap
|
305
334
|
- vendor/ext/videosnap/videosnap
|
306
|
-
homepage:
|
335
|
+
homepage:
|
307
336
|
licenses:
|
308
337
|
- LGPL-3.0
|
309
338
|
metadata:
|
@@ -312,7 +341,7 @@ metadata:
|
|
312
341
|
changelog_uri: https://github.com/lolcommits/lolcommits/blob/master/CHANGELOG.md
|
313
342
|
bug_tracker_uri: https://github.com/lolcommits/lolcommits/issues
|
314
343
|
allowed_push_host: https://rubygems.org
|
315
|
-
post_install_message:
|
344
|
+
post_install_message:
|
316
345
|
rdoc_options: []
|
317
346
|
require_paths:
|
318
347
|
- lib
|
@@ -320,7 +349,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
320
349
|
requirements:
|
321
350
|
- - ">="
|
322
351
|
- !ruby/object:Gem::Version
|
323
|
-
version: '
|
352
|
+
version: '3.1'
|
324
353
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
325
354
|
requirements:
|
326
355
|
- - ">="
|
@@ -329,18 +358,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
329
358
|
requirements:
|
330
359
|
- imagemagick
|
331
360
|
- a webcam
|
332
|
-
rubygems_version: 3.5.
|
333
|
-
signing_key:
|
361
|
+
rubygems_version: 3.5.16
|
362
|
+
signing_key:
|
334
363
|
specification_version: 4
|
335
364
|
summary: Capture webcam image on git commit for lulz.
|
336
|
-
test_files:
|
337
|
-
- features/bugs.feature
|
338
|
-
- features/lolcommits.feature
|
339
|
-
- features/step_definitions/lolcommits_steps.rb
|
340
|
-
- features/support/env.rb
|
341
|
-
- features/support/path_helpers.rb
|
342
|
-
- test/assets/test_image.jpg
|
343
|
-
- test/assets/test_video.mp4
|
344
|
-
- test/images/test_image.jpg
|
345
|
-
- test/permissions_test.rb
|
346
|
-
- test/test_helper.rb
|
365
|
+
test_files: []
|
data/.coveralls.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
service_name: travis-ci
|
data/.editorconfig
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
# EditorConfig helps developers define and maintain consistent
|
2
|
-
# coding styles between different editors and IDEs
|
3
|
-
# editorconfig.org
|
4
|
-
|
5
|
-
root = true
|
6
|
-
|
7
|
-
[*]
|
8
|
-
indent_style = space
|
9
|
-
indent_size = 2
|
10
|
-
|
11
|
-
end_of_line = lf
|
12
|
-
charset = utf-8
|
13
|
-
trim_trailing_whitespace = true
|
14
|
-
insert_final_newline = true
|
15
|
-
|
16
|
-
[*.md]
|
17
|
-
trim_trailing_whitespace = false
|
data/appveyor.yml
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
version: "{build}"
|
2
|
-
|
3
|
-
os: Windows Server 2012
|
4
|
-
platform:
|
5
|
-
- x64
|
6
|
-
|
7
|
-
environment:
|
8
|
-
matrix:
|
9
|
-
- ruby_version: "193"
|
10
|
-
- ruby_version: "200"
|
11
|
-
- ruby_version: "21"
|
12
|
-
- ruby_version: "22"
|
13
|
-
|
14
|
-
clone_folder: c:\projects\lolcommits
|
15
|
-
clone_depth: 10
|
16
|
-
skip_tags: true
|
17
|
-
|
18
|
-
init:
|
19
|
-
# stub mplayer/ffmpeg so it looks like they are installed
|
20
|
-
- mkdir c:\bin
|
21
|
-
- fsutil file createnew c:\bin\mplayer 1
|
22
|
-
- fsutil file createnew c:\bin\ffmpeg 1
|
23
|
-
- setx path "%path%;c:\bin"
|
24
|
-
|
25
|
-
install:
|
26
|
-
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
|
27
|
-
- ruby --version
|
28
|
-
- gem --version
|
29
|
-
- gem install bundler --quiet --no-ri --no-rdoc
|
30
|
-
- bundler --version
|
31
|
-
- choco install imagemagick.app -y
|
32
|
-
|
33
|
-
build_script:
|
34
|
-
- bundle install
|
35
|
-
|
36
|
-
test_script:
|
37
|
-
- bundle exec rake
|