hyperion-mysql 0.1.3 → 0.2.0
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/spec/hyperion/mysql_spec.rb +4 -4
- metadata +6 -6
data/spec/hyperion/mysql_spec.rb
CHANGED
|
@@ -36,13 +36,13 @@ describe Hyperion::Mysql do
|
|
|
36
36
|
execute <<-QUERY
|
|
37
37
|
CREATE TABLE shirt (
|
|
38
38
|
id INTEGER NOT NULL AUTO_INCREMENT,
|
|
39
|
-
|
|
39
|
+
account_id INTEGER,
|
|
40
40
|
first_name VARCHAR(35),
|
|
41
41
|
inti INTEGER,
|
|
42
42
|
data VARCHAR(32),
|
|
43
43
|
PRIMARY KEY (id),
|
|
44
|
-
INDEX (
|
|
45
|
-
FOREIGN KEY (
|
|
44
|
+
INDEX (account_id),
|
|
45
|
+
FOREIGN KEY (account_id) REFERENCES account (id)
|
|
46
46
|
);
|
|
47
47
|
QUERY
|
|
48
48
|
end
|
|
@@ -115,7 +115,7 @@ describe Hyperion::Mysql do
|
|
|
115
115
|
rescue Exception => e
|
|
116
116
|
error_message = e.message
|
|
117
117
|
end
|
|
118
|
-
error_message.should include("Unknown column '
|
|
118
|
+
error_message.should include("Unknown column 'my evil name` --' in 'field list'")
|
|
119
119
|
end
|
|
120
120
|
end
|
|
121
121
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hyperion-mysql
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
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: 2012-
|
|
12
|
+
date: 2012-12-02 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rspec
|
|
@@ -34,7 +34,7 @@ dependencies:
|
|
|
34
34
|
requirements:
|
|
35
35
|
- - '='
|
|
36
36
|
- !ruby/object:Gem::Version
|
|
37
|
-
version: 0.
|
|
37
|
+
version: 0.2.0
|
|
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.
|
|
45
|
+
version: 0.2.0
|
|
46
46
|
- !ruby/object:Gem::Dependency
|
|
47
47
|
name: do_mysql
|
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -50,7 +50,7 @@ dependencies:
|
|
|
50
50
|
requirements:
|
|
51
51
|
- - '='
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: 0.10.
|
|
53
|
+
version: 0.10.10
|
|
54
54
|
type: :runtime
|
|
55
55
|
prerelease: false
|
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -58,7 +58,7 @@ dependencies:
|
|
|
58
58
|
requirements:
|
|
59
59
|
- - '='
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: 0.10.
|
|
61
|
+
version: 0.10.10
|
|
62
62
|
description: MySQL Datastore for Hyperion
|
|
63
63
|
email:
|
|
64
64
|
- myles@8thlight.com
|