lolcommits-tranzlate 0.4.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +38 -0
- data/.travis.yml +4 -4
- data/CHANGELOG.md +10 -1
- data/README.md +7 -14
- data/Rakefile +1 -11
- data/assets/images/lolz.jpg +0 -0
- data/lib/lolcommits/tranzlate/version.rb +1 -1
- data/lolcommits-tranzlate.gemspec +3 -4
- data/test/test_helper.rb +0 -4
- metadata +11 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8a4fdd00e3596c2d269767217f49222a335e87577667bdd4fa36b0f89aa80fc
|
4
|
+
data.tar.gz: bae24312ae1abda389f35a5a87f09376f4ff96e62019214a8369e602ac729b6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0b60aafc37c0dd8432408eda1d20224e9e72eec40790a9d0a15a775abe5393dd82a9057707470b9e0e23226a7fb0f76ea9429bd214cabf4d13661c3e72a5278
|
7
|
+
data.tar.gz: 3edb6e5e487e818bbf1cdf43d23382ba3430df2adbc726589b0bb9715405ad5bc5895fcafe94071b8ab37b945d85c215e662d3206e73ac499e6325af76836892
|
@@ -0,0 +1,38 @@
|
|
1
|
+
name: CI
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- main
|
7
|
+
pull_request:
|
8
|
+
branches:
|
9
|
+
- main
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
test:
|
13
|
+
name: ${{ format('Unit tests (Ruby {0})', matrix.ruby-version) }}
|
14
|
+
runs-on: ubuntu-latest
|
15
|
+
strategy:
|
16
|
+
matrix:
|
17
|
+
ruby-version:
|
18
|
+
- "3.1"
|
19
|
+
- "3.2"
|
20
|
+
- "3.3"
|
21
|
+
- "3.4"
|
22
|
+
continue-on-error: true
|
23
|
+
steps:
|
24
|
+
- uses: actions/checkout@v4
|
25
|
+
- name: Set up Ruby and install gems
|
26
|
+
uses: ruby/setup-ruby@v1
|
27
|
+
with:
|
28
|
+
ruby-version: ${{ matrix.ruby-version }}
|
29
|
+
bundler-cache: true
|
30
|
+
- name: Configure Git
|
31
|
+
run: |
|
32
|
+
git config --global user.name $NAME
|
33
|
+
git config --global user.email $EMAIL
|
34
|
+
env:
|
35
|
+
NAME: "George Costanza"
|
36
|
+
EMAIL: "george.costanza@vandelay.com"
|
37
|
+
- name: Run tests
|
38
|
+
run: bundle exec rake test
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -9,6 +9,14 @@ project adheres to [Semantic Versioning][Semver].
|
|
9
9
|
|
10
10
|
- Your contribution here!
|
11
11
|
|
12
|
+
## [0.5.1] - 2024-12-27
|
13
|
+
### Changed
|
14
|
+
- Push gems with bundler (not GitHub actions)
|
15
|
+
|
16
|
+
## [0.5.0] - 2024-09-23
|
17
|
+
### Removed
|
18
|
+
- Support for Ruby < 3.1 (older rubies no longer supported)
|
19
|
+
|
12
20
|
## [0.4.0] - 2020-01-24
|
13
21
|
### Removed
|
14
22
|
- Support for Ruby < 2.4 (older rubies no longer supported)
|
@@ -73,7 +81,8 @@ project adheres to [Semantic Versioning][Semver].
|
|
73
81
|
### Changed
|
74
82
|
- Initial release
|
75
83
|
|
76
|
-
[Unreleased]: https://github.com/lolcommits/lolcommits-tranzlate/compare/v0.
|
84
|
+
[Unreleased]: https://github.com/lolcommits/lolcommits-tranzlate/compare/v0.5.0...HEAD
|
85
|
+
[0.5.0]: https://github.com/lolcommits/lolcommits-tranzlate/compare/v0.4.0...v0.5.0
|
77
86
|
[0.4.0]: https://github.com/lolcommits/lolcommits-tranzlate/compare/v0.3.0...v0.4.0
|
78
87
|
[0.3.0]: https://github.com/lolcommits/lolcommits-tranzlate/compare/v0.2.0...v0.3.0
|
79
88
|
[0.2.0]: https://github.com/lolcommits/lolcommits-tranzlate/compare/v0.1.1...v0.2.0
|
data/README.md
CHANGED
@@ -1,10 +1,8 @@
|
|
1
1
|
# Lolcommits Tranzlate
|
2
2
|
|
3
|
+
[![CI](https://img.shields.io/github/actions/workflow/status/lolcommits/lolcommits-tranzlate/ci.yml?branch=main&style=flat&label=CI)](https://github.com/lolcommits/lolcommits-tranzlate/actions/workflows/ci.yml)
|
3
4
|
[![Gem](https://img.shields.io/gem/v/lolcommits-tranzlate.svg?style=flat)](http://rubygems.org/gems/lolcommits-tranzlate)
|
4
|
-
[![Travis](https://img.shields.io/travis/com/lolcommits/lolcommits-tranzlate/master.svg?style=flat)](https://travis-ci.com/lolcommits/lolcommits-tranzlate)
|
5
5
|
[![Depfu](https://img.shields.io/depfu/lolcommits/lolcommits-tranzlate.svg?style=flat)](https://depfu.com/github/lolcommits/lolcommits-tranzlate)
|
6
|
-
[![Maintainability](https://api.codeclimate.com/v1/badges/9756257deacd122a4063/maintainability)](https://codeclimate.com/github/lolcommits/lolcommits-tranzlate/maintainability)
|
7
|
-
[![Test Coverage](https://api.codeclimate.com/v1/badges/9756257deacd122a4063/test_coverage)](https://codeclimate.com/github/lolcommits/lolcommits-tranzlate/test_coverage)
|
8
6
|
|
9
7
|
[lolcommits](https://lolcommits.github.io/) takes a snapshot with your
|
10
8
|
webcam every time you git commit code, and archives a lolcat style image
|
@@ -15,11 +13,11 @@ This plugin will TRANZLATE YOAR COMMIT MSG TO
|
|
15
13
|
LIKEZ DIS:
|
16
14
|
|
17
15
|
![lolz
|
18
|
-
commit](https://github.com/lolcommits/lolcommits-tranzlate/raw/
|
16
|
+
commit](https://github.com/lolcommits/lolcommits-tranzlate/raw/main/assets/images/lolz.jpg)
|
19
17
|
|
20
18
|
## Requirements
|
21
19
|
|
22
|
-
* Ruby >=
|
20
|
+
* Ruby >= 3.1
|
23
21
|
* A webcam
|
24
22
|
* [ImageMagick](http://www.imagemagick.org)
|
25
23
|
* [ffmpeg](https://www.ffmpeg.org) (optional) for animated gif capturing
|
@@ -40,8 +38,7 @@ Thats it! Your lolcommit messages will now be tranzlated!
|
|
40
38
|
## Development
|
41
39
|
|
42
40
|
Check out this repo and run `bin/setup`, to install all dependencies and
|
43
|
-
generate docs. Run `bundle exec rake` to run all tests
|
44
|
-
coverage report.
|
41
|
+
generate docs. Run `bundle exec rake` to run all tests.
|
45
42
|
|
46
43
|
You can also run `bin/console` for an interactive prompt that will allow
|
47
44
|
you to experiment with the gem code.
|
@@ -72,10 +69,8 @@ and [pull
|
|
72
69
|
requests](https://github.com/lolcommits/lolcommits-tranzlate/pulls) are
|
73
70
|
welcome on GitHub.
|
74
71
|
|
75
|
-
When submitting pull requests, remember to add tests covering any new
|
76
|
-
|
77
|
-
CI](https://travis-ci.com/lolcommits/lolcommits-tranzlate). Read the
|
78
|
-
[contributing
|
72
|
+
When submitting pull requests, remember to add tests covering any new behaviour,
|
73
|
+
and ensure all tests are passing on CI. Read the [contributing
|
79
74
|
guidelines](https://github.com/lolcommits/lolcommits-tranzlate/blob/master/CONTRIBUTING.md)
|
80
75
|
for more details.
|
81
76
|
|
@@ -93,9 +88,7 @@ The gem is available as open source under the terms of
|
|
93
88
|
|
94
89
|
## Links
|
95
90
|
|
96
|
-
* [
|
97
|
-
* [Test Coverage](https://codeclimate.com/github/lolcommits/lolcommits-tranzlate/test_coverage)
|
98
|
-
* [Code Climate](https://codeclimate.com/github/lolcommits/lolcommits-tranzlate)
|
91
|
+
* [CI](https://github.com/lolcommits/lolcommits-tranzlate/actions/workflows/ci.yml)
|
99
92
|
* [RDoc](http://rdoc.info/projects/lolcommits/lolcommits-tranzlate)
|
100
93
|
* [Issues](http://github.com/lolcommits/lolcommits-tranzlate/issues)
|
101
94
|
* [Report a bug](http://github.com/lolcommits/lolcommits-tranzlate/issues/new)
|
data/Rakefile
CHANGED
@@ -18,14 +18,4 @@ Rake::TestTask.new(:test) do |t|
|
|
18
18
|
t.test_files = FileList["test/**/*_test.rb"]
|
19
19
|
end
|
20
20
|
|
21
|
-
|
22
|
-
namespace :test do
|
23
|
-
desc "Run all tests and features and generate a code coverage report"
|
24
|
-
task :coverage do
|
25
|
-
ENV['COVERAGE'] = 'true'
|
26
|
-
Rake::Task['test'].execute
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
|
31
|
-
task :default => ['test:coverage']
|
21
|
+
task :default => ['test']
|
Binary file
|
@@ -20,17 +20,16 @@ Gem::Specification.new do |spec|
|
|
20
20
|
"allowed_push_host" => "https://rubygems.org"
|
21
21
|
}
|
22
22
|
|
23
|
-
spec.files = `git ls-files
|
23
|
+
spec.files = `git ls-files`.split("\n")
|
24
24
|
spec.test_files = `git ls-files -- {test,features}/*`.split("\n")
|
25
25
|
spec.bindir = "bin"
|
26
26
|
spec.executables = []
|
27
27
|
spec.require_paths = ["lib"]
|
28
28
|
|
29
|
-
spec.required_ruby_version = ">=
|
30
|
-
spec.add_runtime_dependency "lolcommits", ">= 0.
|
29
|
+
spec.required_ruby_version = ">= 3.1"
|
30
|
+
spec.add_runtime_dependency "lolcommits", ">= 0.17.2"
|
31
31
|
|
32
32
|
spec.add_development_dependency "bundler"
|
33
33
|
spec.add_development_dependency "rake"
|
34
34
|
spec.add_development_dependency "minitest"
|
35
|
-
spec.add_development_dependency "simplecov"
|
36
35
|
end
|
data/test/test_helper.rb
CHANGED
@@ -9,10 +9,6 @@ require 'lolcommits'
|
|
9
9
|
require 'lolcommits/test_helpers/git_repo'
|
10
10
|
require 'lolcommits/test_helpers/fake_io'
|
11
11
|
|
12
|
-
if ENV['COVERAGE']
|
13
|
-
require 'simplecov'
|
14
|
-
end
|
15
|
-
|
16
12
|
# plugin gem test libs
|
17
13
|
require 'lolcommits/tranzlate'
|
18
14
|
require 'minitest/autorun'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lolcommits-tranzlate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Hutchinson
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lolcommits
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.17.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.17.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,20 +66,6 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: simplecov
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
69
|
description: TRANZLATE YOAR LOLCOMMIT MSG TO LOLSPEKK
|
84
70
|
email:
|
85
71
|
- matt@hiddenloop.com
|
@@ -87,6 +73,7 @@ executables: []
|
|
87
73
|
extensions: []
|
88
74
|
extra_rdoc_files: []
|
89
75
|
files:
|
76
|
+
- ".github/workflows/ci.yml"
|
90
77
|
- ".gitignore"
|
91
78
|
- ".simplecov"
|
92
79
|
- ".travis.yml"
|
@@ -98,6 +85,7 @@ files:
|
|
98
85
|
- PULL_REQUEST_TEMPLATE.md
|
99
86
|
- README.md
|
100
87
|
- Rakefile
|
88
|
+
- assets/images/lolz.jpg
|
101
89
|
- bin/console
|
102
90
|
- bin/setup
|
103
91
|
- lib/lolcommits/plugin/tranzlate.rb
|
@@ -116,7 +104,7 @@ metadata:
|
|
116
104
|
source_code_uri: https://github.com/lolcommits/lolcommits-tranzlate
|
117
105
|
bug_tracker_uri: https://github.com/lolcommits/lolcommits-tranzlate/issues
|
118
106
|
allowed_push_host: https://rubygems.org
|
119
|
-
post_install_message:
|
107
|
+
post_install_message:
|
120
108
|
rdoc_options: []
|
121
109
|
require_paths:
|
122
110
|
- lib
|
@@ -124,15 +112,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
124
112
|
requirements:
|
125
113
|
- - ">="
|
126
114
|
- !ruby/object:Gem::Version
|
127
|
-
version: '
|
115
|
+
version: '3.1'
|
128
116
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
129
117
|
requirements:
|
130
118
|
- - ">="
|
131
119
|
- !ruby/object:Gem::Version
|
132
120
|
version: '0'
|
133
121
|
requirements: []
|
134
|
-
rubygems_version: 3.
|
135
|
-
signing_key:
|
122
|
+
rubygems_version: 3.5.22
|
123
|
+
signing_key:
|
136
124
|
specification_version: 4
|
137
125
|
summary: lolcommits lolspekk tranzlation plugin
|
138
126
|
test_files:
|