gerbilcharts 0.10.2 → 0.10.3

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: ae218d88a23763effecb15e0346be1bf3eccd45d
4
- data.tar.gz: c3eeeb771b06434aebf930fb4f1fea46c1a6c706
3
+ metadata.gz: 03e128d97f7c5611d9bd5d7fb784190fc7e810ad
4
+ data.tar.gz: 2d11b79dd2442346e44f8533b1f85ac735b094ae
5
5
  SHA512:
6
- metadata.gz: 365f4a57e66319c8a216c08d98e765b8be019976a71d4f6212c2bdbd1d139568ff9be9263471a6e3c2b9cfcf0c92f139d284ba3a624c19a61a24a1f321cca959
7
- data.tar.gz: c03e0890545ad1681c4980fdd37161a81d13cad70d124b843b8074914bddd55e8775a278a3bb305e3d4a9a1ea7027e67adc04b5bde60827c77266c19b02c4193
6
+ metadata.gz: 4c5bfaead62efc5602454b1b3e33d879b4e07c6b5e43e95508b1f4933519d8cfeb1e496e98be4f039732e0ce032e2c3f8599c30dfa721325c08aa75059fed28e
7
+ data.tar.gz: e46aefc7c92c8785b0b2c4d9d39a30f0d424f438bf87312694510316b6e0822fefe44c012a2880c41f032e917c0c1733d93eb89e40d8c33a60669535fb160a3a
@@ -11,15 +11,17 @@ public
11
11
  PRESETS = [
12
12
  [0,0], [1,0.2], [5,1], [10,1],[20,5],
13
13
  [50,10],[100,25],[200,50], [500,100], [1000,200],
14
- [2000,500], [5000,1000], [8000,2000], [10000,2000],
15
- [20000,5000], [50000,10000], [100000,25000], [200000,50000],
16
- [500000,100000],[800000,200000],
17
- [1000000,200000],[2000000,500000], [3000000,500000], [4000000,1000000],
18
- [5000000,1000000],[6000000, 1000000],
19
- [8000000,2000000], [10000000,2000000], [20000000,5000000], [50000000, 10000000],
14
+ [2000,500], [5000,1000], [8000,2000], [10000,2000],
15
+ [20000,5000], [50000,10000], [100000,25000], [200000,50000],
16
+ [500000,100000], [800000,200000],
17
+ [1000000,200000], [2000000,500000], [3000000,500000], [4000000,1000000],
18
+ [5000000,1000000], [6000000, 1000000],
19
+ [8000000,2000000], [10000000,2000000], [20000000,5000000], [50000000, 10000000],
20
20
  [100000000,25000000], [200000000,50000000], [500000000,100000000],
21
- [1000000000, 250000000] , [3000000000, 1000000000] , [5000000000, 1000000000] ,
22
- [10000000000,2000000000] ,
21
+ [1_000_000_000, 250_000_000] , [3_000_000_000, 1_000_000_000] , [5_000_000_000, 1_000_000_000] ,
22
+ [10_000_000_000, 2_000_000_000] ,
23
+ [100_000_000_000, 20_000_000_000] ,
24
+ [1_000_000_000_000,200_000_000_000] ,
23
25
  ]
24
26
 
25
27
  TIMEPRESETS = [
@@ -75,7 +77,7 @@ public
75
77
  t = Time.at(tvsec).getlocal
76
78
 
77
79
  if t.hour + t.min == 0
78
- return t.strftime("%b-%d")
80
+ return t.strftime("%b-%d")
79
81
  end
80
82
 
81
83
  if interval < 60
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gerbilcharts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.2
4
+ version: 0.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-29 00:00:00.000000000 Z
11
+ date: 2015-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: shoulda