gemrage 0.1.0 → 0.1.1

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
data/gemrage.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{gemrage}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Daniel Huckstep"]
@@ -14,7 +14,7 @@ class Gem::Commands::ScanCommand < Gem::Command
14
14
  include Gem::GemcutterUtilities
15
15
 
16
16
  def initialize
17
- super('scan', description)
17
+ super('scan', description, :dir => '')
18
18
  end
19
19
 
20
20
  def description
@@ -30,6 +30,22 @@ class Gem::Commands::ScanCommand < Gem::Command
30
30
  end
31
31
 
32
32
  def execute
33
- p 'Hello, World!'
33
+ p basic_scan.join(', ')
34
34
  end
35
+
36
+ private
37
+
38
+ def basic_scan
39
+ Gem.source_index.map do |name, spec|
40
+ spec.name
41
+ end
42
+ end
43
+
44
+ def rvm_scan
45
+ end
46
+
47
+ def pik_scan
48
+ end
49
+
50
+ # Etc...
35
51
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemrage
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Daniel Huckstep