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 +4 -4
- data/.travis.yml +4 -4
- data/CHANGELOG.md +6 -1
- data/README.md +1 -1
- data/lib/lolcommits/twitter/version.rb +1 -1
- data/lolcommits-twitter.gemspec +1 -1
- data/test/lolcommits/plugin/twitter_test.rb +5 -5
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 386e5e30bf2fd962a829274b595838470c9eb0b07d7d77bf86a0bb031a8789b1
|
|
4
|
+
data.tar.gz: 731e22dbf6f6a77c6b65d3766063c1109aac016eaa54ed5353e9413aa676df45
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 01d75e88dfb149ee3ca6bcc4cb4ed819d9a41f6c2b77903dc76a556974009e67755a0e00bb0078df297371b947f3400c508d783e8b8a2004e3d49669a88dfcc7
|
|
7
|
+
data.tar.gz: 821ef0313f6c6f790b073f3ae09c057078098918e482272f0a4304899824120b3564ec282696fa0b3d4d5a6f70eff6a8b939d6e12009c7e27f0f1ce0d39fd577
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -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.
|
|
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
data/lolcommits-twitter.gemspec
CHANGED
|
@@ -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.
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
+
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:
|
|
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.
|
|
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.
|
|
218
|
+
rubygems_version: 3.1.2
|
|
219
219
|
signing_key:
|
|
220
220
|
specification_version: 4
|
|
221
221
|
summary: Post lolcommits to Twitter
|