meal_planner 1.0.0 → 1.0.1
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.
- data/README +0 -12
- metadata +28 -28
data/README
CHANGED
|
@@ -7,15 +7,3 @@ A menu consists of any number of days that the user chooses. Each day can have a
|
|
|
7
7
|
When the user quits the program, the current menu is stored in a menu.txt file so that it can be printed and used in shopping, preparing meals, etc.
|
|
8
8
|
|
|
9
9
|
In a future release, each dish in a meal will be associated with a recipe so that a shopping list and recipe book can be created directly from the same source.
|
|
10
|
-
|
|
11
|
-
Known Issues:
|
|
12
|
-
|
|
13
|
-
Switching Lunches with themselves or with other meals doesn't work well. This may need a redesign of how switch is called.
|
|
14
|
-
|
|
15
|
-
If too many meals are replaced, the meal store eventually gets emptied and so meals are replaced with blanks
|
|
16
|
-
|
|
17
|
-
FIXED: If more than 4 meals are planned at a time, the regular expression gathering meal numbers is no longer valid
|
|
18
|
-
This was fixed by updating the regular expression so that it accepts any numbers as long as they are comma separated.
|
|
19
|
-
|
|
20
|
-
FIXED: For now, this makes it possible for invalid numbers to be entered. This is not acceptable and must be changed as it could result in loss of the entire list of planned meals because of a simple user error.
|
|
21
|
-
This was fixed by checking the gathered values to see if they are in the range covered by the planned_meals array indexes
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: meal_planner
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2014-02-25 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activesupport
|
|
@@ -59,30 +59,30 @@ dependencies:
|
|
|
59
59
|
- - ! '>='
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
61
|
version: 0.6.3
|
|
62
|
-
description: !
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
62
|
+
description: ! 'A program to ease and automate the planning of meals.
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
Each meal has a main dish and optionally side dishes as well. These are currently
|
|
66
|
+
loaded from the meals.csv file in the directory of the command line script. That
|
|
67
|
+
will be changed in a future release when they will be loaded from a database instead.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
A menu consists of any number of days that the user chooses. Each day can have any
|
|
71
|
+
meal as user wishes. When the program is run, the meals are loaded at random from
|
|
72
|
+
the meal source and presented to the user. The user then has the option to switch
|
|
73
|
+
out any that she doesn''t want on a particular day. If two meals are given, the
|
|
74
|
+
two meals are switched between each other. If only one meal is given, that meal
|
|
75
|
+
is switched with another from the meal source that isn''t already in the menu.
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
When the user quits the program, the current menu is stored in a menu.txt file so
|
|
79
|
+
that it can be printed and used in shopping, preparing meals, etc.
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
In a future release, each dish in a meal will be associated with a recipe so that
|
|
83
|
+
a shopping list and recipe book can be created directly from the same source.
|
|
84
|
+
|
|
85
|
+
'
|
|
86
86
|
email: sumsionp@gmail.com
|
|
87
87
|
executables:
|
|
88
88
|
- mealplan
|
|
@@ -105,7 +105,7 @@ files:
|
|
|
105
105
|
- spec/meal_planner/regex_test_spec.rb
|
|
106
106
|
- LICENSE
|
|
107
107
|
- README
|
|
108
|
-
homepage:
|
|
108
|
+
homepage: https://github.com/sumsionp/meal_planner
|
|
109
109
|
licenses: []
|
|
110
110
|
post_install_message:
|
|
111
111
|
rdoc_options: []
|
|
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
125
125
|
version: '0'
|
|
126
126
|
requirements: []
|
|
127
127
|
rubyforge_project:
|
|
128
|
-
rubygems_version: 1.8.
|
|
128
|
+
rubygems_version: 1.8.23
|
|
129
129
|
signing_key:
|
|
130
130
|
specification_version: 3
|
|
131
131
|
summary: Command line meal planning program
|