lolcommits 0.12.0 → 0.12.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 +7 -1
- data/lib/lolcommits/configuration.rb +1 -3
- data/lib/lolcommits/gem_plugin.rb +1 -2
- data/lib/lolcommits/plugin/base.rb +0 -6
- data/lib/lolcommits/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ab90b1b1498877865fbadb3dbaa2d7d91e04ebbdb37c86df53b10c9afbed0f1a
|
|
4
|
+
data.tar.gz: 113394c58bc134437e550c9df7517440e67ee719992229b3742a6ac94893f47b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 627c014f4972173c1415f4d095ee8bb61b8d6de882b5a6153c3e189529dda25fa641f720a51e937518d65ff413b5120c549c53b2a956e273a845481ed4e4e0a0
|
|
7
|
+
data.tar.gz: 0c23aba6d8e2598578201a6fa261019f1f6ec269ce3f67944602d34d5114df212298869aba1da6fee15b650c681dee6ac7a1afa7d931bbd5d18460d0976cfa55
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,11 @@ project adheres to [Semantic Versioning][Semver].
|
|
|
7
7
|
|
|
8
8
|
* Your contribution here!
|
|
9
9
|
|
|
10
|
+
## [0.12.1][] (27 March 2018)
|
|
11
|
+
* Name passed to `Plugin::Base` initializer (@matthutchinson)
|
|
12
|
+
* Removed dead method `configured? in `Plugin::Base`
|
|
13
|
+
* Using `YAML.safe_load` for configuration loading
|
|
14
|
+
|
|
10
15
|
## [0.12.0][] (15 March 2018)
|
|
11
16
|
* Use CodeClimate and simplecov for coverage reports (@matthutchinson [#367][])
|
|
12
17
|
* Remove plugin runner order (@matthutchinson [#369][])
|
|
@@ -320,7 +325,8 @@ project adheres to [Semantic Versioning][Semver].
|
|
|
320
325
|
instead of compositing multiply image Caption objects (this seems to be more
|
|
321
326
|
reliable to not glitch.)
|
|
322
327
|
|
|
323
|
-
[Unreleased]: https://github.com/mroth/lolcommits/compare/v0.12.
|
|
328
|
+
[Unreleased]: https://github.com/mroth/lolcommits/compare/v0.12.1...HEAD
|
|
329
|
+
[0.12.1]: https://github.com/mroth/lolcommits/compare/v0.12.0...v0.12.1
|
|
324
330
|
[0.12.0]: https://github.com/mroth/lolcommits/compare/v0.11.0...v0.12.0
|
|
325
331
|
[0.11.0]: https://github.com/mroth/lolcommits/compare/v0.10.0...v0.11.0
|
|
326
332
|
[0.10.0]: https://github.com/mroth/lolcommits/compare/v0.9.8...v0.10.0
|
|
@@ -14,9 +14,7 @@ module Lolcommits
|
|
|
14
14
|
def yaml
|
|
15
15
|
@yaml ||= begin
|
|
16
16
|
return Hash.new({}) unless File.exist?(configuration_file)
|
|
17
|
-
|
|
18
|
-
# YAML.safe_load(File.open(configuration_file), [Symbol])
|
|
19
|
-
YAML.load(File.open(configuration_file)) || Hash.new({})
|
|
17
|
+
YAML.safe_load(File.open(configuration_file), [Symbol]) || Hash.new({})
|
|
20
18
|
end
|
|
21
19
|
end
|
|
22
20
|
|
|
@@ -41,8 +41,7 @@ module Lolcommits
|
|
|
41
41
|
end
|
|
42
42
|
|
|
43
43
|
def plugin_instance(runner)
|
|
44
|
-
|
|
45
|
-
plugin_klass.new(runner: runner, config: runner.config.yaml[name])
|
|
44
|
+
plugin_klass.new(runner: runner, config: runner.config.yaml[name], name: name)
|
|
46
45
|
end
|
|
47
46
|
|
|
48
47
|
def gem_name
|
|
@@ -71,12 +71,6 @@ module Lolcommits
|
|
|
71
71
|
!configuration.empty?
|
|
72
72
|
end
|
|
73
73
|
|
|
74
|
-
# empty plugin configuration
|
|
75
|
-
# TODO: remove this method in after 0.9.9 release
|
|
76
|
-
def configured?
|
|
77
|
-
!configuration.empty?
|
|
78
|
-
end
|
|
79
|
-
|
|
80
74
|
# uniform puts and print for plugins
|
|
81
75
|
# dont puts or print if the runner wants to be silent (stealth mode)
|
|
82
76
|
def puts(*args)
|
data/lib/lolcommits/version.rb
CHANGED
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.12.
|
|
4
|
+
version: 0.12.1
|
|
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: 2018-03-
|
|
12
|
+
date: 2018-03-27 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: methadone
|