bigrecord 0.0.6 → 0.0.7

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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/rails/init.rb +3 -3
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.6
1
+ 0.0.7
data/rails/init.rb CHANGED
@@ -7,9 +7,9 @@ BigRecord::Embedded.logger = ActiveRecord::Base.logger
7
7
  # Load in the config from the RAILS_ROOT/config folder
8
8
  begin
9
9
  BigRecord::Base.configurations = YAML::load(File.open("#{RAILS_ROOT}/config/bigrecord.yml"))
10
+
11
+ # Try establishing the connection
12
+ BigRecord::Base.establish_connection
10
13
  rescue
11
14
  puts "[Bigrecord] Couldn't load the config/bigrecord.yml config file. Please bootstrap it into your application with: script/generate bigrecord"
12
15
  end
13
-
14
- # Try establishing the connection
15
- BigRecord::Base.establish_connection
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bigrecord
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - openplaces.org