gemrage 0.0.0 → 0.1.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.
- data/Rakefile +1 -0
- data/VERSION +1 -1
- data/gemrage.gemspec +1 -1
- data/lib/rubygems/commands/scan_command.rb +11 -1
- metadata +3 -3
data/Rakefile
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.1.0
|
data/gemrage.gemspec
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
require 'rubygems/gemcutter_utilities'
|
|
2
2
|
|
|
3
|
+
# Holy shit disgusting
|
|
4
|
+
Gem.clear_paths
|
|
5
|
+
paths = ENV['GEM_PATH'].to_s.split(':')
|
|
6
|
+
paths.unshift(File.expand_path(File.join(File.dirname(__FILE__), '..', '..', '..', 'vendor', 'ruby', '1.8')))
|
|
7
|
+
ENV['GEM_PATH'] = paths.join(':')
|
|
8
|
+
ENV['BUNDLE_GEMFILE'] = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', '..', 'Gemfile'))
|
|
9
|
+
require 'bundler'
|
|
10
|
+
Bundler.setup
|
|
11
|
+
Bundler.require
|
|
12
|
+
|
|
3
13
|
class Gem::Commands::ScanCommand < Gem::Command
|
|
4
14
|
include Gem::GemcutterUtilities
|
|
5
15
|
|
|
@@ -20,6 +30,6 @@ class Gem::Commands::ScanCommand < Gem::Command
|
|
|
20
30
|
end
|
|
21
31
|
|
|
22
32
|
def execute
|
|
23
|
-
p 'Hello,
|
|
33
|
+
p 'Hello, World!'
|
|
24
34
|
end
|
|
25
35
|
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:
|
|
4
|
+
hash: 27
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
|
+
- 1
|
|
8
9
|
- 0
|
|
9
|
-
|
|
10
|
-
version: 0.0.0
|
|
10
|
+
version: 0.1.0
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Daniel Huckstep
|