weight-recorder 0.1.4 → 0.1.5

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: 877da1c39f46b47849815309a9b92379a6489cbd
4
- data.tar.gz: 19ed5f3143e47d7c055ec05a205fa41cddc9abcc
3
+ metadata.gz: 0f6944195147fc778f858c2ac0fd38b33d3164ae
4
+ data.tar.gz: 4c70a8b41f2f92e2bf9ea15456cb3c9ba26dbb57
5
5
  SHA512:
6
- metadata.gz: 365f6b7df0047810ea16234d62c8691fada29fd58b418a7ece19f1707b8438086745a9a05950f8e0a0eb5a5dde5f6bf8089aa4d360c17501f7bb837029f39638
7
- data.tar.gz: 1f86ec64faf7dde1bf1ea84904071ddcdaa2abc60eec62c76febaba5002be3c50b7fb70422109fb936f0d3d53a7492671c4f329ab1564a7c1d71f4f6cd470f10
6
+ metadata.gz: 2419a8349fc7f277510ba97dfdde77b3f83b1c174eba4ecdcf3db603837d8c359ffecc89a9462db7833e89c6c218ab1160a73513868816126e83db22ebefae51
7
+ data.tar.gz: a6ef9c191b2b3e6a5f21a3deeb52e44d0484ba06ba9f4c8e78aa705fe328ee351f8990528e90e5966e4886a45c07962ee8f33ebc0ca925d6a01d983a0fbb9db3
data/.yardopts ADDED
@@ -0,0 +1,2 @@
1
+ -
2
+ **/*.md
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Recorder
1
+ # Weight Recorder
2
2
 
3
- Recording values, spcifically weight and fat, and display chart
3
+ Recording weight and fat, and display chart
4
4
 
5
5
  ## Installation
6
6
 
@@ -12,11 +12,15 @@ gem 'recorder'
12
12
 
13
13
  And then execute:
14
14
 
15
- $ bundle
15
+ ```
16
+ $ bundle
17
+ ```
16
18
 
17
19
  Or install it yourself as:
18
20
 
19
- $ gem install recorder
21
+ ```
22
+ $ gem install recorder
23
+ ```
20
24
 
21
25
  ## Usage
22
26
 
@@ -46,4 +50,3 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/daddyg
46
50
  ## License
47
51
 
48
52
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
49
-
data/Rakefile CHANGED
@@ -1,6 +1,52 @@
1
1
  require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
2
+ require 'yard'
3
+ require "rake/testtask"
4
+ require 'fileutils'
5
+ p base_path = File.expand_path('..', __FILE__)
6
+ p basename = File.basename(base_path)
7
+
8
+ task :default do
9
+ system 'rake -T'
10
+ end
11
+
12
+ desc "make documents by yard"
13
+ task :yard => [:hiki2md] do
14
+ YARD::Rake::YardocTask.new
15
+ end
16
+
17
+ desc "transfer hikis/*.hiki to wiki"
18
+ task :hiki2md do
19
+ files = Dir.entries('hikis')
20
+ files.each{|file|
21
+ name=file.split('.')
22
+ case name[1]
23
+ when 'hiki'
24
+ p command="hiki2md hikis/#{name[0]}.hiki > #{basename}.wiki/#{name[0]}.md"
25
+ system command
26
+ when 'gif','png','pdf'
27
+ p command="cp hikis/#{file} #{basename}.wiki/#{file}"
28
+ # system command
29
+ FileUtils.cp("hikis/#{file}","#{basename}.wiki/#{file}",:verbose=>true)
30
+ FileUtils.cp("hikis/#{file}","doc/#{file}",:verbose=>true)
31
+ end
32
+ }
33
+ readme_en="#{basename}.wiki/README_en.md"
34
+ readme_ja="#{basename}.wiki/README_ja.md"
35
+ if File.exists?(readme_en)
36
+ FileUtils.cp(readme_en,"./README.md",:verbose=>true)
37
+ elsif File.exists?(readme_ja)
38
+ FileUtils.cp(readme_ja,"./README.md",:verbose=>true)
39
+ FileUtils.cp(readme_ja,"#{basename}.wiki/Home.md",:verbose=>true)
40
+ end
41
+ end
42
+
43
+ desc "transfer hikis/*.hiki to latex"
44
+ task :latex do
45
+ target = 'handout_sample'
46
+ command = "hiki2latex --pre latexes/handout_pre.tex hikis/#{target}.hiki > latexes/#{target}.tex"
47
+ system command
48
+ command = "open latexes/#{target}.tex"
49
+ system command
50
+ end
3
51
 
4
- RSpec::Core::RakeTask.new(:spec)
5
52
 
6
- task :default => :spec
data/Rakefile.orig ADDED
@@ -0,0 +1,16 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
7
+ desc "transfer hikis/*.hiki to latex"
8
+ task :latex do
9
+ target = 'handout_sample'
10
+ command = "hiki2latex --pre latexes/handout_pre.tex hikis/#{target}.hiki > latexes/#{target}.tex"
11
+ system command
12
+ command = "open latexes/#{target}.tex"
13
+ system command
14
+ end
15
+
16
+
data/exe/weight-recorder CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require "weight-recorder"
3
+ require "recorder"
4
4
 
5
- WeightRecorder::Command.run(ARGV)
5
+ Recorder::Command.run(ARGV)
@@ -0,0 +1,49 @@
1
+ ! Weight Recorder
2
+
3
+ Recording weight and fat, and display chart
4
+
5
+ !! Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ <<<ruby
10
+ gem 'recorder'
11
+ >>>
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install recorder
20
+
21
+ !! Usage
22
+
23
+ <<<
24
+ bundle exec exe/recorder --help
25
+ Usage: recorder [-h|--help] [-v|--version] <command> [<args>]
26
+ -v, --version show program version
27
+ -h, --help Show this message
28
+
29
+ recorder Available Commands:
30
+ create -w weight -b bodyfat Create Data
31
+ update id -w weiht -b bodyfat -d date Update Data
32
+ delete id Delete Data
33
+ >>>
34
+
35
+ !! Development
36
+
37
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. Run `bundle exec recorder` to use the gem in this directory, ignoring other installed copies of this gem.
38
+
39
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [[rubygems.org|https://rubygems.org]].
40
+
41
+ !! Contributing
42
+
43
+ Bug reports and pull requests are welcome on GitHub at https://github.com/daddygongon/recorder. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [[Contributor Covenant|http://contributor-covenant.org]] code of conduct.
44
+
45
+
46
+ !! License
47
+
48
+ The gem is available as open source under the terms of the [[MIT License|http://opensource.org/licenses/MIT]].
49
+
@@ -0,0 +1,129 @@
1
+ !概要
2
+
3
+ 後でsqliteのデータを追加したくなった時の対処法
4
+
5
+ !記述
6
+ 当初のデータは
7
+ <<< ruby
8
+ bob% cat lib/recorder/db.rb
9
+ #encoding: utf-8
10
+
11
+ require 'fileutils'
12
+ require 'active_record'
13
+
14
+ module Recorder
15
+
16
+ module DB
17
+
18
+ def self.create_table_if_not_exists(path)
19
+ create_database_path path
20
+
21
+ connection = ActiveRecord::Base.connection
22
+
23
+ return if connection.table_exists?(:data)
24
+
25
+ connection.create_table :data do |d|
26
+ d.column :weight, :real, null: false
27
+ d.column :bodyfat, :real, null: true
28
+ d.column :date, :text, null: true
29
+ d.timestamps
30
+ end
31
+ connection.add_index :data, :created_at
32
+ connection.add_index :data, :date
33
+
34
+ end
35
+
36
+ end
37
+ end
38
+ >>>
39
+ であったが,memoを追加したくなった.
40
+
41
+ ActiveRecordで動的に追加することも可能なようであるが,railsによるmigrationを用いたやり方しか見つけられなかった.そこで,sqliteを直接いじって,関連するcodeを修正することにした.
42
+
43
+ ! sqlite3
44
+ !! tableの確認
45
+ <<<
46
+ bob% sqlite3 ~/.recorder/recorder.sqlite3
47
+ SQLite version 3.8.10.2 2015-05-20 18:17:19
48
+ Enter ".help" for usage hints.
49
+ sqlite> .tables
50
+ data
51
+ sqlite> .headers ON
52
+ sqlite> .mode columns
53
+ sqlite> PRAGMA table_info(data);
54
+ cid name type notnull dflt_value pk
55
+ ---------- ---------- ---------- ---------- ---------- ----------
56
+ 0 id INTEGER 1 1
57
+ 1 weight real 1 0
58
+ 2 bodyfat real 0 0
59
+ 3 date text 0 0
60
+ 4 created_at datetime 1 0
61
+ 5 updated_at datetime 1 0
62
+ sqlite> SELECT type, name, tbl_name FROM sqlite_master WHERE type='index';
63
+ type name tbl_name
64
+ ---------- ------------------------ ----------
65
+ index index_data_on_created_at data
66
+ index index_data_on_date data
67
+ sqlite> .quit
68
+ >>>
69
+
70
+ ! memoの追加
71
+
72
+ sqlite> alter table data add column memo text;
73
+
74
+ で追加できる.
75
+
76
+ 以下は,確認も含めた一連のコマンド.
77
+ <<<
78
+ sqlite> .schema data
79
+ CREATE TABLE "data" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "weight" real NOT NULL, "bodyfat" real, "date" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL);
80
+ CREATE INDEX "index_data_on_created_at" ON "data" ("created_at");
81
+ CREATE INDEX "index_data_on_date" ON "data" ("date");
82
+ sqlite> alter table data add column memo text;
83
+ sqlite> .schema data
84
+ CREATE TABLE "data" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "weight" real NOT NULL, "bodyfat" real, "date" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, memo text);
85
+ CREATE INDEX "index_data_on_created_at" ON "data" ("created_at");
86
+ CREATE INDEX "index_data_on_date" ON "data" ("date");
87
+ sqlite> PRAGMA table_info(data);
88
+ cid name type notnull dflt_value pk
89
+ ---------- ---------- ---------- ---------- ---------- ----------
90
+ 0 id INTEGER 1 1
91
+ 1 weight real 1 0
92
+ 2 bodyfat real 0 0
93
+ 3 date text 0 0
94
+ 4 created_at datetime 1 0
95
+ 5 updated_at datetime 1 0
96
+ 6 memo text 0 0
97
+ sqlite> .quit
98
+ >>>
99
+
100
+ ! weight-recorderの修正
101
+ 以降の修正は,
102
+ bundle exec rackup
103
+ で確認しながらすべき.
104
+ !! lib/recorder/db.rb
105
+ d.column :memo, :text, null: true
106
+ !! lib/application.rb
107
+ <<< ruby
108
+ data.update_attributes!(
109
+ weight: params[:weight],
110
+ bodyfat: params[:bodyfat],
111
+ date: params[:date],
112
+ memo: params[:memo]
113
+ )
114
+ >>>
115
+
116
+ !! lib/view/index.html
117
+ 以下を追加.
118
+ <<<
119
+ %th Memo
120
+ %td= d.memo
121
+ >>>
122
+
123
+ !! lib/view/_form.haml
124
+ <<<
125
+ .control-group
126
+ %label.col-sm-2.control-label(for='memo') Memo
127
+ .col-sm-4
128
+ %input.form-control(name='memo' placehoder='' type='text'){value: @data.memo}
129
+ >>>
@@ -0,0 +1,11 @@
1
+ \documentclass[10pt,a4j,twocolumn]{jsarticle}
2
+
3
+ \usepackage[dvipdfmx]{graphicx}
4
+
5
+ \setlength{\textheight}{275mm}
6
+ \headheight 5mm
7
+ \topmargin -30mm
8
+ \textwidth 185mm
9
+ \oddsidemargin -15mm
10
+ \evensidemargin -15mm
11
+ \pagestyle{empty}
data/lib/application.rb CHANGED
@@ -50,7 +50,8 @@ module Recorder
50
50
  data.update_attributes!(
51
51
  weight: params[:weight],
52
52
  bodyfat: params[:bodyfat],
53
- date: params[:date]
53
+ date: params[:date],
54
+ memo: params[:memo]
54
55
  )
55
56
  redirect '/'
56
57
  rescue ActiveRecord::RecordInvalid => e
@@ -64,7 +65,9 @@ module Recorder
64
65
  date0 = Time.now.strftime('%Y/%m/%d %H:%M')
65
66
  Data.create!(weight: params[:weight],
66
67
  bodyfat: params[:bodyfat],
67
- date: date0)
68
+ date: date0,
69
+ memo: params[:memo]
70
+ )
68
71
 
69
72
  redirect '/'
70
73
  rescue ActiveRecord::RecordInvalid => e
data/lib/recorder/db.rb CHANGED
@@ -30,6 +30,7 @@ module Recorder
30
30
  d.column :weight, :real, null: false
31
31
  d.column :bodyfat, :real, null: true
32
32
  d.column :date, :text, null: true
33
+ d.column :memo, :text, null: true
33
34
  d.timestamps
34
35
  end
35
36
  connection.add_index :data, :created_at
@@ -1,3 +1,3 @@
1
1
  module Recorder
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
data/lib/views/_form.haml CHANGED
@@ -10,4 +10,8 @@
10
10
  %label.col-sm-2.control-label(for='date') Date
11
11
  .col-sm-4
12
12
  %input.form-control(name='date' placehoder='' type='text'){value: @data.date}
13
+ .control-group
14
+ %label.col-sm-2.control-label(for='memo') Memo
15
+ .col-sm-4
16
+ %input.form-control(name='memo' placehoder='' type='text'){value: @data.memo}
13
17
 
data/lib/views/index.haml CHANGED
@@ -8,6 +8,7 @@
8
8
  %th BodyFat[%]
9
9
  %th Measuring Time
10
10
  %th Created Time
11
+ %th Memo
11
12
  %th(colspan=2) Action
12
13
  %tbody
13
14
  - @data.each do |d|
@@ -17,6 +18,7 @@
17
18
  %td= d.bodyfat
18
19
  %td= d.date
19
20
  %td= d.created_at.strftime('%Y/%m/%d %H:%M')
21
+ %td= d.memo
20
22
  %td
21
23
  %button{class: ('btn btn-default navbar-btn')}
22
24
  %a(class="glyphicon glyphicon-edit"){href: uri("/data/#{d.id}/edit")} edit
@@ -37,4 +37,7 @@ Gem::Specification.new do |spec|
37
37
  spec.add_development_dependency "rspec", "~> 3.0"
38
38
  spec.add_development_dependency "yard", "~> 0.8"
39
39
  spec.add_development_dependency "redcarpet", "~> 2.2"
40
+ spec.add_development_dependency "hiki2md"
41
+ spec.add_development_dependency "mathjax-yard"
42
+ spec.add_development_dependency "hiki2latex"
40
43
  end
@@ -0,0 +1,52 @@
1
+ # Weight Recorder
2
+
3
+ Recording weight and fat, and display chart
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'recorder'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ ```
16
+ $ bundle
17
+ ```
18
+
19
+ Or install it yourself as:
20
+
21
+ ```
22
+ $ gem install recorder
23
+ ```
24
+
25
+ ## Usage
26
+
27
+ ```
28
+ bundle exec exe/recorder --help
29
+ Usage: recorder [-h|--help] [-v|--version] <command> [<args>]
30
+ -v, --version show program version
31
+ -h, --help Show this message
32
+
33
+ recorder Available Commands:
34
+ create -w weight -b bodyfat Create Data
35
+ update id -w weiht -b bodyfat -d date Update Data
36
+ delete id Delete Data
37
+ ```
38
+
39
+ ## Development
40
+
41
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. Run `bundle exec recorder` to use the gem in this directory, ignoring other installed copies of this gem.
42
+
43
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
44
+
45
+ ## Contributing
46
+
47
+ Bug reports and pull requests are welcome on GitHub at https://github.com/daddygongon/recorder. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
48
+
49
+
50
+ ## License
51
+
52
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -0,0 +1,135 @@
1
+ # 概要
2
+
3
+ 後でsqliteのデータを追加したくなった時の対処法
4
+
5
+ # 記述
6
+ 当初のデータは
7
+ ```ruby
8
+ bob% cat lib/recorder/db.rb
9
+ #encoding: utf-8
10
+
11
+ require 'fileutils'
12
+ require 'active_record'
13
+
14
+ module Recorder
15
+
16
+ module DB
17
+
18
+ def self.create_table_if_not_exists(path)
19
+ create_database_path path
20
+
21
+ connection = ActiveRecord::Base.connection
22
+
23
+ return if connection.table_exists?(:data)
24
+
25
+ connection.create_table :data do |d|
26
+ d.column :weight, :real, null: false
27
+ d.column :bodyfat, :real, null: true
28
+ d.column :date, :text, null: true
29
+ d.timestamps
30
+ end
31
+ connection.add_index :data, :created_at
32
+ connection.add_index :data, :date
33
+
34
+ end
35
+
36
+ end
37
+ end
38
+ ```
39
+ であったが,memoを追加したくなった.
40
+
41
+ ActiveRecordで動的に追加することも可能なようであるが,railsによるmigrationを用いたやり方しか見つけられなかった.そこで,sqliteを直接いじって,関連するcodeを修正することにした.
42
+
43
+ # sqlite3
44
+ ## tableの確認
45
+ ```
46
+ bob% sqlite3 ~/.recorder/recorder.sqlite3
47
+ SQLite version 3.8.10.2 2015-05-20 18:17:19
48
+ Enter ".help" for usage hints.
49
+ sqlite> .tables
50
+ data
51
+ sqlite> .headers ON
52
+ sqlite> .mode columns
53
+ sqlite> PRAGMA table_info(data);
54
+ cid name type notnull dflt_value pk
55
+ ---------- ---------- ---------- ---------- ---------- ----------
56
+ 0 id INTEGER 1 1
57
+ 1 weight real 1 0
58
+ 2 bodyfat real 0 0
59
+ 3 date text 0 0
60
+ 4 created_at datetime 1 0
61
+ 5 updated_at datetime 1 0
62
+ sqlite> SELECT type, name, tbl_name FROM sqlite_master WHERE type='index';
63
+ type name tbl_name
64
+ ---------- ------------------------ ----------
65
+ index index_data_on_created_at data
66
+ index index_data_on_date data
67
+ sqlite> .quit
68
+ ```
69
+
70
+ # memoの追加
71
+
72
+ ```
73
+ sqlite> alter table data add column memo text;
74
+ ```
75
+
76
+ で追加できる.
77
+
78
+ 以下は,確認も含めた一連のコマンド.
79
+ ```
80
+ sqlite> .schema data
81
+ CREATE TABLE "data" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "weight" real NOT NULL, "bodyfat" real, "date" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL);
82
+ CREATE INDEX "index_data_on_created_at" ON "data" ("created_at");
83
+ CREATE INDEX "index_data_on_date" ON "data" ("date");
84
+ sqlite> alter table data add column memo text;
85
+ sqlite> .schema data
86
+ CREATE TABLE "data" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "weight" real NOT NULL, "bodyfat" real, "date" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, memo text);
87
+ CREATE INDEX "index_data_on_created_at" ON "data" ("created_at");
88
+ CREATE INDEX "index_data_on_date" ON "data" ("date");
89
+ sqlite> PRAGMA table_info(data);
90
+ cid name type notnull dflt_value pk
91
+ ---------- ---------- ---------- ---------- ---------- ----------
92
+ 0 id INTEGER 1 1
93
+ 1 weight real 1 0
94
+ 2 bodyfat real 0 0
95
+ 3 date text 0 0
96
+ 4 created_at datetime 1 0
97
+ 5 updated_at datetime 1 0
98
+ 6 memo text 0 0
99
+ sqlite> .quit
100
+ ```
101
+
102
+ # weight-recorderの修正
103
+ 以降の修正は,
104
+ ```
105
+ bundle exec rackup
106
+ ```
107
+ で確認しながらすべき.
108
+ ## lib/recorder/db.rb
109
+ ```
110
+ d.column :memo, :text, null: true
111
+ ```
112
+ ## lib/application.rb
113
+ ```ruby
114
+ data.update_attributes!(
115
+ weight: params[:weight],
116
+ bodyfat: params[:bodyfat],
117
+ date: params[:date],
118
+ memo: params[:memo]
119
+ )
120
+ ```
121
+
122
+ ## lib/view/index.html
123
+ 以下を追加.
124
+ ```
125
+ %th Memo
126
+ %td= d.memo
127
+ ```
128
+
129
+ ## lib/view/_form.haml
130
+ ```
131
+ .control-group
132
+ %label.col-sm-2.control-label(for='memo') Memo
133
+ .col-sm-4
134
+ %input.form-control(name='memo' placehoder='' type='text'){value: @data.memo}
135
+ ```
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
4
+ version: 0.1.5
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-09-02 00:00:00.000000000 Z
11
+ date: 2016-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -150,6 +150,48 @@ dependencies:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
152
  version: '2.2'
153
+ - !ruby/object:Gem::Dependency
154
+ name: hiki2md
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: mathjax-yard
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: hiki2latex
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
153
195
  description: Recording weight and fat, and display chart
154
196
  email:
155
197
  - shigeto_nishitani@me.com
@@ -162,16 +204,21 @@ files:
162
204
  - ".gitignore"
163
205
  - ".rspec"
164
206
  - ".travis.yml"
207
+ - ".yardopts"
165
208
  - CODE_OF_CONDUCT.md
166
209
  - Gemfile
167
210
  - LICENSE.txt
168
211
  - README.md
169
212
  - Rakefile
213
+ - Rakefile.orig
170
214
  - bin/console
171
215
  - bin/setup
172
216
  - config.ru
173
217
  - exe/recorder
174
218
  - exe/weight-recorder
219
+ - hikis/README_en.hiki
220
+ - hikis/modify_db.hiki
221
+ - latexes/handout_pre.tex
175
222
  - lib/application.rb
176
223
  - lib/public/chartkick.js
177
224
  - lib/public/css/bootstrap-theme.css
@@ -205,6 +252,8 @@ files:
205
252
  - lib/views/layout.haml
206
253
  - lib/views/new.haml
207
254
  - weight-recorder.gemspec
255
+ - weight-recorder.wiki/README_en.md
256
+ - weight-recorder.wiki/modify_db.md
208
257
  homepage: ''
209
258
  licenses:
210
259
  - MIT