rgeo-activerecord 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
data/History.rdoc CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.4.5 / 2012-04-13
2
+
3
+ * Task hacker failed ungracefully when attempting to hack a nonexistent task. Fixed.
4
+
1
5
  === 0.4.4 / 2012-04-12
2
6
 
3
7
  * Support cartesian bounding boxes in queries.
data/Version CHANGED
@@ -1 +1 @@
1
- 0.4.4
1
+ 0.4.5
@@ -88,7 +88,9 @@ module RGeo
88
88
  # configuration hash.
89
89
 
90
90
  def modify(name_, env_, pattern_, &block_)
91
- ::Rake::Task[name_].actions.unshift(Action.new(env_, pattern_, block_))
91
+ if ::Rake::Task.task_defined?(name_)
92
+ ::Rake::Task[name_].actions.unshift(Action.new(env_, pattern_, block_))
93
+ end
92
94
  end
93
95
 
94
96
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rgeo-activerecord
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: