weight-recorder 0.1.8 → 0.1.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c249d4e0df8064c1dfa8d8adf4859a531d11021e
4
- data.tar.gz: 01aca001cb8bfaf54e4ad1eb27dbf2ce18fd374b
3
+ metadata.gz: cae9eb183877b338a0fa881481a9aa22bf132f2f
4
+ data.tar.gz: 1f931cbbddc17446b50f7e3e91a09820c839683e
5
5
  SHA512:
6
- metadata.gz: 4d5b69014cab33cbc08c0e052ed122a89bc5e79a2062629a82f2e319d5bbba76b6c26c8ca5548b07c7a527a384de57bca45a21facbd482720c4d9ea015825ef6
7
- data.tar.gz: d79383cac20fc7ecb163393a4a8f3e51ae4d5df6c30ba72fc450d87547934d0137167ca9c2eada0b78e26e25178a4ac697c19f1d82cb36f675c1581548a338e6
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: 15, max: 30}
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: 15, max: 30}
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: 15, max: 30}
105
+ @bodyfat_options = {min: @min, max: @max}
105
106
  @weight_data,@bodyfat_data = get_data(:month)
106
107
  haml :chart
107
108
  end
@@ -1,3 +1,3 @@
1
1
  module Recorder
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
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.8
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-16 00:00:00.000000000 Z
11
+ date: 2016-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord