sqlite3_hash 1.0.0 → 1.0.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 07d1d1ce69db0d02ce3b805a4b052fe98054ee30
4
- data.tar.gz: 8938ff1f168af62aa921688214839c4b9b789859
3
+ metadata.gz: d3f3054a657672aa94dbed7512ba38ebf2542600
4
+ data.tar.gz: fbe9ddaacdfb213bae234933c77e7abfaad50481
5
5
  SHA512:
6
- metadata.gz: 02b0ed65f1a3ef07cd6bd32152099e626d52b68cb1b8054f5337ce4b2f4b3b8b45d25d94ba816e5adfd5cfad6df7335725206cc792737753a2469d46d1c04eda
7
- data.tar.gz: 9a9d574781ffce90a30b93eee82a05a8f60b7b089f8ea00952a3401b7798d465abf195c2fccecacaf3136ee87355dfc1164cc9614351479a634fe465aabb550e
6
+ metadata.gz: 56c11fe553c3f785ba137cd0ec9a89a6c1e094985e8ef8c3ac2086b4a5502c0b25497298d6b08ecd1fc5437c142884bc1fce1b1dd65489612aceab7e8019e3e2
7
+ data.tar.gz: d6bbf0602de42edb09081b8c1f581d1f56bff19fbdf230f984f05a12d428f45e94d6166d467373ed4fb0ad75b2e5e74474d6b6365e9fddd6c0c5f622b2236555
data/README.md CHANGED
@@ -29,6 +29,7 @@ which can be re-used over multiple instantiations of ruby.
29
29
 
30
30
  Example case:
31
31
 
32
+ require 'rubygems'
32
33
  require 'sqlite3_hash'
33
34
 
34
35
  shash = SQLite3Hash.new('tmpfile.db')
@@ -48,6 +49,13 @@ Keys are anything that can be Marshalled.
48
49
 
49
50
  This means, for example, that you *cannot* store Procs in an SQLite3Hash
50
51
 
52
+ You can use the same SQLite3 DB for multiple hashes:
53
+
54
+ require 'rubygems'
55
+ require 'sqlite3_hash'
56
+ hash1 = SQLite3Hash.new('tmpfile.db','hash1')
57
+ hash2 = SQLite3Hash.new('tmpfile.db','hash2')
58
+
51
59
  Contains all the Hash class methods from 2.0.0 except:
52
60
 
53
61
  1. No deprecated methods
@@ -1,3 +1,3 @@
1
1
  module Sqlite3Hash
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.2"
3
3
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["http://Contact.MarginalHacks.com/"]
11
11
 
12
12
  spec.summary = %q{A persistent simple Hash backed by sqlite3}
13
- spec.description = %q{A persistent simple Hash backed by sqlite3\n\nContains (almost) the same features/API as the Ruby 2.0.0 Hash object}
13
+ spec.description = "A persistent simple Hash backed by sqlite3.\n\nContains (almost) the same features/API as the Ruby 2.0.0 Hash object"
14
14
  spec.homepage = "http://MarginalHacks.com/"
15
15
  spec.license = "MIT"
16
16
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sqlite3_hash
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Ljung Madison Stellar
@@ -66,8 +66,10 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
- description: A persistent simple Hash backed by sqlite3\n\nContains (almost) the same
70
- features/API as the Ruby 2.0.0 Hash object
69
+ description: |-
70
+ A persistent simple Hash backed by sqlite3.
71
+
72
+ Contains (almost) the same features/API as the Ruby 2.0.0 Hash object
71
73
  email:
72
74
  - http://Contact.MarginalHacks.com/
73
75
  executables: []