active_nutrition 0.5.0 → 0.5.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/lib/active_nutrition/version.rb +1 -1
- data/lib/active_nutrition.rb +2 -1
- metadata +3 -3
data/lib/active_nutrition.rb
CHANGED
@@ -20,6 +20,7 @@ require 'active_nutrition/objects'
|
|
20
20
|
require 'active_nutrition/utilities'
|
21
21
|
require 'active_nutrition/migrations/00000000001_migrations_table'
|
22
22
|
|
23
|
+
require 'active_nutrition/version'
|
23
24
|
require 'active_nutrition/railtie' if defined?(Rails)
|
24
25
|
|
25
26
|
include ActiveNutrition::Models
|
@@ -59,7 +60,7 @@ module ActiveNutrition
|
|
59
60
|
puts "Clearing tables..."
|
60
61
|
upd.reset_db
|
61
62
|
execute_update(upd)
|
62
|
-
puts "
|
63
|
+
puts "\nDone."
|
63
64
|
end
|
64
65
|
|
65
66
|
def search(terms = "", options = {})
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_nutrition
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -59,8 +59,8 @@ dependencies:
|
|
59
59
|
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 4.1.2
|
62
|
-
description:
|
63
|
-
|
62
|
+
description: An ActiveRecord-backed collection of models for storing and retrieving
|
63
|
+
nutritional information from the USDA's Nutrient Database.
|
64
64
|
email:
|
65
65
|
- camertron@gmail.com
|
66
66
|
executables: []
|