lolcommits-lolsrv 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: 7eeb097c558862b25d3df0d3e81fbcb5a02d1f4cb1508c723d67603fe0140ec9
4
- data.tar.gz: ccbd0a829c16d64634b06f217df291d70c9226e945842b9738305d9659cab455
3
+ metadata.gz: 4d5eb7a731797cfabe3d7f16fa920dd9b08b3b0ee5ec3c6b67aa7cdaa4270005
4
+ data.tar.gz: 49c43cc1ddc3ac9153de85cc16c10f09de9295b476d6fa0782512083c9ed959d
5
5
  SHA512:
6
- metadata.gz: 3802560ee325f68852b4fb0364d6a7f4933595cfab2a9dc87596d80bd7c9ec74964adfff2f0a5247d2c3f682693b5fb867ab262f61622cf9ff72b406ca297799
7
- data.tar.gz: e31b1b2f26fdf0593aee6defacaee796374ab89991075e606a9d091bc64ceffbd66b37ed7927b4c29a58ebf5acab77d1ab7cd6a25177222715aa0a05e5b5f17e
6
+ metadata.gz: 15c1edb56209e0eb7e6fb8f17e2a3bdee9ee5af297234b972b38a0d31104bcec2f37626f5a65c962dd12c264dd01bc2b64e4c1723f14575db4e67f90160957ff
7
+ data.tar.gz: d2090478125f5f97af6fbad2839e1f0236949dff9347c8a67df1a24c61ee273a522f6a4e9bf1b28958ca5cee8c4cdbeb17f2a35df1eb2d71ba92ce6930b08b1d
@@ -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`)
@@ -76,7 +80,8 @@ project adheres to [Semantic Versioning][Semver].
76
80
  ### Changed
77
81
  - Initial release
78
82
 
79
- [Unreleased]: https://github.com/lolcommits/lolcommits-lolsrv/compare/v0.4.0...HEAD
83
+ [Unreleased]: https://github.com/lolcommits/lolcommits-lolsrv/compare/v0.5.0...HEAD
84
+ [0.5.0]: https://github.com/lolcommits/lolcommits-lolsrv/compare/v0.4.0...v0.5.0
80
85
  [0.4.0]: https://github.com/lolcommits/lolcommits-lolsrv/compare/v0.3.0...v0.4.0
81
86
  [0.3.0]: https://github.com/lolcommits/lolcommits-lolsrv/compare/v0.2.0...v0.3.0
82
87
  [0.2.0]: https://github.com/lolcommits/lolcommits-lolsrv/compare/v0.1.1...v0.2.0
data/README.md CHANGED
@@ -36,7 +36,7 @@ The following upload params are `multipart/form-data` encoded:
36
36
 
37
37
  ## Requirements
38
38
 
39
- * Ruby >= 2.3
39
+ * Ruby >= 2.4
40
40
  * A webcam
41
41
  * [ImageMagick](http://www.imagemagick.org)
42
42
  * [ffmpeg](https://www.ffmpeg.org) (optional) for animated gif capturing
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Lolcommits
4
4
  module Lolsrv
5
- VERSION = "0.4.0".freeze
5
+ VERSION = "0.5.0".freeze
6
6
  end
7
7
  end
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
32
32
  spec.executables = []
33
33
  spec.require_paths = ["lib"]
34
34
 
35
- spec.required_ruby_version = ">= 2.3"
35
+ spec.required_ruby_version = ">= 2.4"
36
36
 
37
37
  spec.add_runtime_dependency "rest-client", ">= 2.1.0"
38
38
  spec.add_runtime_dependency "lolcommits", ">= 0.14.2"
@@ -30,12 +30,12 @@ describe Lolcommits::Plugin::Lolsrv do
30
30
 
31
31
  describe "#enabled?" do
32
32
  it "it is disabled by default" do
33
- plugin.enabled?.must_equal false
33
+ _(plugin.enabled?).must_equal false
34
34
  end
35
35
 
36
36
  it "is true when configured" do
37
37
  plugin.configuration = valid_enabled_config
38
- plugin.enabled?.must_equal true
38
+ _(plugin.enabled?).must_equal true
39
39
  end
40
40
  end
41
41
 
@@ -65,9 +65,9 @@ describe Lolcommits::Plugin::Lolsrv do
65
65
  assert_requested :get, "https://lolsrv.com/lols", times: 1
66
66
  assert_requested :post, "https://lolsrv.com/uplol", times: 1,
67
67
  headers: {'Content-Type' => /multipart\/form-data/ } do |req|
68
- req.body.must_match "sha456"
69
- req.body.must_match "plugin-test-repo"
70
- req.body.must_match "name=\"lol\"; filename="
68
+ _(req.body).must_match "sha456"
69
+ _(req.body).must_match "plugin-test-repo"
70
+ _(req.body).must_match "name=\"lol\"; filename="
71
71
  end
72
72
  end
73
73
  end
@@ -97,7 +97,7 @@ describe Lolcommits::Plugin::Lolsrv do
97
97
  configured_plugin_options = plugin.configure_options!
98
98
  end
99
99
 
100
- configured_plugin_options.must_equal({
100
+ _(configured_plugin_options).must_equal({
101
101
  enabled: true,
102
102
  server: "https://my-lolsrv.com"
103
103
  })
@@ -106,12 +106,12 @@ describe Lolcommits::Plugin::Lolsrv do
106
106
  describe "#valid_configuration?" do
107
107
  it "returns false for an invalid configuration" do
108
108
  plugin.configuration = { server: "gibberish" }
109
- plugin.valid_configuration?.must_equal false
109
+ _(plugin.valid_configuration?).must_equal false
110
110
  end
111
111
 
112
112
  it "returns true with a valid configuration" do
113
113
  plugin.configuration = valid_enabled_config
114
- plugin.valid_configuration?.must_equal true
114
+ _(plugin.valid_configuration?).must_equal true
115
115
  end
116
116
  end
117
117
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lolcommits-lolsrv
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
@@ -171,14 +171,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
171
171
  requirements:
172
172
  - - ">="
173
173
  - !ruby/object:Gem::Version
174
- version: '2.3'
174
+ version: '2.4'
175
175
  required_rubygems_version: !ruby/object:Gem::Requirement
176
176
  requirements:
177
177
  - - ">="
178
178
  - !ruby/object:Gem::Version
179
179
  version: '0'
180
180
  requirements: []
181
- rubygems_version: 3.0.3
181
+ rubygems_version: 3.1.2
182
182
  signing_key:
183
183
  specification_version: 4
184
184
  summary: Sync lolcommits to a remote server