radar-api 0.1.1 → 0.1.2
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 +4 -4
- data/lib/radar/api/radar_types.rb +7 -1
- data/lib/radar/api/version.rb +1 -1
- 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: f69c3ff86440c02d881e4116fe0317e65c143bd8
|
4
|
+
data.tar.gz: e40e8ac3b5f247897d0f97ece7038d5873ac1c47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/radar/api/version.rb
CHANGED