talk 2.3.7 → 2.3.8
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59c0dc88aa697bea2a670754aea278c75a038bb7
|
4
|
+
data.tar.gz: c3ae23d06ef4b82391f14d0f9bbc165ca269c8ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efdaf71aeb85743d40399d5650ff112765c14569f88c9ac7bb70feb23e85f42faff39e1706f27404fbdd430def2c4232ff295ad7797374d683d6281a248e7c27
|
7
|
+
data.tar.gz: 7cb6e82cc2fd4687b92a66a9594c5dcf9afa17c6f258b7a3b5ac18e6ce8d4708d438aed5d0efe370a572ba0097ab68df2322fbd97a26f7a396b54d1ea87fdef7
|
data/CHANGELOG
CHANGED
@@ -7,7 +7,7 @@ namespace com.acres4.common.protocol
|
|
7
7
|
/**
|
8
8
|
<%= method[:description] %>
|
9
9
|
*/
|
10
|
-
public
|
10
|
+
public const string <%= method[:name].sub(/^(\w)/) {|s| s.capitalize} %> = "<%= method[:name] %>";
|
11
11
|
|
12
12
|
<% end %>
|
13
13
|
}
|
@@ -5,7 +5,7 @@ namespace <%= class_package(@current) %>
|
|
5
5
|
public class <%= truncated_name(@current) %> : <%= rootclass %>
|
6
6
|
{<% @current[:constant].each do |field| %>
|
7
7
|
/** <%= field[:description] %> */
|
8
|
-
public
|
8
|
+
public const int <%= field[:name] %> = <%= field[:value].to_i %>;
|
9
9
|
<% end %>
|
10
10
|
}
|
11
11
|
}
|
@@ -5,6 +5,6 @@ namespace <%= class_package(@current) %>
|
|
5
5
|
public class <%= truncated_name(@current) %>
|
6
6
|
{
|
7
7
|
<% @current[:term].each do |field| %>
|
8
|
-
public
|
8
|
+
public const string <%= field[:name] %> = "<%= field[:value] %>";<% end %>
|
9
9
|
}
|
10
10
|
}
|
data/lib/languages/js/js.rb
CHANGED
@@ -42,12 +42,12 @@ def class_line(cls)
|
|
42
42
|
out << "// " + cls[:name]
|
43
43
|
|
44
44
|
fields = {}
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
45
|
+
unless cls[:field].nil? then
|
46
|
+
cls[:field].each do |field|
|
47
|
+
mapped = mapped_name(cls[:name], field[:name], :field)
|
48
|
+
fields[mapped] = {typeStack:field[:type]}
|
49
|
+
fields[mapped][:canonicalName] = field[:name] unless mapped == field[:name]
|
50
|
+
end
|
51
51
|
end
|
52
52
|
|
53
53
|
out << "TalkObject.addClass('#{cls[:name]}', #{fields.to_json}, '#{truncated_name(superclass(cls))}');"
|
data/lib/version.rb
CHANGED