girc-wookie 1.0.0 → 1.0.2
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/CHANGELOG.md +6 -0
- data/lib/girc/wookie.rb +5 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cb24db3af7a756c67f1f4ae49571bec78fc9e69c
|
|
4
|
+
data.tar.gz: 19ddb7c9c121f2a0ecb97ff2d741eb05802803d6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 200dc7c0afa28946a9c9d43d0d3e9d9cdbd82a5d3aa159e79f112af339cd9a4697d349fb45425ca969dc5e7ad8ed38bf0dcc7dba7d1d6afe5d489f38682b97d9
|
|
7
|
+
data.tar.gz: a8c43e6552c5ef32d2be4e0c050a853b77e8185337514ef68d57af77a5dad3306c825e5603e63e4a54ec0455687451c3506b95dbcdde7733cbefda9ec751a65b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
## Version 1
|
|
3
|
+
### Version 1.0.2
|
|
4
|
+
* Reupload version 1.0.1 with tested code.
|
|
5
|
+
|
|
6
|
+
### Version 1.0.1 (yanked)
|
|
7
|
+
* It now supports repositories in non-personal repositories (you must include the / in the repo name!)
|
|
8
|
+
|
|
3
9
|
### Version 1.0.0
|
|
4
10
|
* Initial version
|
data/lib/girc/wookie.rb
CHANGED
|
@@ -26,7 +26,11 @@ module GIRC
|
|
|
26
26
|
notice: to_int_string(@config['irc']['notice'])
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
if @config['github']['repo'].include? '/'
|
|
30
|
+
repo = @config['github']['repo']
|
|
31
|
+
else
|
|
32
|
+
repo = "#{@config['github']['username']}/#{@config['github']['repo']}"
|
|
33
|
+
end
|
|
30
34
|
|
|
31
35
|
@client.create_hook(repo, 'irc', hook_config)
|
|
32
36
|
end
|