lolcommits 0.14.1 → 0.14.2

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: 5f93a49d1370e095e1c46376ebecaf1e60b91b2515a639aeb7fc7540e5da87ac
4
- data.tar.gz: 7d1cad8ce4b141647c51c1a6768f66d9888ad837f5a411199c6eeaa110d9c037
3
+ metadata.gz: 16f8ee842e1fb0b89366ab21a9bb7fee2b1037bc91c7151523cdd46ef845e336
4
+ data.tar.gz: 4c36bc2a328c5d8148dc18ecc3e71d884eb6a699338436582d6629a436c84c5c
5
5
  SHA512:
6
- metadata.gz: 2c5117eae768e686d32f7ce7b9916f7c185b01ca853a5535398d9d586e191779ee4f55cfd33fcfc58388043912efea3be31d0d9895614a8ab7e4bd2c7aafed8b
7
- data.tar.gz: 06aa04cea975124e1ad074f82e8cd978452d697f372f84a322302754e61e6dde4d210a6dfff28ee66995fcdd1f30660c183a008a0da6517759db0f69d3bd0725
6
+ metadata.gz: c6837fb261cbcd4c8e564f77feca38071fe2000da248e19e41f42c5977d6f48e3a2a0b55e4c662021da356fbd4754baedb1310dcbf0d3302145c54211c5303dc
7
+ data.tar.gz: 544737259040438ae5416f60b0c6b1139e87b1fb0d421b87315650c418fda5069958c4a993a610ba064ecaf528100c759a42f45a23c7621bcd2675042577fe21
@@ -7,6 +7,10 @@ This project adheres to [Semantic Versioning][Semver].
7
7
 
8
8
  * Your contribution here!
9
9
 
10
+ ## [0.14.2][] (19 May 2019)
11
+ * minor runner improvements, `capture_image?` now public
12
+ (@matthutchinson)
13
+
10
14
  ## [0.14.1][] (14 May 2019)
11
15
  * minor runner improvements, for friendly plugin testing
12
16
  (@matthutchinson)
@@ -354,7 +358,8 @@ This project adheres to [Semantic Versioning][Semver].
354
358
  reliable to not glitch.)
355
359
 
356
360
  [Semver]: http://semver.org
357
- [Unreleased]: https://github.com/lolcommits/lolcommits/compare/v0.14.1...HEAD
361
+ [Unreleased]: https://github.com/lolcommits/lolcommits/compare/v0.14.2...HEAD
362
+ [0.14.2]: https://github.com/lolcommits/lolcommits/compare/v0.14.1...v0.14.2
358
363
  [0.14.1]: https://github.com/lolcommits/lolcommits/compare/v0.14.0...v0.14.1
359
364
  [0.14.0]: https://github.com/lolcommits/lolcommits/compare/v0.13.1...v0.14.0
360
365
  [0.13.1]: https://github.com/lolcommits/lolcommits/compare/v0.13.0...v0.13.1
@@ -82,6 +82,10 @@ module Lolcommits
82
82
  capture_gif ? lolcommit_gif_path : lolcommit_path
83
83
  end
84
84
 
85
+ def capture_image?
86
+ capture_duration.to_i.zero?
87
+ end
88
+
85
89
  private
86
90
 
87
91
  def execute_plugins_for(hook)
@@ -95,10 +99,6 @@ module Lolcommits
95
99
  end
96
100
  end
97
101
 
98
- def capture_image?
99
- capture_duration.to_i.zero?
100
- end
101
-
102
102
  def run_capture
103
103
  puts '*** Preserving this moment in history.' unless capture_stealth
104
104
  capturer = Platform.capturer_class(!capture_image?).new(
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lolcommits
4
- VERSION = '0.14.1'
4
+ VERSION = '0.14.2'
5
5
  GEM_NAME = 'lolcommits'
6
6
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
10
10
 
11
11
  s.authors = ['Matthew Rothenberg', 'Matthew Hutchinson']
12
12
  s.email = ['mrothenberg@gmail.com', 'matt@hiddenloop.com']
13
- s.license = 'LGPL-3'
13
+ s.license = 'LGPL-3.0'
14
14
  s.summary = 'Capture webcam image on git commit for lulz.'
15
15
 
16
16
  s.description = <<-DESC
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lolcommits
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.1
4
+ version: 0.14.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Rothenberg
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-05-14 00:00:00.000000000 Z
12
+ date: 2019-05-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: methadone
@@ -305,7 +305,7 @@ files:
305
305
  - vendor/ext/videosnap/videosnap
306
306
  homepage:
307
307
  licenses:
308
- - LGPL-3
308
+ - LGPL-3.0
309
309
  metadata:
310
310
  homepage_uri: https://lolcommits.github.io
311
311
  source_code_uri: https://github.com/lolcommits/lolcommits