Skip to content

Commit

Permalink
RELEASE Frugal 2.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bender-wk committed Mar 22, 2018
1 parent 8199b17 commit 0473e89
Show file tree
Hide file tree
Showing 137 changed files with 197 additions and 183 deletions.
2 changes: 1 addition & 1 deletion compiler/globals/globals.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
)

// Version of the Frugal compiler.
const Version = "2.15.1"
const Version = "2.16.0"

// Global variables.
var (
Expand Down
2 changes: 1 addition & 1 deletion examples/dart/gen-dart/v1_music/lib/src/f_album.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Autogenerated by Frugal Compiler (2.15.1)
// Autogenerated by Frugal Compiler (2.16.0)
// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING

import 'dart:typed_data' show Uint8List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Autogenerated by Frugal Compiler (2.15.1)
// Autogenerated by Frugal Compiler (2.16.0)
// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING


Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Autogenerated by Frugal Compiler (2.15.1)
// Autogenerated by Frugal Compiler (2.16.0)
// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING

class PerfRightsOrg {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Autogenerated by Frugal Compiler (2.15.1)
// Autogenerated by Frugal Compiler (2.16.0)
// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING

import 'dart:typed_data' show Uint8List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Autogenerated by Frugal Compiler (2.15.1)
// Autogenerated by Frugal Compiler (2.16.0)
// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING


Expand Down
2 changes: 1 addition & 1 deletion examples/dart/gen-dart/v1_music/lib/src/f_track.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Autogenerated by Frugal Compiler (2.15.1)
// Autogenerated by Frugal Compiler (2.16.0)
// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING

import 'dart:typed_data' show Uint8List;
Expand Down
2 changes: 1 addition & 1 deletion examples/dart/gen-dart/v1_music/lib/v1_music.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Autogenerated by Frugal Compiler (2.15.1)
// Autogenerated by Frugal Compiler (2.16.0)
// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING

library v1_music;
Expand Down
4 changes: 2 additions & 2 deletions examples/dart/gen-dart/v1_music/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: v1_music
version: 2.15.1
version: 2.16.0
description: Autogenerated by the frugal compiler
environment:
sdk: ^1.13.0
Expand All @@ -8,7 +8,7 @@ dependencies:
hosted:
name: frugal
url: https://pub.workiva.org
version: ^2.15.1
version: ^2.16.0
logging: ^0.11.2
thrift:
hosted:
Expand Down
2 changes: 1 addition & 1 deletion examples/dart/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ dependencies:
hosted:
name: frugal
url: https://pub.workiva.org
version: ^2.15.1
version: ^2.16.0
logging: ^0.11.2
thrift:
hosted:
Expand Down
2 changes: 1 addition & 1 deletion examples/go/gen-go/v1/music/f_albumwinners_scope.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Autogenerated by Frugal Compiler (2.15.1)
// Autogenerated by Frugal Compiler (2.16.0)
// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING

package music
Expand Down
2 changes: 1 addition & 1 deletion examples/go/gen-go/v1/music/f_store_service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Autogenerated by Frugal Compiler (2.15.1)
// Autogenerated by Frugal Compiler (2.16.0)
// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING

package music
Expand Down
2 changes: 1 addition & 1 deletion examples/go/gen-go/v1/music/f_types.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Autogenerated by Frugal Compiler (2.15.1)
// Autogenerated by Frugal Compiler (2.16.0)
// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING

package music
Expand Down
4 changes: 2 additions & 2 deletions examples/java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>com.workiva.frugal</groupId>
<artifactId>examples</artifactId>
<version>2.15.1</version>
<version>2.16.0</version>

<repositories>
<repository>
Expand All @@ -22,7 +22,7 @@
<dependency>
<groupId>com.workiva</groupId>
<artifactId>frugal</artifactId>
<version>2.15.1</version>
<version>2.16.0</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
Expand Down
10 changes: 5 additions & 5 deletions examples/java/src/main/java/v1/music/Album.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Autogenerated by Frugal Compiler (2.15.1)
* Autogenerated by Frugal Compiler (2.16.0)
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*
* @generated
Expand Down Expand Up @@ -37,7 +37,7 @@
* The IDL provides set, list, and map types for representing collections
* of data. Our Album struct contains a list of Tracks.
*/
@Generated(value = "Autogenerated by Frugal Compiler (2.15.1)")
@Generated(value = "Autogenerated by Frugal Compiler (2.16.0)")
public class Album implements org.apache.thrift.TBase<Album, Album._Fields>, java.io.Serializable, Cloneable, Comparable<Album> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Album");

Expand All @@ -51,9 +51,9 @@ public class Album implements org.apache.thrift.TBase<Album, Album._Fields>, jav
schemes.put(TupleScheme.class, new AlbumTupleSchemeFactory());
}

public java.util.List<Track> tracks; // required
public double duration; // required
public String ASIN; // required
public java.util.List<Track> tracks;
public double duration;
public String ASIN;
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
TRACKS((short)1, "tracks"),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Autogenerated by Frugal Compiler (2.15.1)
* Autogenerated by Frugal Compiler (2.16.0)
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*
* @generated
Expand Down Expand Up @@ -42,7 +42,7 @@



@Generated(value = "Autogenerated by Frugal Compiler (2.15.1)")
@Generated(value = "Autogenerated by Frugal Compiler (2.16.0)")
public class AlbumWinnersPublisher {

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Autogenerated by Frugal Compiler (2.15.1)
* Autogenerated by Frugal Compiler (2.16.0)
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*
* @generated
Expand Down Expand Up @@ -42,7 +42,7 @@



@Generated(value = "Autogenerated by Frugal Compiler (2.15.1)")
@Generated(value = "Autogenerated by Frugal Compiler (2.16.0)")
public class AlbumWinnersSubscriber {

/**
Expand Down
18 changes: 9 additions & 9 deletions examples/java/src/main/java/v1/music/FStore.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Autogenerated by Frugal Compiler (2.15.1)
* Autogenerated by Frugal Compiler (2.16.0)
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*
* @generated
Expand Down Expand Up @@ -57,7 +57,7 @@
import java.util.concurrent.*;


@Generated(value = "Autogenerated by Frugal Compiler (2.15.1)")
@Generated(value = "Autogenerated by Frugal Compiler (2.16.0)")
public class FStore {

private static final Logger logger = LoggerFactory.getLogger(FStore.class);
Expand Down Expand Up @@ -337,8 +337,8 @@ public static class buyAlbum_args implements org.apache.thrift.TBase<buyAlbum_ar
schemes.put(TupleScheme.class, new buyAlbum_argsTupleSchemeFactory());
}

public String ASIN; // required
public String acct; // required
public String ASIN;
public String acct;
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
ASIN((short)1, "ASIN"),
Expand Down Expand Up @@ -797,8 +797,8 @@ public static class buyAlbum_result implements org.apache.thrift.TBase<buyAlbum_
schemes.put(TupleScheme.class, new buyAlbum_resultTupleSchemeFactory());
}

public Album success; // required
public PurchasingError error; // required
public Album success;
public PurchasingError error;
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
SUCCESS((short)0, "success"),
Expand Down Expand Up @@ -1263,8 +1263,8 @@ public static class enterAlbumGiveaway_args implements org.apache.thrift.TBase<e
schemes.put(TupleScheme.class, new enterAlbumGiveaway_argsTupleSchemeFactory());
}

public String email; // required
public String name; // required
public String email;
public String name;
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
EMAIL((short)1, "email"),
Expand Down Expand Up @@ -1722,7 +1722,7 @@ public static class enterAlbumGiveaway_result implements org.apache.thrift.TBase
schemes.put(TupleScheme.class, new enterAlbumGiveaway_resultTupleSchemeFactory());
}

public boolean success; // required
public boolean success;
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
SUCCESS((short)0, "success")
Expand Down
2 changes: 1 addition & 1 deletion examples/java/src/main/java/v1/music/PerfRightsOrg.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Autogenerated by Frugal Compiler (2.15.1)
* Autogenerated by Frugal Compiler (2.16.0)
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*
* @generated
Expand Down
8 changes: 4 additions & 4 deletions examples/java/src/main/java/v1/music/PurchasingError.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Autogenerated by Frugal Compiler (2.15.1)
* Autogenerated by Frugal Compiler (2.16.0)
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*
* @generated
Expand Down Expand Up @@ -37,7 +37,7 @@
* Exceptions are converted to the native format for each compiled
* language.
*/
@Generated(value = "Autogenerated by Frugal Compiler (2.15.1)")
@Generated(value = "Autogenerated by Frugal Compiler (2.16.0)")
public class PurchasingError extends TException implements org.apache.thrift.TBase<PurchasingError, PurchasingError._Fields>, java.io.Serializable, Cloneable, Comparable<PurchasingError> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PurchasingError");

Expand All @@ -50,8 +50,8 @@ public class PurchasingError extends TException implements org.apache.thrift.TBa
schemes.put(TupleScheme.class, new PurchasingErrorTupleSchemeFactory());
}

public String message; // required
public short error_code; // required
public String message;
public short error_code;
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
MESSAGE((short)1, "message"),
Expand Down
16 changes: 8 additions & 8 deletions examples/java/src/main/java/v1/music/Track.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Autogenerated by Frugal Compiler (2.15.1)
* Autogenerated by Frugal Compiler (2.16.0)
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*
* @generated
Expand Down Expand Up @@ -36,7 +36,7 @@
/**
* Comments (with an @ symbol) will be added to generated code.
*/
@Generated(value = "Autogenerated by Frugal Compiler (2.15.1)")
@Generated(value = "Autogenerated by Frugal Compiler (2.16.0)")
public class Track implements org.apache.thrift.TBase<Track, Track._Fields>, java.io.Serializable, Cloneable, Comparable<Track> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Track");

Expand All @@ -53,12 +53,12 @@ public class Track implements org.apache.thrift.TBase<Track, Track._Fields>, jav
schemes.put(TupleScheme.class, new TrackTupleSchemeFactory());
}

public String title; // required
public String artist; // required
public String publisher; // required
public String composer; // required
public double duration; // required
public PerfRightsOrg pro; // required
public String title;
public String artist;
public String publisher;
public String composer;
public double duration;
public PerfRightsOrg pro;
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
TITLE((short)1, "title"),
Expand Down
5 changes: 5 additions & 0 deletions examples/python.asyncio/gen-py.asyncio/v1/music/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from .f_AlbumWinners_publisher import AlbumWinnersPublisher
from .f_AlbumWinners_subscriber import AlbumWinnersSubscriber
from .f_Store import Client as FStoreClient
from .f_Store import Iface as FStoreIface
from .ttypes import *
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Autogenerated by Frugal Compiler (2.15.1)
# Autogenerated by Frugal Compiler (2.16.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Autogenerated by Frugal Compiler (2.15.1)
# Autogenerated by Frugal Compiler (2.16.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Autogenerated by Frugal Compiler (2.15.1)
# Autogenerated by Frugal Compiler (2.16.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
Expand Down
4 changes: 2 additions & 2 deletions examples/python.asyncio/gen-py.asyncio/v1/music/f_Store.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Autogenerated by Frugal Compiler (2.15.1)
# Autogenerated by Frugal Compiler (2.16.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
Expand Down Expand Up @@ -170,7 +170,7 @@ def __init__(self, handler, middleware=None):
super(Processor, self).__init__()
self.add_to_processor_map('buyAlbum', _buyAlbum(Method(handler.buyAlbum, middleware), self.get_write_lock()))
self.add_to_processor_map('enterAlbumGiveaway', _enterAlbumGiveaway(Method(handler.enterAlbumGiveaway, middleware), self.get_write_lock()))
self.add_to_annotations_map('enterAlbumGiveaway', {'deprecated': 'use something else'})
self.add_to_annotations_map('enterAlbumGiveaway', {"deprecated": "use something else"})


class _buyAlbum(FProcessorFunction):
Expand Down
2 changes: 1 addition & 1 deletion examples/python.asyncio/gen-py.asyncio/v1/music/ttypes.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Autogenerated by Frugal Compiler (2.15.1)
# Autogenerated by Frugal Compiler (2.16.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
Expand Down
5 changes: 5 additions & 0 deletions examples/python.tornado/gen-py.tornado/v1/music/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from .f_AlbumWinners_publisher import AlbumWinnersPublisher
from .f_AlbumWinners_subscriber import AlbumWinnersSubscriber
from .f_Store import Client as FStoreClient
from .f_Store import Iface as FStoreIface
from .ttypes import *
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Autogenerated by Frugal Compiler (2.15.1)
# Autogenerated by Frugal Compiler (2.16.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Autogenerated by Frugal Compiler (2.15.1)
# Autogenerated by Frugal Compiler (2.16.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Autogenerated by Frugal Compiler (2.15.1)
# Autogenerated by Frugal Compiler (2.16.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
Expand Down
4 changes: 2 additions & 2 deletions examples/python.tornado/gen-py.tornado/v1/music/f_Store.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Autogenerated by Frugal Compiler (2.15.1)
# Autogenerated by Frugal Compiler (2.16.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
Expand Down Expand Up @@ -174,7 +174,7 @@ def __init__(self, handler, middleware=None):
super(Processor, self).__init__()
self.add_to_processor_map('buyAlbum', _buyAlbum(Method(handler.buyAlbum, middleware), self.get_write_lock()))
self.add_to_processor_map('enterAlbumGiveaway', _enterAlbumGiveaway(Method(handler.enterAlbumGiveaway, middleware), self.get_write_lock()))
self.add_to_annotations_map('enterAlbumGiveaway', {'deprecated': 'use something else'})
self.add_to_annotations_map('enterAlbumGiveaway', {'deprecated': "use something else"})


class _buyAlbum(FProcessorFunction):
Expand Down
2 changes: 1 addition & 1 deletion examples/python.tornado/gen-py.tornado/v1/music/ttypes.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Autogenerated by Frugal Compiler (2.15.1)
# Autogenerated by Frugal Compiler (2.16.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
Expand Down
Loading

0 comments on commit 0473e89

Please sign in to comment.