hubstats 0.5.0 → 0.5.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ac76f0c7427aa69b1fe569a7736e653be077c6ff
4
- data.tar.gz: 2ab26da5f449aa74f2c9f8e1d4980a2280e7ebcb
3
+ metadata.gz: 0023871019f4e8751aca49c3caf7f00d02df2496
4
+ data.tar.gz: e34134e192ae8a3ac9db367ae1984781cab6774b
5
5
  SHA512:
6
- metadata.gz: d4b610a75cc65a56502fc1203947697d98ffcdff52104e3bd72cfb4d56a3b8f53c66506e5bed2c6ec827e76f5d6127076ce344c51339d0d0ed1d759fee64345a
7
- data.tar.gz: 648a398af505e04760496ebab015e7da39d3b68b5831a840c1fbb8f42ed8cda798a3bef01d3603eccbc69c8a47dbd4185f9fdf6504a96f44ebaab40083850715
6
+ metadata.gz: b817595398b3d27fb7cf6f79af231fc46296f06cd10c03000addd655715bb68c5d99dc3967ab3410fedb24ca42d84864c0604e1a840ddee5e1ae7eb616208afa
7
+ data.tar.gz: e7bcab693326c6ee83437a3e9705548f89d556af3fb28ee140e755eab56b95042df1feb77294f144a1ea4723036fd41262cfec90ef3ecb784440ca50f84fad68
data/CHANGELOG.markdown CHANGED
@@ -1,3 +1,8 @@
1
+ #### v0.5.1
2
+ * adding hubstats; fixing little error in readme
3
+
4
+ > Emma Sax: Brian Bergstrom: https://github.com/sportngin/hubstats/pull/76
5
+
1
6
  #### v0.5.0
2
7
  * Adding teams and team commands, team sorting, and team metrics to Hubstats
3
8
 
data/README.md CHANGED
@@ -30,7 +30,7 @@ Hubstats can also use OAUTH access tokens stored in ENV["GITHUB_API_TOKEN"] or f
30
30
  Hubstats tracks certain repositories and teams that are part of an organization. Therefore, you must whitelist the specific GitHub organization to track in `octokit.yml`. The list of organizations should look something like this:
31
31
 
32
32
  ```
33
- org_list:
33
+ org_name:
34
34
  - sportngin
35
35
  ```
36
36
 
@@ -157,9 +157,8 @@ module Hubstats
157
157
  # Returns - the hook and a message (or just a message and no hook)
158
158
  def self.create_org_hook(org_name)
159
159
  begin
160
- client.create_hook(
160
+ client.create_org_hook(
161
161
  org_name,
162
- 'web',
163
162
  {
164
163
  :url => Hubstats.config.webhook_endpoint,
165
164
  :content_type => 'json',
@@ -1,3 +1,3 @@
1
1
  module Hubstats
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
@@ -42,7 +42,7 @@ namespace :hubstats do
42
42
  end
43
43
 
44
44
  task :create_org_hook => :environment do
45
- Hubstats::GithubAPI.create_org_hook(config.github_config["org_name"])
45
+ Hubstats::GithubAPI.create_org_hook(Hubstats.config.github_config["org_name"])
46
46
  end
47
47
 
48
48
  desc "Pulls in all information for an indivdual repo"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hubstats
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elliot Hursh