khronos 0.0.1.pre2 → 0.0.1.pre3

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.
@@ -10,11 +10,11 @@ module Khronos
10
10
  def self.connect!(url)
11
11
  require 'active_record'
12
12
 
13
- if File.exists?("config/database.yml")
14
- ::ActiveRecord::Base.establish_connection(YAML.load_file("config/database.yml")[ENV['RACK_ENV']])
15
- else
13
+ #if File.exists?("config/database.yml")
14
+ #::ActiveRecord::Base.establish_connection(YAML.load_file("config/database.yml")[ENV['RACK_ENV']])
15
+ #else
16
16
  ::ActiveRecord::Base.establish_connection(url)
17
- end
17
+ #end
18
18
 
19
19
  #
20
20
  # ::ActiveRecord::Base.logger = ::Logger.new(STDOUT)
@@ -1,3 +1,3 @@
1
1
  module Khronos
2
- VERSION = '0.0.1.pre2'
2
+ VERSION = '0.0.1.pre3'
3
3
  end
data/lib/khronos.rb CHANGED
@@ -14,4 +14,3 @@ module Khronos
14
14
  end
15
15
 
16
16
  Khronos::Logger.setup!(Logger.new(STDOUT))
17
- Khronos::Config.instance.load!('config/environment.yml', ENV['RACK_ENV'])
data/spec/spec_helper.rb CHANGED
@@ -18,6 +18,8 @@ require 'webmock/rspec'
18
18
  require 'rspec'
19
19
  require 'khronos'
20
20
 
21
+ Khronos::Config.instance.load!('config/environment.yml', ENV['RACK_ENV'])
22
+
21
23
  require 'factory_girl'
22
24
  def load_factory_girl!
23
25
  require File.expand_path('spec/support/factories')
Binary file
data/spec/tmp/sqlite3.db CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: khronos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.pre2
4
+ version: 0.0.1.pre3
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors: