dataMetaDom 1.0.3 → 1.0.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 360973021272976f1657127c48398569da5c3211
4
- data.tar.gz: 0a5030e192ab0bd6f5182b9a03b58771ccd89524
3
+ metadata.gz: 80951cc7ea0ae6737628ea190af63decd6950a78
4
+ data.tar.gz: 001d5ed875e1e4f3efb9e6434c04a7bab48b63fe
5
5
  SHA512:
6
- metadata.gz: f16025cfcef4dda675e35098e37801582be3bcea66a9cafe4f722d0a1ae3b4acbea50d5bcb70893144fcefb3f127e5b69c07c74a38859cdf6402a76b506f0f86
7
- data.tar.gz: b12c21eccb0edc91554170ad6f9f33eb9551a0ae09a7499994865a3bd73f6cb10ecd2bd46483178ae82b859bcfadb52ad100e0f6b26bd33734e4f228ed7d3204
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`
@@ -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.3'
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.
@@ -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.core.Mapping;
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
- package #{javaPackage};
812
+ package #{javaPackage};
813
+
814
+ import org.ebay.datameta.dom.BitSetImpl;
815
+ import org.ebay.datameta.util.jdk.SemanticVersion;
813
816
 
814
- import org.ebay.datameta.core.BitSetImpl;
815
- #{importTxt}
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.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dataMetaDom
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Bergens