lolcommits 0.14.0 → 0.14.1

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: 4225dde2c474dff419dbeb58619e1d9358af4862997e51726e6a9c0f0841bfc8
4
- data.tar.gz: 9d09ffafba3cf5d9c50004c7106f272cbc54816c9b9e46be37bc94b548da20da
3
+ metadata.gz: 5f93a49d1370e095e1c46376ebecaf1e60b91b2515a639aeb7fc7540e5da87ac
4
+ data.tar.gz: 7d1cad8ce4b141647c51c1a6768f66d9888ad837f5a411199c6eeaa110d9c037
5
5
  SHA512:
6
- metadata.gz: f0c21b9d900549127a694a640d088e4a7c6c24bd84b1a791481b13234cd54efc5f96f45fcde31a3360b95573f2c654866e2dc071f1005c107283e1b8069d30a3
7
- data.tar.gz: c4fb82801d5ed3b145fd55b007f065a7b4d8d53ff5c231aa4b45dbe3d7b7c18a03e4775357bbcd4a27f3d2ee76e5fd3753a5e4260d88b5b675f9e668a75436c3
6
+ metadata.gz: 2c5117eae768e686d32f7ce7b9916f7c185b01ca853a5535398d9d586e191779ee4f55cfd33fcfc58388043912efea3be31d0d9895614a8ab7e4bd2c7aafed8b
7
+ data.tar.gz: 06aa04cea975124e1ad074f82e8cd978452d697f372f84a322302754e61e6dde4d210a6dfff28ee66995fcdd1f30660c183a008a0da6517759db0f69d3bd0725
@@ -7,6 +7,10 @@ This project adheres to [Semantic Versioning][Semver].
7
7
 
8
8
  * Your contribution here!
9
9
 
10
+ ## [0.14.1][] (14 May 2019)
11
+ * minor runner improvements, for friendly plugin testing
12
+ (@matthutchinson)
13
+
10
14
  ## [0.14.0][] (14 May 2019)
11
15
  * `main_image` now deprecated, use `lolcommit_path` instead (@matthutchinson)
12
16
  * make actual videos to make gifs from (@ruxton [#386][])
@@ -350,7 +354,8 @@ This project adheres to [Semantic Versioning][Semver].
350
354
  reliable to not glitch.)
351
355
 
352
356
  [Semver]: http://semver.org
353
- [Unreleased]: https://github.com/lolcommits/lolcommits/compare/v0.14.0...HEAD
357
+ [Unreleased]: https://github.com/lolcommits/lolcommits/compare/v0.14.1...HEAD
358
+ [0.14.1]: https://github.com/lolcommits/lolcommits/compare/v0.14.0...v0.14.1
354
359
  [0.14.0]: https://github.com/lolcommits/lolcommits/compare/v0.13.1...v0.14.0
355
360
  [0.13.1]: https://github.com/lolcommits/lolcommits/compare/v0.13.0...v0.13.1
356
361
  [0.13.0]: https://github.com/lolcommits/lolcommits/compare/v0.12.1...v0.13.0
@@ -21,8 +21,12 @@ module Lolcommits
21
21
  self.vcs_info = MercurialInfo.new
22
22
  end
23
23
 
24
- self.sha = sha || vcs_info.sha
25
- self.message = message || vcs_info.message
24
+ if vcs_info
25
+ self.sha ||= vcs_info.sha
26
+ self.message ||= vcs_info.message
27
+ end
28
+
29
+ return unless config
26
30
 
27
31
  self.capture_path = config.capture_path(lolcommit_ext)
28
32
  self.lolcommit_path = config.sha_path(sha, lolcommit_ext)
@@ -92,7 +96,7 @@ module Lolcommits
92
96
  end
93
97
 
94
98
  def capture_image?
95
- capture_duration.zero?
99
+ capture_duration.to_i.zero?
96
100
  end
97
101
 
98
102
  def run_capture
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lolcommits
4
- VERSION = '0.14.0'
4
+ VERSION = '0.14.1'
5
5
  GEM_NAME = 'lolcommits'
6
6
  end
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.0
4
+ version: 0.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Rothenberg