rbind 0.0.32 → 0.0.33
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/lib/rbind/core/rclass.rb +2 -2
- data/lib/rbind/default_parser.rb +1 -1
- data/rbind.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eea754672174a0aa6ab449d1df8bea30400e7720f5a0cd701b74bd01d377f60b
|
4
|
+
data.tar.gz: d771496b0cea68ecc142775ff45a4f41397f4f40b114c6748aea8dc67c9118c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4813c2cb91f792c17587adb578d367fe1998f66d8cafea9290e19f3b6d146786b3d1acaebd10f47cb6fd30aaa26764bfa9c33fd8eeed1b95cd80d0da5cc23660
|
7
|
+
data.tar.gz: 1182a9bcf4d35623d50eb866be4fdc48a2ada495d1e1f7e54bc5a61e45341ca89f1ea70b9e0b80110e36d8dfba93cf3b11565b4df829a2033569c75160fb4fa5
|
data/lib/rbind/core/rclass.rb
CHANGED
@@ -108,8 +108,8 @@ module Rbind
|
|
108
108
|
o == other_op
|
109
109
|
end
|
110
110
|
next false if !op
|
111
|
-
next true if
|
112
|
-
next true if
|
111
|
+
next true if op.base_class == self
|
112
|
+
next true if op.base_class == other_op.base_class
|
113
113
|
|
114
114
|
# ambiguous name look up due to multi
|
115
115
|
# inheritance
|
data/lib/rbind/default_parser.rb
CHANGED
@@ -133,7 +133,7 @@ module Rbind
|
|
133
133
|
def parse_class(line_number,string)
|
134
134
|
lines = string.split("\n")
|
135
135
|
a = lines.shift.rstrip
|
136
|
-
unless a =~ /class ([
|
136
|
+
unless a =~ /class ([,<>a-zA-Z\.\d_:]*) ?:?([<>a-zA-Z\.\:, \d_]*)(.*)/
|
137
137
|
raise "cannot parse class #{a}"
|
138
138
|
end
|
139
139
|
name = $1
|
data/rbind.gemspec
CHANGED
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbind
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.33
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Duda
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2020-02-29 00:00:00.000000000 Z
|
@@ -113,7 +113,7 @@ files:
|
|
113
113
|
homepage: http://github.com/D-Alex/rbind
|
114
114
|
licenses: []
|
115
115
|
metadata: {}
|
116
|
-
post_install_message:
|
116
|
+
post_install_message:
|
117
117
|
rdoc_options: []
|
118
118
|
require_paths:
|
119
119
|
- lib
|
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
129
129
|
version: 1.3.6
|
130
130
|
requirements: []
|
131
131
|
rubygems_version: 3.0.3
|
132
|
-
signing_key:
|
132
|
+
signing_key:
|
133
133
|
specification_version: 4
|
134
134
|
summary: Library for genereating automated ffi-bindings for c/c++ libraries
|
135
135
|
test_files: []
|