lolcommits-slack 0.4.0 → 0.5.0

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: 6d77773938a5773f12564cc239a705d97986fafb66c4e503a27037360fb61e1b
4
- data.tar.gz: b65fb0c9d387b57a722c3053c90f3c90f8de3ebbd2691285643bddfebc2399b2
3
+ metadata.gz: b394a7a611e79e1342e8b175af1d0d61b1d12f1daba2a540c794b45cb190c39a
4
+ data.tar.gz: 3362c5d0c21c2705c6d0895fb0586b4265d4aba74ff58e38f789294303713d98
5
5
  SHA512:
6
- metadata.gz: 6a52a5e59bc467f3dc89c268f05debbf1d046e937b794ad33ce439dac3750a4adf8aaae2d685568d26c5253786e22fa83de6a23d075a66182b70759225b2b1f4
7
- data.tar.gz: 35d6f5d8febb3538d0a92c8c4fb629cdf4c76376f84d9ebe889d06c42b63ac654b81173449b2065ff18ec8126e0e696bbec0ac65d78ad7a9d280390da8693482
6
+ metadata.gz: 0c5130d79903c73868a55d11077f66ef8f776af003dbc6adf8b64e78101fed222edeb9975b51ca76f401572cfd6ecc0fc66b2d3a5c798cf4e450205f8436ffdd
7
+ data.tar.gz: 413d7151b5d90c9c2f26b05657905464debc448b6e2e6a4a799849c2d06e5f478c1aa405789643856435130be98f72fae432df1e3bd17b8e632917ffdb416269
@@ -2,10 +2,10 @@ sudo: false
2
2
  language: ruby
3
3
  cache: bundler
4
4
  rvm:
5
- - 2.3.8
6
- - 2.4.6
7
- - 2.5.5
8
- - 2.6.3
5
+ - 2.4.9
6
+ - 2.5.7
7
+ - 2.6.5
8
+ - 2.7.0
9
9
  - ruby-head
10
10
 
11
11
  before_install:
@@ -9,6 +9,10 @@ project adheres to [Semantic Versioning][Semver].
9
9
 
10
10
  - Your contribution here!
11
11
 
12
+ ## [0.5.0] - 2020-01-24
13
+ ### Removed
14
+ - Support for Ruby < 2.4 (older rubies no longer supported)
15
+
12
16
  ## [0.4.0] - 2019-08-25
13
17
  ### Changed
14
18
  - Require an up-to-date `rest-client` (`>= 2.1.0`)
@@ -59,7 +63,8 @@ project adheres to [Semantic Versioning][Semver].
59
63
  ### Changed
60
64
  - Initial release
61
65
 
62
- [Unreleased]: https://github.com/lolcommits/lolcommits-slack/compare/v0.4.0...HEAD
66
+ [Unreleased]: https://github.com/lolcommits/lolcommits-slack/compare/v0.5.0...HEAD
67
+ [0.5.0]: https://github.com/lolcommits/lolcommits-slack/compare/v0.4.0...v0.5.0
63
68
  [0.4.0]: https://github.com/lolcommits/lolcommits-slack/compare/v0.3.0...v0.4.0
64
69
  [0.3.0]: https://github.com/lolcommits/lolcommits-slack/compare/v0.2.0...v0.3.0
65
70
  [0.2.0]: https://github.com/lolcommits/lolcommits-slack/compare/v0.1.1...v0.2.0
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Lolcommits
4
4
  module Slack
5
- VERSION = "0.4.0".freeze
5
+ VERSION = "0.5.0".freeze
6
6
  end
7
7
  end
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
  spec.executables = []
27
27
  spec.require_paths = ["lib"]
28
28
 
29
- spec.required_ruby_version = ">= 2.3"
29
+ spec.required_ruby_version = ">= 2.4"
30
30
 
31
31
  spec.add_runtime_dependency "rest-client", ">= 2.1.0"
32
32
  spec.add_runtime_dependency "lolcommits", ">= 0.14.2"
@@ -51,7 +51,7 @@ describe Lolcommits::Plugin::Slack do
51
51
  stub_request(:any, plugin.class::ENDPOINT_URL).to_timeout
52
52
  plugin.configuration = valid_enabled_config
53
53
 
54
- Proc.new { plugin.run_capture_ready }.
54
+ _(Proc.new { plugin.run_capture_ready }).
55
55
  must_output("Posting to Slack ... failed! Timed out connecting to server - retrying ...\nPosting to Slack ... failed! Timed out connecting to server - giving up ...\nTry running config again:\n\tlolcommits --config -p slack\n")
56
56
 
57
57
  assert_requested :post, plugin.class::ENDPOINT_URL,
@@ -65,12 +65,12 @@ describe Lolcommits::Plugin::Slack do
65
65
 
66
66
  describe '#enabled?' do
67
67
  it 'should be false by default' do
68
- plugin.enabled?.must_equal false
68
+ _(plugin.enabled?).must_equal false
69
69
  end
70
70
 
71
71
  it 'should true when configured' do
72
72
  plugin.configuration = valid_enabled_config
73
- plugin.enabled?.must_equal true
73
+ _(plugin.enabled?).must_equal true
74
74
  end
75
75
  end
76
76
 
@@ -82,7 +82,7 @@ describe Lolcommits::Plugin::Slack do
82
82
  configured_plugin_options = plugin.configure_options!
83
83
  end
84
84
 
85
- configured_plugin_options.must_equal({
85
+ _(configured_plugin_options).must_equal({
86
86
  enabled: true,
87
87
  access_token: 'abc-def',
88
88
  channels: 'c1,c3,c4'
@@ -91,12 +91,12 @@ describe Lolcommits::Plugin::Slack do
91
91
 
92
92
  describe '#valid_configuration?' do
93
93
  it 'should be false without config set' do
94
- plugin.valid_configuration?.must_equal(false)
94
+ _(plugin.valid_configuration?).must_equal(false)
95
95
  end
96
96
 
97
97
  it 'should be true for a valid configuration' do
98
98
  plugin.configuration = valid_enabled_config
99
- plugin.valid_configuration?.must_equal true
99
+ _(plugin.valid_configuration?).must_equal true
100
100
  end
101
101
  end
102
102
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lolcommits-slack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Hutchinson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-25 00:00:00.000000000 Z
11
+ date: 2020-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -151,14 +151,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
151
151
  requirements:
152
152
  - - ">="
153
153
  - !ruby/object:Gem::Version
154
- version: '2.3'
154
+ version: '2.4'
155
155
  required_rubygems_version: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - ">="
158
158
  - !ruby/object:Gem::Version
159
159
  version: '0'
160
160
  requirements: []
161
- rubygems_version: 3.0.3
161
+ rubygems_version: 3.1.2
162
162
  signing_key:
163
163
  specification_version: 4
164
164
  summary: Sends lolcommits to one (or more) Slack channels