lolcommits-slack 0.1.1 → 0.2.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: 2f5d8cd577897de58bfbb8c410b7e6fb72801875fb571e987eeec616dc1f9f2a
4
- data.tar.gz: b820249bb67280df8c4a92fbdcd08ea7153c7cf4109962cf98bb8c87359f4c6d
3
+ metadata.gz: 01a504d19a8aa4f36a0c308d4e53a68b66a3900e81f57812dbf13e19f954f730
4
+ data.tar.gz: 8494e0ebec829edd8875dad35b8095d72f8a30e7344ec47e32312b7e4e225ab6
5
5
  SHA512:
6
- metadata.gz: 2f033312300d5b6022bdba1efb34884ec0285f820c93f57b4c6bebe78a05ab1f49136c11a0ba05e70285c0d42963cdc5f24d8785170f9e2fd61c44e80e55a835
7
- data.tar.gz: f6760ac53c123006362462c36ace1dfb19e24d211aec822308889359e1070d131226697c9f3434a421e4211d69fd03a42fc46c6ac3b508bec018f95eb33edead
6
+ metadata.gz: 33af42759f126b0593933888d5af9cc5bab396dda41f35bd352dcecdd04638eec90dbce30b6446824f7958bf2e1b171de0dbe057f5bdea126fb87def168f3354
7
+ data.tar.gz: 3589a9238a4c8069f2305be45cca7551db8b685179607343179334e75ecfbcbfe119576cbeb95a16eb52cf94458a26e0242ea908d087ff0b81d916992457518a
data/.travis.yml CHANGED
@@ -2,19 +2,16 @@ sudo: false
2
2
  language: ruby
3
3
  cache: bundler
4
4
  rvm:
5
- - 2.1.10
6
- - 2.2.9
7
- - 2.3.6
8
- - 2.4.3
9
- - 2.5.1
10
- - ruby-head
5
+ - 2.3.8
6
+ - 2.4.6
7
+ - 2.5.5
8
+ - 2.6.3
9
+ - ruby-head
11
10
 
12
11
  before_install:
13
- - gem update --system
14
- - gem install bundler
15
- - git --version
16
- - git config --global user.email "lol@commits.org"
17
- - git config --global user.name "Lolcommits"
12
+ - git --version
13
+ - git config --global user.email "lol@commits.org"
14
+ - git config --global user.name "Lolcommits"
18
15
 
19
16
  matrix:
20
17
  allow_failures:
data/CHANGELOG.md CHANGED
@@ -2,13 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
- The format is based on [Keep a Changelog](KeepAChangelog) and this project
6
- adheres to [Semantic Versioning](Semver).
5
+ The format is based on [Keep a Changelog][KeepAChangelog] and this project
6
+ adheres to [Semantic Versioning][Semver].
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
10
  - Your contribution here!
11
11
 
12
+ ## [0.2.0] - 2019-04-24
13
+ ### Removed
14
+ - Support for Ruby < 2.3 (older rubies no longer supported)
15
+
16
+ ### Added
17
+ - `frozen_string_literal: true` to all ruby files
18
+
12
19
  ## [0.1.1] - 2018-05-24
13
20
  ### Changed
14
21
  - Updated gemspec meta data links.
@@ -38,7 +45,8 @@ adheres to [Semantic Versioning](Semver).
38
45
  ### Changed
39
46
  - Initial release
40
47
 
41
- [Unreleased]: https://github.com/lolcommits/lolcommits-slack/compare/v0.1.1...HEAD
48
+ [Unreleased]: https://github.com/lolcommits/lolcommits-slack/compare/v0.2.0...HEAD
49
+ [0.2.0]: https://github.com/lolcommits/lolcommits-slack/compare/v0.1.1...v0.2.0
42
50
  [0.1.1]: https://github.com/lolcommits/lolcommits-slack/compare/v0.1.0...v0.1.1
