dohruby 0.1.0 → 0.1.1
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.
- data/CHANGELOG +2 -0
- data/test/mysql/db_unit_test.rb +1 -1
- metadata +10 -1
data/CHANGELOG
CHANGED
data/test/mysql/db_unit_test.rb
CHANGED
|
@@ -4,7 +4,7 @@ require 'doh/mysql/cache_connector'
|
|
|
4
4
|
require 'yaml'
|
|
5
5
|
|
|
6
6
|
config_filename = File.join(File.dirname(__FILE__), 'connector.yml')
|
|
7
|
-
raise RuntimeError.new("mysql connector configuration file (#{config_filename}) must exist") unless File.exist?(config_filename)
|
|
7
|
+
raise RuntimeError.new("mysql connector configuration file (#{config_filename}) must exist (see #{config_filename}.tmpl for an example)") unless File.exist?(config_filename)
|
|
8
8
|
config = YAML.load_file(config_filename)
|
|
9
9
|
|
|
10
10
|
connector = DohDb::CacheConnector.new(config['host'], config['username'], config['password'], config['database'])
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dohruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Makani & Kem Mason
|
|
@@ -21,6 +21,15 @@ dependencies:
|
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
22
|
version: 2.3.0
|
|
23
23
|
version:
|
|
24
|
+
- !ruby/object:Gem::Dependency
|
|
25
|
+
name: mysql
|
|
26
|
+
version_requirement:
|
|
27
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
28
|
+
requirements:
|
|
29
|
+
- - ">="
|
|
30
|
+
- !ruby/object:Gem::Version
|
|
31
|
+
version: 2.7.0
|
|
32
|
+
version:
|
|
24
33
|
description:
|
|
25
34
|
email: makani.and.kem.mason@gmail.com
|
|
26
35
|
executables:
|