hyperion-sqlite 0.0.1.alpha2 → 0.0.1.alpha3

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@ require 'hyperion/sqlite/db_strategy'
6
6
  module Hyperion
7
7
  module Sqlite
8
8
 
9
- def self.create_datastore
9
+ def self.new(opts={})
10
10
  Sql::Datastore.new(DbStrategy.new, QueryExecutorStrategy.new, QueryBuilderStrategy.new)
11
11
  end
12
12
 
@@ -26,8 +26,7 @@ describe Hyperion::Sqlite do
26
26
  end
27
27
 
28
28
  around :each do |example|
29
- Hyperion::Sql.with_connection('sqlite3::memory:') do |connection|
30
- Hyperion::API.datastore = Hyperion::Sqlite.create_datastore
29
+ Hyperion::Sql.with_connection_and_ds('sqlite3::memory:', :sqlite) do |connection|
31
30
  example.run
32
31
  end
33
32
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hyperion-sqlite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.alpha2
4
+ version: 0.0.1.alpha3
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - '='
36
36
  - !ruby/object:Gem::Version
37
- version: 0.0.1.alpha2
37
+ version: 0.0.1.alpha3
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - '='
44
44
  - !ruby/object:Gem::Version
45
- version: 0.0.1.alpha2
45
+ version: 0.0.1.alpha3
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: do_sqlite3
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -62,6 +62,7 @@ dependencies:
62
62
  description: SQLite Datastore for Hyperion
63
63
  email:
64
64
  - myles@8thlight.com
65
+ - skim@8thlight.com
65
66
  executables: []
66
67
  extensions: []
67
68
  extra_rdoc_files: []