lita-github-commits 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -0
- data/README.md +15 -2
- data/lib/lita/handlers/github_commits.rb +1 -1
- data/lita-github-commits.gemspec +5 -3
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db21716b69044be4479bcd4828a7d8fad5171e52
|
4
|
+
data.tar.gz: bbcdc2cc6c93ade267e0ffa571af9163384b32dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c8c4e7e5f795389b025c654248bd592eb3fcf40475657f46ada0d44e62aba1b4cbcfadedebb2dc6786ca08246e1d1e94dbedaa1f882872bf0bbb8c5b8a02771
|
7
|
+
data.tar.gz: cf296f96de3b45aa94b0a0704afa5738bb94213b7dbafdc8c133dca4165958b98198c608802d5fcc019327f778e3e39d969b13e6008aece89679cb10233379c0
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -16,11 +16,24 @@ gem "lita-github-commits"
|
|
16
16
|
|
17
17
|
## Configuration
|
18
18
|
|
19
|
-
|
19
|
+
### Required attributes
|
20
|
+
|
21
|
+
* `repos` (Hash) - A map of repositories to allow notifications for and the chat rooms to post them in. The keys should be strings in the format "github_username/repository_name" and the values should be either a string room name or an array of string room names. Default: `{}`.
|
22
|
+
|
23
|
+
### Example
|
24
|
+
|
25
|
+
``` ruby
|
26
|
+
Lita.configure do |config|
|
27
|
+
config.handlers.github_commits.repos = {
|
28
|
+
"username/repo1" => "#someroom",
|
29
|
+
"username/repo2" => ["#someroom", "#someotherroom"]
|
30
|
+
}
|
31
|
+
end
|
32
|
+
```
|
20
33
|
|
21
34
|
## Usage
|
22
35
|
|
23
|
-
|
36
|
+
You will need to add a GitHub Webhook url that points to: `http://address.of.lita/github-commits`
|
24
37
|
|
25
38
|
## License
|
26
39
|
|
data/lita-github-commits.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = "lita-github-commits"
|
3
|
-
spec.version = "0.0.
|
3
|
+
spec.version = "0.0.2"
|
4
4
|
spec.authors = ["Mitch Dempsey"]
|
5
5
|
spec.email = ["mrdempsey@gmail.com"]
|
6
6
|
spec.description = %q{A Lita handler that will display GitHub commit messages in the channel}
|
@@ -13,11 +13,13 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
14
14
|
spec.require_paths = ["lib"]
|
15
15
|
|
16
|
-
spec.add_runtime_dependency "lita", "
|
16
|
+
spec.add_runtime_dependency "lita", ">= 2.3"
|
17
17
|
|
18
18
|
spec.add_development_dependency "bundler", "~> 1.3"
|
19
19
|
spec.add_development_dependency "rake"
|
20
|
-
spec.add_development_dependency "rspec", ">=
|
20
|
+
spec.add_development_dependency "rspec", ">= 3.0.0.beta2"
|
21
21
|
spec.add_development_dependency "simplecov"
|
22
22
|
spec.add_development_dependency "coveralls"
|
23
|
+
|
24
|
+
spec.metadata = { "lita_plugin_type" => "handler" }
|
23
25
|
end
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lita-github-commits
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mitch Dempsey
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lita
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '2.3'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '2.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 3.0.0.beta2
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 3.0.0.beta2
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: simplecov
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -115,7 +115,8 @@ files:
|
|
115
115
|
homepage: https://github.com/webdestroya/lita-github-commits
|
116
116
|
licenses:
|
117
117
|
- MIT
|
118
|
-
metadata:
|
118
|
+
metadata:
|
119
|
+
lita_plugin_type: handler
|
119
120
|
post_install_message:
|
120
121
|
rdoc_options: []
|
121
122
|
require_paths:
|
@@ -132,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
133
|
version: '0'
|
133
134
|
requirements: []
|
134
135
|
rubyforge_project:
|
135
|
-
rubygems_version: 2.0.
|
136
|
+
rubygems_version: 2.0.14
|
136
137
|
signing_key:
|
137
138
|
specification_version: 4
|
138
139
|
summary: A Lita handler that will display GitHub commit messages in the channel
|