activerecord-runivedo 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2367494133de67944b01d32ea200292b0d38d060
4
- data.tar.gz: b51ba3439a8b683f5e53d3b0eb785f8328e52eb0
3
+ metadata.gz: 255271f23641a47440c6c2b502fd71e37bf650f1
4
+ data.tar.gz: a951d9daeeb34072bfa8c4a7448258a4311e05f7
5
5
  SHA512:
6
- metadata.gz: 546bc34a3f98f04d18881a126cba13be5e96d831a392c0de8650e4fd75ab7dd5345717228635b7ee8a4c1c1574c923bfd2c8862ac48402ac30704226ba609260
7
- data.tar.gz: 391f69e3015e3a4793d2770da4e782e965bcf4632d4c4d98faae7f06b571d994e88a954f9603b61cb4301ac28fcf9dedfcd452b5d5e8abe82dde308189c48ebb
6
+ metadata.gz: dd6983f6b2aeec27e2830831221230e43b9d16410205ef7ad4f10b945aa028527bb61d724fa3c5b016f210c62fe7d04d5f78d90cf01236673bdd254c4c592a76
7
+ data.tar.gz: 7155d76946c80b9a4c260f0a2038af06bf1f4feb3b14cf5996fc429593b86e897245fcadbdf3852724a290b401ae34c95bea92aef793fd1ca2fc77be691994e0
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "activerecord-runivedo"
7
- spec.version = "0.5.2"
7
+ spec.version = "0.5.3"
8
8
  spec.authors = ["Lucas Clemente"]
9
9
  spec.email = ["lucas@univedo.com"]
10
10
  spec.summary = "ActiveRecord adapter for Univedo"
@@ -49,6 +49,8 @@ module ActiveRecord
49
49
 
50
50
  @visitor = Arel::Visitors::SQLite.new self
51
51
 
52
+ @prepared_statements = true
53
+
52
54
  connect
53
55
  end
54
56
 
@@ -41,4 +41,10 @@ class SetupTest < MiniTest::Test
41
41
  def test_binary
42
42
  d = Dummy.create! dummy_blob: "\0".b
43
43
  end
44
+
45
+ def test_string
46
+ s = %Q{foo"bar'baz}
47
+ Dummy.create! dummy_char: s
48
+ assert_equal s, Dummy.all.last.dummy_char
49
+ end
44
50
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-runivedo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lucas Clemente