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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: db2328ae0aa1a80fd33b38b62556564a73e815fc
4
- data.tar.gz: 8eb2678eab7ba4b55f7529138610a3548cab5ba6
3
+ metadata.gz: 639d6ed95069b8e0ec7554b4f806076a93e664bf
4
+ data.tar.gz: 04fc43809557a7f9febeb96539c081c4162ea3fa
5
5
  SHA512:
6
- metadata.gz: ef3662918b196ae698f15c501ce7a47c8d965ee91a3759c9309d5c9159f48e5de7601e447e554c99eb7d9f81ade85747093ef0888760c7d4bebf5a695203fd22
7
- data.tar.gz: 0c62bf669ae521a85148f42ebb5de9a18e1ec8afe7343216afdaeb8fc04e0d373d9eeb853cb764127b4dd096e524670ebe8acd8e6cc092d9107c672a87e59e9d
6
+ metadata.gz: 961029b29f23aa1d6d94d14e371687f50ebc5afe6563b2e2a6f504bf4a7e3034de9b4597b1a83f40f8b38cb84372c260cf5ce3a5e2be5895c98142bcc8476b3c
7
+ data.tar.gz: 259a505271c2a7292fa15169fc477bed7dab3f72b30ca37d8246c2383bb099915fa4ec99d1b65e17bf54c5f7d7adf94579c5f324d31740526998773c65774fa2
data/.gitignore CHANGED
@@ -16,6 +16,7 @@ ext/aerospike_native/Makefile
16
16
  ext/aerospike_native/aerospike-client-c/
17
17
  ext/aerospike_native/lib/
18
18
  ext/aerospike_native/include/
19
+ *.gem
19
20
 
20
21
  .idea/
21
22
  aerospike_native.config
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', '0.0.1' do |s|
23
- s.summary = 'simple aerospike extenstion'
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
@@ -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"
@@ -10,6 +10,6 @@ void Init_aerospike_native()
10
10
  {
11
11
  AerospikeNativeClass = rb_define_module("AerospikeNative");
12
12
  define_client();
13
- define_key();
13
+ define_native_key();
14
14
  define_operation();
15
15
  }
@@ -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 define_key()
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);
@@ -4,7 +4,7 @@
4
4
  #include "aerospike_native.h"
5
5
 
6
6
  extern VALUE KeyClass;
7
- void define_key();
7
+ void define_native_key();
8
8
 
9
9
  #endif // KEY_H
10
10
 
@@ -4,4 +4,4 @@ module AerospikeNative
4
4
  # Your code goes here...
5
5
  end
6
6
 
7
- #require 'aerospike_native/aerospike_native'
7
+ require 'aerospike_native/aerospike_native'
@@ -1,3 +1,3 @@
1
1
  module AerospikeNative
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
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.1
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-06-28 00:00:00.000000000 Z
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
  - - ">="