rice 4.3.0 → 4.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +174 -169
- data/CONTRIBUTORS.md +1 -0
- data/README.md +4 -4
- data/include/rice/rice.hpp +8762 -8762
- data/lib/version.rb +3 -3
- data/rice/Data_Object.ipp +386 -386
- data/rice/Identifier.hpp +50 -50
- data/rice/Identifier.ipp +28 -28
- data/rice/detail/NativeFunction.hpp +119 -119
- data/rice/detail/NativeFunction.ipp +300 -300
- data/rice/detail/NativeIterator.ipp +101 -101
- data/test/test_Array.cpp +301 -301
- data/test/test_Iterator.cpp +356 -356
- data/test/test_Stl_String_View.cpp +88 -88
- data/test/test_Stl_Vector.cpp +871 -871
- data/test/test_Symbol.cpp +7 -0
- metadata +10 -10
data/test/test_Symbol.cpp
CHANGED
@@ -31,6 +31,13 @@ TESTCASE(construct_from_string)
|
|
31
31
|
ASSERT_EQUAL(ID2SYM(rb_intern("Foo")), symbol.value());
|
32
32
|
}
|
33
33
|
|
34
|
+
TESTCASE(construct_from_string_view)
|
35
|
+
{
|
36
|
+
std::string_view view("Foo");
|
37
|
+
Symbol symbol(view);
|
38
|
+
ASSERT_EQUAL(ID2SYM(rb_intern("Foo")), symbol.value());
|
39
|
+
}
|
40
|
+
|
34
41
|
TESTCASE(default_construct)
|
35
42
|
{
|
36
43
|
Symbol symbol;
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.3.
|
4
|
+
version: 4.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Brannan
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2024-
|
13
|
+
date: 2024-03-16 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
@@ -60,7 +60,7 @@ description: |
|
|
60
60
|
Ruby extensions with C++ easier.
|
61
61
|
email:
|
62
62
|
- curlypaul924@gmail.com
|
63
|
-
-
|
63
|
+
- jasongroelofs@gmail.com
|
64
64
|
- cfis@savagexi.com
|
65
65
|
executables: []
|
66
66
|
extensions: []
|
@@ -209,14 +209,14 @@ files:
|
|
209
209
|
- test/test_global_functions.cpp
|
210
210
|
- test/unittest.cpp
|
211
211
|
- test/unittest.hpp
|
212
|
-
homepage: https://github.com/
|
212
|
+
homepage: https://github.com/ruby-rice/rice
|
213
213
|
licenses:
|
214
214
|
- MIT
|
215
215
|
metadata:
|
216
|
-
bug_tracker_uri: https://github.com/
|
217
|
-
changelog_uri: https://github.com/
|
218
|
-
documentation_uri: https://
|
219
|
-
source_code_uri: https://github.com/
|
216
|
+
bug_tracker_uri: https://github.com/ruby-rice/rice/issues
|
217
|
+
changelog_uri: https://github.com/ruby-rice/rice/blob/master/CHANGELOG.md
|
218
|
+
documentation_uri: https://ruby-rice.github.io
|
219
|
+
source_code_uri: https://github.com/ruby-rice/rice
|
220
220
|
post_install_message:
|
221
221
|
rdoc_options: []
|
222
222
|
require_paths:
|
@@ -225,14 +225,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
225
225
|
requirements:
|
226
226
|
- - ">="
|
227
227
|
- !ruby/object:Gem::Version
|
228
|
-
version: '
|
228
|
+
version: '3.0'
|
229
229
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
230
230
|
requirements:
|
231
231
|
- - ">="
|
232
232
|
- !ruby/object:Gem::Version
|
233
233
|
version: '0'
|
234
234
|
requirements: []
|
235
|
-
rubygems_version: 3.5.
|
235
|
+
rubygems_version: 3.5.4
|
236
236
|
signing_key:
|
237
237
|
specification_version: 4
|
238
238
|
summary: Ruby Interface for C++ Extensions
|