rubymirrors 0.0.2 → 0.0.3

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.
@@ -72,7 +72,10 @@ module Ruby
72
72
 
73
73
  def nested_classes
74
74
  nc = @subject.constants.collect do |c|
75
- @subject.const_get(c) if @subject.const_defined? c
75
+ # do not trigger autoloads
76
+ if @subject.const_defined?(c) and not @subject.autoload?(c)
77
+ @subject.const_get(c)
78
+ end
76
79
  end.compact.select {|c| Module === c }
77
80
  mirrors nc
78
81
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "rubymirrors"
3
- s.version = "0.0.2"
3
+ s.version = "0.0.3"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.authors = ["Tim Felgentreff"]
6
6
  s.email = ["timfelgentreff@gmail.com"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubymirrors
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: