ceschter-ruby 0.1.2.alpha → 0.1.3.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ceschter/ruby.rb +3 -6
- data/lib/ceschter/ruby/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b465c2cb9c3b2f0508febf0fc44e97b473b968c
|
4
|
+
data.tar.gz: 9293e9dbe603c4fa7f97ceb2d4a4820ef511815f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75cbcab6dab161a1bb5cc64d7be55493e976beb256050f06d44991d4594f18f0c38ae11596f453b32f4ebd719a5a2414f06c2706084a1c99d03b994e10969f1a
|
7
|
+
data.tar.gz: be1bbbd094e909ca21c94bf89f63f81d617cf840b7bed280b6d42fcb4b573fb9cb244066f0d9476db1fe39d9b40b236f4cf62f2ac1e079920baa0f136bd93fa2
|
data/lib/ceschter/ruby.rb
CHANGED
@@ -1,13 +1,10 @@
|
|
1
1
|
require "ceschter/ruby/version"
|
2
2
|
require 'ffi'
|
3
|
-
module Ceschter
|
4
|
-
module Ruby
|
5
|
-
module Sum
|
3
|
+
module Ceschter::Ruby::Sum
|
6
4
|
extend FFI::Library
|
7
|
-
|
5
|
+
lib_path = File.join(File.dirname(__FILE__), "../../core_ext/sum/sum.so")
|
6
|
+
ffi_lib lib_path
|
8
7
|
attach_function :add, [:int, :int], :int
|
9
|
-
end
|
10
|
-
end
|
11
8
|
end
|
12
9
|
|
13
10
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ceschter-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3.alpha
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bejczib, adamluzsi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|