cinch-github 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +2 -2
- data/README.md +2 -2
- data/lib/cinch/plugins/github/issue.rb +1 -1
- data/lib/cinch/plugins/github/version.rb +1 -1
- metadata +2 -2
data/LICENSE
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright (c)
|
1
|
+
Copyright (c) 2011 Arthur Chiu
|
2
2
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining
|
4
4
|
a copy of this software and associated documentation files (the
|
@@ -17,4 +17,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
17
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
18
|
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
19
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -47,7 +47,7 @@ It's simple. follow the guide on cinch or do something like:
|
|
47
47
|
|
48
48
|
# mybot.rb
|
49
49
|
require 'cinch'
|
50
|
-
require 'cinch
|
50
|
+
require 'cinch/plugins/github'
|
51
51
|
|
52
52
|
Cinch::Plugins::Github::Issue.configure do |c|
|
53
53
|
c.user = 'achiu' # your github username
|
@@ -78,4 +78,4 @@ And there you go!
|
|
78
78
|
TODO
|
79
79
|
-----
|
80
80
|
|
81
|
-
* finish the other plugins for rest of Github API
|
81
|
+
* finish the other plugins for rest of Github API
|
@@ -17,7 +17,7 @@ module Cinch
|
|
17
17
|
end
|
18
18
|
end
|
19
19
|
|
20
|
-
match
|
20
|
+
match "help github issue", :method => :display_help # !issue help github issue
|
21
21
|
match %r{issue state (open|closed) (.+)}, :method => :get_ticket # !issue state closed bugs
|
22
22
|
match %r{issue find (.+)}, :method => :get_ticket # !issue find sinatra
|
23
23
|
match %r{issue link (.+)}, :method => :reply_link # !issue link 35
|