dbm-mapdb3 0.6.0.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +7 -0
  2. data/lib/dbm.jar +0 -0
  3. data/lib/dbm.rb +16 -0
  4. data/lib/mapdb.jar +0 -0
  5. metadata +49 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 2d5234426c64f0fe1ebf7d723f5c084c9cebdba7
4
+ data.tar.gz: aa2aa375b9d4d7230997752870e2526a265d587e
5
+ SHA512:
6
+ metadata.gz: 5b3ff033e3d3f2b097167ec3fd8493112291e0575f65d0f7c237122bd4267bb4329de7cca3bb6db0b3b02ada8f4aedbc7aeba12e3f3124966e551efcfe5ae0ee
7
+ data.tar.gz: 743f12c1719be90918b7f182c5648fe1da1f0b196be0202c882c043ec584574c966019feb50d1812a76720575dc0a0987560f951c9476501f9d58e998ef6d0e9
Binary file
@@ -0,0 +1,16 @@
1
+ require_relative 'mapdb.jar'
2
+ require_relative 'dbm.jar'
3
+ org.jruby.ext.dbm.DBMLibrary.new.load(JRuby.runtime, false)
4
+
5
+ class DBM
6
+ def replace(other)
7
+ clear
8
+ update(other)
9
+ end
10
+
11
+ def update(other)
12
+ other.each_pair { |k, v| self[k] = v }
13
+ self
14
+ end
15
+ end
16
+
Binary file
metadata ADDED
@@ -0,0 +1,49 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dbm-mapdb3
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.6.0.beta.1
5
+ platform: ruby
6
+ authors:
7
+ - Anthony Bargnesi
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-05-11 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: DBM extension using MapDB version 3.
14
+ email:
15
+ - abargnesi@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - lib/dbm.jar
21
+ - lib/dbm.rb
22
+ - lib/mapdb.jar
23
+ homepage: http://github.com/abargnesi/dbm-mapdb3
24
+ licenses:
25
+ - EPL-1.0
26
+ - GPL-2.0
27
+ - LGPL-2.1
28
+ metadata: {}
29
+ post_install_message:
30
+ rdoc_options: []
31
+ require_paths:
32
+ - lib
33
+ required_ruby_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ required_rubygems_version: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">"
41
+ - !ruby/object:Gem::Version
42
+ version: 1.3.1
43
+ requirements: []
44
+ rubyforge_project:
45
+ rubygems_version: 2.6.4
46
+ signing_key:
47
+ specification_version: 4
48
+ summary: DBM extension; fork of jruby/dbm
49
+ test_files: []