lolcommits-tumblr 0.4.1 → 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: 21b193b25080b02af4303dd41a7d3b174643a857a59b9c03c60952e8ba5168f5
4
- data.tar.gz: 2655fde55aa048731e26a2b914ff25a7ffb5cc34da4e2d938ccc0525c8203eef
3
+ metadata.gz: 4408b248dddb5998fd1f34b8a33700cbd64fba8ab72a26a3eedc99065bd3661a
4
+ data.tar.gz: 6feb2dfc6960157600ec8b9e8b6430052bae9cc3f73012bac7ae2e651d414177
5
5
  SHA512:
6
- metadata.gz: 570009e87da7aff703f8b9dd441c8a711cc2a0f7c3220518a641b99af005fd6f2471deadcbbf60d5dc1993be5628ca3b110b867208ab8a68b92ff0bf157c5da2
7
- data.tar.gz: 4c90252169ae8658faf05f14eb3b205134f4682e5d8786d5afdff4f1740fa7d0c1e249963caeaf64f11c316517c90954a171db076b4c829e403b2bddf37f2e49
6
+ metadata.gz: 1b33cd5e2a684e246a4596d87459e9b8ec649dd6f6f0bca46d5a3d8f16c0bfbe808d2a2d98fbff32cbca128ca8ec2df008db7822fb3cbf9e3e2db2b23236ab4d
7
+ data.tar.gz: c2c460ed764f94669c6335a9dda5333c074a1c1885c5dda7ec285f3e142ffe46d872c860fdf6fc7b26e90c224528c0e6fc4a000a4ffa923839bce9559e88b4cb
@@ -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.1] - 2019-08-16
13
17
  ### Added
14
18
  - allow erb captions, thanks to @xurizaemon
@@ -67,7 +71,8 @@ project adheres to [Semantic Versioning][Semver].
67
71
  ### Changed
68
72
  - Initial release
69
73
 
70
- [Unreleased]: https://github.com/lolcommits/lolcommits-tumblr/compare/v0.4.1...HEAD
74
+ [Unreleased]: https://github.com/lolcommits/lolcommits-tumblr/compare/v0.5.0...HEAD
75
+ [0.5.0]: https://github.com/lolcommits/lolcommits-tumblr/compare/v0.4.1...v0.5.0
71
76
  [0.4.1]: https://github.com/lolcommits/lolcommits-tumblr/compare/v0.4.0...v0.4.1
72
77
  [0.4.0]: https://github.com/lolcommits/lolcommits-tumblr/compare/v0.3.0...v0.4.0
73
78
  [0.3.0]: https://github.com/lolcommits/lolcommits-tumblr/compare/v0.2.0...v0.3.0
data/README.md CHANGED
@@ -16,7 +16,7 @@ this process).
16
16
 
17
17
  ## Requirements
18
18
 
19
- * Ruby >= 2.3
19
+ * Ruby >= 2.4
20
20
  * A webcam
21
21
  * [ImageMagick](http://www.imagemagick.org)
22
22
  * [ffmpeg](https://www.ffmpeg.org) (optional) for animated gif capturing
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Lolcommits
4
4
  module Tumblr
5
- VERSION = "0.4.1".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('tumblr_client')
36
36
  spec.add_runtime_dependency('webrick')
@@ -34,12 +34,12 @@ describe Lolcommits::Plugin::Tumblr do
34
34
 
35
35
  describe "#enabled?" do
36
36
  it "is false by default" do
37
- plugin.enabled?.must_equal false
37
+ _(plugin.enabled?).must_equal false
38
38
  end
39
39
 
40
40
  it "is true when configured" do
41
41
  plugin.configuration = valid_enabled_config
42
- plugin.enabled?.must_equal true
42
+ _(plugin.enabled?).must_equal true
43
43
  end
44
44
  end
45
45
 
@@ -61,11 +61,11 @@ describe Lolcommits::Plugin::Tumblr do
61
61
  )
62
62
 
63
63
  output = fake_io_capture { plugin.run_capture_ready }
64
- output.must_match "done! https://my-tumblr.tumblr.com/post/123456789"
64
+ _(output).must_match "done! https://my-tumblr.tumblr.com/post/123456789"
65
65
 
66
66
  assert_requested :post, "https://api.tumblr.com/v2/blog/my-tumblr.tumblr.com/post", times: 1,
67
67
  headers: { "Content-Type" => /multipart\/form-data/, "Accept" => "application/json" } do |req|
68
- req.body.must_match 'filename="lolcommit.jpg'
68
+ _(req.body).must_match 'filename="lolcommit.jpg'
69
69
  end
70
70
  end
71
71
  end
@@ -74,12 +74,12 @@ describe Lolcommits::Plugin::Tumblr do
74
74
  describe "valid_configuration?" do
75
75
  it "returns invalid config when partially configured" do
76
76
  plugin.configuration = { tumblr_name: "fire" }
77
- plugin.valid_configuration?.must_equal false
77
+ _(plugin.valid_configuration?).must_equal false
78
78
  end
79
79
 
80
80
  it "returns true with a valid configuration" do
81
81
  plugin.configuration = valid_enabled_config
82
- plugin.valid_configuration?.must_equal true
82
+ _(plugin.valid_configuration?).must_equal true
83
83
  end
84
84
  end
85
85
 
@@ -118,7 +118,7 @@ describe Lolcommits::Plugin::Tumblr do
118
118
  configured_plugin_options = plugin.configure_options!
119
119
  end
120
120
 
121
- configured_plugin_options.must_equal({
121
+ _(configured_plugin_options).must_equal({
122
122
  enabled: true,
123
123
  access_token: "tumblr-access-token",
124
124
  secret: "tumblr-secret",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lolcommits-tumblr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
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-16 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: tumblr_client
@@ -195,14 +195,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
195
195
  requirements:
196
196
  - - ">="
197
197
  - !ruby/object:Gem::Version
198
- version: '2.3'
198
+ version: '2.4'
199
199
  required_rubygems_version: !ruby/object:Gem::Requirement
200
200
  requirements:
201
201
  - - ">="
202
202
  - !ruby/object:Gem::Version
203
203
  version: '0'
204
204
  requirements: []
205
- rubygems_version: 3.0.3
205
+ rubygems_version: 3.1.2
206
206
  signing_key:
207
207
  specification_version: 4
208
208
  summary: Post lolcommits to Tumblr