lolcommits-twitter 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19ac106b1742c0418348b90b6ac7a5e27a2f49155ec618a812a5c5f1c5b9c03f
4
- data.tar.gz: 7faa062c3b55eab982671e505a66369d6b533a66f9cee2598eaccda0fc01646d
3
+ metadata.gz: 386e5e30bf2fd962a829274b595838470c9eb0b07d7d77bf86a0bb031a8789b1
4
+ data.tar.gz: 731e22dbf6f6a77c6b65d3766063c1109aac016eaa54ed5353e9413aa676df45
5
5
  SHA512:
6
- metadata.gz: 358c6145a837bca8fbebdd072e75c1454fe9992fbcca9de8a9905d798fea05e29cb5bd7f978f4ea5bc4314c3206c16e2e5e05404ea1b09a0bd109d39db023116
7
- data.tar.gz: 5b57ceab34f30ad66f6aebd1cd4e4883a313a4e709a4c6caa8792302d851c99c53b13d79bec5d8652a9ca3ed83259b49a93c02ff8293d5fb24b7a34bdd45918e
6
+ metadata.gz: 01d75e88dfb149ee3ca6bcc4cb4ed819d9a41f6c2b77903dc76a556974009e67755a0e00bb0078df297371b947f3400c508d783e8b8a2004e3d49669a88dfcc7
7
+ data.tar.gz: 821ef0313f6c6f790b073f3ae09c057078098918e482272f0a4304899824120b3564ec282696fa0b3d4d5a6f70eff6a8b939d6e12009c7e27f0f1ce0d39fd577
@@ -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`)
@@ -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-twitter/compare/v0.4.0...HEAD
74
+ [Unreleased]: https://github.com/lolcommits/lolcommits-twitter/compare/v0.5.0...HEAD
75
+ [0.5.0]: https://github.com/lolcommits/lolcommits-twitter/compare/v0.4.0...v0.5.0
71
76
  [0.4.0]: https://github.com/lolcommits/lolcommits-twitter/compare/v0.3.0...v0.4.0
72
77
  [0.3.0]: https://github.com/lolcommits/lolcommits-twitter/compare/v0.2.0...v0.3.0
73
78
  [0.2.0]: https://github.com/lolcommits/lolcommits-twitter/compare/v0.1.1...v0.2.0
data/README.md CHANGED
@@ -19,7 +19,7 @@ tweet in your default browser.
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 Twitter
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 "oauth"
@@ -29,23 +29,23 @@ describe Lolcommits::Plugin::Twitter do
29
29
 
30
30
  describe '#enabled?' do
31
31
  it 'returns false by default' do
32
- plugin.enabled?.must_equal false
32
+ _(plugin.enabled?).must_equal false
33
33
  end
34
34
 
35
35
  it 'returns true when configured' do
36
36
  plugin.configuration = valid_enabled_config
37
- plugin.enabled?.must_equal true
37
+ _(plugin.enabled?).must_equal true
38
38
  end
39
39
  end
40
40
 
41
41
  describe 'configuration' do
42
42
  it 'does not have a valid config by default' do
43
- plugin.valid_configuration?.must_equal false
43
+ _(plugin.valid_configuration?).must_equal false
44
44
  end
45
45
 
46
46
  it 'indicates when configured correctly' do
47
47
  plugin.configuration = valid_enabled_config
48
- plugin.valid_configuration?.must_equal true
48
+ _(plugin.valid_configuration?).must_equal true
49
49
  end
50
50
 
51
51
  it 'allows plugin options to be configured' do
@@ -63,7 +63,7 @@ describe Lolcommits::Plugin::Twitter do
63
63
  configured_plugin_options = plugin.configure_options!
64
64
  end
65
65
 
66
- configured_plugin_options.must_equal({
66
+ _(configured_plugin_options).must_equal({
67
67
  enabled: true,
68
68
  token: 'oauthtoken',
69
69
  token_secret: 'oauthtokensecret',
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lolcommits-twitter
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
@@ -208,14 +208,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
208
208
  requirements:
209
209
  - - ">="
210
210
  - !ruby/object:Gem::Version
211
- version: '2.3'
211
+ version: '2.4'
212
212
  required_rubygems_version: !ruby/object:Gem::Requirement
213
213
  requirements:
214
214
  - - ">="
215
215
  - !ruby/object:Gem::Version
216
216
  version: '0'
217
217
  requirements: []
218
- rubygems_version: 3.0.3
218
+ rubygems_version: 3.1.2
219
219
  signing_key:
220
220
  specification_version: 4
221
221
  summary: Post lolcommits to Twitter