dataMetaDom 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.md +4 -0
- data/lib/dataMetaDom.rb +1 -1
- data/lib/dataMetaDom/pojo.rb +7 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80951cc7ea0ae6737628ea190af63decd6950a78
|
4
|
+
data.tar.gz: 001d5ed875e1e4f3efb9e6434c04a7bab48b63fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56763e13bed0af069dba5080da448abf3412609ea29f7dad0f3e28d764a03a2ecffcae86d03d55345feb9dcd5236f00083c1f71a5221b135cde31728d0d21249
|
7
|
+
data.tar.gz: fe1042c5fdce7d91dacc7f7de1599b3117073466cd1e7d7a9c837e23c4b04c6e0ae3c18c6a45e80a4a61a2231cc7c25939c78116ca2a035962a973269e4ef873
|
data/History.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
|
2
2
|
# `dataMetaDom` Release history:
|
3
3
|
|
4
|
+
## `1.0.4` - `2017-02-28 Tue` by [`mub`](https://github.com/mub)
|
5
|
+
* Updates:
|
6
|
+
* Adjusted Mapping and Bitset generation target package
|
7
|
+
|
4
8
|
## `1.0.3` - `2017-02-25 Sat` by [`mub`](https://github.com/mub)
|
5
9
|
* Updates:
|
6
10
|
* Added new canned string validation pattern, `uuid`
|
data/lib/dataMetaDom.rb
CHANGED
@@ -25,7 +25,7 @@ For command line details either check the new method's source or the README.rdoc
|
|
25
25
|
module DataMetaDom
|
26
26
|
|
27
27
|
# Current version
|
28
|
-
VERSION = '1.0.
|
28
|
+
VERSION = '1.0.4'
|
29
29
|
|
30
30
|
=begin rdoc
|
31
31
|
Quick and dirty turning a Windows path into a path of the platform on which this script is running.
|
data/lib/dataMetaDom/pojo.rb
CHANGED
@@ -744,7 +744,7 @@ Generates Java source code for the DataMeta DOM Mapping, DataMeta DOM keyword "<
|
|
744
744
|
out.puts <<MAPPING_CLASS_HEADER
|
745
745
|
package #{javaPackage};
|
746
746
|
|
747
|
-
import org.ebay.datameta.
|
747
|
+
import org.ebay.datameta.dom.Mapping;
|
748
748
|
#{importText}
|
749
749
|
import java.util.Collection;
|
750
750
|
import java.util.Collections;
|
@@ -809,11 +809,13 @@ Generates Java source code for the DataMeta DOM BitSet, DataMeta DOM keyword "<t
|
|
809
809
|
maxBit = bitSet.keys.max
|
810
810
|
raise "Mapping too big, size = #{maxBit}, max size #{MAX_MAPPING_SIZE}" if maxBit > MAX_MAPPING_SIZE
|
811
811
|
out.puts <<BIT_SET_HEADER
|
812
|
-
|
812
|
+
package #{javaPackage};
|
813
|
+
|
814
|
+
import org.ebay.datameta.dom.BitSetImpl;
|
815
|
+
import org.ebay.datameta.util.jdk.SemanticVersion;
|
813
816
|
|
814
|
-
|
815
|
-
|
816
|
-
#{PojoLexer.classJavaDoc bitSet.docs}public final class #{baseName} extends BitSetImpl<#{toType}>{
|
817
|
+
#{importTxt}
|
818
|
+
#{PojoLexer.classJavaDoc bitSet.docs}public final class #{baseName} extends BitSetImpl<#{toType}>{
|
817
819
|
public static final int MAX_BIT = #{maxBit};
|
818
820
|
public static final int COUNT = MAX_BIT + 1;
|
819
821
|
// we do not expect huge arrays here, the sizes should be very limited and likely continuous.
|