load_glob 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGES +4 -0
  2. data/lib/load_glob.rb +2 -1
  3. data/load_glob.gemspec +1 -1
  4. metadata +1 -1
data/CHANGES CHANGED
@@ -1,3 +1,7 @@
1
+ 1.0.1:
2
+
3
+ * Correct an error when handling strange exceptions thrown from ActiveSupport
4
+
1
5
  1.0.0:
2
6
 
3
7
  * Initial release
@@ -37,7 +37,8 @@ module LoadGlob
37
37
  #
38
38
  # FIXME: If you can understand ActiveSupport's dependencies.rb
39
39
  # better than I do I would *love* to find a better solution
40
- raise ex unless ex["is not missing constant"]
40
+ raise unless ex.message["is not missing constant"]
41
+
41
42
  STDERR.puts "Warning: load_glob swallowed ActiveSupport 'is not missing constant' error"
42
43
  STDERR.puts ex.backtrace[0..9]
43
44
  end
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
 
3
3
  GEMSPEC = Gem::Specification.new do |s|
4
4
  s.name = "load_glob"
5
- s.version = "1.0.0"
5
+ s.version = "1.0.1"
6
6
  s.authors = "Tony Arcieri"
7
7
  s.email = "tony@medioh.com"
8
8
  s.date = "2009-06-08"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: load_glob
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Arcieri