rbind 0.0.6 → 0.0.7

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.
@@ -4,7 +4,7 @@ module Rbind
4
4
  class << self
5
5
  attr_accessor :default_type_names
6
6
  end
7
- self.default_type_names = [:uint64,:int,:int64,:bool,:double,:float,:void,:char,:size_t,:uint8_t]
7
+ self.default_type_names = [:int,:int8,:int32,:int64,:uint,:uint8,:uint32,:uint64,:int8_t,:int32_t,:int64_t,:uint8_t,:uint32_t,:uint64_t,:bool,:double,:float,:void,:char,:size_t]
8
8
 
9
9
  attr_reader :operations
10
10
  attr_reader :operation_alias
@@ -18,10 +18,10 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/<%= library_name %>.pc DESTINATION lib
18
18
  install(TARGETS <%= library_name %> LIBRARY DESTINATION lib)
19
19
  install(FILES types.h operations.h conversions.hpp DESTINATION include/${PROJECT_NAME}/${DIR})
20
20
 
21
- if (EXISTS ${PROJECT_SOURCE_DIR}/extern.rbind)
22
- install(FILES ${PROJECT_SOURCE_DIR}/extern.rbind DESTINATION include/${PROJECT_NAME}/${DIR})
21
+ if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/extern.rbind)
22
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/extern.rbind DESTINATION include/${PROJECT_NAME}/${DIR})
23
23
  endif()
24
24
 
25
- if (EXISTS ${PROJECT_SOURCE_DIR}/config.rbind)
26
- install(FILES ${PROJECT_SOURCE_DIR}/config.rbind DESTINATION include/${PROJECT_NAME}/${DIR})
25
+ if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/config.rbind)
26
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/config.rbind DESTINATION include/${PROJECT_NAME}/${DIR})
27
27
  endif()
@@ -34,6 +34,9 @@ module <%= name %>
34
34
  raise except
35
35
  end
36
36
  val
37
+ rescue
38
+ $@.delete_if{|s| %r"#{Regexp.quote(__FILE__)}"o =~ s}
39
+ Kernel.raise
37
40
  end
38
41
  }
39
42
  instance_eval(str,__FILE__,line_no)
data/rbind.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'rbind'
3
- s.version = '0.0.6'
4
- s.date = '2013-06-22'
3
+ s.version = '0.0.7'
4
+ s.date = '2013-06-27'
5
5
  s.platform = Gem::Platform::RUBY
6
6
  s.authors = ['Alexander Duda']
7
7
  s.email = ['Alexander.Duda@dfki.de']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbind
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-22 00:00:00.000000000 Z
12
+ date: 2013-06-27 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: ''
15
15
  email:
@@ -90,3 +90,4 @@ signing_key:
90
90
  specification_version: 3
91
91
  summary: Library for genereating automated ffi-bindings for c/c++ libraries
92
92
  test_files: []
93
+ has_rdoc: