lolcommits-loltext 0.2.3 → 0.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1241a6508c14df43bcd23a741b41b6019ad1f7ade49aafb514e5b1f76c66eeca
4
- data.tar.gz: 4e910956ce8db81fedae758c9923a742b433f491dc5c2682f5f34b280e954ea5
3
+ metadata.gz: f13794887d694c6dcac5c00ed17bac73b71bfeec23b7f3fa7c4fe7897f6ff4b2
4
+ data.tar.gz: e1c5eb3062f5ce23a8d37057a3fc15edf57b5c763864609fa5949edcf06a4318
5
5
  SHA512:
6
- metadata.gz: 32bd95efb302944370421278c9db566c595229c2a56c0c973b46d23031a05494b0a2c71fb288154d7020470d6067122d0f47565d05c5eee7021ee7a35de66d44
7
- data.tar.gz: 638f9359c3b70544d4acd0b99ad38aa01e126e30248438acce560d13ab4be192a381d89fcf41d0365bcae3ac40338596409921335a3804e092acea8362aeb39b
6
+ metadata.gz: 708d69237b375c1f1e8e7b3ed9328deae68f021e1ede42210d86d01dd7cee3fefba743cd915dd7c979837e5cee360871879b35ad5d8fae1817b55d783e82582c
7
+ data.tar.gz: c7c8613f53485d504f327038535cf2b7a02184707eb62d655df0f2fc5bf289625ef1a997c83be6f65f28f80efcc315fd06f54e3f51d45cb87dd1621786a86385
@@ -9,6 +9,14 @@ project adheres to [Semantic Versioning][Semver].
9
9
 
10
10
  - Your contribution here!
11
11
 
12
+ ## [0.3.0] - 2019-05-20
13
+ ### Changed
14
+ - update gemspec and README
15
+ - Requires at least lolcommits >= `0.14.2`
16
+
17
+ ### Removed
18
+ - Support for lolcommits < `0.14.2`
19
+
12
20
  ## [0.2.3] - 2019-05-10
13
21
  ### Changed
14
22
  - use runner.overlay instance to build overlay (requires at least
@@ -72,7 +80,8 @@ lolcommits 0.14.0)
72
80
  ### Changed
73
81
  - Initial release (Yanked)
74
82
 
75
- [Unreleased]: https://github.com/lolcommits/lolcommits-loltext/compare/v0.2.1...HEAD
83
+ [Unreleased]: https://github.com/lolcommits/lolcommits-loltext/compare/v0.3.0...HEAD
84
+ [0.3.0]: https://github.com/lolcommits/lolcommits-loltext/compare/v0.2.1...v0.3.0
76
85
  [0.2.1]: https://github.com/lolcommits/lolcommits-loltext/compare/v0.1.0...v0.2.1
77
86
  [0.1.0]: https://github.com/lolcommits/lolcommits-loltext/compare/v0.9.0...v0.1.0
78
87
  [0.0.9]: https://github.com/lolcommits/lolcommits-loltext/compare/v0.0.8...v0.0.9
