rice 1.6.2 → 1.6.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ZDlhY2ZlNTY5YzE0NTMxOTdmYzViMTMxNDcxMTliYmY4ODE1ZWNhZA==
5
- data.tar.gz: !binary |-
6
- NjU1ZTViYzNhYTkzMmU1YmU0MzAzZmQ5NjY2N2M5MjZlNDBiNjE1Yw==
2
+ SHA1:
3
+ metadata.gz: f4360dde3fe16791058dff62fd81809f0daa0cde
4
+ data.tar.gz: 8ea71ea6558bb9a30fe6b15a89743cf26d4c3774
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- Mjc2ZWJkODU5NWEyZTBlOGE0M2IyYTYxZDU4MTFhZTAzYzcyM2E0ODNjZDdl
10
- MjkzOWVkZWNiYWRlMDA1NjE2YWY5NDMwYzJkOWQ4NDRlNGVkZTMzYWMzOGY2
11
- NzYwYmE4ZmE3NjZhMDFlYzA2NGE0MTBiMmMwMTdkYjBiNWQzMmY=
12
- data.tar.gz: !binary |-
13
- NzU4YWEyY2ZmYjRmMmVjMjViODdiNzIwMGFlMjExYTgzZWUyZWU3YTU2NWVh
14
- ZTdmNmNiZDI2N2ZiOWMxNTQxMzAzZmEwZjc2YTQxM2NhYmI4OGY5NjE4NDdk
15
- MTY5MzhmZDg5YmIwYmUyNWYzZDY1OTEzMmVmYzNjZjNkMmI3ZTg=
6
+ metadata.gz: 95bc93a747343ab4b2b62fa225d677487fd3c7206adca60d89e4ae64bc85bc6972325c0fad1c980b869d5049a73e900a95e67b607f55e3f7e82b3acb68f6c7f8
7
+ data.tar.gz: f09b5d790a7b2612bda7d86a232a3d7108b24e94fac6ba67783e55908a3341cb6dd13826169195bdad6fc662eb34bc659a2e5c976f2b7147b17e1de4b83b9cec
@@ -1,5 +1,5 @@
1
1
  #ifndef Rice__ruby_struct__hpp_
2
- #define Ruplu__ruby_struct__hpp_
2
+ #define Rice__ruby_struct__hpp_
3
3
 
4
4
  #include "Array.hpp"
5
5
  #include "Hash.hpp"
@@ -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 200
4
+ #define RICE__RUBY_VERSION_CODE 215
5
5
 
6
6
  #endif // Rice__detail__ruby_version_code__hpp
@@ -44,8 +44,16 @@ def init_mkmf_rice(config = CONFIG)
44
44
  # Ruby 1.8.6 uses $preload without setting it
45
45
  $preload ||= nil
46
46
 
47
+ lib_dirs = []
48
+
49
+ lib_dir = "#{$RICE_PREFIX}/lib"
50
+ lib64_dir = "#{$RICE_PREFIX}/lib64"
51
+
52
+ lib_dirs << "-L#{lib_dir}" if File.directory?(lib_dir)
53
+ lib_dirs << "-L#{lib64_dir}" if File.directory?(lib64_dir)
54
+
47
55
  $CPPFLAGS << " #{$RICE_CPPFLAGS} -I#{$RICE_PREFIX}/include"
48
- $LDFLAGS << " #{$RICE_LDFLAGS} -L#{$RICE_PREFIX}/lib -lrice"
56
+ $LDFLAGS << " #{$RICE_LDFLAGS} #{lib_dirs.join(" ")} -lrice"
49
57
 
50
58
  # Turn on debugging and verbose warnings by default on compilers that
51
59
  # support it
@@ -1,3 +1,3 @@
1
1
  module Rice
2
- VERSION = "1.6.2"
2
+ VERSION = "1.6.3"
3
3
  end
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: 1.6.2
4
+ version: 1.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Brannan
@@ -9,20 +9,14 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-05-05 00:00:00.000000000 Z
12
+ date: 2014-12-18 00:00:00.000000000 Z
13
13
  dependencies: []
14
- description: ! 'Rice is a C++ interface to Ruby''s C API. It provides a type-safe
15
- and
16
-
14
+ description: |
15
+ Rice is a C++ interface to Ruby's C API. It provides a type-safe and
17
16
  exception-safe interface in order to make embedding Ruby and writing
18
-
19
17
  Ruby extensions with C++ easier. It is similar to Boost.Python in many
20
-
21
18
  ways, but also attempts to provide an object-oriented interface to all
22
-
23
19
  of the Ruby C API.
24
-
25
- '
26
20
  email:
27
21
  - curlypaul924@gmail.com
28
22
  - jasonroelofs@gmail.com
@@ -243,17 +237,17 @@ require_paths:
243
237
  - ruby/lib
244
238
  required_ruby_version: !ruby/object:Gem::Requirement
245
239
  requirements:
246
- - - ! '>='
240
+ - - ">="
247
241
  - !ruby/object:Gem::Version
248
242
  version: '0'
249
243
  required_rubygems_version: !ruby/object:Gem::Requirement
250
244
  requirements:
251
- - - ! '>='
245
+ - - ">="
252
246
  - !ruby/object:Gem::Version
253
247
  version: '0'
254
248
  requirements: []
255
249
  rubyforge_project: rice
256
- rubygems_version: 2.2.2
250
+ rubygems_version: 2.4.5
257
251
  signing_key:
258
252
  specification_version: 4
259
253
  summary: Ruby Interface for C++ Extensions