cplus2ruby 1.1.1 → 1.1.2
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.
- data/cplus2ruby.gemspec +1 -1
- data/lib/cplus2ruby/code_generator.rb +3 -1
- metadata +2 -2
data/cplus2ruby.gemspec
CHANGED
@@ -46,7 +46,9 @@ class Cplus2Ruby::CodeGenerator
|
|
46
46
|
end
|
47
47
|
|
48
48
|
def arity(args)
|
49
|
-
|
49
|
+
# FIXME: Facets 2.3.0 has a bug in OrderedHash#include?
|
50
|
+
# (it behaves differently than Hash)
|
51
|
+
args.size - ((args.has_key?('returns') || args.has_key?(:returns)) ? 1 : 0)
|
50
52
|
end
|
51
53
|
|
52
54
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cplus2ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Neumann
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-04-01 00:00:00 +02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|