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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/lib/girc/wookie.rb +5 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6e1db96924d244847272ddf5a36c65e74a5b0754
4
- data.tar.gz: b63dbca8510ff21f19aafac00ab5970fa6a55be5
3
+ metadata.gz: cb24db3af7a756c67f1f4ae49571bec78fc9e69c
4
+ data.tar.gz: 19ddb7c9c121f2a0ecb97ff2d741eb05802803d6
5
5
  SHA512:
6
- metadata.gz: f2e57816c17f7c828b99930c0e0c829f6c6704013e675e011faeac58ca9de55e168ce1d767bce1955d004613a7b6e682082b4fe8c5d2e8d2aee5700e3bd20d22
7
- data.tar.gz: 7148aa1d728a50fcb0a8081ca3b6353deae2d46b55098a81b548eeabf978acd247b8e98cd3fb66b2b1758dc5762a4246496a7791c875ced59813b1055c94888f
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
- repo = "#{@config['github']['username']}/#{@config['github']['repo']}"
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: girc-wookie
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eli Foster