lolcommits-sample_plugin 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -1
- data/lib/lolcommits/sample_plugin/version.rb +1 -1
- data/lolcommits-plugin-sample.gemspec +2 -2
- data/test/lolcommits/plugin/sample_plugin_test.rb +2 -2
- data/test/test_helper.rb +1 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34f1c14597a028bb747539c372b30e1bc8da36854d4cd2890753644ccab75047
|
4
|
+
data.tar.gz: 0c23c1efba939a7f17ce784b96ee21b603f82e494e33d204b5d11e3dabd0774f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99903cf451eb212ca063ed151841c9ba7d29c308735c59b35f5e0f92c94d967389b50d0c0af46c3a4d79c1f9bcc7e0505348f992ee153a24d15ccb49763e1c83
|
7
|
+
data.tar.gz: 1a88c98c1426d59801a143922906d5004396ba340494846ee5e289cbca01e1b395cfeb218e7ce3caf7458cb02eaada65676227480e85bee0363909419f2ebbbb
|
data/.travis.yml
CHANGED
@@ -30,9 +30,9 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.executables = []
|
31
31
|
spec.require_paths = ["lib"]
|
32
32
|
|
33
|
-
spec.required_ruby_version = ">= 2.
|
33
|
+
spec.required_ruby_version = ">= 2.1"
|
34
34
|
|
35
|
-
spec.add_development_dependency "lolcommits", ">= 0.
|
35
|
+
spec.add_development_dependency "lolcommits", ">= 0.11.0"
|
36
36
|
spec.add_development_dependency "bundler"
|
37
37
|
spec.add_development_dependency "rake"
|
38
38
|
spec.add_development_dependency "minitest"
|
@@ -62,7 +62,7 @@ describe Lolcommits::Plugin::SamplePlugin do
|
|
62
62
|
|
63
63
|
describe '#enabled?' do
|
64
64
|
it 'should be false by default' do
|
65
|
-
|
65
|
+
plugin.enabled?.must_equal false
|
66
66
|
end
|
67
67
|
|
68
68
|
it 'should true when configured' do
|
@@ -75,7 +75,7 @@ describe Lolcommits::Plugin::SamplePlugin do
|
|
75
75
|
it 'should allow plugin options to be configured' do
|
76
76
|
configured_plugin_options = {}
|
77
77
|
|
78
|
-
|
78
|
+
fake_io_capture(inputs: %w(true false true true 5)) do
|
79
79
|
configured_plugin_options = plugin.configure_options!
|
80
80
|
end
|
81
81
|
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lolcommits-sample_plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Hutchinson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lolcommits
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.11.0
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.11.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -132,7 +132,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
132
132
|
requirements:
|
133
133
|
- - ">="
|
134
134
|
- !ruby/object:Gem::Version
|
135
|
-
version: 2.
|
135
|
+
version: '2.1'
|
136
136
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
137
|
requirements:
|
138
138
|
- - ">="
|