hubstats 0.0.10 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/controllers/hubstats/users_controller.rb +1 -1
- data/lib/hubstats/events_handler.rb +2 -0
- data/lib/hubstats/version.rb +1 -1
- data/test/dummy/log/development.log +0 -0
- data/test/dummy/tmp/cache/assets/CDA/040/sprockets%2Fb4d91e72711bf28f408e6501a40539bf +0 -0
- data/test/dummy/tmp/cache/assets/D1E/690/sprockets%2F87b902b589445ed855fa47700d19ddcd +0 -0
- data/test/dummy/tmp/cache/assets/D68/7C0/sprockets%2F53c50d8f33708cb75b09c0d4c7d3caf3 +0 -0
- data/test/dummy/tmp/cache/assets/DDE/160/sprockets%2Fad7ae04f67dc2e97b7956ea219e4bc8f +0 -0
- data/test/dummy/tmp/cache/assets/E06/450/sprockets%2Ffcd574cdf1957cd4acd029f0de961dd5 +0 -0
- data/test/dummy/tmp/pids/server.pid +1 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZWQ5YzIyN2FmMWI4ODMwNzVhMDYzYWRjNzRmNWJmYmJjM2Y0ZGJiNA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NWFlYzM5NmE4YmUwMzQzNzRlZjgwNWZlOGY1M2E3MDNlZDY4YjI4Yg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZGVkZDk4MTcxMzdlNTBhZWIwZWViN2NkZTVjYjBkNTg5ZjlmZmFhNTQ3YWI3
|
10
|
+
N2JkMWUwNjE4NTMwYzkzMjI4ODFmODEyYjc1MDE3Njk0ZGI4YzA2N2JiODI2
|
11
|
+
Mjc4NWE3NDAyYjYxYWMwNmE0MmEzODhjMTdkM2NiYzhhYjQ0MGM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ODEzNjE3MmJhMThmMTgwMjdiYmRmYTNlYjkwMDA3NTU4MDU3ZWZkYTcyNjAy
|
14
|
+
ZjVkYWM1MGJhM2I4NTRkOTJkYTdlODBmODE0M2IyOTBkMGUwYjZlNjIyN2Rh
|
15
|
+
ZTFhNGY4Y2I1YjA0OTgyZmMyNTIwMGNjOTQ4MzM5NDUzOTFkYjc=
|
@@ -26,7 +26,7 @@ module Hubstats
|
|
26
26
|
@stats = {
|
27
27
|
pull_count: Hubstats::PullRequest.belonging_to_user(@user.id).closed_since(@timespan).count(:all),
|
28
28
|
comment_count: Hubstats::Comment.belonging_to_user(@user.id).created_since(@timespan).count(:all),
|
29
|
-
review_count: @review ? reviews_count : 0,
|
29
|
+
review_count: @review ? @review.reviews_count : 0,
|
30
30
|
avg_additions: Hubstats::PullRequest.closed_since(@timespan).belonging_to_user(@user.id).average(:additions).to_i,
|
31
31
|
avg_deletions: Hubstats::PullRequest.closed_since(@timespan).belonging_to_user(@user.id).average(:deletions).to_i,
|
32
32
|
net_additions: Hubstats::PullRequest.closed_since(@timespan).belonging_to_user(@user.id).sum(:additions).to_i - Hubstats::PullRequest.closed_since(@timespan).belonging_to_user(@user.id).sum(:deletions).to_i
|
data/lib/hubstats/version.rb
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
78961
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hubstats
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elliot Hursh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -298,6 +298,7 @@ files:
|
|
298
298
|
- test/dummy/tmp/cache/assets/E10/920/sprockets%2Fe2793fe8a9f6773e8d2d5bececb01b7f
|
299
299
|
- test/dummy/tmp/cache/assets/E30/D10/sprockets%2F5be1e5ad45bde1dbd7fb9f8d720277ea
|
300
300
|
- test/dummy/tmp/cache/assets/E41/A20/sprockets%2F23cef5db9fa9d95cf84a2c688b5fe6ab
|
301
|
+
- test/dummy/tmp/pids/server.pid
|
301
302
|
- test/functional/hubstats/splash_controller_test.rb
|
302
303
|
- test/hubstats_test.rb
|
303
304
|
- test/integration/navigation_test.rb
|
@@ -427,6 +428,7 @@ test_files:
|
|
427
428
|
- test/dummy/tmp/cache/assets/E10/920/sprockets%2Fe2793fe8a9f6773e8d2d5bececb01b7f
|
428
429
|
- test/dummy/tmp/cache/assets/E30/D10/sprockets%2F5be1e5ad45bde1dbd7fb9f8d720277ea
|
429
430
|
- test/dummy/tmp/cache/assets/E41/A20/sprockets%2F23cef5db9fa9d95cf84a2c688b5fe6ab
|
431
|
+
- test/dummy/tmp/pids/server.pid
|
430
432
|
- test/functional/hubstats/splash_controller_test.rb
|
431
433
|
- test/hubstats_test.rb
|
432
434
|
- test/integration/navigation_test.rb
|