rice 2.1.1 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/aclocal.m4 CHANGED
@@ -1,6 +1,6 @@
1
- # generated automatically by aclocal 1.15 -*- Autoconf -*-
1
+ # generated automatically by aclocal 1.15.1 -*- Autoconf -*-
2
2
 
3
- # Copyright (C) 1996-2014 Free Software Foundation, Inc.
3
+ # Copyright (C) 1996-2017 Free Software Foundation, Inc.
4
4
 
5
5
  # This file is free software; the Free Software Foundation
6
6
  # gives unlimited permission to copy and/or distribute it,
@@ -20,7 +20,7 @@ You have another version of autoconf. It may work, but is not guaranteed to.
20
20
  If you have problems, you may need to regenerate the build system entirely.
21
21
  To do so, use the procedure documented by the package, typically 'autoreconf'.])])
22
22
 
23
- # Copyright (C) 2002-2014 Free Software Foundation, Inc.
23
+ # Copyright (C) 2002-2017 Free Software Foundation, Inc.
24
24
  #
25
25
  # This file is free software; the Free Software Foundation
26
26
  # gives unlimited permission to copy and/or distribute it,
@@ -35,7 +35,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],
35
35
  [am__api_version='1.15'
36
36
  dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
37
37
  dnl require some minimum version. Point them to the right macro.
38
- m4_if([$1], [1.15], [],
38
+ m4_if([$1], [1.15.1], [],
39
39
  [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
40
40
  ])
41
41
 
@@ -51,14 +51,14 @@ m4_define([_AM_AUTOCONF_VERSION], [])
51
51
  # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
52
52
  # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
53
53
  AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
54
- [AM_AUTOMAKE_VERSION([1.15])dnl
54
+ [AM_AUTOMAKE_VERSION([1.15.1])dnl
55
55
  m4_ifndef([AC_AUTOCONF_VERSION],
56
56
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
57
57
  _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
58
58
 
59
59
  # AM_AUX_DIR_EXPAND -*- Autoconf -*-
60
60
 
61
- # Copyright (C) 2001-2014 Free Software Foundation, Inc.
61
+ # Copyright (C) 2001-2017 Free Software Foundation, Inc.
62
62
  #
63
63
  # This file is free software; the Free Software Foundation
64
64
  # gives unlimited permission to copy and/or distribute it,
@@ -110,7 +110,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd`
110
110
 
111
111
  # AM_CONDITIONAL -*- Autoconf -*-
112
112
 
113
- # Copyright (C) 1997-2014 Free Software Foundation, Inc.
113
+ # Copyright (C) 1997-2017 Free Software Foundation, Inc.
114
114
  #
115
115
  # This file is free software; the Free Software Foundation
116
116
  # gives unlimited permission to copy and/or distribute it,
@@ -141,7 +141,7 @@ AC_CONFIG_COMMANDS_PRE(
141
141
  Usually this means the macro was only invoked conditionally.]])
142
142
  fi])])
143
143
 
144
- # Copyright (C) 1999-2014 Free Software Foundation, Inc.
144
+ # Copyright (C) 1999-2017 Free Software Foundation, Inc.
145
145
  #
146
146
  # This file is free software; the Free Software Foundation
147
147
  # gives unlimited permission to copy and/or distribute it,
@@ -332,7 +332,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
332
332
 
333
333
  # Generate code to set up dependency tracking. -*- Autoconf -*-
334
334
 
335
- # Copyright (C) 1999-2014 Free Software Foundation, Inc.
335
+ # Copyright (C) 1999-2017 Free Software Foundation, Inc.
336
336
  #
337
337
  # This file is free software; the Free Software Foundation
338
338
  # gives unlimited permission to copy and/or distribute it,
@@ -408,7 +408,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
408
408
 
409
409
  # Do all the work for Automake. -*- Autoconf -*-
410
410
 
411
- # Copyright (C) 1996-2014 Free Software Foundation, Inc.
411
+ # Copyright (C) 1996-2017 Free Software Foundation, Inc.
412
412
  #
413
413
  # This file is free software; the Free Software Foundation
414
414
  # gives unlimited permission to copy and/or distribute it,
@@ -605,7 +605,7 @@ for _am_header in $config_headers :; do
605
605
  done
606
606
  echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
607
607
 
608
- # Copyright (C) 2001-2014 Free Software Foundation, Inc.
608
+ # Copyright (C) 2001-2017 Free Software Foundation, Inc.
609
609
  #
610
610
  # This file is free software; the Free Software Foundation
611
611
  # gives unlimited permission to copy and/or distribute it,
@@ -626,7 +626,7 @@ if test x"${install_sh+set}" != xset; then
626
626
  fi
627
627
  AC_SUBST([install_sh])])
628
628
 
629
- # Copyright (C) 2003-2014 Free Software Foundation, Inc.
629
+ # Copyright (C) 2003-2017 Free Software Foundation, Inc.
630
630
  #
631
631
  # This file is free software; the Free Software Foundation
632
632
  # gives unlimited permission to copy and/or distribute it,
@@ -647,7 +647,7 @@ AC_SUBST([am__leading_dot])])
647
647
 
648
648
  # Check to see how 'make' treats includes. -*- Autoconf -*-
649
649
 
650
- # Copyright (C) 2001-2014 Free Software Foundation, Inc.
650
+ # Copyright (C) 2001-2017 Free Software Foundation, Inc.
651
651
  #
652
652
  # This file is free software; the Free Software Foundation
653
653
  # gives unlimited permission to copy and/or distribute it,
@@ -697,7 +697,7 @@ rm -f confinc confmf
697
697
 
698
698
  # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
699
699
 
700
- # Copyright (C) 1997-2014 Free Software Foundation, Inc.
700
+ # Copyright (C) 1997-2017 Free Software Foundation, Inc.
701
701
  #
702
702
  # This file is free software; the Free Software Foundation
703
703
  # gives unlimited permission to copy and/or distribute it,
@@ -736,7 +736,7 @@ fi
736
736
 
737
737
  # Helper functions for option handling. -*- Autoconf -*-
738
738
 
739
- # Copyright (C) 2001-2014 Free Software Foundation, Inc.
739
+ # Copyright (C) 2001-2017 Free Software Foundation, Inc.
740
740
  #
741
741
  # This file is free software; the Free Software Foundation
742
742
  # gives unlimited permission to copy and/or distribute it,
@@ -767,7 +767,7 @@ AC_DEFUN([_AM_IF_OPTION],
767
767
 
768
768
  # Check to make sure that the build environment is sane. -*- Autoconf -*-
769
769
 
770
- # Copyright (C) 1996-2014 Free Software Foundation, Inc.
770
+ # Copyright (C) 1996-2017 Free Software Foundation, Inc.
771
771
  #
772
772
  # This file is free software; the Free Software Foundation
773
773
  # gives unlimited permission to copy and/or distribute it,
@@ -848,7 +848,7 @@ AC_CONFIG_COMMANDS_PRE(
848
848
  rm -f conftest.file
849
849
  ])
850
850
 
851
- # Copyright (C) 2009-2014 Free Software Foundation, Inc.
851
+ # Copyright (C) 2009-2017 Free Software Foundation, Inc.
852
852
  #
853
853
  # This file is free software; the Free Software Foundation
854
854
  # gives unlimited permission to copy and/or distribute it,
@@ -908,7 +908,7 @@ AC_SUBST([AM_BACKSLASH])dnl
908
908
  _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
909
909
  ])
910
910
 
911
- # Copyright (C) 2001-2014 Free Software Foundation, Inc.
911
+ # Copyright (C) 2001-2017 Free Software Foundation, Inc.
912
912
  #
913
913
  # This file is free software; the Free Software Foundation
914
914
  # gives unlimited permission to copy and/or distribute it,
@@ -936,7 +936,7 @@ fi
936
936
  INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
937
937
  AC_SUBST([INSTALL_STRIP_PROGRAM])])
938
938
 
939
- # Copyright (C) 2006-2014 Free Software Foundation, Inc.
939
+ # Copyright (C) 2006-2017 Free Software Foundation, Inc.
940
940
  #
941
941
  # This file is free software; the Free Software Foundation
942
942
  # gives unlimited permission to copy and/or distribute it,
@@ -955,7 +955,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
955
955
 
956
956
  # Check how to create a tarball. -*- Autoconf -*-
957
957
 
958
- # Copyright (C) 2004-2014 Free Software Foundation, Inc.
958
+ # Copyright (C) 2004-2017 Free Software Foundation, Inc.
959
959
  #
960
960
  # This file is free software; the Free Software Foundation
961
961
  # gives unlimited permission to copy and/or distribute it,
@@ -62,7 +62,7 @@ public:
62
62
  typedef void (*Ruby_Data_Func)(T * obj);
63
63
 
64
64
  //! Wrap a C++ object.
65
- /*! This constructor is analgous to calling Data_Wrap_Struct. Be
65
+ /*! This constructor is analogous to calling Data_Wrap_Struct. Be
66
66
  * careful not to call this function more than once for the same
67
67
  * pointer (in general, it should only be called for newly
68
68
  * constructed objects that need to be managed by Ruby's garbage
@@ -82,7 +82,7 @@ public:
82
82
  Ruby_Data_Func free_func = Default_Free_Function<T>::free);
83
83
 
84
84
  //! Unwrap a Ruby object.
85
- /*! This constructor is analgous to calling Data_Get_Struct. Uses
85
+ /*! This constructor is analogous to calling Data_Get_Struct. Uses
86
86
  * Data_Type<T>::klass as the class of the object.
87
87
  * \param value the Ruby object to unwrap.
88
88
  */
@@ -90,7 +90,7 @@ public:
90
90
  Object value);
91
91
 
92
92
  //! Unwrap a Ruby object.
93
- /*! This constructor is analgous to calling Data_Get_Struct. Will
93
+ /*! This constructor is analogous to calling Data_Get_Struct. Will
94
94
  * throw an exception if the class of the object differs from the
95
95
  * specified class.
96
96
  * \param value the Ruby object to unwrap.
@@ -1,7 +1,7 @@
1
- # Makefile.in generated by automake 1.15 from Makefile.am.
1
+ # Makefile.in generated by automake 1.15.1 from Makefile.am.
2
2
  # @configure_input@
3
3
 
4
- # Copyright (C) 1994-2014 Free Software Foundation, Inc.
4
+ # Copyright (C) 1994-2017 Free Software Foundation, Inc.
5
5
 
6
6
  # This Makefile.in is free software; the Free Software Foundation
7
7
  # gives unlimited permission to copy and/or distribute it,
@@ -48,8 +48,8 @@ public:
48
48
  virtual VALUE call_impl(VALUE self)
49
49
  {
50
50
  Data_Object<T> obj(self, data_type_);
51
- Iterator_T it = obj->begin();
52
- Iterator_T end = obj->end();
51
+ Iterator_T it = (*obj.*begin_)();
52
+ Iterator_T end = (*obj.*end_)();
53
53
  for(; it != end; ++it)
54
54
  {
55
55
  Rice::protect(rb_yield, to_ruby(*it));
@@ -1,6 +1,6 @@
1
1
  #ifndef Rice__detail__ruby_version_code__hpp
2
2
  #define Rice__detail__ruby_version_code__hpp
3
3
 
4
- #define RICE__RUBY_VERSION_CODE 231
4
+ #define RICE__RUBY_VERSION_CODE 241
5
5
 
6
6
  #endif // Rice__detail__ruby_version_code__hpp
@@ -261,7 +261,7 @@ template<>
261
261
  inline
262
262
  char const * from_ruby<char const *>(Rice::Object x)
263
263
  {
264
- return Rice::String(x).str().data();
264
+ return Rice::String(x).c_str();
265
265
  }
266
266
 
267
267
  template<>
@@ -1,7 +1,7 @@
1
- # Makefile.in generated by automake 1.15 from Makefile.am.
1
+ # Makefile.in generated by automake 1.15.1 from Makefile.am.
2
2
  # @configure_input@
3
3
 
4
- # Copyright (C) 1994-2014 Free Software Foundation, Inc.
4
+ # Copyright (C) 1994-2017 Free Software Foundation, Inc.
5
5
 
6
6
  # This Makefile.in is free software; the Free Software Foundation
7
7
  # gives unlimited permission to copy and/or distribute it,
@@ -1,7 +1,7 @@
1
- # Makefile.in generated by automake 1.15 from Makefile.am.
1
+ # Makefile.in generated by automake 1.15.1 from Makefile.am.
2
2
  # @configure_input@
3
3
 
4
- # Copyright (C) 1994-2014 Free Software Foundation, Inc.
4
+ # Copyright (C) 1994-2017 Free Software Foundation, Inc.
5
5
 
6
6
  # This Makefile.in is free software; the Free Software Foundation
7
7
  # gives unlimited permission to copy and/or distribute it,
@@ -1,3 +1,3 @@
1
1
  module Rice
2
- VERSION = "2.1.1"
2
+ VERSION = "2.1.2"
3
3
  end
@@ -1,7 +1,7 @@
1
- # Makefile.in generated by automake 1.15 from Makefile.am.
1
+ # Makefile.in generated by automake 1.15.1 from Makefile.am.
2
2
  # @configure_input@
3
3
 
4
- # Copyright (C) 1994-2014 Free Software Foundation, Inc.
4
+ # Copyright (C) 1994-2017 Free Software Foundation, Inc.
5
5
 
6
6
  # This Makefile.in is free software; the Free Software Foundation
7
7
  # gives unlimited permission to copy and/or distribute it,
@@ -1,7 +1,7 @@
1
- # Makefile.in generated by automake 1.15 from Makefile.am.
1
+ # Makefile.in generated by automake 1.15.1 from Makefile.am.
2
2
  # @configure_input@
3
3
 
4
- # Copyright (C) 1994-2014 Free Software Foundation, Inc.
4
+ # Copyright (C) 1994-2017 Free Software Foundation, Inc.
5
5
 
6
6
  # This Makefile.in is free software; the Free Software Foundation
7
7
  # gives unlimited permission to copy and/or distribute it,
@@ -1,7 +1,7 @@
1
- # Makefile.in generated by automake 1.15 from Makefile.am.
1
+ # Makefile.in generated by automake 1.15.1 from Makefile.am.
2
2
  # @configure_input@
3
3
 
4
- # Copyright (C) 1994-2014 Free Software Foundation, Inc.
4
+ # Copyright (C) 1994-2017 Free Software Foundation, Inc.
5
5
 
6
6
  # This Makefile.in is free software; the Free Software Foundation
7
7
  # gives unlimited permission to copy and/or distribute it,
@@ -303,8 +303,10 @@ public:
303
303
  {
304
304
  }
305
305
 
306
- int * begin() { return array_; }
307
- int * end() { return array_ + length_; }
306
+ // Custom names to make sure we call the function pointers rather than
307
+ // expectable default names.
308
+ int * beginFoo() { return array_; }
309
+ int * endBar() { return array_ + length_; }
308
310
 
309
311
  private:
310
312
  int * array_;
@@ -325,7 +327,7 @@ TESTCASE(define_iterator)
325
327
  {
326
328
  int array[] = { 1, 2, 3 };
327
329
  Class c(anonymous_class());
328
- c.define_iterator(&Container::begin, &Container::end);
330
+ c.define_iterator(&Container::beginFoo, &Container::endBar);
329
331
  Container * container = new Container(array, 3);
330
332
  Object wrapped_container = Data_Wrap_Struct(
331
333
  c, 0, Default_Free_Function<Container>::free, container);
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: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Brannan
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-01-07 00:00:00.000000000 Z
12
+ date: 2017-11-20 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: |
15
15
  Rice is a C++ interface to Ruby's C API. It provides a type-safe and
@@ -24,13 +24,13 @@ executables: []
24
24
  extensions:
25
25
  - extconf.rb
26
26
  extra_rdoc_files:
27
- - README
27
+ - README.md
28
28
  files:
29
29
  - COPYING
30
30
  - Doxyfile
31
31
  - Makefile.am
32
32
  - Makefile.in
33
- - README
33
+ - README.md
34
34
  - README.mingw
35
35
  - Rakefile
36
36
  - aclocal.m4
@@ -238,7 +238,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
238
238
  version: '0'
239
239
  requirements: []
240
240
  rubyforge_project:
241
- rubygems_version: 2.6.7
241
+ rubygems_version: 2.6.13
242
242
  signing_key:
243
243
  specification_version: 4
244
244
  summary: Ruby Interface for C++ Extensions