gems-status 0.17.0 → 0.18.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.
@@ -48,6 +48,7 @@ class NotASecurityAlertChecker < GemChecker
|
|
48
48
|
mssg = "#{gem.name} #{gem.version} : #{gem.origin} \n"
|
49
49
|
@security_messages.each do |k,v|
|
50
50
|
mssg = mssg + "\n #{v}"
|
51
|
+
mssg = mssg + "Fixed in #{@fixed[k]}\n" if @fixed[k]
|
51
52
|
end
|
52
53
|
@email_to.each do |email_receiver|
|
53
54
|
Gmail.new(@email_username, @email_password) do |gmail|
|
@@ -108,9 +109,11 @@ class NotASecurityAlertChecker < GemChecker
|
|
108
109
|
def description
|
109
110
|
result = ""
|
110
111
|
@security_messages.keys.sort.each do |k|
|
111
|
-
result = result + "[#{k}] - #{@security_messages[k]}
|
112
|
+
result = result + "[#{k}] - #{@security_messages[k]}"
|
113
|
+
result = result + "Fixed in #{@fixed[k]}" if @fixed[k]
|
114
|
+
result = result + "<br/>"
|
112
115
|
end
|
113
|
-
result = "Security alerts:
|
116
|
+
result = "Security alerts: #{result}" if result!=""
|
114
117
|
return result
|
115
118
|
end
|
116
119
|
|
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: 87
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 18
|
9
9
|
- 0
|
10
|
-
version: 0.
|
10
|
+
version: 0.18.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jordi Massaguer Pla
|