dohruby 0.1.17 → 0.1.18

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.
Files changed (3) hide show
  1. data/CHANGELOG +2 -0
  2. data/lib/doh/mysql/hash_util.rb +7 -0
  3. metadata +1 -1
data/CHANGELOG CHANGED
@@ -61,3 +61,5 @@
61
61
  * add DohDb::Unquoted class
62
62
  *0.1.17* (May 23rd, 2008)
63
63
  * added Handle::replace_hash (in hash_util)
64
+ *0.1.18* (May 23rd, 2008)
65
+ * added DohDb::replace_hash (forgot to the first time)
@@ -1,3 +1,6 @@
1
+ require 'doh/mysql/handle'
2
+ require 'doh/mysql/connector_instance'
3
+
1
4
  module DohDb
2
5
 
3
6
  class Handle
@@ -38,6 +41,10 @@ def self.insert_hash(hash, table)
38
41
  request_handle.insert_hash(hash, table)
39
42
  end
40
43
 
44
+ def self.replace_hash(hash, table)
45
+ request_handle.replace_hash(hash, table)
46
+ end
47
+
41
48
  def self.update_hash(hash, table, primary_key_value, primary_key_name)
42
49
  request_handle.update_hash(hash, table, primary_key_value, primary_key_name)
43
50
  end
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.17
4
+ version: 0.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Makani & Kem Mason