gems-status 0.19.0 → 0.20.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.
@@ -5,6 +5,7 @@ require "gems-status/not_rails_checker"
5
5
  require "gems-status/exists_in_upstream"
6
6
  require "gems-status/view_results"
7
7
  require "gems-status/not_a_security_alert_checker"
8
+ require "gems-status/print_gem_versions"
8
9
 
9
10
  class GemsCompositeCommand < GemsCommand
10
11
  def initialize(target)
@@ -1,3 +1,3 @@
1
1
  module GemsStatusMetadata
2
- VERSION = "0.19.0"
2
+ VERSION = "0.20.0"
3
3
  end
@@ -0,0 +1,14 @@
1
+ class PrintGemVersions
2
+ def initialize(conf)
3
+ end
4
+
5
+ def check?(gem)
6
+ #ignore upstream gems
7
+ return true if gem.origin == gem.gems_url
8
+ open("gemversions.txt", "a") do |f|
9
+ f.puts "#{gem.name} #{gem.version}"
10
+ end
11
+ return true
12
+ end
13
+
14
+ end
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: 83
4
+ hash: 79
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 19
8
+ - 20
9
9
  - 0
10
- version: 0.19.0
10
+ version: 0.20.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jordi Massaguer Pla
@@ -115,6 +115,7 @@ files:
115
115
  - lib/gems-status/ruby_gems_gems.rb
116
116
  - lib/gems-status/gem_simple.rb
117
117
  - lib/gems-status/lockfile_gems.rb
118
+ - lib/gems-status/print_gem_versions.rb
118
119
  - lib/gems-status/ruby_gems_gems_gem_simple.rb
119
120
  - lib/gems-status/not_native_gem_checker.rb
120
121
  - lib/gems-status/svn_check_messages.rb