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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 458f611a07c9da71c65f2158fa4d3c28882c9c9955666e08ae3ad3f80ca9eceb
4
- data.tar.gz: 11ef71f56de73bc96d06f0e24fd0d20e2fe731c15ef23a6da495db50f15cfa9a
3
+ metadata.gz: 34f1c14597a028bb747539c372b30e1bc8da36854d4cd2890753644ccab75047
4
+ data.tar.gz: 0c23c1efba939a7f17ce784b96ee21b603f82e494e33d204b5d11e3dabd0774f
5
5
  SHA512:
6
- metadata.gz: 3ede2aeb0f2b4d3ac198b0d0ed3d9ab39e9df9e4fd9a213df9fd0ea7900fcf43714a906fda0e83d66ab785fc918f9d8ea867ba941e895c22915460f27836cc9a
7
- data.tar.gz: c5103c9f2e1272427d3e04a58c0fc74e2511d1703501063c62c5c43d850be66fb4b51e9970dd88519ca6d5b11e7575b00759708fecaa2f981c8e2e0bf086dc26
6
+ metadata.gz: 99903cf451eb212ca063ed151841c9ba7d29c308735c59b35f5e0f92c94d967389b50d0c0af46c3a4d79c1f9bcc7e0505348f992ee153a24d15ccb49763e1c83
7
+ data.tar.gz: 1a88c98c1426d59801a143922906d5004396ba340494846ee5e289cbca01e1b395cfeb218e7ce3caf7458cb02eaada65676227480e85bee0363909419f2ebbbb
data/.travis.yml CHANGED
@@ -2,7 +2,6 @@ sudo: false
2
2
  language: ruby
3
3
  cache: bundler
4
4
  rvm:
5
- - 2.0.0
6
5
  - 2.1.10
7
6
  - 2.2.9
8
7
  - 2.3.6
@@ -1,5 +1,5 @@
1
1
  module Lolcommits
2
2
  module SamplePlugin
3
- VERSION = "0.0.2".freeze
3
+ VERSION = "0.0.3".freeze
4
4
  end
5
5
  end
@@ -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.0.0"
33
+ spec.required_ruby_version = ">= 2.1"
34
34
 
35
- spec.add_development_dependency "lolcommits", ">= 0.10.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
- assert_nil plugin.enabled?
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
- output = fake_io_capture(inputs: %w(true false true true 5)) do
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
@@ -1,7 +1,6 @@
1
1
  $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
2
2
 
3
- # necessary libs from lolcommits (allowing plugin to run)
4
- require 'git'
3
+ # lolcommits gem
5
4
  require 'lolcommits'
6
5
 
7
6
  # lolcommit test helpers
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.2
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-01-13 00:00:00.000000000 Z
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.10.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.10.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.0.0
135
+ version: '2.1'
136
136
  required_rubygems_version: !ruby/object:Gem::Requirement
137
137
  requirements:
138
138
  - - ">="