active_nutrition 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  module ActiveNutrition
4
- VERSION = "0.5.0"
4
+ VERSION = "0.5.1"
5
5
  USDA_VERSION = "24"
6
6
  end
@@ -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 "Done."
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.0
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: Updates, maintains, and provides systematic access to USDA nutrition
63
- data. See lib/examples to get started.
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: []