minigems 0.9.5 → 0.9.6
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 -1
- data/lib/minigems.rb +5 -1
- data/lib/minigems/script_helper.rb +1 -1
- metadata +2 -2
data/Rakefile
CHANGED
|
@@ -15,7 +15,7 @@ GEM_EMAIL = "info@atelierfabien.be"
|
|
|
15
15
|
|
|
16
16
|
GEM_NAME = "minigems"
|
|
17
17
|
PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
|
|
18
|
-
GEM_VERSION = (Gem::MiniGems::VERSION || "0.9.
|
|
18
|
+
GEM_VERSION = (Gem::MiniGems::VERSION || "0.9.6") + PKG_BUILD
|
|
19
19
|
|
|
20
20
|
RELEASE_NAME = "REL #{GEM_VERSION}"
|
|
21
21
|
|
data/lib/minigems.rb
CHANGED
|
@@ -2,7 +2,7 @@ module Gem
|
|
|
2
2
|
unless const_defined?(:MiniGems)
|
|
3
3
|
module MiniGems
|
|
4
4
|
|
|
5
|
-
VERSION = "0.9.
|
|
5
|
+
VERSION = "0.9.6"
|
|
6
6
|
|
|
7
7
|
# The next line needs to be kept exactly as shown; it's being replaced
|
|
8
8
|
# during minigems installation.
|
|
@@ -20,6 +20,8 @@ end
|
|
|
20
20
|
# Enable minigems unless rubygems has already loaded.
|
|
21
21
|
unless $LOADED_FEATURES.include?("rubygems.rb")
|
|
22
22
|
|
|
23
|
+
$MINIGEMS_SKIPPABLE ||= []
|
|
24
|
+
|
|
23
25
|
$LOADED_FEATURES << "rubygems.rb"
|
|
24
26
|
require 'minigems/core'
|
|
25
27
|
require 'rubygems/specification'
|
|
@@ -63,6 +65,8 @@ unless $LOADED_FEATURES.include?("rubygems.rb")
|
|
|
63
65
|
if !path.include?('/') && (match = Gem.find_name(path))
|
|
64
66
|
Gem.activate_gem_from_path(match.first)
|
|
65
67
|
return gem_original_require(path)
|
|
68
|
+
elsif $MINIGEMS_SKIPPABLE.include?(path)
|
|
69
|
+
raise load_error
|
|
66
70
|
elsif spec = Gem.searcher.find(path)
|
|
67
71
|
Gem.activate(spec.name, "= #{spec.version}")
|
|
68
72
|
return gem_original_require(path)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: minigems
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Fabien Franzen
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2008-10-
|
|
12
|
+
date: 2008-10-13 00:00:00 +02:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|