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 +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/lolcommits/runner.rb +7 -3
- data/lib/lolcommits/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5f93a49d1370e095e1c46376ebecaf1e60b91b2515a639aeb7fc7540e5da87ac
|
|
4
|
+
data.tar.gz: 7d1cad8ce4b141647c51c1a6768f66d9888ad837f5a411199c6eeaa110d9c037
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2c5117eae768e686d32f7ce7b9916f7c185b01ca853a5535398d9d586e191779ee4f55cfd33fcfc58388043912efea3be31d0d9895614a8ab7e4bd2c7aafed8b
|
|
7
|
+
data.tar.gz: 06aa04cea975124e1ad074f82e8cd978452d697f372f84a322302754e61e6dde4d210a6dfff28ee66995fcdd1f30660c183a008a0da6517759db0f69d3bd0725
|
data/CHANGELOG.md
CHANGED
|
@@ -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.
|
|
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
|
data/lib/lolcommits/runner.rb
CHANGED
|
@@ -21,8 +21,12 @@ module Lolcommits
|
|
|
21
21
|
self.vcs_info = MercurialInfo.new
|
|
22
22
|
end
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
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
|
data/lib/lolcommits/version.rb
CHANGED