minigems 0.9.6 → 0.9.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/minigems.rb +5 -3
  3. metadata +1 -1
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.6") + PKG_BUILD
18
+ GEM_VERSION = (Gem::MiniGems::VERSION || "0.9.7") + PKG_BUILD
19
19
 
20
20
  RELEASE_NAME = "REL #{GEM_VERSION}"
21
21
 
@@ -2,7 +2,7 @@ module Gem
2
2
  unless const_defined?(:MiniGems)
3
3
  module MiniGems
4
4
 
5
- VERSION = "0.9.6"
5
+ VERSION = "0.9.7"
6
6
 
7
7
  # The next line needs to be kept exactly as shown; it's being replaced
8
8
  # during minigems installation.
@@ -57,8 +57,10 @@ unless $LOADED_FEATURES.include?("rubygems.rb")
57
57
  def require(path) # :nodoc:
58
58
  gem_original_require path
59
59
  rescue LoadError => load_error
60
- if File.basename(path).match(Gem::MiniGems::INLINE_REGEXP)
61
- return true # RubyInline dynamicly created .so/.bundle
60
+ if File.basename(path).match(Gem::MiniGems::INLINE_REGEXP) &&
61
+ Object.const_defined?(:Inline)
62
+ # RubyInline dynamically created .so/.bundle
63
+ return gem_original_require(File.join(Inline.directory, path))
62
64
  elsif path == 'Win32API' && !Gem.win_platform?
63
65
  raise load_error
64
66
  elsif load_error.message =~ /#{Regexp.escape path}\z/
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.6
4
+ version: 0.9.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabien Franzen