activerecord-postgis-adapter 0.6.4 → 0.6.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.6.5 / 2013-06-24
2
+
3
+ * Fixed stoopid syntax errors in rake db:gis:setup tass. (Pull requests by rhodrid and jdurand)
4
+
1
5
  === 0.6.4 / 2013-05-28
2
6
 
3
7
  * Fixed a crash with array conversions in Rails 4. (Contributed by Christopher Bull)
data/Version CHANGED
@@ -1 +1 @@
1
- 0.6.4
1
+ 0.6.5
@@ -55,7 +55,7 @@ namespace :db do
55
55
  else
56
56
  environments_ = [::Rails.env]
57
57
  environments_ << 'test' if ::Rails.env.development?
58
- configs_ ::ActiveRecord::Base.configurations.values_at(*environments_).compact.reject{ |config_| config_['database'].blank? }
58
+ configs_ = ::ActiveRecord::Base.configurations.values_at(*environments_).compact.reject{ |config_| config_['database'].blank? }
59
59
  end
60
60
  configs_.each { |config_| setup_gis(config_) }
61
61
  end
@@ -43,7 +43,7 @@ namespace :db do
43
43
  task :setup => [:load_config] do
44
44
  environments_ = [::Rails.env]
45
45
  environments_ << 'test' if ::Rails.env.development?
46
- configs_ ::ActiveRecord::Base.configurations.values_at(*environments_).compact.reject{ |config_| config_['database'].blank? }
46
+ configs_ = ::ActiveRecord::Base.configurations.values_at(*environments_).compact.reject{ |config_| config_['database'].blank? }
47
47
  configs_.each do |config_|
48
48
  ::ActiveRecord::ConnectionAdapters::PostGISAdapter::PostGISDatabaseTasks.new(config_).setup_gis
49
49
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-postgis-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.4
4
+ version: 0.6.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-29 00:00:00.000000000 Z
12
+ date: 2013-06-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rgeo-activerecord