gem-gratitude 0.1.3 → 0.1.4

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/template.erb +62 -0
  3. metadata +2 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd13472005184661f1e29e46ec7b40ecd973d598
4
- data.tar.gz: 3cae294171e04610c5231bf838aab6a043b33314
3
+ metadata.gz: 158b65b614a6a71eececed4c5dac5bea92bbb16a
4
+ data.tar.gz: b3a140318f04bc39cc9cd64c3c9fbdb9a639ce03
5
5
  SHA512:
6
- metadata.gz: 33b80625f218ea42ca5f5e723abe3c9782c044e9aea9a980d597b63e639ea787259f33596473accaad5eadae7594e63ce0f905acc116c019dec4bd7dd70cd5c7
7
- data.tar.gz: 83943dcd28e542fbfa73f332a6f52218aacb5409bca7bea26a2f47936e818a006f3a7ec9f9fe919008b986107b27a6a59f58a1e388bfbef1f74a2bacf81f1db4
6
+ metadata.gz: b4f229294b0d1eabd9bfdfb75af584ed6ff119ac496c9e0ea345b673d10a277a4ceeebe0dbbfa751b4776aa91c338bb966e23e41d8c3b738f3fd082362593022
7
+ data.tar.gz: ead0570507a929f796aff0900720c6c24b9607b2367837bc7f9d2dc50600c0414c4782c9ee09c0f32549fc00dfc33a2a8437aff4b299183438c4b2c47378fa1d
data/template.erb ADDED
@@ -0,0 +1,62 @@
1
+ <html>
2
+ <head>
3
+ <title>gem-gratitude - Give back to the gems you depend on</title>
4
+ <script src="http://code.jquery.com/jquery-1.10.2.js"></script>
5
+ <script src="http://code.jquery.com/ui/1.11.2/jquery-ui.js"></script>
6
+ <script>$(function() { $( "#accordion" ).accordion({ heightStyle: "content" }); });</script>
7
+ <style type="text/css">
8
+ body {
9
+ font-family: 'Arial', sans-serif;
10
+ font-size: 0.9em;
11
+ color: #333;
12
+ margin: 3em;
13
+ }
14
+
15
+ h1.main_title {
16
+ margin-top: 1em 0 0.5em;
17
+ }
18
+ h1.main_title a {
19
+ font-size: 12px;
20
+ }
21
+ h3.sub_title {
22
+ color: #666;
23
+ margin-bottom: 2em;
24
+ }
25
+
26
+ .ui-accordion-header {
27
+ cursor: pointer;
28
+ background: #eee;
29
+ margin: 0;
30
+ padding: 10px;
31
+ border-bottom: 1px solid #ccc;
32
+ font-weight: normal;
33
+ color: #666;
34
+ }
35
+ .ui-accordion-content {
36
+ padding: 1em 4em;
37
+ font-size: 1.2em;
38
+ }
39
+ .ui-accordion-content .github_link {
40
+ font-weight: bold;
41
+ text-align: right;
42
+ float: left;
43
+ margin: 1.5em;
44
+ width: 100%;
45
+ }
46
+
47
+ img {
48
+ max-width: 100%;
49
+ max-height: 100%;
50
+ }
51
+ </style>
52
+ </head>
53
+
54
+ <body>
55
+ <h1 class="main_title">gem-gratitude <a href="https://github.com/danbartlett/gem-gratitude">View on GitHub</a></h1>
56
+ <h3 class="sub_title">Found <%=@issue_count%> open issues across <%=@gem_list.count%> gems you depend on. Happy hacking!</h3>
57
+
58
+ <div id='accordion'>
59
+ <%= @html_content %>
60
+ </div>
61
+ </body>
62
+ </html>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem-gratitude
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Bartlett
@@ -48,6 +48,7 @@ extra_rdoc_files: []
48
48
  files:
49
49
  - bin/gem-gratitude
50
50
  - lib/gem-gratitude.rb
51
+ - template.erb
51
52
  homepage: http://rubygems.org/gems/gem-gratitude
52
53
  licenses:
53
54
  - MIT