aerospike_native 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Rakefile +3 -2
- data/aerospike_native.gemspec +1 -1
- data/ext/aerospike_native/aerospike_native.c +1 -1
- data/ext/aerospike_native/key.c +1 -1
- data/ext/aerospike_native/key.h +1 -1
- data/lib/aerospike_native.rb +1 -1
- data/lib/aerospike_native/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 639d6ed95069b8e0ec7554b4f806076a93e664bf
|
4
|
+
data.tar.gz: 04fc43809557a7f9febeb96539c081c4162ea3fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 961029b29f23aa1d6d94d14e371687f50ebc5afe6563b2e2a6f504bf4a7e3034de9b4597b1a83f40f8b38cb84372c260cf5ce3a5e2be5895c98142bcc8476b3c
|
7
|
+
data.tar.gz: 259a505271c2a7292fa15169fc477bed7dab3f72b30ca37d8246c2383bb099915fa4ec99d1b65e17bf54c5f7d7adf94579c5f324d31740526998773c65774fa2
|
data/.gitignore
CHANGED
data/Rakefile
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
require 'rake/extensiontask'
|
4
4
|
require 'rubygems/package_task'
|
5
|
+
require 'aerospike_native/version'
|
5
6
|
|
6
7
|
##
|
7
8
|
# Rake::ExtensionTask comes from the rake-compiler and understands how to
|
@@ -19,8 +20,8 @@ Rake::ExtensionTask.new 'aerospike_native' do |ext|
|
|
19
20
|
ext.lib_dir = 'lib/aerospike_native'
|
20
21
|
end
|
21
22
|
|
22
|
-
s = Gem::Specification.new 'aerospike_native',
|
23
|
-
s.summary = '
|
23
|
+
s = Gem::Specification.new 'aerospike_native', AerospikeNative::VERSION do |s|
|
24
|
+
s.summary = 'Aerospike ruby client with c extension'
|
24
25
|
s.authors = %w[zyablitskiy@gmail.com]
|
25
26
|
|
26
27
|
# this tells RubyGems to build an extension upon install
|
data/aerospike_native.gemspec
CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
17
17
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
-
spec.require_paths = ["lib"]
|
19
|
+
spec.require_paths = ["lib", "ext"]
|
20
20
|
spec.extensions = %w[ext/aerospike_native/extconf.rb]
|
21
21
|
|
22
22
|
spec.add_development_dependency "bundler", "~> 1.7"
|
data/ext/aerospike_native/key.c
CHANGED
@@ -15,7 +15,7 @@ VALUE key_initialize(VALUE vSelf, VALUE vNamespace, VALUE vSet, VALUE vValue)
|
|
15
15
|
return vSelf;
|
16
16
|
}
|
17
17
|
|
18
|
-
void
|
18
|
+
void define_native_key()
|
19
19
|
{
|
20
20
|
KeyClass = rb_define_class_under(AerospikeNativeClass, "Key", rb_cObject);
|
21
21
|
rb_define_method(KeyClass, "initialize", key_initialize, 3);
|
data/ext/aerospike_native/key.h
CHANGED
data/lib/aerospike_native.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aerospike_native
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vladimir Ziablitskii
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -103,6 +103,7 @@ post_install_message:
|
|
103
103
|
rdoc_options: []
|
104
104
|
require_paths:
|
105
105
|
- lib
|
106
|
+
- ext
|
106
107
|
required_ruby_version: !ruby/object:Gem::Requirement
|
107
108
|
requirements:
|
108
109
|
- - ">="
|