weight-recorder 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/application.rb +5 -4
- data/lib/recorder/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cae9eb183877b338a0fa881481a9aa22bf132f2f
|
4
|
+
data.tar.gz: 1f931cbbddc17446b50f7e3e91a09820c839683e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e235eac007766b1c83939d5b59c22c5fd2615d89d51504494fa11d80bfdda90fe310fe2c15eeb7a9f87377389d5a633c4737f204960afc215063df4a82be1a03
|
7
|
+
data.tar.gz: a4d60474ac5ebfd7970d798f799dbb6e1c54a05f7702fb27af435d4c87e14b66d7db54132d3878ff7d57d8b489a3060f65a387034cc9542e6c1e84a759b5c521
|
data/lib/application.rb
CHANGED
@@ -84,24 +84,25 @@ module Recorder
|
|
84
84
|
redirect '/'
|
85
85
|
end
|
86
86
|
|
87
|
-
@min,@max=82,90
|
87
|
+
@min,@max=82,90 # they don't work but left to see how to pass data
|
88
88
|
get '/chart' do
|
89
89
|
@weight_options = {min: @min, max: @max}
|
90
|
-
@bodyfat_options = {min:
|
90
|
+
@bodyfat_options = {min: @min, max: @max}
|
91
|
+
# @bodyfat_options = {min: 15, max: 30}
|
91
92
|
@weight_data,@bodyfat_data = get_data()
|
92
93
|
haml :chart
|
93
94
|
end
|
94
95
|
|
95
96
|
get '/chart_week' do
|
96
97
|
@weight_options = {min: @min, max: @max}
|
97
|
-
@bodyfat_options = {min:
|
98
|
+
@bodyfat_options = {min: @min, max: @max}
|
98
99
|
@weight_data,@bodyfat_data = get_data(:week)
|
99
100
|
haml :chart
|
100
101
|
end
|
101
102
|
|
102
103
|
get '/chart_month' do
|
103
104
|
@weight_options = {min: @min, max: @max}
|
104
|
-
@bodyfat_options = {min:
|
105
|
+
@bodyfat_options = {min: @min, max: @max}
|
105
106
|
@weight_data,@bodyfat_data = get_data(:month)
|
106
107
|
haml :chart
|
107
108
|
end
|
data/lib/recorder/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: weight-recorder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shigeto R. Nishitani
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|