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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c8d7f7c6ddc343ce0b03d8ec38f1ecff5a1be447434ff1a9c4a8c55ebba4abe
4
- data.tar.gz: 38ad8bb5ba026630b8ee54ab20f8c3b588908ea95f1c6bd4dbce4cf7456aae97
3
+ metadata.gz: af74b544968827ee8ecfe6ae294071c88e8669b6378a18710d54f6c1ac82c5a9
4
+ data.tar.gz: a167638aceac00e098dc30fa31dc786cde2189958d9d0cb27632f1400c62af89
5
5
  SHA512:
6
- metadata.gz: 41ab69a49e16b533918f64701ef0fb59eee254e0478e9e3f02991cb32712ff0944e8a136107792592b15ea0525f372f5ff38f18fe3539ffac6d1c833eebb1b4c
7
- data.tar.gz: '019314bc626054f182e6565ad8252209ab1e0caa412f689508abe6cb2d135c22f1951001aa757b192e1d0e2ae4387d0df8cb22371767311df6e880e6d99bc475'
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
- - 2.1.10
6
- - 2.2.9
7
- - 2.3.6
8
- - 2.4.3
9
- - 2.5.1
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
- - gem update --system
14
- - gem install bundler
15
- - git --version
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](KeepAChangelog) and this project
6
- adheres to [Semantic Versioning](Semver).
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.9...HEAD
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
@@ -30,7 +30,7 @@ more information on the options available.
30
30
 
31
31
  ## Requirements
32
32
 
33
- * Ruby >= 2.0.0
33
+ * Ruby >= 2.3
34
34
  * A webcam
35
35
  * [ImageMagick](http://www.imagemagick.org)
36
36
  * [ffmpeg](https://www.ffmpeg.org) (optional) for animated gif capturing
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Lolcommits
2
4
  module Loltext
3
- VERSION = "0.0.9".freeze
5
+ VERSION = "0.1.0".freeze
4
6
  end
5
7
  end
@@ -1,2 +1,4 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'lolcommits/loltext/version'
2
4
  require 'lolcommits/plugin/loltext'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'lolcommits/plugin/base'
2
4
 
3
5
  module Lolcommits
@@ -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 = "lolcommits-loltext"
8
- spec.version = Lolcommits::Loltext::VERSION
9
- spec.authors = ["Matthew Hutchinson"]
10
- spec.email = ["matt@hiddenloop.com"]
11
- spec.summary = %q{lolcommits commit message annotation plugin}
12
-
13
- spec.description = <<-EOF
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
- EOF
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.1"
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
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
2
4
 
3
5
  # lolcommits gem
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.9
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: 2018-05-24 00:00:00.000000000 Z
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.1'
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
- rubyforge_project:
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