lolcommits-protonet 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: 76dfada212515bcf9dcbb586ad82873f4715060d6c61e5dba751d87cef6d37f6
4
- data.tar.gz: c2e528bc6ece0c02fa7492f1b0fe2ebee0d7a1f6ce0dc9dcc7444ecbace54a35
3
+ metadata.gz: 933be7614d7e38ac4345405e52078c3e2cac8f1ee20b8b4baa5c76a646559f54
4
+ data.tar.gz: 80cea1cdecf071bfcdf806ec0e32ab1b4db4f66a02d4e3e5456c4c3a2ae00cc8
5
5
  SHA512:
6
- metadata.gz: 7ce5853b3767a552700f6337c3e63099fd8e6b0080f873e79ab0fb0f783ccdd20dcf97aac7ed915b3036908f2940ec5cce66af31477fab955f73f1d3f9d4c242
7
- data.tar.gz: 39070c0b5b90b21b6f6015a344932025541bc4eb7d9accf1bcbd5bb0c0737a35c7d94ed8efbd82f3ef62e8da37c3f908f1edceb8050017ff67b7a78506b5ae15
6
+ metadata.gz: 00cd34bdaa1e7f0b9581dc369a1f301fe8a6114042b096b83fa1c8e1cfce691f0845a8fd569622fbf202cc73df1ae5976ede665bbb2da72e4b48fc0397d9e193
7
+ data.tar.gz: c47bc37533f22263ca994166ec1b716efa8cffc76140d146fe19243dbb3ee83cf1b6add0cd7b40f730ea693295fa88042d2f77f95e8e8e2d8b287b2dd6430cbd
@@ -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 @@ 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`)
@@ -63,7 +67,8 @@ adheres to [Semantic Versioning][Semver].
63
67
  ### Changed
64
68
  - Initial release
65
69
 
66
- [Unreleased]: https://github.com/lolcommits/lolcommits-protonet/compare/v0.4.0...HEAD
70
+ [Unreleased]: https://github.com/lolcommits/lolcommits-protonet/compare/v0.5.0...HEAD
71
+ [0.5.0]: https://github.com/lolcommits/lolcommits-protonet/compare/v0.4.0...v0.5.0
67
72
  [0.4.0]: https://github.com/lolcommits/lolcommits-protonet/compare/v0.3.0...v0.4.0
68
73
  [0.3.0]: https://github.com/lolcommits/lolcommits-protonet/compare/v0.2.0...v0.3.0
69
74
  [0.2.0]: https://github.com/lolcommits/lolcommits-protonet/compare/v0.1.1...v0.2.0
data/README.md CHANGED
@@ -19,7 +19,7 @@ Help/"Protonet REST API" to get an API token.
19
19
 
20
20
  ## Requirements
21
21
 
22
- * Ruby >= 2.3
22
+ * Ruby >= 2.4
23
23
  * A webcam
24
24
  * [ImageMagick](http://www.imagemagick.org)
25
25
  * [ffmpeg](https://www.ffmpeg.org) (optional) for animated gif capturing
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Lolcommits
4
4
  module Protonet
5
- VERSION = "0.4.0".freeze
5
+ VERSION = "0.5.0".freeze
6
6
  end
7
7
  end
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
30
30
  spec.executables = []
31
31
  spec.require_paths = ["lib"]
32
32
 
33
- spec.required_ruby_version = ">= 2.3"
33
+ spec.required_ruby_version = ">= 2.4"
34
34
 
35
35
  spec.add_runtime_dependency "rest-client", ">= 2.1.0"
36
36
  spec.add_runtime_dependency "lolcommits", ">= 0.14.2"
@@ -33,19 +33,19 @@ describe Lolcommits::Plugin::Protonet do
33
33
 
34
34
  describe "initalizing" do
35
35
  it "assigns runner and all plugin options" do
36
- plugin.runner.must_equal runner
37
- plugin.options.must_equal [:enabled, :api_endpoint, :api_token]
36
+ _(plugin.runner).must_equal runner
37
+ _(plugin.options).must_equal [:enabled, :api_endpoint, :api_token]
38
38
  end
39
39
  end
40
40
 
41
41
  describe "#enabled?" do
42
42
  it "is false by default" do
43
- plugin.enabled?.must_equal false
43
+ _(plugin.enabled?).must_equal false
44
44
  end
45
45
 
46
46
  it "is true when configured" do
47
47
  plugin.configuration = valid_enabled_config
48
- plugin.enabled?.must_equal true
48
+ _(plugin.enabled?).must_equal true
49
49
  end
50
50
  end
51
51
 
@@ -63,9 +63,9 @@ describe Lolcommits::Plugin::Protonet do
63
63
 
64
64
  assert_requested :post, api_endpoint, times: 1,
65
65
  headers: {'Content-Type' => /multipart\/form-data/ } do |req|
66
- req.body.must_match(/Content-Disposition: form-data;.+name="files\[\]"; filename="lolcommit.jpg.+"/)
67
- req.body.must_match 'name="message"'
68
- req.body.must_match "plugin-test-repo"
66
+ _(req.body).must_match(/Content-Disposition: form-data;.+name="files\[\]"; filename="lolcommit.jpg.+"/)
67
+ _(req.body).must_match 'name="message"'
68
+ _(req.body).must_match "plugin-test-repo"
69
69
  end
70
70
  end
71
71
  end
@@ -91,7 +91,7 @@ describe Lolcommits::Plugin::Protonet do
91
91
  configured_plugin_options = plugin.configure_options!
92
92
  end
93
93
 
94
- configured_plugin_options.must_equal({
94
+ _(configured_plugin_options).must_equal({
95
95
  enabled: true,
96
96
  api_endpoint: api_endpoint,
97
97
  api_token: inputs[2]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lolcommits-protonet
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
@@ -167,14 +167,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
167
167
  requirements:
168
168
  - - ">="
169
169
  - !ruby/object:Gem::Version
170
- version: '2.3'
170
+ version: '2.4'
171
171
  required_rubygems_version: !ruby/object:Gem::Requirement
172
172
  requirements:
173
173
  - - ">="
174
174
  - !ruby/object:Gem::Version
175
175
  version: '0'
176
176
  requirements: []
177
- rubygems_version: 3.0.3
177
+ rubygems_version: 3.1.2
178
178
  signing_key:
179
179
  specification_version: 4
180
180
  summary: Posts lolcommits to a Protonet box