hubstats 0.3.5 → 0.3.6

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
- NzFmMmMxMmUzZGRlZmQ1OTZlNWU0ZmZkMTIxMmQyNDhlNmEzZjc2Nw==
4
+ Y2FkNWMxZDA1NjM2YjkzODFiMjJlMWQ4ZTEyZmRhM2EyNmM2Y2Q3YQ==
5
5
  data.tar.gz: !binary |-
6
- ZGI0N2Y1YjUyMDlkYmJiM2FiZDY3M2ZlZGFlMDY4M2IzY2ZhNTVlZQ==
6
+ N2MzMDZmM2I5MmE2MDIwNTg4NDU0OTJkNGZmNWQ2OTRkYWJhYzFlYQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ODhkZDEyZWVmZWRmNjUwYTUzMDFkY2IzNjFhNTFmYzAyMTg5NTZkODcwNWJj
10
- MzRhOTgyZTI4ZDgxNDk5ZDI5MDQ4ZDRmMGJmZWIwNzdlZjAxODlmODYzNjcy
11
- M2QwY2EyY2FlNmY5MTRkNjZiNDVhMzVlN2JmMTMzYjhiN2EzMGY=
9
+ OTE4Mzg3MjU2NTQ1ZGE0NGVhMjI3ZDM1MDg1YzYwNDMzY2VlNjA5ZGY4Mzdm
10
+ ZjU3N2Y3YzQ5YTMwYmFlZmNmMjYwZmE5NmJkMDNmNTQ0ZmIxYWFjMDMzYTYz
11
+ NWIyNWJhNDI3ZTY5YWY0ZDY0YTlkMjFkZDI4ZmVmZmVmZTljOTE=
12
12
  data.tar.gz: !binary |-
13
- NmRiMjk0NmMxYjY2MTZiMWEwZjllNjliZDk5YjMxZjRkODdhYzRkNWI1ZTE0
14
- NzExNjViMzk3OTMyNTZhZDMxMzA2YjVjM2U0MGMyNjQ2NDRkNWU3ZTYwM2Jj
15
- MjZjMjc2YjFkZWQwNjU1ZGNjZjllYTI0NDExMjBhYWJjMDg5NzI=
13
+ YTQzYTk4MzRhZGJjNTQ0MWMwMTU0ZTNkMzkzYzBhZjIwMGU2ODQ2ZWFlZDZj
14
+ MGExODZlOGMxMDI0ZTA5ZWE5ZmFmNTI2MWZiNWI4NTVhMmM2NTc4NWNmZGRj
15
+ ZjdmY2FiMTMzYTdmMGIyNGVhYzhmNWRiMjIyMmZjYzhmMDQ5MmU=
data/CHANGELOG.markdown CHANGED
@@ -1,3 +1,4 @@
1
+ #### v0.3.6
1
2
  #### v0.3.5
2
3
  #### v0.3.4
3
4
  #### v0.3.3
@@ -1,6 +1,8 @@
1
1
  <div class="row single-deploy">
2
2
  <div class="user-image-small col-lg-1 col-md-1 col-sm-1 col-xs-2" >
3
- <img src= <%= deploy.user.avatar_url%> alt= <%= deploy.user.login %> >
3
+ <% if deploy.user != nil %>
4
+ <img src= <%= deploy.user.avatar_url%> alt= <%= deploy.user.login %> >
5
+ <% end %>
4
6
  </div>
5
7
 
6
8
  <!-- Show the git revision and when the deploy happened by whom -->
@@ -8,7 +10,12 @@
8
10
  <h4>
9
11
  <%= link_to deploy.git_revision, deploy_path(deploy) %>
10
12
  </h4>
11
- by <%= link_to deploy.user.login, user_path(deploy.user) %>
13
+ by
14
+ <% if deploy.user != nil %>
15
+ <%= link_to deploy.user.login, user_path(deploy.user) %>
16
+ <% else %>
17
+ unknown
18
+ <% end %>
12
19
  <%= "#{time_ago_in_words(deploy.deployed_at)} ago "%>
13
20
  </div>
14
21
 
@@ -13,6 +13,14 @@
13
13
 
14
14
  <div class="row">
15
15
 
16
+ <div class="col col-lg-6">
17
+ <h3> Pull Requests</h3>
18
+ <%= render 'hubstats/tables/pulls-condensed'%>
19
+ <% if @pull_count > 20 %>
20
+ <p class="pull-right"><%= link_to "View All", pulls_path(:repos => @repo.id) %></p>
21
+ <% end %>
22
+ </div>
23
+
16
24
  <!-- Show all of the deploys for this repository -->
17
25
  <div class="col col-lg-6">
18
26
  <h3> Deploys </h3>
@@ -22,14 +30,6 @@
22
30
  <% end %>
23
31
  </div>
24
32
 
25
- <div class="col col-lg-6">
26
- <h3> Pull Requests</h3>
27
- <%= render 'hubstats/tables/pulls-condensed'%>
28
- <% if @pull_count > 20 %>
29
- <p class="pull-right"><%= link_to "View All", pulls_path(:repos => @repo.id) %></p>
30
- <% end %>
31
- </div>
32
-
33
33
  <!-- <div class="col col-lg-6"> -->
34
34
  <!-- <h3> Active Users </h3> -->
35
35
  <!-- <%= render 'hubstats/tables/users-condensed' %> -->
@@ -1,3 +1,3 @@
1
1
  module Hubstats
2
- VERSION = "0.3.5"
2
+ VERSION = "0.3.6"
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.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elliot Hursh
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-06-09 00:00:00.000000000 Z
12
+ date: 2015-06-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails