radar-api 0.1.1 → 0.1.2

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: a13dbb10227349706eb8e24d25d922379d5b76fe
4
- data.tar.gz: a7ff4c222cb8633b04fff78ee8d870eb8c8eb5b6
3
+ metadata.gz: f69c3ff86440c02d881e4116fe0317e65c143bd8
4
+ data.tar.gz: e40e8ac3b5f247897d0f97ece7038d5873ac1c47
5
5
  SHA512:
6
- metadata.gz: a348461d00472abc9c9427d023607967ec56a20bc6fab4b224e1ea41c9adfb0933f121cd2eacdc487a9bd900e6533d98379a4a6a521909c3561a4fefe49fa2b5
7
- data.tar.gz: af3443991b67d0efb3d14f6d01a0c81d8d8b8a220d918fd2d5cabbb84a17756f4123d1fadd641b2f5b571f6c63d6b03b93fcdb60d6295de4f1e7df44d92b59ac
6
+ metadata.gz: 5c803d04dd2a1fd831e43d0ce04194b9e982639bf38adcc09dc21c467dd95187747b0e190277a9b8b45cd18cb733c2ab6534cd26e4880fc28f1f3d6ba3f25e80
7
+ data.tar.gz: a3899d671cc4831d126a62113c021cbadb0539778cb50dea546ac0a5edcbe7d4fae3ab139742ee69b6d4caffb6b204a696772844da8088035985e1de34c1de17
@@ -318,16 +318,22 @@ module Radar
318
318
  def currency(val)
319
319
  TableCellContent.new(:currency, val)
320
320
  end
321
+
322
+ def number(val)
323
+ TableCellContent.new(:number, val)
324
+ end
321
325
  end
322
326
 
323
327
  TEXT = 1
324
328
  PERCENT = 2
325
329
  CURRENCY = 3
330
+ NUMBER = 4
326
331
 
327
332
  FIELDS = {
328
333
  TEXT => {:type => ::Thrift::Types::STRING, :name => 'text'},
329
334
  PERCENT => {:type => ::Thrift::Types::DOUBLE, :name => 'percent'},
330
- CURRENCY => {:type => ::Thrift::Types::DOUBLE, :name => 'currency'}
335
+ CURRENCY => {:type => ::Thrift::Types::DOUBLE, :name => 'currency'},
336
+ NUMBER => {:type => ::Thrift::Types::DOUBLE, :name => 'number'}
331
337
  }
332
338
 
333
339
  def struct_fields; FIELDS; end
@@ -1,5 +1,5 @@
1
1
  module Radar
2
2
  module API
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radar-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - André Aizim Kelmanson