43
51
  [0.1.0]: https://github.com/lolcommits/lolcommits-slack/compare/v0.0.4...v0.1.0
44
52
  [0.0.4]: https://github.com/lolcommits/lolcommits-slack/compare/v0.0.3...v0.0.4
data/README.md CHANGED
@@ -19,7 +19,7 @@ error occur.
19
19
 
20
20
  ## Requirements
21
21
 
22
- * Ruby >= 2.0.0
22
+ * Ruby >= 2.3
23
23
  * A webcam
24
24
  * [ImageMagick](http://www.imagemagick.org)
25
25
  * [ffmpeg](https://www.ffmpeg.org) (optional) for animated gif capturing
@@ -83,6 +83,11 @@ If you think something is broken or missing, please raise a new
83
83
  [issue](https://github.com/lolcommits/lolcommits-slack/issues). Take
84
84
  a moment to check it hasn't been raised in the past (and possibly closed).
85
85
 
86
+ ## TODO
87
+
88
+ - [ ] Use new Oauth / App (instead of legacy tokens)
89
+ - [ ] Query for channel list and let user select
90
+
86
91
  ## Contributing
87
92
 
88
93
  Bug [reports](https://github.com/lolcommits/lolcommits-slack/issues) and [pull
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'lolcommits/plugin/base'
2
4
  require 'rest_client'
3
5
 
@@ -1,2 +1,4 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'lolcommits/slack/version'
2
4
  require 'lolcommits/plugin/slack'
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Lolcommits
2
4
  module Slack
3
- VERSION = "0.1.1".freeze
5
+ VERSION = "0.2.0".freeze
4
6
  end
5
7
  end
@@ -1,7 +1,5 @@
1
- # coding: utf-8
2
1
  lib = File.expand_path('../lib', __FILE__)
3
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
-
5
3
  require 'lolcommits/slack/version'
6
4
 
7
5
  Gem::Specification.new do |spec|
@@ -9,11 +7,10 @@ Gem::Specification.new do |spec|
9
7
  spec.version = Lolcommits::Slack::VERSION
10
8
  spec.authors = ["Matthew Hutchinson"]
11
9
  spec.email = ["matt@hiddenloop.com"]
12
-
13
10
  spec.summary = %q{Sends lolcommits to one (or more) Slack channels}
14
- spec.description = %q{Automatically post your lolcommits to Slack}
15
11
  spec.homepage = "https://github.com/lolcommits/lolcommits-slack"
16
12
  spec.license = "LGPL-3"
13
+ spec.description = %q{Automatically post your lolcommits to Slack}
17
14
 
18
15
  spec.metadata = {
19
16
  "homepage_uri" => "https://github.com/lolcommits/lolcommits-slack",
@@ -37,7 +34,7 @@ Gem::Specification.new do |spec|
37
34
  spec.executables = []
38
35
  spec.require_paths = ["lib"]
39
36
 
40
- spec.required_ruby_version = ">= 2.1"
37
+ spec.required_ruby_version = ">= 2.3"
41
38
 
42
39
  spec.add_runtime_dependency "rest-client"
43
40
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'test_helper'
2
4
 
3
5
  describe Lolcommits::Plugin::Slack do
data/test/test_helper.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
2
4
 
3
5
  # lolcommits gem
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lolcommits-slack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.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: 2018-05-24 00:00:00.000000000 Z
11
+ date: 2019-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -151,15 +151,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
151
151
  requirements:
152
152
  - - ">="
153
153
  - !ruby/object:Gem::Version
154
- version: '2.1'
154
+ version: '2.3'
155
155
  required_rubygems_version: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - ">="
158
158
  - !ruby/object:Gem::Version
159
159
  version: '0'
160
160
  requirements: []
161
- rubyforge_project:
162
- rubygems_version: 2.7.6
161
+ rubygems_version: 3.0.3
163
162
  signing_key:
164
163
  specification_version: 4
165
164
  summary: Sends lolcommits to one (or more) Slack channels