hubstats 0.3.6 → 0.3.7
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,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MjRjOTg1MmEwYmNjMjJhY2FkNjA5OTRkOTdjZTYyZjE0NTkzNWFhNg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
OGE0NDc0ZDhiNjYzOWNlMjlhMDYwOThmZTk5OGFiYTVjMjQ5NmE5NQ==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
OGQzNjliOTY1MmMyYmU4NmM4ZGQ3ZDY3YzBiOGIwYjI2NDBmZmVlMTc3MWJm
|
|
10
|
+
ZDQ5OTczYWIzMjU5MTBlNWI3OTA4YzM0ZTA0MzQzZWViMWU0OWFiMzM1Zjli
|
|
11
|
+
Nzk5MGM1Nzk2MTkxNzk0NjQwOTA5N2JiMWEzMTA5MDEzMGQxMGY=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
M2Y4NzUzZTc4ZjQxYjlhNTcxMTAyMDY3OWFhNGJiM2U1YjFjMjgxNmQ4MjFm
|
|
14
|
+
NWRjNTljMmM1OGQxNzRiMzRkMDA2YjAzYWEzNzE3ZDc3NDIzYzAyMjQxNjEz
|
|
15
|
+
NDI0ZjM4OGIyMDRhMWI5NDM5YzAwMmM1NzYzMDc1NzBmMWI1ZjA=
|
data/CHANGELOG.markdown
CHANGED
|
@@ -5,7 +5,7 @@ module Hubstats
|
|
|
5
5
|
|
|
6
6
|
def index
|
|
7
7
|
# sets to include user and repo, and sorts data
|
|
8
|
-
@deploys = Hubstats::Deploy.includes(:repo, :pull_requests, :user)
|
|
8
|
+
@deploys = Hubstats::Deploy.includes(:repo, :pull_requests, :user)
|
|
9
9
|
.belonging_to_users(params[:users]).belonging_to_repos(params[:repos])
|
|
10
10
|
.group_by(params[:group])
|
|
11
11
|
.order_with_timespan(@timespan, params[:order])
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
<div class="row single-deploy">
|
|
2
|
-
|
|
3
2
|
<div class="user-image col-lg-1 col-md-1 col-sm-1" >
|
|
4
|
-
|
|
3
|
+
<% if deploy.user != nil %>
|
|
4
|
+
<img src= <%= deploy.user.avatar_url%> alt= <%= deploy.user.login %> >
|
|
5
|
+
<% end %>
|
|
5
6
|
</div>
|
|
6
7
|
|
|
7
8
|
<!-- Show the repo name, git revision, and who deployed it when -->
|
|
@@ -11,7 +12,12 @@
|
|
|
11
12
|
<%= link_to deploy.git_revision, deploy_path(deploy) %>
|
|
12
13
|
</h4>
|
|
13
14
|
<br>
|
|
14
|
-
by
|
|
15
|
+
by
|
|
16
|
+
<% if deploy.user != nil %>
|
|
17
|
+
<%= link_to deploy.user.login, user_path(deploy.user) %>
|
|
18
|
+
<% else %>
|
|
19
|
+
unknown
|
|
20
|
+
<% end %>
|
|
15
21
|
<%= "#{time_ago_in_words(deploy.deployed_at)} ago "%>
|
|
16
22
|
<br>
|
|
17
23
|
</div>
|
data/lib/hubstats/version.rb
CHANGED