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 +4 -4
- data/README.md +8 -0
- data/lib/sqlite3_hash/version.rb +1 -1
- data/sqlite3_hash.gemspec +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3f3054a657672aa94dbed7512ba38ebf2542600
|
4
|
+
data.tar.gz: fbe9ddaacdfb213bae234933c77e7abfaad50481
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/sqlite3_hash/version.rb
CHANGED
data/sqlite3_hash.gemspec
CHANGED
@@ -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 =
|
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.
|
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:
|
70
|
-
|
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: []
|