lolcommits-tranzlate 0.3.0 → 0.4.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/.travis.yml +4 -4
- data/CHANGELOG.md +6 -1
- data/README.md +1 -1
- data/lib/lolcommits/tranzlate/version.rb +1 -1
- data/lolcommits-tranzlate.gemspec +1 -1
- data/test/lolcommits/plugin/tranzlate_test.rb +3 -3
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f03bbff5bef6a5095d29fabe88da0f8c25d60b12e405b1f21b1d776a4d5a5abc
|
|
4
|
+
data.tar.gz: 74a22ff79ae713dba941ae922a80e79283a07466a834077c6f945ce2423849cc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e51babc7b2f00f0ce2cb25668af4b201d31fcd7365fda0033a37d3aad81d61fb08c9807fcb1c5a6eb7d2da365bd323ae3076d2fe3edc79ab9ddadbef713d35be
|
|
7
|
+
data.tar.gz: 4c176941e08b6660c5b4098c6bfa45c3e108b650733480dca28d8db32791448f4175bdfa4455ebd12e15d8b56649a9b5dfffa2abc3501d50665adb8b4bb7d389
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,10 @@ project adheres to [Semantic Versioning][Semver].
|
|
|
9
9
|
|
|
10
10
|
- Your contribution here!
|
|
11
11
|
|
|
12
|
+
## [0.4.0] - 2020-01-24
|
|
13
|
+
### Removed
|
|
14
|
+
- Support for Ruby < 2.4 (older rubies no longer supported)
|
|
15
|
+
|
|
12
16
|
## [0.3.0] - 2019-05-20
|
|
13
17
|
### Changed
|
|
14
18
|
- lolcommits gem is a runtime dependency
|
|
@@ -69,7 +73,8 @@ project adheres to [Semantic Versioning][Semver].
|
|
|
69
73
|
### Changed
|
|
70
74
|
- Initial release
|
|
71
75
|
|
|
72
|
-
[Unreleased]: https://github.com/lolcommits/lolcommits-tranzlate/compare/v0.
|
|
76
|
+
[Unreleased]: https://github.com/lolcommits/lolcommits-tranzlate/compare/v0.4.0...HEAD
|
|
77
|
+
[0.4.0]: https://github.com/lolcommits/lolcommits-tranzlate/compare/v0.3.0...v0.4.0
|
|
73
78
|
[0.3.0]: https://github.com/lolcommits/lolcommits-tranzlate/compare/v0.2.0...v0.3.0
|
|
74
79
|
[0.2.0]: https://github.com/lolcommits/lolcommits-tranzlate/compare/v0.1.1...v0.2.0
|
|
75
80
|
[0.1.1]: https://github.com/lolcommits/lolcommits-tranzlate/compare/v0.1.0...v0.1.1
|
data/README.md
CHANGED
|
@@ -19,7 +19,7 @@ commit](https://github.com/lolcommits/lolcommits-tranzlate/raw/master/assets/ima
|
|
|
19
19
|
|
|
20
20
|
## Requirements
|
|
21
21
|
|
|
22
|
-
* Ruby >= 2.
|
|
22
|
+
* Ruby >= 2.4
|
|
23
23
|
* A webcam
|
|
24
24
|
* [ImageMagick](http://www.imagemagick.org)
|
|
25
25
|
* [ffmpeg](https://www.ffmpeg.org) (optional) for animated gif capturing
|
|
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
|
26
26
|
spec.executables = []
|
|
27
27
|
spec.require_paths = ["lib"]
|
|
28
28
|
|
|
29
|
-
spec.required_ruby_version = ">= 2.
|
|
29
|
+
spec.required_ruby_version = ">= 2.4"
|
|
30
30
|
spec.add_runtime_dependency "lolcommits", ">= 0.14.2"
|
|
31
31
|
|
|
32
32
|
spec.add_development_dependency "bundler"
|
|
@@ -18,12 +18,12 @@ describe Lolcommits::Plugin::Tranzlate do
|
|
|
18
18
|
|
|
19
19
|
describe '#enabled?' do
|
|
20
20
|
it 'returns false by default' do
|
|
21
|
-
plugin.enabled
|
|
21
|
+
_(plugin.enabled?).must_equal false
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
it 'returns true when configured' do
|
|
25
25
|
plugin.configuration = { enabled: true }
|
|
26
|
-
plugin.enabled
|
|
26
|
+
_(plugin.enabled?).must_equal true
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
@@ -32,7 +32,7 @@ describe Lolcommits::Plugin::Tranzlate do
|
|
|
32
32
|
|
|
33
33
|
it 'tranzlates the commit message' do
|
|
34
34
|
in_repo { plugin.run_pre_capture }
|
|
35
|
-
runner.message.must_match(/AWESUM COMMIT/)
|
|
35
|
+
_(runner.message).must_match(/AWESUM COMMIT/)
|
|
36
36
|
end
|
|
37
37
|
|
|
38
38
|
after { teardown_repo }
|
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.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matthew Hutchinson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-01-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: lolcommits
|
|
@@ -124,14 +124,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
124
124
|
requirements:
|
|
125
125
|
- - ">="
|
|
126
126
|
- !ruby/object:Gem::Version
|
|
127
|
-
version: '2.
|
|
127
|
+
version: '2.4'
|
|
128
128
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
129
129
|
requirements:
|
|
130
130
|
- - ">="
|
|
131
131
|
- !ruby/object:Gem::Version
|
|
132
132
|
version: '0'
|
|
133
133
|
requirements: []
|
|
134
|
-
rubygems_version: 3.
|
|
134
|
+
rubygems_version: 3.1.2
|
|
135
135
|
signing_key:
|
|
136
136
|
specification_version: 4
|
|
137
137
|
summary: lolcommits lolspekk tranzlation plugin
|