lolcommits-flowdock 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: 71ce3ec0acc7158f7b0f7a3c0aaea489b01c9c2efab870051002a2a0becf08ba
4
- data.tar.gz: 9b7ad8fd4aba025f2c18c34f99d9ce1c2361ba89634271046f913b40e1a79a8a
3
+ metadata.gz: 30b3d6ae02a3f222f1be81eff1f5b1122ca705eea691d72f3568b152b9e25213
4
+ data.tar.gz: dccede0a14b8338e0665265d79b67bc6c506239f3d13a85c41d8682a2472adbb
5
5
  SHA512:
6
- metadata.gz: 441779a7f181ab3df480bd4b16b698c37cb5324cc8a84946119ceed1d3162ff1856239fa5ecb67dd0516fe6e0940e66bc53c6a092d9696af037ed9cddfeb4ac1
7
- data.tar.gz: dbddc4e4f0d61b5137f9e1109f80c21ba48c88059991e964d891a2f62f6d09d9e4bffa8367850ff48438abb200ea0325e992990fb0b4c3e9c7eb3a9e800dbb5f
6
+ metadata.gz: d29261a8fa42c0cc3976be2cd7eda0ea9c9ef3763b257f96424c05c1565c7adecd019fb1cc24e5fea528d57628508984989a18613cdd06c270d2ff30a29da615
7
+ data.tar.gz: 91c659eb83abf5ca42d30b7d0332963be16e8fddab9ea79dbbb5a8a4dcf04883027fd86f51024db4149228b25ac0420471dd3759ec35f61a1acaccbf07f8734e
@@ -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`)
@@ -71,7 +75,8 @@ adheres to [Semantic Versioning][Semver].
71
75
  ### Changed
72
76
  - Initial release
73
77
 
74
- [Unreleased]: https://github.com/lolcommits/lolcommits-flowdock/compare/v0.4.0...HEAD
78
+ [Unreleased]: https://github.com/lolcommits/lolcommits-flowdock/compare/v0.5.0...HEAD
79
+ [0.5.0]: https://github.com/lolcommits/lolcommits-flowdock/compare/v0.4.0...v0.5.0
75
80
  [0.4.0]: https://github.com/lolcommits/lolcommits-flowdock/compare/v0.3.3...v0.4.0
76
81
  [0.3.3]: https://github.com/lolcommits/lolcommits-flowdock/compare/v0.3.2...v0.3.3
77
82
  [0.3.2]: https://github.com/lolcommits/lolcommits-flowdock/compare/v0.3.1...v0.3.2
data/README.md CHANGED
@@ -18,7 +18,7 @@ commit](https://github.com/lolcommits/lolcommits-flowdock/raw/master/assets/imag
18
18
 
19
19
  ## Requirements
20
20
 
21
- * Ruby >= 2.3
21
+ * Ruby >= 2.4
22
22
  * A webcam
23
23
  * [ImageMagick](http://www.imagemagick.org)
24
24
  * [ffmpeg](https://www.ffmpeg.org) (optional) for animated gif capturing
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Lolcommits
4
4
  module Flowdock
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"
@@ -31,12 +31,12 @@ describe Lolcommits::Plugin::Flowdock do
31
31
 
32
32
  describe "#enabled?" do
33
33
  it "is not enabled by default" do
34
- plugin.enabled?.must_equal false
34
+ _(plugin.enabled?).must_equal false
35
35
  end
36
36
 
37
37
  it "is true when configured" do
38
38
  plugin.configuration = plugin_config
39
- plugin.enabled?.must_equal true
39
+ _(plugin.enabled?).must_equal true
40
40
  end
41
41
  end
42
42
 
@@ -56,13 +56,13 @@ describe Lolcommits::Plugin::Flowdock do
56
56
  plugin.run_capture_ready
57
57
  end
58
58
 
59
- output.must_equal "Posting to Flowdock ... done!\n"
59
+ _(output).must_equal "Posting to Flowdock ... done!\n"
60
60
  assert_requested :post, message_url, times: 1, headers: {
61
61
  'Content-Type' => /multipart\/form-data/,
62
62
  'Host' => Lolcommits::Flowdock::Client::API_HOST
63
63
  } do |req|
64
- req.body.must_match(/Content-Disposition: form-data;.+name="content"; filename="lolcommit.jpg.+"/)
65
- req.body.must_match(/Content-Disposition: form-data;.+name="tags\[\]"/)
64
+ _(req.body).must_match(/Content-Disposition: form-data;.+name="content"; filename="lolcommit.jpg.+"/)
65
+ _(req.body).must_match(/Content-Disposition: form-data;.+name="tags\[\]"/)
66
66
  end
67
67
  end
68
68
  end
@@ -97,12 +97,12 @@ describe Lolcommits::Plugin::Flowdock do
97
97
  configured_plugin_options = plugin.configure_options!
98
98
  end
99
99
 
100
- output.must_match(/Enter your Flowdock organization name \(tab to autocomplete, Ctrl\+c cancels\)/)
101
- output.must_match(/e.g. Another, My Org/)
102
- output.must_match(/Enter your Flowdock flow name \(tab to autocomplete, Ctrl\+c cancels\)/)
103
- output.must_match(/e.g. Flowtwo, My Flow/)
100
+ _(output).must_match(/Enter your Flowdock organization name \(tab to autocomplete, Ctrl\+c cancels\)/)
101
+ _(output).must_match(/e.g. Another, My Org/)
102
+ _(output).must_match(/Enter your Flowdock flow name \(tab to autocomplete, Ctrl\+c cancels\)/)
103
+ _(output).must_match(/e.g. Flowtwo, My Flow/)
104
104
 
105
- configured_plugin_options.must_equal({
105
+ _(configured_plugin_options).must_equal({
106
106
  enabled: true,
107
107
  access_token: access_token,
108
108
  organization: "myorgparam",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lolcommits-flowdock
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
@@ -170,14 +170,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - ">="
172
172
  - !ruby/object:Gem::Version
173
- version: '2.3'
173
+ version: '2.4'
174
174
  required_rubygems_version: !ruby/object:Gem::Requirement
175
175
  requirements:
176
176
  - - ">="
177
177
  - !ruby/object:Gem::Version
178
178
  version: '0'
179
179
  requirements: []
180
- rubygems_version: 3.0.3
180
+ rubygems_version: 3.1.2
181
181
  signing_key:
182
182
  specification_version: 4
183
183
  summary: Posts lolcommits to Flowdockr