lolcommits-loltext 0.0.9 → 0.1.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 +8 -11
- data/CHANGELOG.md +11 -3
- data/README.md +1 -1
- data/lib/lolcommits/loltext/version.rb +3 -1
- data/lib/lolcommits/loltext.rb +2 -0
- data/lib/lolcommits/plugin/loltext.rb +2 -0
- data/lolcommits-loltext.gemspec +11 -13
- data/test/lolcommits/plugin/loltext_test.rb +2 -8
- data/test/test_helper.rb +2 -0
- metadata +4 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af74b544968827ee8ecfe6ae294071c88e8669b6378a18710d54f6c1ac82c5a9
|
4
|
+
data.tar.gz: a167638aceac00e098dc30fa31dc786cde2189958d9d0cb27632f1400c62af89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 369194a5f82bcb37cb01140464bcaba3fe69beff5a0be2336cc1fbfa904abcfcf31a65e0f60b4f714ffe6fbb46d72dac2712a32f6775d03a76fc8285c5d4ad55
|
7
|
+
data.tar.gz: a17ddc402d9fcc5bd09cb6f3b463aafc0e37599c179f99dcf90c7cb7048aecb1d539fc831ed273d9f5c92e2b068997cf446647995f348225be8d8b80a1d7a673
|
data/.travis.yml
CHANGED
@@ -2,19 +2,16 @@ sudo: false
|
|
2
2
|
language: ruby
|
3
3
|
cache: bundler
|
4
4
|
rvm:
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
-
|
10
|
-
- ruby-head
|
5
|
+
- 2.3.8
|
6
|
+
- 2.4.6
|
7
|
+
- 2.5.5
|
8
|
+
- 2.6.3
|
9
|
+
- ruby-head
|
11
10
|
|
12
11
|
before_install:
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
- git config --global user.email "lol@commits.org"
|
17
|
-
- git config --global user.name "Lolcommits"
|
12
|
+
- git --version
|
13
|
+
- git config --global user.email "lol@commits.org"
|
14
|
+
- git config --global user.name "Lolcommits"
|
18
15
|
|
19
16
|
matrix:
|
20
17
|
allow_failures:
|
data/CHANGELOG.md
CHANGED
@@ -2,13 +2,20 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
-
The format is based on [Keep a Changelog]
|
6
|
-
adheres to [Semantic Versioning]
|
5
|
+
The format is based on [Keep a Changelog][KeepAChangelog] and this project
|
6
|
+
adheres to [Semantic Versioning][Semver].
|
7
7
|
|
8
8
|
## [Unreleased]
|
9
9
|
|
10
10
|
- Your contribution here!
|
11
11
|
|
12
|
+
## [0.1.0] - 2019-04-24
|
13
|
+
### Removed
|
14
|
+
- Support for Ruby < 2.3 (older rubies no longer supported)
|
15
|
+
|
16
|
+
### Added
|
17
|
+
- `frozen_string_literal: true` to all ruby files
|
18
|
+
|
12
19
|
## [0.0.9] - 2018-05-24
|
13
20
|
### Changed
|
14
21
|
- Updated gemspec meta data links.
|
@@ -56,7 +63,8 @@ adheres to [Semantic Versioning](Semver).
|
|
56
63
|
### Changed
|
57
64
|
- Initial release (Yanked)
|
58
65
|
|
59
|
-
[Unreleased]: https://github.com/lolcommits/lolcommits-loltext/compare/v0.0
|
66
|
+
[Unreleased]: https://github.com/lolcommits/lolcommits-loltext/compare/v0.1.0...HEAD
|
67
|
+
[0.1.0]: https://github.com/lolcommits/lolcommits-loltext/compare/v0.9.0...v0.1.0
|
60
68
|
[0.0.9]: https://github.com/lolcommits/lolcommits-loltext/compare/v0.0.8...v0.0.9
|
61
69
|
[0.0.8]: https://github.com/lolcommits/lolcommits-loltext/compare/v0.0.7...v0.0.8
|
62
70
|
[0.0.7]: https://github.com/lolcommits/lolcommits-loltext/compare/v0.0.6...v0.0.7
|
data/README.md
CHANGED
data/lib/lolcommits/loltext.rb
CHANGED
data/lolcommits-loltext.gemspec
CHANGED
@@ -1,22 +1,20 @@
|
|
1
|
-
# coding: utf-8
|
2
1
|
lib = File.expand_path('../lib', __FILE__)
|
3
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
3
|
require 'lolcommits/loltext/version'
|
5
4
|
|
6
5
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name
|
8
|
-
spec.version
|
9
|
-
spec.authors
|
10
|
-
spec.email
|
11
|
-
spec.summary
|
12
|
-
|
13
|
-
spec.
|
6
|
+
spec.name = "lolcommits-loltext"
|
7
|
+
spec.version = Lolcommits::Loltext::VERSION
|
8
|
+
spec.authors = ["Matthew Hutchinson"]
|
9
|
+
spec.email = ["matt@hiddenloop.com"]
|
10
|
+
spec.summary = %q{lolcommits commit message annotation plugin}
|
11
|
+
spec.homepage = "https://github.com/lolcommits/lolcommits-loltext"
|
12
|
+
spec.license = "LGPL-3"
|
13
|
+
|
14
|
+
spec.description = <<-DESC
|
14
15
|
Overlay the commit message and sha on your lolcommit. Configure text style,
|
15
16
|
positioning and an optional transparent overlay.
|
16
|
-
|
17
|
-
|
18
|
-
spec.homepage = "https://github.com/lolcommits/lolcommits-loltext"
|
19
|
-
spec.license = "LGPL-3"
|
17
|
+
DESC
|
20
18
|
|
21
19
|
spec.metadata = {
|
22
20
|
"homepage_uri" => "https://github.com/lolcommits/lolcommits-loltext",
|
@@ -40,7 +38,7 @@ Gem::Specification.new do |spec|
|
|
40
38
|
spec.executables = []
|
41
39
|
spec.require_paths = ["lib"]
|
42
40
|
|
43
|
-
spec.required_ruby_version = ">= 2.
|
41
|
+
spec.required_ruby_version = ">= 2.3"
|
44
42
|
|
45
43
|
spec.add_development_dependency "lolcommits", ">= 0.11.0"
|
46
44
|
spec.add_development_dependency "bundler"
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'test_helper'
|
2
4
|
|
3
5
|
describe Lolcommits::Plugin::Loltext do
|
@@ -12,14 +14,6 @@ describe Lolcommits::Plugin::Loltext do
|
|
12
14
|
::Lolcommits::Plugin::Loltext.runner_order.must_equal [:post_capture]
|
13
15
|
end
|
14
16
|
|
15
|
-
describe 'default font' do
|
16
|
-
it 'should have the correct file permissions' do
|
17
|
-
font_permissions = File.lstat(Lolcommits::Plugin::Loltext::DEFAULT_FONT_PATH).mode & 0o777
|
18
|
-
(font_permissions == 0o644).must_equal(true,
|
19
|
-
"expected perms of 644/664 but instead got #{format '%o', font_permissions}")
|
20
|
-
end
|
21
|
-
end
|
22
|
-
|
23
17
|
describe 'with a runner' do
|
24
18
|
def runner
|
25
19
|
# a simple lolcommits runner with an empty configuration Hash
|
data/test/test_helper.rb
CHANGED
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.0
|
4
|
+
version: 0.1.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: 2019-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lolcommits
|
@@ -126,15 +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.3'
|
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
|
-
|
137
|
-
rubygems_version: 2.7.6
|
136
|
+
rubygems_version: 3.0.3
|
138
137
|
signing_key:
|
139
138
|
specification_version: 4
|
140
139
|
summary: lolcommits commit message annotation plugin
|