data/README.md CHANGED
@@ -6,13 +6,13 @@
6
6
  [![Maintainability](https://api.codeclimate.com/v1/badges/2e0fa03867952572c5db/maintainability)](https://codeclimate.com/github/lolcommits/lolcommits-loltext/maintainability)
7
7
  [![Test Coverage](https://api.codeclimate.com/v1/badges/2e0fa03867952572c5db/test_coverage)](https://codeclimate.com/github/lolcommits/lolcommits-loltext/test_coverage)
8
8
 
9
- [lolcommits](https://lolcommits.github.io/) takes a snapshot with your webcam
10
- every time you git commit code, and archives a lolcat style image with it. Git
11
- blame has never been so much fun!
9
+ [lolcommits](https://lolcommits.github.io/) takes a snapshot with your
10
+ webcam every time you git commit code, and archives a lolcat style image
11
+ with it. Git blame has never been so much fun!
12
12
 
13
- This plugin annotates each lolcommit with the commit message and sha text. You
14
- can style and position these however you like, or add a transparent overlay
15
- color that covers the entire image.
13
+ This plugin annotates each lolcommit with the commit message and sha
14
+ text. You can style and position these however you like, or add a
15
+ transparent overlay color that covers the entire image.
16
16
 
17
17
  By default your lolcommit will look something like this (maybe without the
18
18
  horse):
@@ -37,14 +37,15 @@ more information on the options available.
37
37
 
38
38
  ## Installation
39
39
 
40
- By default, this plugin is automatically included with the main lolcommits gem.
41
- If you have uninstalled this gem, install it again with:
40
+ By default, this plugin is automatically included with the main
41
+ lolcommits gem. If you have uninstalled this gem, install it again
42
+ with:
42
43
 
43
44
  $ gem install lolcommits-loltext
44
45
 
45
- That's it! Every lolcommit will now be stamped with your commit message and sha.
46
- This plugin is enabled by default (if no configuration for it exists). To
47
- disable (so no text or overlay is applied) use:
46
+ That's it! Every lolcommit will now be stamped with your commit message
47
+ and sha. This plugin is enabled by default (if no configuration for it
48
+ exists). To disable (so no text or overlay is applied) use:
48
49
 
49
50
  $ lolcommits --config -p loltext
50
51
  # and set enabled to `false`
@@ -64,7 +65,7 @@ The following options are available:
64
65
  * uppercase text?
65
66
  * size (point size for the font)
66
67
  * stroke color (font outline color, or none)
67
- * transparent overlay (cover the image with a random background color)
68
+ * transparent overlay (cover lolcommit with a random background color)
68
69
  * transparent overlay % (sets the fill colorize strength)
69
70
 
70
71
  Please note that:
@@ -76,10 +77,10 @@ Please note that:
76
77
  * Colors can be hex values (#FC0) or strings (white, red etc.)
77
78
  * You can set one or more `overlay_colors` to pick from, separated with commas
78
79
 
79
- With these options it is possible to create your own unique lolcommit format.
80
- To achieve these '[hipster
81
- styled](https://twitter.com/matthutchin/status/738411190343368704)' 🕶 commits,
82
- try the following:
80
+ With these options it is possible to create your own unique lolcommit
81
+ format. To achieve these '[hipster
82
+ styled](https://twitter.com/matthutchin/status/738411190343368704)' 🕶
83
+ commits, try the following:
83
84
 
84
85
  ```
85
86
  loltext:
@@ -110,11 +111,11 @@ loltext:
110
111
  ## Development
111
112
 
112
113
  Check out this repo and run `bin/setup`, to install all dependencies and
113
- generate docs. Run `bundle exec rake` to run all tests and generate a coverage
114
- report.
114
+ generate docs. Run `bundle exec rake` to run all tests and generate a
115
+ coverage report.
115
116
 
116
- You can also run `bin/console` for an interactive prompt that will allow you to
117
- experiment with the gem code.
117
+ You can also run `bin/console` for an interactive prompt that will allow
118
+ you to experiment with the gem code.
118
119
 
119
120
  ## Tests
120
121
 
@@ -131,25 +132,27 @@ Generate docs for this gem with:
131
132
  ## Troubles?
132
133
 
133
134
  If you think something is broken or missing, please raise a new
134
- [issue](https://github.com/lolcommits/lolcommits-loltext/issues). Take
135
- a moment to check it hasn't been raised in the past (and possibly closed).
135
+ [issue](https://github.com/lolcommits/lolcommits-loltext/issues). Take a
136
+ moment to check it hasn't been raised in the past (and possibly closed).
136
137
 
137
138
  ## Contributing
138
139
 
139
- Bug [reports](https://github.com/lolcommits/lolcommits-loltext/issues) and [pull
140
- requests](https://github.com/lolcommits/lolcommits-loltext/pulls) are welcome on
141
- GitHub.
140
+ Bug [reports](https://github.com/lolcommits/lolcommits-loltext/issues)
141
+ and [pull
142
+ requests](https://github.com/lolcommits/lolcommits-loltext/pulls) are
143
+ welcome on GitHub.
142
144
 
143
- When submitting pull requests, remember to add tests covering any new behaviour,
144
- and ensure all tests are passing on [Travis
145
+ When submitting pull requests, remember to add tests covering any new
146
+ behaviour, and ensure all tests are passing on [Travis
145
147
  CI](https://travis-ci.com/lolcommits/lolcommits-loltext). Read the
146
148
  [contributing
147
149
  guidelines](https://github.com/lolcommits/lolcommits-loltext/blob/master/CONTRIBUTING.md)
148
150
  for more details.
149
151
 
150
- This project is intended to be a safe, welcoming space for collaboration, and
151
- contributors are expected to adhere to the [Contributor
152
- Covenant](http://contributor-covenant.org) code of conduct. See
152
+ This project is intended to be a safe, welcoming space for
153
+ collaboration, and contributors are expected to adhere to the
154
+ [Contributor Covenant](http://contributor-covenant.org) code of conduct.
155
+ See
153
156
  [here](https://github.com/lolcommits/lolcommits-loltext/blob/master/CODE_OF_CONDUCT.md)
154
157
  for more details.
155
158
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Lolcommits
4
4
  module Loltext
5
- VERSION = "0.2.3".freeze
5
+ VERSION = "0.3.0".freeze
6
6
  end
7
7
  end
@@ -9,29 +9,21 @@ Gem::Specification.new do |spec|
9
9
  spec.email = ["matt@hiddenloop.com"]
10
10
  spec.summary = %q{lolcommits commit message annotation plugin}
11
11
  spec.homepage = "https://github.com/lolcommits/lolcommits-loltext"
12
- spec.license = "LGPL-3"
12
+ spec.license = "LGPL-3.0"
13
13
 
14
14
  spec.description = <<-DESC
15
- Overlay the commit message and sha on your lolcommit. Configure text style,
16
- positioning and an optional transparent overlay.
15
+ Overlay the commit message and sha on your lolcommit. Configure text
16
+ style, positioning, border and coloured overlay.
17
17
  DESC
18
18
 
19
19
  spec.metadata = {
20
- "homepage_uri" => "https://github.com/lolcommits/lolcommits-loltext",
21
- "changelog_uri" => "https://github.com/lolcommits/lolcommits-loltext/blob/master/CHANGELOG.md",
22
- "source_code_uri" => "https://github.com/lolcommits/lolcommits-loltext",
23
- "bug_tracker_uri" => "https://github.com/lolcommits/lolcommits-loltext/issues",
20
+ "homepage_uri" => "https://github.com/lolcommits/lolcommits-loltext",
21
+ "changelog_uri" => "https://github.com/lolcommits/lolcommits-loltext/blob/master/CHANGELOG.md",
22
+ "source_code_uri" => "https://github.com/lolcommits/lolcommits-loltext",
23
+ "bug_tracker_uri" => "https://github.com/lolcommits/lolcommits-loltext/issues",
24
+ "allowed_push_host" => "https://rubygems.org"
24
25
  }
25
26
 
26
- # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
27
- # to allow pushing to a single host or delete this section to allow pushing to any host.
28
- if spec.respond_to?(:metadata)
29
- spec.metadata['allowed_push_host'] = "https://rubygems.org"
30
- else
31
- raise "RubyGems 2.0 or newer is required to protect against " \
32
- "public gem pushes."
33
- end
34
-
35
27
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(assets|test|features)/}) }
36
28
  spec.test_files = `git ls-files -- {test,features}/*`.split("\n")
37
29
  spec.bindir = "bin"
@@ -40,6 +32,7 @@ Gem::Specification.new do |spec|
40
32
 
41
33
  spec.required_ruby_version = ">= 2.3"
42
34
 
35
+ spec.add_development_dependency "lolcommits", ">= 0.14.2"
43
36
  spec.add_development_dependency "bundler"
44
37
  spec.add_development_dependency "rake"
45
38
  spec.add_development_dependency "minitest"
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lolcommits-loltext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.3.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-10 00:00:00.000000000 Z
11
+ date: 2019-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: lolcommits
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 0.14.2
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 0.14.2
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: bundler
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -67,8 +81,8 @@ dependencies:
67
81
  - !ruby/object:Gem::Version
68
82
  version: '0'
69
83
  description: |2
70
- Overlay the commit message and sha on your lolcommit. Configure text style,
71
- positioning and an optional transparent overlay.
84
+ Overlay the commit message and sha on your lolcommit. Configure text
85
+ style, positioning, border and coloured overlay.
72
86
  email:
73
87
  - matt@hiddenloop.com
74
88
  executables: []
@@ -97,7 +111,7 @@ files:
97
111
  - vendor/fonts/Impact.ttf
98
112
  homepage: https://github.com/lolcommits/lolcommits-loltext
99
113
  licenses:
100
- - LGPL-3
114
+ - LGPL-3.0
101
115
  metadata:
102
116
  homepage_uri: https://github.com/lolcommits/lolcommits-loltext
103
117
  changelog_uri: https://github.com/lolcommits/lolcommits-loltext/blob/master/CHANGELOG.md