gems-status 0.22.0 → 0.23.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module GemsStatusMetadata
2
- VERSION = "0.22.0"
2
+ VERSION = "0.23.0"
3
3
  end
@@ -11,7 +11,12 @@ require "gems-status/scm_security_messages"
11
11
  class NotASecurityAlertChecker < GemChecker
12
12
  def initialize(conf)
13
13
  Utils::check_parameters('NotASecurityAlertChecker', conf, ["fixed", "source_repos", "email_username", "email_password", "mailing_lists", "email_to"])
14
- @fixed = conf["fixed"]
14
+ begin
15
+ @fixed = YAML::load(File::open(conf["fixed"]))
16
+ rescue
17
+ Utils::log_error("?", "There was a problem opening #{conf["fixed"]}")
18
+ @fixed = []
19
+ end
15
20
  @source_repos = conf["source_repos"]
16
21
  @security_messages = {}
17
22
  @email_username = conf["email_username"]
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: 71
4
+ hash: 67
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 22
8
+ - 23
9
9
  - 0
10
- version: 0.22.0
10
+ version: 0.23.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jordi Massaguer Pla
@@ -174,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
174
174
  requirements: []
175
175
 
176
176
  rubyforge_project:
177
- rubygems_version: 1.8.11
177
+ rubygems_version: 1.8.15
178
178
  signing_key:
179
179
  specification_version: 3
180
180
  summary: compares rubygems from different sources