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 +4 -4
- data/.travis.yml +4 -4
- data/CHANGELOG.md +7 -2
- data/README.md +1 -1
- data/lib/lolcommits/loltext/version.rb +1 -1
- data/lolcommits-loltext.gemspec +1 -1
- data/test/lolcommits/plugin/loltext_test.rb +8 -8
- 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: 94ce9a4a3319745282995d9e20fc468dc7e47aba6978edab71c40cdff1c2e386
|
4
|
+
data.tar.gz: 79e63b0bf4c1573c42779e77a48a789d4405bdc3994a72b25ff7c5623247683b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c59ef7e41d2c0a1b81209116b2a0182a7b3a6a49c9a558edba325206072866d3376375e9a03cc5774377a43e749e011094b3edab8727da690d4300ebaa6cfe57
|
7
|
+
data.tar.gz: db1f5c076bded8af3be1c00230cda242e0a13400963f2181465ff0e2ad8ed300d3423b0daf7526fc5e976e7e1655b741cee825b945879dcec89f8f3dd73fb4de
|
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
|
- 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.
|
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.
|
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
data/lolcommits-loltext.gemspec
CHANGED
@@ -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.
|
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
|
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
|
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
|
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
|
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.
|
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
|
@@ -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.
|
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.
|
136
|
+
rubygems_version: 3.1.2
|
137
137
|
signing_key:
|
138
138
|
specification_version: 4
|
139
139
|
summary: lolcommits commit message annotation plugin
|