gems-status 0.9.0 → 0.10.0
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.
@@ -49,14 +49,15 @@ class NotASecurityAlertChecker < GemChecker
|
|
49
49
|
@security_messages.each do |k,v|
|
50
50
|
mssg = mssg + "\n #{v}"
|
51
51
|
end
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
52
|
+
@email_to.each do |email_receiver|
|
53
|
+
Gmail.new(@email_username, @email_password) do |gmail|
|
54
|
+
gmail.deliver do
|
55
|
+
to email_receiver
|
56
|
+
subject "[gems-status] security alerts for #{gem.name}"
|
57
|
+
text_part do
|
58
|
+
body mssg
|
59
|
+
end
|
60
|
+
end
|
60
61
|
end
|
61
62
|
end
|
62
63
|
Utils::log_debug "Email sent to #{@email_to} "
|
@@ -231,7 +231,7 @@ class ViewResults
|
|
231
231
|
|
232
232
|
def ViewResults.print_summary
|
233
233
|
puts "<a name='summary'/><h1>Summary</h1>"
|
234
|
-
puts "<p><h2>patched/errored</h2>"
|
234
|
+
puts "<p><h2>patched/errored #{@@patched.length}</h2>"
|
235
235
|
puts "<ul>"
|
236
236
|
@@patched.each do |p|
|
237
237
|
puts "<li><a href=\"\##{p}\">#{p}</a>"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gems-status
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 55
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 10
|
9
9
|
- 0
|
10
|
-
version: 0.
|
10
|
+
version: 0.10.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jordi Massaguer Pla
|
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
117
|
requirements: []
|
118
118
|
|
119
119
|
rubyforge_project:
|
120
|
-
rubygems_version: 1.8.
|
120
|
+
rubygems_version: 1.8.15
|
121
121
|
signing_key:
|
122
122
|
specification_version: 3
|
123
123
|
summary: compares rubygems from different sources
|