hubstats 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YmZmNzllMWYxNTZmMmE1NDUzYjEyMGZiZTVjOThlOTUzMDExYjNkMg==
4
+ MGRjOTM1NDdmYzA1ZDUyMmYyZGZjZTY4ODYwMWE5NmVkYjNkMjY5ZQ==
5
5
  data.tar.gz: !binary |-
6
- YTBlMmFhZjFmZTE0NmQ3ZTM2ODkyNmZiZTExODQ1NGUyYTA4MDhjYQ==
6
+ MGIwNzhmYTk3YzlkZGNmYTllNjk3ZjQ2NzM1NTgzMzc2NzFiM2ZkOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YjhjMGU3OWY2YzMwMmNmOTIzZjA2YjE0Y2QzOTI0NTIxMDU5NDBhZThiNmVm
10
- YzQyMmJkMTE3ZWUzMjA5Mzc4YzVmZGNhMGFkOWVkZmEyM2UwYTUwNDI1NWMy
11
- ZWQ3OWE5ODkyNzc2OTkzOTczZWM3MTA3ZDU3NDA3ODM3NmQ2MTg=
9
+ Y2I4MGYyMGU1N2Y4YmUzM2VjMjBhNGNlMzA1Mzg5MTE2M2UyMGNjYTY3Njlj
10
+ MmNhZjc1YzEzZGU5MWEwZDI2MDJiZWY1YmNhZWM2YTk5OGZlZTE4YTQyNDIx
11
+ ZWFlNTM0NDVjMzM0NjA0ZDQxMWZiMmYzYjYzOTlkZWNiODkwMWQ=
12
12
  data.tar.gz: !binary |-
13
- ZWQ2NjI4NzNkNTQwY2UyOWY0NzMzYTkzMTYyOGU3MmZjMTBhYTcwMjg0ZTJi
14
- ZTU2Y2U5YzQ1MTFhYTI3MmE1OGNiMjAxOTNhMjczOGI5ZTVmYzAzOTlmNDRh
15
- ODRjOTIzNzlhNWUxNmQ4NWJjNWJhMDcyZGU4OWUyZWU1ZjM3MDY=
13
+ ZWIyYWVmYTllZGUwZDg1MDYwMmRlY2JhODM0Mzk2NTU5NmJjYzJkMTBmZDg0
14
+ MTE0NDkxM2EzYmU1YWQ5YzkyNDUyZGI5ODk0YTkwZDQ4YjIyOGI5YThlNzlm
15
+ ODU4ZTk4ZGZiODY0ZTg5Yjg4MGU3MDcwOTQ2NzI3NzVjYjgwMmM=
@@ -1,7 +1,6 @@
1
1
  .btn-label {
2
2
  font-weight: bold;
3
3
  color: #333333;
4
- background-color:;
5
4
  width: 100%;
6
5
  margin-bottom: 2px;
7
6
  }
@@ -16,7 +15,6 @@
16
15
  }
17
16
 
18
17
  .circle-label {
19
- background-color: green;
20
18
  width: 5px;
21
19
  height: 14px;
22
20
  border-radius: 100%;
@@ -24,6 +24,7 @@ module Hubstats
24
24
 
25
25
 
26
26
  def self.create_or_update(github_comment)
27
+ logger.warn github_comment.inspect
27
28
  github_comment = github_comment.to_h if github_comment.respond_to? :to_h
28
29
 
29
30
  user = Hubstats::User.create_or_update(github_comment[:user])
@@ -62,6 +62,7 @@ module Hubstats
62
62
  has_many :pull_requests
63
63
 
64
64
  def self.create_or_update(github_user)
65
+ logger.warn github_user.inspect
65
66
  github_user[:role] = github_user.delete :type ##changing :type in to :role
66
67
  github_user = github_user.to_h unless github_user.is_a? Hash
67
68
 
@@ -27,8 +27,7 @@ module Hubstats
27
27
  comment[:repo_id] = payload[:repository][:id]
28
28
  comment[:pull_number] = get_pull_number(payload)
29
29
 
30
- puts "INSPECTING COMMENT"
31
- puts comment.inspect
30
+ logger.warn comment.inspect
32
31
  Hubstats::Comment.create_or_update(comment)
33
32
  end
34
33
 
@@ -1,3 +1,3 @@
1
1
  module Hubstats
2
- VERSION = "0.0.14"
2
+ VERSION = "0.0.15"
3
3
  end
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.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elliot Hursh