lolcommits-loltext 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f13794887d694c6dcac5c00ed17bac73b71bfeec23b7f3fa7c4fe7897f6ff4b2
4
- data.tar.gz: e1c5eb3062f5ce23a8d37057a3fc15edf57b5c763864609fa5949edcf06a4318
3
+ metadata.gz: 94ce9a4a3319745282995d9e20fc468dc7e47aba6978edab71c40cdff1c2e386
4
+ data.tar.gz: 79e63b0bf4c1573c42779e77a48a789d4405bdc3994a72b25ff7c5623247683b
5
5
  SHA512:
6
- metadata.gz: 708d69237b375c1f1e8e7b3ed9328deae68f021e1ede42210d86d01dd7cee3fefba743cd915dd7c979837e5cee360871879b35ad5d8fae1817b55d783e82582c
7
- data.tar.gz: c7c8613f53485d504f327038535cf2b7a02184707eb62d655df0f2fc5bf289625ef1a997c83be6f65f28f80efcc315fd06f54e3f51d45cb87dd1621786a86385
6
+ metadata.gz: c59ef7e41d2c0a1b81209116b2a0182a7b3a6a49c9a558edba325206072866d3376375e9a03cc5774377a43e749e011094b3edab8727da690d4300ebaa6cfe57
7
+ data.tar.gz: db1f5c076bded8af3be1c00230cda242e0a13400963f2181465ff0e2ad8ed300d3423b0daf7526fc5e976e7e1655b741cee825b945879dcec89f8f3dd73fb4de
@@ -2,10 +2,10 @@ sudo: false
2
2
  language: ruby
3
3
  cache: bundler
4
4
  rvm:
5
- - 2.3.8
6
- - 2.4.6
7
- - 2.5.5
8
- - 2.6.3
5
+ - 2.4.9
6
+ - 2.5.7
7
+ - 2.6.5
8
+ - 2.7.0
9
9
  - ruby-head
10
10
 
11
11
  before_install:
@@ -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
  - update gemspec and README
@@ -80,9 +84,10 @@ lolcommits 0.14.0)
80
84
  ### Changed
81
85
  - Initial release (Yanked)
82
86
 
83
- [Unreleased]: https://github.com/lolcommits/lolcommits-loltext/compare/v0.3.0...HEAD
87
+ [Unreleased]: https://github.com/lolcommits/lolcommits-loltext/compare/v0.4.0...HEAD
88
+ [0.4.0]: https://github.com/lolcommits/lolcommits-loltext/compare/v0.3.0...v0.4.0
84
89
  [0.3.0]: https://github.com/lolcommits/lolcommits-loltext/compare/v0.2.1...v0.3.0
85
- [0.2.1]: https://github.com/lolcommits/lolcommits-loltext/compare/v0.1.0...v0.2.1
90
+ [0.2.3]: https://github.com/lolcommits/lolcommits-loltext/compare/v0.1.0...v0.2.3
86
91
  [0.1.0]: https://github.com/lolcommits/lolcommits-loltext/compare/v0.9.0...v0.1.0
87
92
  [0.0.9]: https://github.com/lolcommits/lolcommits-loltext/compare/v0.0.8...v0.0.9
88
93
  [0.0.8]: https://github.com/lolcommits/lolcommits-loltext/compare/v0.0.7...v0.0.8
data/README.md CHANGED
@@ -30,7 +30,7 @@ more information on the options available.
30
30
 
31
31
  ## Requirements
32
32
 
33
- * Ruby >= 2.3
33
+ * Ruby >= 2.4
34
34
  * A webcam
35
35
  * [ImageMagick](http://www.imagemagick.org)
36
36
  * [ffmpeg](https://www.ffmpeg.org) (optional) for animated gif capturing
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Lolcommits
4
4
  module Loltext
5
- VERSION = "0.3.0".freeze
5
+ VERSION = "0.4.0".freeze
6
6
  end
7
7
  end
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
30
30
  spec.executables = []
31
31
  spec.require_paths = ["lib"]
32
32
 
33
- spec.required_ruby_version = ">= 2.3"
33
+ spec.required_ruby_version = ">= 2.4"
34
34
 
35
35
  spec.add_development_dependency "lolcommits", ">= 0.14.2"
36
36
  spec.add_development_dependency "bundler"
@@ -7,7 +7,7 @@ describe Lolcommits::Plugin::Loltext do
7
7
  include Lolcommits::TestHelpers::FakeIO
8
8
 
9
9
  it 'should run on post capturing' do
10
- ::Lolcommits::Plugin::Loltext.runner_order.must_equal [:post_capture]
10
+ _(::Lolcommits::Plugin::Loltext.runner_order).must_equal [:post_capture]
11
11
  end
12
12
 
13
13
  describe 'with a runner' do
@@ -26,19 +26,19 @@ describe Lolcommits::Plugin::Loltext do
26
26
 
27
27
  describe 'initalizing' do
28
28
  it 'should assign runner and an enabled option' do
29
- plugin.runner.must_equal runner
30
- plugin.options.must_equal [:enabled]
29
+ _(plugin.runner).must_equal runner
30
+ _(plugin.options).must_equal [:enabled]
31
31
  end
32
32
  end
33
33
 
34
34
  describe '#enabled?' do
35
35
  it 'should be true by default' do
36
- plugin.enabled?.must_equal true
36
+ _(plugin.enabled?).must_equal true
37
37
  end
38
38
 
39
39
  it 'should true when configured' do
40
40
  plugin.configuration = valid_enabled_config
41
- plugin.enabled?.must_equal true
41
+ _(plugin.enabled?).must_equal true
42
42
  end
43
43
  end
44
44
 
@@ -68,7 +68,7 @@ describe Lolcommits::Plugin::Loltext do
68
68
  configured_plugin_options = plugin.configure_options!
69
69
  end
70
70
 
71
- configured_plugin_options.must_equal( {
71
+ _(configured_plugin_options).must_equal( {
72
72
  enabled: true,
73
73
  message: {
74
74
  color: 'red',
@@ -101,12 +101,12 @@ describe Lolcommits::Plugin::Loltext do
101
101
 
102
102
  describe '#valid_configuration?' do
103
103
  it 'should be trye even if config is not set' do
104
- plugin.valid_configuration?.must_equal(true)
104
+ _(plugin.valid_configuration?).must_equal(true)
105
105
  end
106
106
 
107
107
  it 'should be true for a valid configuration' do
108
108
  plugin.configuration = valid_enabled_config
109
- plugin.valid_configuration?.must_equal true
109
+ _(plugin.valid_configuration?).must_equal true
110
110
  end
111
111
  end
112
112
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lolcommits-loltext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.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: 2019-05-20 00:00:00.000000000 Z
11
+ date: 2020-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lolcommits
@@ -126,14 +126,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
126
126
  requirements:
127
127
  - - ">="
128
128
  - !ruby/object:Gem::Version
129
- version: '2.3'
129
+ version: '2.4'
130
130
  required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  requirements:
132
132
  - - ">="
133
133
  - !ruby/object:Gem::Version
134
134
  version: '0'
135
135
  requirements: []
136
- rubygems_version: 3.0.3
136
+ rubygems_version: 3.1.2
137
137
  signing_key:
138
138
  specification_version: 4
139
139
  summary: lolcommits commit message annotation plugin