mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-24 07:48:26 -04:00
Merge remote-tracking branch 'upstream/dev' into cancanredirect
This commit is contained in:
commit
2fc6bfb77f
42 files changed
+1440
-474
No files matched your search
+4
-4
@@ -142,7 +142,7 @@ GEM
|
||||
activesupport (>= 3.1, < 4.1)
|
||||
haml (>= 3.1, < 4.1)
|
||||
railties (>= 3.1, < 4.1)
|
||||
hashie (3.3.1)
|
||||
hashie (3.3.2)
|
||||
highline (1.6.21)
|
||||
hike (1.2.3)
|
||||
httparty (0.11.0)
|
||||
@@ -194,8 +194,8 @@ GEM
|
||||
multi_json (1.10.1)
|
||||
multi_xml (0.5.5)
|
||||
netrc (0.8.0)
|
||||
newrelic_rpm (3.9.6.257)
|
||||
nokogiri (1.6.4.1)
|
||||
newrelic_rpm (3.9.7.266)
|
||||
nokogiri (1.6.5)
|
||||
mini_portile (~> 0.6.0)
|
||||
oauth (0.4.7)
|
||||
omniauth (1.2.2)
|
||||
@@ -249,7 +249,7 @@ GEM
|
||||
rdoc (~> 3.4)
|
||||
thor (>= 0.14.6, < 2.0)
|
||||
raindrops (0.13.0)
|
||||
rake (10.3.2)
|
||||
rake (10.4.0)
|
||||
rdoc (3.12.2)
|
||||
json (~> 1.4)
|
||||
ref (1.0.5)
|
||||
|
||||
@@ -159,6 +159,24 @@ p.stats {
|
||||
|
||||
.thumbnail {
|
||||
margin-bottom: 1.5em;
|
||||
|
||||
.scientific-name small, .crop-name a {
|
||||
display: inline-block;
|
||||
max-width: 100%;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
line-height: 1em;
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
||||
.crop-name a {
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.scientific-name small {
|
||||
margin-bottom: -2px;
|
||||
}
|
||||
}
|
||||
|
||||
li.crop-hierarchy {
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
class FollowsController < ApplicationController
|
||||
|
||||
# POST /follows
|
||||
def create
|
||||
@follow = current_member.follows.build(:followed_id => params[:followed_id])
|
||||
|
||||
if @follow.save
|
||||
flash[:notice] = "Followed #{ @follow.followed.login_name }"
|
||||
redirect_to :back
|
||||
else
|
||||
flash[:error] = "Already following or error while following."
|
||||
redirect_to :back
|
||||
end
|
||||
end
|
||||
|
||||
# DELETE /follows/1
|
||||
def destroy
|
||||
@follow = current_member.follows.find(params[:id])
|
||||
unfollowed_name = @follow.followed.login_name
|
||||
@follow.destroy
|
||||
|
||||
flash[:notice] = "Unfollowed #{ unfollowed_name }"
|
||||
redirect_to root_path
|
||||
end
|
||||
end
|
||||
@@ -23,7 +23,7 @@ class MembersController < ApplicationController
|
||||
# it requires a garden to be passed in @garden.
|
||||
# The new garden is not persisted unless Garden#save is called.
|
||||
@garden = Garden.new
|
||||
|
||||
|
||||
respond_to do |format|
|
||||
format.html # show.html.haml
|
||||
format.json { render :json => @member.to_json(:only => [:id, :login_name, :bio, :created_at, :slug, :location, :latitude, :longitude]) }
|
||||
@@ -34,4 +34,14 @@ class MembersController < ApplicationController
|
||||
end
|
||||
end
|
||||
|
||||
def view_follows
|
||||
@member = Member.confirmed.find(params[:login_name])
|
||||
@follows = @member.followed.paginate(:page => params[:page])
|
||||
end
|
||||
|
||||
def view_followers
|
||||
@member = Member.confirmed.find(params[:login_name])
|
||||
@followers = @member.followers.paginate(:page => params[:page])
|
||||
end
|
||||
|
||||
end
|
||||
@@ -6,6 +6,8 @@ class Ability
|
||||
|
||||
# everyone can do these things, even non-logged in
|
||||
can :read, :all
|
||||
can :view_follows, Member
|
||||
can :view_followers, Member
|
||||
|
||||
# except these, which don't make sense if you're not logged in
|
||||
cannot :read, Notification
|
||||
@@ -91,6 +93,11 @@ class Ability
|
||||
cannot :update, OrderItem, :order => { :member_id => member.id, :completed_at => nil }
|
||||
cannot :destroy, OrderItem, :order => { :member_id => member.id, :completed_at => nil }
|
||||
|
||||
# following/unfollowing permissions
|
||||
can :create, Follow do |f|
|
||||
!member.already_following?(f.followed) && f.followed_id != member.id
|
||||
end
|
||||
|
||||
if member.has_role? :admin
|
||||
|
||||
can :read, :all
|
||||
|
||||
+44
-19
@@ -122,12 +122,12 @@ class Crop < ActiveRecord::Base
|
||||
# used by db/seeds.rb and rake growstuff:import_crops
|
||||
# CSV fields:
|
||||
# - name (required)
|
||||
# - scientific name (optional, can be picked up from parent if it has one)
|
||||
# - en_wikipedia_url (required)
|
||||
# - parent (name, optional)
|
||||
# - scientific name (optional, can be picked up from parent if it has one)
|
||||
|
||||
def Crop.create_from_csv(row)
|
||||
name,scientific_name,en_wikipedia_url,parent = row
|
||||
name,en_wikipedia_url,parent,scientific_names,alternate_names = row
|
||||
|
||||
cropbot = Member.find_by_login_name('cropbot')
|
||||
raise "cropbot account not found: run rake db:seed" unless cropbot
|
||||
@@ -147,34 +147,59 @@ class Crop < ActiveRecord::Base
|
||||
end
|
||||
end
|
||||
|
||||
crop.add_scientific_name_from_csv(scientific_name)
|
||||
crop.add_scientific_names_from_csv(scientific_names)
|
||||
crop.add_alternate_names_from_csv(alternate_names)
|
||||
|
||||
end
|
||||
|
||||
def add_scientific_name_from_csv(scientific_name)
|
||||
name_to_add = nil
|
||||
if ! scientific_name.blank? # i.e. we actually passed one in, which isn't a given
|
||||
name_to_add = scientific_name
|
||||
elsif parent && parent.default_scientific_name
|
||||
name_to_add = parent.default_scientific_name
|
||||
def add_scientific_names_from_csv(scientific_names)
|
||||
names_to_add = []
|
||||
if ! scientific_names.blank? # i.e. we actually passed something in, which isn't a given
|
||||
names_to_add = scientific_names.split(%r{,\s*})
|
||||
elsif parent && parent.scientific_names.size > 0 # pick up from parent
|
||||
names_to_add = parent.scientific_names.map{|s| s.scientific_name}
|
||||
else
|
||||
logger.warn("Warning: no scientific name (not even on parent crop) for #{self}")
|
||||
end
|
||||
|
||||
if name_to_add
|
||||
if scientific_names.exists?(:scientific_name => name_to_add)
|
||||
logger.warn("Warning: skipping duplicate scientific name #{name_to_add} for #{self}")
|
||||
else
|
||||
cropbot = Member.find_by_login_name('cropbot')
|
||||
raise "cropbot account not found: run rake db:seed" unless cropbot
|
||||
if names_to_add.size > 0
|
||||
cropbot = Member.find_by_login_name('cropbot')
|
||||
raise "cropbot account not found: run rake db:seed" unless cropbot
|
||||
|
||||
scientific_names.create(
|
||||
:scientific_name => name_to_add,
|
||||
:creator_id => cropbot.id
|
||||
)
|
||||
names_to_add.each do |n|
|
||||
if self.scientific_names.exists?(:scientific_name => n)
|
||||
logger.warn("Warning: skipping duplicate scientific name #{n} for #{self}")
|
||||
else
|
||||
|
||||
self.scientific_names.create(
|
||||
:scientific_name => n,
|
||||
:creator_id => cropbot.id
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def add_alternate_names_from_csv(alternate_names)
|
||||
names_to_add = []
|
||||
if ! alternate_names.blank? # i.e. we actually passed something in, which isn't a given
|
||||
cropbot = Member.find_by_login_name('cropbot')
|
||||
raise "cropbot account not found: run rake db:seed" unless cropbot
|
||||
|
||||
names_to_add = alternate_names.split(%r{,\s*})
|
||||
|
||||
names_to_add.each do |n|
|
||||
if self.alternate_names.exists?(:name => n)
|
||||
logger.warn("Warning: skipping duplicate alternate name #{n} for #{self}")
|
||||
else
|
||||
self.alternate_names.create(
|
||||
:name => n,
|
||||
:creator_id => cropbot.id
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
# Crop.search(string)
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
class Follow < ActiveRecord::Base
|
||||
attr_accessible :followed_id, :follower_id
|
||||
belongs_to :follower, class_name: "Member"
|
||||
belongs_to :followed, class_name: "Member"
|
||||
validates :follower_id, uniqueness: { :scope => :followed_id }
|
||||
|
||||
after_create do
|
||||
Notification.create(
|
||||
:recipient_id => self.followed_id,
|
||||
:sender_id => self.follower_id,
|
||||
:subject => "#{self.follower.login_name} is now following you",
|
||||
:body => "#{self.follower.login_name} just followed you on #{ENV["GROWSTUFF_SITE_NAME"]}. "
|
||||
)
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
@@ -27,6 +27,12 @@ class Member < ActiveRecord::Base
|
||||
|
||||
has_many :photos
|
||||
|
||||
has_many :follows, :class_name => "Follow", :foreign_key => "follower_id"
|
||||
has_many :followed, :through => :follows
|
||||
|
||||
has_many :inverse_follows, :class_name => "Follow", :foreign_key => "followed_id"
|
||||
has_many :followers, :through => :inverse_follows, :source => :follower
|
||||
|
||||
default_scope order("lower(login_name) asc")
|
||||
scope :confirmed, where('confirmed_at IS NOT NULL')
|
||||
scope :located, where("location <> '' and latitude IS NOT NULL and longitude IS NOT NULL")
|
||||
@@ -255,4 +261,12 @@ class Member < ActiveRecord::Base
|
||||
})
|
||||
end
|
||||
|
||||
def already_following?(member)
|
||||
self.follows.exists?(:followed_id => member.id)
|
||||
end
|
||||
|
||||
def get_follow(member)
|
||||
self.follows.where(:followed_id => member.id).first if already_following?(member)
|
||||
end
|
||||
|
||||
end
|
||||
@@ -0,0 +1,16 @@
|
||||
.alternate_names
|
||||
%h4 Alternate names
|
||||
- if crop.alternate_names.empty?
|
||||
%p None known.
|
||||
- else
|
||||
%ul
|
||||
- crop.alternate_names.each do |an|
|
||||
%li
|
||||
= an.name
|
||||
- if can? :edit, an
|
||||
= link_to 'Edit', edit_alternate_name_path(an), { :class => 'btn btn-default btn-xs' }
|
||||
- if can? :destroy, an
|
||||
= link_to 'Delete', an, method: :delete, data: { confirm: 'Are you sure?' }, :class => 'btn btn-default btn-xs'
|
||||
%p
|
||||
- if can? :edit, crop
|
||||
= link_to 'Add', new_alternate_name_path( :crop_id => crop.id ), { :class => 'btn btn-default btn-xs' }
|
||||
@@ -1,5 +1,7 @@
|
||||
- if ! crop.harvests.empty?
|
||||
%p
|
||||
%strong Grown for:
|
||||
%p
|
||||
%strong Grown for:
|
||||
- if crop.harvests.empty?
|
||||
not known.
|
||||
- else
|
||||
- popular_plant_parts = crop.popular_plant_parts.sort_by {|s, freq| freq }.reverse
|
||||
!= popular_plant_parts.map {|p, freq| link_to(p, p) + " (#{freq})" }.join(", ")
|
||||
@@ -1,10 +1,15 @@
|
||||
- if crop.planted_from.length > 0
|
||||
%p
|
||||
%strong Plant from:
|
||||
%p
|
||||
%strong Plant from:
|
||||
- if crop.planted_from.empty?
|
||||
not known.
|
||||
- else
|
||||
- planted_from = crop.planted_from.sort_by {|s, freq| freq }.reverse
|
||||
= planted_from.map {|s, freq| "#{s} (#{freq})" }.join(", ")
|
||||
- if crop.sunniness.length > 0
|
||||
%p
|
||||
%strong Plant in:
|
||||
|
||||
%p
|
||||
%strong Plant in:
|
||||
- if crop.sunniness.empty?
|
||||
not known.
|
||||
- else
|
||||
- sunniness = crop.sunniness.sort_by {|s, freq| freq }.reverse
|
||||
= sunniness.map {|s, freq| "#{s} (#{freq})" }.join(", ")
|
||||
@@ -0,0 +1,16 @@
|
||||
.scientific_names
|
||||
%h4 Scientific names
|
||||
- if crop.scientific_names.empty?
|
||||
%p None known.
|
||||
- else
|
||||
%ul
|
||||
- crop.scientific_names.each do |sn|
|
||||
%li
|
||||
= sn.scientific_name
|
||||
- if can? :edit, sn
|
||||
= link_to 'Edit', edit_scientific_name_path(sn), { :class => 'btn btn-default btn-xs' }
|
||||
- if can? :destroy, sn
|
||||
= link_to 'Delete', sn, method: :delete, data: { confirm: 'Are you sure?' }, :class => 'btn btn-default btn-xs'
|
||||
%p
|
||||
- if can? :edit, crop
|
||||
= link_to 'Add', new_scientific_name_path( :crop_id => crop.id ), { :class => 'btn btn-default btn-xs' }
|
||||
@@ -1,11 +1,11 @@
|
||||
.thumbnail(style='height: 220px')
|
||||
- if crop
|
||||
= link_to image_tag((crop.default_photo ? crop.default_photo.thumbnail_url : 'placeholder_150.png'), :alt => crop.name, :class => 'img-rounded'), crop
|
||||
%p
|
||||
%p.crop-name
|
||||
= link_to crop.name, crop
|
||||
- if crop.scientific_names.count > 0
|
||||
%br/
|
||||
%i
|
||||
%i.scientific-name
|
||||
%small
|
||||
= crop.scientific_names.first.scientific_name
|
||||
%br/
|
||||
|
||||
@@ -4,7 +4,12 @@
|
||||
is a variety of
|
||||
= succeed "." do
|
||||
= link_to crop.parent, crop.parent
|
||||
- if crop.varieties.count > 0
|
||||
%h3
|
||||
Varieties:
|
||||
|
||||
- unless crop.varieties.empty?
|
||||
%p
|
||||
Varieties of #{crop.name}:
|
||||
|
||||
= render :partial => 'hierarchy', :locals => { :display_crops => [ crop ] }
|
||||
|
||||
- if ! crop.parent and crop.varieties.empty?
|
||||
%p None known.
|
||||
@@ -0,0 +1,11 @@
|
||||
- if can? :edit, crop or can? :destroy, crop
|
||||
%h4 Crop wrangling
|
||||
%p
|
||||
You are a
|
||||
= succeed "." do
|
||||
%strong CROP WRANGLER
|
||||
%p
|
||||
- if can? :edit, crop
|
||||
= link_to 'Edit crop', edit_crop_path(crop), { :class => 'btn btn-default btn-xs' }
|
||||
- if can? :destroy, crop
|
||||
= link_to 'Delete crop', crop, method: :delete, data: { confirm: 'Are you sure?' }, :class => 'btn btn-default btn-xs'
|
||||
@@ -47,52 +47,20 @@
|
||||
= will_paginate @posts, :params => {:anchor => "posts"}
|
||||
|
||||
.col-md-3
|
||||
- if can? :edit, @crop or can? :destroy, @crop
|
||||
%h4 Crop wrangling
|
||||
%p
|
||||
You are a
|
||||
= succeed "." do
|
||||
%strong CROP WRANGLER
|
||||
%p
|
||||
- if can? :edit, @crop
|
||||
= link_to 'Edit crop', edit_crop_path(@crop), { :class => 'btn btn-default btn-xs' }
|
||||
- if can? :destroy, @crop
|
||||
= link_to 'Delete crop', @crop, method: :delete, data: { confirm: 'Are you sure?' }, :class => 'btn btn-default btn-xs'
|
||||
|
||||
.scientific_names
|
||||
%h4 Scientific names
|
||||
%ul
|
||||
- @crop.scientific_names.each do |sn|
|
||||
%li
|
||||
= sn.scientific_name
|
||||
- if can? :edit, sn
|
||||
= link_to 'Edit', edit_scientific_name_path(sn), { :class => 'btn btn-default btn-xs' }
|
||||
- if can? :destroy, sn
|
||||
= link_to 'Delete', sn, method: :delete, data: { confirm: 'Are you sure?' }, :class => 'btn btn-default btn-xs'
|
||||
%p
|
||||
- if can? :edit, @crop
|
||||
= link_to 'Add', new_scientific_name_path( :crop_id => @crop.id ), { :class => 'btn btn-default btn-xs' }
|
||||
= render :partial => 'wrangle', :locals => { :crop => @crop }
|
||||
= render :partial => 'scientific_names', :locals => { :crop => @crop }
|
||||
= render :partial => 'alternate_names', :locals => { :crop => @crop }
|
||||
|
||||
.alternate_names
|
||||
%h4 Alternate names
|
||||
%ul
|
||||
- @crop.alternate_names.each do |an|
|
||||
%li
|
||||
= an.name
|
||||
- if can? :edit, an
|
||||
= link_to 'Edit', edit_alternate_name_path(an), { :class => 'btn btn-default btn-xs' }
|
||||
- if can? :destroy, an
|
||||
= link_to 'Delete', an, method: :delete, data: { confirm: 'Are you sure?' }, :class => 'btn btn-default btn-xs'
|
||||
%p
|
||||
- if can? :edit, @crop
|
||||
= link_to 'Add', new_alternate_name_path( :crop_id => @crop.id ), { :class => 'btn btn-default btn-xs' }
|
||||
|
||||
= render :partial => 'varieties', :locals => { :crop => @crop }
|
||||
%h4 Planting advice
|
||||
|
||||
= render :partial => 'grown_for', :locals => { :crop => @crop }
|
||||
|
||||
= render :partial => 'planting_advice', :locals => { :crop => @crop }
|
||||
|
||||
%h4 Varieties
|
||||
= render :partial => 'varieties', :locals => { :crop => @crop }
|
||||
|
||||
|
||||
%h4 More information
|
||||
%ul
|
||||
%li= link_to 'Wikipedia (English)', @crop.en_wikipedia_url
|
||||
|
||||
@@ -9,4 +9,3 @@
|
||||
= member.account_type
|
||||
account
|
||||
|
||||
|
||||
@@ -3,21 +3,34 @@
|
||||
%ul
|
||||
%li
|
||||
- if member.plantings.count > 0
|
||||
= link_to pluralize(member.plantings.count, "planting"), plantings_by_owner_path(:owner => member)
|
||||
= link_to pluralize(member.plantings.size, "planting"), plantings_by_owner_path(:owner => member)
|
||||
- else
|
||||
0 plantings
|
||||
%li
|
||||
- if member.harvests.count > 0
|
||||
= link_to pluralize(member.harvests.count, "harvest"), harvests_by_owner_path(:owner => member)
|
||||
= link_to pluralize(member.harvests.size, "harvest"), harvests_by_owner_path(:owner => member)
|
||||
- else
|
||||
0 harvests
|
||||
%li
|
||||
- if member.seeds.count > 0
|
||||
= link_to pluralize(member.seeds.count, "seeds"), seeds_by_owner_path(:owner => member)
|
||||
= link_to pluralize(member.seeds.size, "seeds"), seeds_by_owner_path(:owner => member)
|
||||
- else
|
||||
0 seeds
|
||||
%li
|
||||
- if member.posts.count > 0
|
||||
= link_to pluralize(member.posts.count, "post"), posts_by_author_path(:author => member)
|
||||
= link_to pluralize(member.posts.size, "post"), posts_by_author_path(:author => member)
|
||||
- else
|
||||
0 posts
|
||||
|
||||
%li
|
||||
- if member.followed.count > 0
|
||||
= link_to pluralize(member.followed.size, "follow"), member_follows_path(member)
|
||||
- else
|
||||
0 following
|
||||
|
||||
%li
|
||||
- if member.followers.count > 0
|
||||
= link_to pluralize(member.followers.size, "follower"), member_followers_path(member)
|
||||
- else
|
||||
0 followers
|
||||
|
||||
@@ -7,7 +7,12 @@
|
||||
= link_to "Upgrade account", shop_path, :class => 'btn btn-default'
|
||||
-if can? :create, Notification and current_member != @member
|
||||
=link_to 'Send message', new_notification_path(:recipient_id => @member.id), :class => 'btn btn-default'
|
||||
|
||||
- if can? :create, Follow and current_member != @member
|
||||
- if !current_member.already_following?(@member)
|
||||
= link_to 'Follow', follows_path(:followed_id => @member.id), :method => :post, :class => 'btn btn-default'
|
||||
- else
|
||||
- follow = current_member.get_follow(@member)
|
||||
= link_to 'Unfollow', follow_path(follow), :method => :delete, :class => 'btn btn-default'
|
||||
- content_for :member_rss_login_name, @member.login_name
|
||||
- content_for :member_rss_slug, @member.slug
|
||||
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
- content_for :title, "#{@member.login_name}'s followers"
|
||||
|
||||
%div.pagination
|
||||
= page_entries_info @followers, :model => "members"
|
||||
= will_paginate @followers
|
||||
|
||||
.row
|
||||
.col-md-12
|
||||
- @followers.each do |f|
|
||||
.col-md-4.three-across
|
||||
.thumbnail
|
||||
= render :partial => "members/thumbnail", :locals => { :member => f }
|
||||
|
||||
%div.pagination
|
||||
= page_entries_info @followers, :model => "members"
|
||||
= will_paginate @followers
|
||||
@@ -0,0 +1,16 @@
|
||||
- content_for :title, "#{@member.login_name}'s follows"
|
||||
|
||||
%div.pagination
|
||||
= page_entries_info @follows, :model => "members"
|
||||
= will_paginate @follows
|
||||
|
||||
.row
|
||||
.col-md-12
|
||||
- @follows.each do |f|
|
||||
.col-md-4.three-across
|
||||
.thumbnail
|
||||
= render :partial => "members/thumbnail", :locals => { :member => f }
|
||||
|
||||
%div.pagination
|
||||
= page_entries_info @follows, :model => "members"
|
||||
= will_paginate @follows
|
||||
+8
-1
@@ -4,7 +4,7 @@ Growstuff::Application.routes.draw do
|
||||
|
||||
devise_for :members, :controllers => { :registrations => "registrations", :passwords => "passwords" }
|
||||
|
||||
resources :members
|
||||
resources :members
|
||||
|
||||
resources :photos
|
||||
|
||||
@@ -41,6 +41,11 @@ Growstuff::Application.routes.draw do
|
||||
resources :forums
|
||||
resources :notifications
|
||||
|
||||
resources :follows, :only => [:create, :destroy]
|
||||
get '/members/:login_name/follows' => 'members#view_follows', :as => 'member_follows'
|
||||
get '/members/:login_name/followers' => 'members#view_followers', :as => 'member_followers'
|
||||
|
||||
|
||||
get '/places' => 'places#index'
|
||||
get '/places/search' => 'places#search', :as => 'search_places'
|
||||
get '/places/:place' => 'places#show', :as => 'place'
|
||||
@@ -79,4 +84,6 @@ Growstuff::Application.routes.draw do
|
||||
match '/admin/newsletter' => 'admin#newsletter', :as => :admin_newsletter
|
||||
match '/admin/:action' => 'admin#:action'
|
||||
|
||||
|
||||
|
||||
end
|
||||
@@ -0,0 +1,10 @@
|
||||
class CreateFollows < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :follows do |t|
|
||||
t.integer :member_id
|
||||
t.integer :followed_id
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
class ChangeFollowsMemberIdToFollowerId < ActiveRecord::Migration
|
||||
def change
|
||||
rename_column :follows, :member_id, :follower_id
|
||||
end
|
||||
end
|
||||
+9
-1
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended to check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(:version => 20141018111015) do
|
||||
ActiveRecord::Schema.define(:version => 20141119130555) do
|
||||
|
||||
create_table "account_types", :force => true do |t|
|
||||
t.string "name", :null => false
|
||||
@@ -80,6 +80,13 @@ ActiveRecord::Schema.define(:version => 20141018111015) do
|
||||
add_index "crops_posts", ["crop_id", "post_id"], :name => "index_crops_posts_on_crop_id_and_post_id"
|
||||
add_index "crops_posts", ["crop_id"], :name => "index_crops_posts_on_crop_id"
|
||||
|
||||
create_table "follows", :force => true do |t|
|
||||
t.integer "follower_id"
|
||||
t.integer "followed_id"
|
||||
t.datetime "created_at", :null => false
|
||||
t.datetime "updated_at", :null => false
|
||||
end
|
||||
|
||||
create_table "forums", :force => true do |t|
|
||||
t.string "name", :null => false
|
||||
t.text "description", :null => false
|
||||
@@ -262,6 +269,7 @@ ActiveRecord::Schema.define(:version => 20141018111015) do
|
||||
t.datetime "updated_at", :null => false
|
||||
t.string "slug"
|
||||
t.integer "forum_id"
|
||||
t.integer "parent_id"
|
||||
end
|
||||
|
||||
add_index "posts", ["created_at", "author_id"], :name => "index_updates_on_created_at_and_user_id"
|
||||
|
||||
@@ -0,0 +1,372 @@
|
||||
1,achiote,"aploppas, uruku"
|
||||
2,ackee,"achee, ackee apple, akee"
|
||||
267,acorn squash,"pepper squash, Des Moines squash"
|
||||
3,acuyo,"yerba santa, hierba santa, Mexican pepperleaf, tlanepa, anisillo, root beer plant, sacred pepper"
|
||||
345,adjuma pepper,"adjoema, ojemma, aji umba"
|
||||
346,ají dulce pepper,
|
||||
312,Aleppo pepper,
|
||||
4,alexanders,"alisanders, horse parsley, smyrnium"
|
||||
5,alfalfa,lucerne
|
||||
6,allspice,"Jamaica pepper, pepper, myrtle pepper, pimenta, pimento, English pepper, newspice"
|
||||
7,almond,
|
||||
254,aloe vera,
|
||||
8,amaranth,
|
||||
313,Anaheim pepper,New Mexico pepper
|
||||
9,anise,aniseed
|
||||
10,apple,
|
||||
11,apple mint,
|
||||
12,apricot,
|
||||
13,arrowroot,"maranta, West Indian arrowroot, obedience plant, Bermuda arrowroot, araru, ararao, hulankeeriya"
|
||||
14,artichoke,
|
||||
15,arugula,"salad rocket, rucola, rucoli, rugula, colewort, roquette"
|
||||
16,asparagus,
|
||||
17,avocado,
|
||||
271,bamboo,
|
||||
18,banana,
|
||||
314,banana pepper,"yellow wax pepper, banana chili"
|
||||
19,barley,
|
||||
20,basil,sweet basil
|
||||
21,bay,"bay laurel, sweet bay, bay, true laurel, Grecian laurel, laurel tree, laurel"
|
||||
22,bean,
|
||||
23,beet,"beetroot, table beet, garden beet, red beet, golden beet"
|
||||
24,bell pepper,"sweet pepper, pepper, capsicum"
|
||||
353,bhut jolokia pepper,"ghost pepper, ghost chili pepper, red naga chilli, ghost chilli"
|
||||
241,bilberry,"common bilberry, blue whortleberry, whortleberry, European blueberry, blaeberry, hurtleberry, huckleberry, winberry, fraughan"
|
||||
315,bird's eye chili,"bird's chili, Thai chili"
|
||||
340,bishop's crown pepper,"Christmas bell pepper, peri peri, joker's hat pepper"
|
||||
25,bitter melon,"bitter gourd, bitter squash, goya, karela"
|
||||
351,black habanero pepper,
|
||||
248,black mint,"southern cone marigold, stinking roger"
|
||||
371,black-eyed pea,black-eyed bean
|
||||
26,blackberry,
|
||||
27,blackcurrant,
|
||||
240,blueberry,
|
||||
236,bok choy,Chinese cabbage
|
||||
28,borage,starflower
|
||||
270,brassica,
|
||||
343,Brazilian starfish,
|
||||
29,breadfruit,
|
||||
30,broccoli,
|
||||
31,Brussels sprout,
|
||||
32,buckwheat,
|
||||
286,burdock,"greater burdock, gobō,edible burdock, lappa, beggar's buttons"
|
||||
265,butternut squash,butternut pumpkin
|
||||
33,cabbage,
|
||||
355,cachucha pepper,"Boabs Bonnet, Scotty Bons, Bonney peppers, Caribbean red peppers"
|
||||
273,cantaloupe,"cantelope, cantaloup, muskmelon, mushmelon, rockmelon, sweet melon, Persian melon, spanspek"
|
||||
34,cape gooseberry,"Cape gooseberry, Inca berry, Aztec berry, golden berry, giant ground cherry, African ground cherry, Peruvian groundcherry, Peruvian cherry, love-in-a-cage, physalis"
|
||||
35,caper,Flinders rose
|
||||
306,Capsicum,
|
||||
307,Capsicum annuum,
|
||||
308,Capsicum baccatum,
|
||||
309,Capsicum chinense,yellow lantern chili
|
||||
311,Capsicum frutescens,
|
||||
36,cardoon,"artichoke thistle, cardone, cardoni, carduni, cardi"
|
||||
37,carrot,
|
||||
316,cascabel chili,rattle chili
|
||||
38,cassava,"manioc, yuca, mandioca, tapioca-root, kappa, manioc root"
|
||||
39,catnip,"catswort, catmint"
|
||||
40,cauliflower,
|
||||
264,cavalo nero, borecole
|
||||
41,cayenne pepper,"Guinea spice, cow-horn pepper, aleva, bird pepper, red pepper"
|
||||
42,celeriac," turnip-rooted celery, knob celery, celery root"
|
||||
43,celery,
|
||||
374,celtuce,"stem lettuce, celery lettuce, asparagus lettuce, Chinese lettuce"
|
||||
44,chamomile,"camomile, German chamomile, Hungarian chamomile, wild chamomile, scented mayweed"
|
||||
244,chard,"Swiss chard, silverbeet, crab beet, bright lights, seakale beet, mangold"
|
||||
45,chaya,tree spinach
|
||||
46,chayote,"christophene, christophine, cho-cho, mirliton, merleton, chuchu, pear squash, vegetable pear, chouchoute, choko, ishkus, chowchow"
|
||||
47,cherry,
|
||||
48,chervil,"garden chervil, French parsley"
|
||||
49,chestnut,
|
||||
50,chickpeas,"garbanzo, garbanzo bean, ceci, cece, channa, Bengal gram"
|
||||
51,chickweed,stitchwort
|
||||
52,chicory,
|
||||
321,chile de árbol pepper,"bird's beak chile, rat's tail chile"
|
||||
318,chiltepin pepper,"chiltepin, chiltepe, chile tepin, turkey, bird’s eye, bird peppers"
|
||||
53,chinese cabbage,"napa cabbage, bok choy"
|
||||
54,chives,
|
||||
237,choy sum,"choi sum, Chinese flowering cabbage"
|
||||
319,Chungyang red pepper,
|
||||
55,cicely,sweet cicely
|
||||
56,citron,
|
||||
57,coconut,
|
||||
232,coffee,
|
||||
58,collard greens,Dalmatian cabbage
|
||||
59,comfrey,comphrey
|
||||
304,common mushroom,"button mushroom, white mushroom, cultivated mushroom, table mushroom, champignon mushroom, Swiss brown mushroom, Roman brown mushroom, Italian brown, Italian mushroom, cremini mushroom, crimini mushroom, brown cap mushroom, chestnut mushroom, portobello mushroom"
|
||||
60,coriander,"cilantro, Chinese parsley, dhania"
|
||||
61,corn,maize
|
||||
62,corn salad,"lamb's lettuce, fetticus, nut lettuce, field salad, rapunzel"
|
||||
372,cowpea,
|
||||
63,cress,"mustard and cress, garden pepper cress, pepperwort, pepper grass, poor man's pepper"
|
||||
320,cubanelle pepper,Cuban pepper
|
||||
261,cucamelon,"mouse melon, Mexican sour gherkin, cucamelon, Mexican miniature watermelon, Mexican sour cucumber"
|
||||
64,cucumber,
|
||||
65,cumin,jeera
|
||||
66,cumquat,kumquat
|
||||
67,curry leaf,
|
||||
68,curry plant,
|
||||
69,daikon,"daikon radish, mooli, white radish, winter radish, Oriental radish, long white radish, Japanese radish, Chinese white radish"
|
||||
70,dandelion,
|
||||
71,dates,
|
||||
347,datil pepper,
|
||||
72,desert lime,
|
||||
73,dill,
|
||||
74,dog rose,
|
||||
322,dundicut,
|
||||
75,durian,
|
||||
76,eggplant,"aubergine, melongene, garden egg, guinea squash"
|
||||
77,elderberry,"elder, black elder, European elder, European elderberry, European black elderberry"
|
||||
249,elecampane,"horse-heal, elfdock"
|
||||
78,endive,
|
||||
79,epazote,"wormseed, Jesuit's tea, Mexican tea"
|
||||
323,facing heaven pepper,
|
||||
348,fatalii pepper,
|
||||
80,fava bean,"broad bean, fava bean, field bean, bell bean, tic bean"
|
||||
81,feijoa,"pineapple guava, guavasteen"
|
||||
82,fennel,
|
||||
83,fenugreek,methi
|
||||
84,fiddlehead,fiddlehead greens
|
||||
85,fig,
|
||||
86,flax,linseed
|
||||
324,Fresno pepper,
|
||||
366,fuzzy kiwifruit,
|
||||
87,garlic,
|
||||
88,garlic chives,"Chinese chives, Oriental garlic, Chinese leek, kow choi, gau choy, nira"
|
||||
89,ginger,
|
||||
285,goji,wolfberry
|
||||
367,golden kiwifruit,
|
||||
364,Good King Henry,"poor-man's asparagus, perennial goosefoot, Lincolnshire spinach, markery"
|
||||
90,gooseberry,
|
||||
91,grapefruit,
|
||||
92,grapes,
|
||||
325,guajillo pepper,
|
||||
93,guava,
|
||||
326,Guntur Sannam chili,
|
||||
94,habanero,
|
||||
350,habanero pepper,
|
||||
358,Hainan yellow lantern,yellow emperor chili
|
||||
368,hardy kiwifruit,"kiwi berry, arctic kiwi, baby kiwi, dessert kiwi, grape kiwi, northern kiwi, cocktail kiwi"
|
||||
369,hazelnut,"cobnut, filbert nut"
|
||||
95,hibiscus,rose mallow
|
||||
275,honeydew melon,
|
||||
253,hops,
|
||||
96,horseradish,
|
||||
327,Hungarian wax pepper,
|
||||
283,ice plant,"highway ice plant, pigface, Hottentot fig, sour fig"
|
||||
328,Italian sweet pepper,
|
||||
329,jalapeño pepper,
|
||||
97,jasmine,
|
||||
98,Jerusalem artichoke,"sunroot, sunchoke, earth apple, topinambour"
|
||||
99,jicama,"Mexican yam, Mexican turnip"
|
||||
100,juniper berry,
|
||||
268,kabocha,"danhobak, fak thong, Japanese pumpkin, kabocha squash"
|
||||
101,kaffir lime,makrut lime
|
||||
102,kale,
|
||||
363,kambuzi,
|
||||
103,kava,
|
||||
365,kiwifruit,"kiwi, Chinese gooseberry"
|
||||
104,kohlrabi,"German turnip, turnip cabbage"
|
||||
250,lady's bedstraw,yellow bedstraw
|
||||
259,land cress,"American cress, bank cress, black wood cress, Belle Isle cress, Bermuda cress, early yellowrocket, early wintercress, scurvy cress, creasy greens, upland cress"
|
||||
105,lavender,
|
||||
106,leek,
|
||||
107,lemon,
|
||||
108,lemon balm,"balm, balm mint"
|
||||
341,lemon drop pepper,hot lemon pepper
|
||||
109,lemon myrtle,"lemon myrtle, lemon scented myrtle, lemon scented ironwood, sweet verbena tree, sweet verbena myrtle, lemon scented verbena, lemon scented backhousia"
|
||||
110,lemon verbena,lemon beebrush
|
||||
111,lemongrass,"barbed wire grass, silky heads, citronella grass, fever grass"
|
||||
112,lentils,
|
||||
113,lettuce,
|
||||
114,licorice,liquorice
|
||||
115,lillipilli,"riberry, small leaved lilly pilly, cherry satinash, cherry alder, clove lilli pilli"
|
||||
116,lima bean,butter bean
|
||||
117,lime,
|
||||
238,loquat,"Japanese medlar, Japanese plum, Chinese plum"
|
||||
118,lovage,
|
||||
119,luffa,loofah
|
||||
287,lupin,lupine
|
||||
120,lupin bean,lupini bean
|
||||
121,macadamia,"Queensland nut, bush nut, maroochi nut, bauple nut, Hawaii nut"
|
||||
349,Madame Jeanette pepper,Suriname yellow pepper
|
||||
122,Malabar spinach,"pui, vine spinach, red vine spinach, climbing spinach, creeping spinach, buffalo spinach, malabar spinach, ceylon spinach"
|
||||
361,malagueta pepper,"malaguetinha pepper, piri piri pepper"
|
||||
123,mandarin,"mandarin orange, mandarine"
|
||||
124,mango,
|
||||
125,maracuja,"passion fruit, passionfruit, purple granadilla"
|
||||
126,marjoram,"sweet marjoram, knotted marjoram"
|
||||
127,marshmallow,"marsh mallow, common marshmallow"
|
||||
128,medlar,common medlar
|
||||
331,medusa pepper,
|
||||
129,melon,
|
||||
252,Mexican tarragon,"yerbaniz, Mexican marigold, Mexican mint marigold, Mexican tarragon, Spanish tarragon, Texas tarragon"
|
||||
257,Meyer lemon,
|
||||
292,midgen berry,midyim
|
||||
276,milkweed,
|
||||
130,miner's lettuce,"spring beauty, winter purslane, Indian lettuce"
|
||||
131,mint,"spearmint, spear mint"
|
||||
235,mizuna,"shui cai, kyona, Japanese mustard, potherb mustard, Japanese greens, California peppergrass, spider mustard"
|
||||
279,moringa,
|
||||
332,mulato pepper,
|
||||
234,mulberry,
|
||||
132,mung bean,"moong bean, green gram, golden gram"
|
||||
284,murnong,yam daisy
|
||||
303,mushroom,
|
||||
274,muskmelon,
|
||||
133,mustard,
|
||||
375,myoga ginger,Japanese ginger
|
||||
298,naranjilla,lulo
|
||||
134,nasturtium,
|
||||
277,native ginger,
|
||||
290,nectarine,
|
||||
246,nettle,
|
||||
135,New Zealand spinach,
|
||||
136,nigella," fennel flower, nutmeg flower, black caraway, Roman coriander"
|
||||
137,oats,
|
||||
289,Okinawan spinach,edible gynura
|
||||
138,okra,"ladies' fingers, bhindi, bamia, gumbo"
|
||||
139,olive,
|
||||
302,olive herb,holy flax
|
||||
140,onion,"bulb onion, common onion"
|
||||
141,orange,sweet orange
|
||||
142,oregano,wild marjoram
|
||||
297,pandan,pandan leaves
|
||||
143,parsley,
|
||||
144,parsnip,
|
||||
317,pasilla pepper,"chile negro, chilaca"
|
||||
145,passion fruit,"passionfruit, purple granadilla"
|
||||
269,patty-pan squash,"scallop squash, sunburst squash, granny squash, custard marrow, custard squash, white squash, scallopini, schwoughksie squash"
|
||||
146,pea,
|
||||
147,peach,
|
||||
149,peanut,groundnut
|
||||
150,pear,
|
||||
151,pearl millet,"cattail millet, candle millet, dark millet"
|
||||
152,pecan,
|
||||
334,peperoncini pepper,
|
||||
342,peppadew pepper,
|
||||
153,peppermint,
|
||||
335,pequin pepper,piquin pepper
|
||||
291,perilla,
|
||||
263,perpetual spinach,spinach beet
|
||||
154,Persian lime,"shiraz limoo,Tahiti lime, Bearss lime"
|
||||
155,persimmon,
|
||||
333,peter pepper,
|
||||
156,pigeon pea,"kardis, gandule bean, tropical green pea, kadios, Congo pea, gungo pea, gunga pea, no-eye pea"
|
||||
157,pigface,angular sea-fig
|
||||
336,pimento pepper,"pimiento pepper, cherry pepper"
|
||||
158,pineapple,
|
||||
359,piri-piri pepper,"peri peri, pili pili, African bird's eye chili"
|
||||
159,pistachio,
|
||||
160,plantain,cooking plaintain
|
||||
161,plum,
|
||||
337,poblano pepper,"ancho pepper, ancho chile pepper"
|
||||
162,pomegranate,
|
||||
163,pomelo,"shaddock, pummelo, pommelo, lusho fruit"
|
||||
247,pot marigold,"ruddles, common marigold, garden marigold, English marigold, Scottish marigold"
|
||||
164,potato,
|
||||
165,prickly pear,
|
||||
166,pumpkin,
|
||||
167,purslane,"common purslane, verdolaga, pigweed, little hogweed, red root, pursley, moss rose"
|
||||
168,quandong,"desert quandong, native peach"
|
||||
169,quince,
|
||||
170,quinoa,
|
||||
171,radicchio,Italian chicory
|
||||
172,radish,
|
||||
262,rainbow chard,
|
||||
173,rapeseed,"rape, oilseed rape, rapa, rappi, rapaseed"
|
||||
243,rapini,"broccoli raab, broccoli rabe"
|
||||
174,raspberry,"red raspberry, European raspberry"
|
||||
352,red savino pepper,
|
||||
293,redcurrant,red currant
|
||||
175,rhubarb,
|
||||
176,rice,
|
||||
177,rice bean,ricebean
|
||||
310,rocoto,"rukutu, ruqutu, luqutu"
|
||||
370,romaine lettuce,cos lettuce
|
||||
178,rose,
|
||||
255,rose geranium,"rose geranium, old fashioned rose geranium, rose-scent geranium"
|
||||
179,roselle,"rosella, rosella fruit, carcade, "
|
||||
180,rosemary,anthos
|
||||
281,ruby saltbush,barrier saltbush
|
||||
181,rue,"common rue, herb-of-grace"
|
||||
182,runner bean,"scarlet runner bean, multiflora bean"
|
||||
183,rutabaga,"swede, turnip, yellow turnip, neep"
|
||||
184,rye,
|
||||
185,safflower,
|
||||
186,saffron,
|
||||
187,sage,"garden sage, common sage"
|
||||
188,salad burnet,"garden burnet, small burnet, burnet"
|
||||
189,salsify,
|
||||
190,samphire,"rock samphire, sea fennel"
|
||||
338,Santa Fe Grande pepper,"yellow hot chili pepper, guero chili pepper"
|
||||
191,sassafras,"white sassafras, red sassafras, silky sassafras"
|
||||
295,scallion,"green onion, spring onion, salad onion, table onion, green shallot, onion stick, long onion, baby onion, precious onion, yard onion, gibbon, syboe, scally onion"
|
||||
354,Scotch bonnet pepper,"Boabs bonnet, Scotty bons, bonney peppers, Caribbean red peppers"
|
||||
339,serrano pepper,
|
||||
192,sesame,
|
||||
193,shallot,
|
||||
305,shiitake,"Sawtooth oak mushroom, black forest mushroom, black mushroom, golden oak mushroom, oakwood mushroom"
|
||||
330,shishito pepper,
|
||||
362,siling labuyo pepper,
|
||||
373,snap pea,"sugar snap peas, mangetout"
|
||||
260,snow pea,mangetout
|
||||
194,sorghum,
|
||||
195,sorrel,"common sorrel, garden sorrel, spinach dock, narrow-leaved dock"
|
||||
196,soursop,Brazilian pawpaw
|
||||
197,soybean,soya bean
|
||||
266,spaghetti squash,"vegetable spaghetti, noodle squash, vegetable marrow, spaghetti marrow, squaghetti"
|
||||
198,spearmint,spear mint
|
||||
199,spinach,
|
||||
251,squash,
|
||||
200,star anise,"star aniseed, Chinese star anise"
|
||||
201,starfruit,carambola
|
||||
202,stevia,
|
||||
203,strawberry,garden strawberry
|
||||
204,summer savory,
|
||||
205,sunflower,
|
||||
206,sweet potato,kumara
|
||||
207,Swiss chard,chard
|
||||
360,Tabasco pepper,
|
||||
208,tamarillo,"tree tomato, tamamoro"
|
||||
209,tamarind,
|
||||
210,tangerine,
|
||||
211,tansy,"common tansy, bitter buttons, cow bitter, mugwort, golden buttons"
|
||||
212,taro,
|
||||
213,tarragon,
|
||||
242,tatsoi,"spinach mustard, spoon mustard, rosette bok choy"
|
||||
233,tea,
|
||||
214,thyme,
|
||||
215,tomatillo,"husk tomato, mexican husk tomato"
|
||||
216,tomato,
|
||||
357,Trinidad Moruga scorpion pepper,
|
||||
356,Trinidad scorpion butch T pepper,
|
||||
217,turmeric,
|
||||
218,turnip,white turnip
|
||||
219,urad bean,"urad dal, black gram, black lentil, white lentil, black matpe bean"
|
||||
220,valerian,"garden valerian, garden heliotrope, all-heal"
|
||||
221,vanilla,
|
||||
239,Vietnamese mint,"Vietnamese mint, Vietnamese cilantro, Cambodian mint, hot mint"
|
||||
222,walnut,
|
||||
223,wasabi,Japanese horseradish
|
||||
301,water caltrop,"water caltrop, water chestnut, buffalo nut, bat nut, devil pod, ling nut"
|
||||
300,water chestnut,Chinese water chestnut
|
||||
299,watercress,
|
||||
224,watermelon,
|
||||
282,wattle,"acacia, thorntree, whistling thorn"
|
||||
296,Welsh onion,"Japanese bunching onion, green onion, spring onion, scallion, escallion, salad onion"
|
||||
225,wheat,
|
||||
294,white currant,
|
||||
344,wild baccatum,
|
||||
278,wild ginger,"British Columbia wild ginger, western wild ginger, long-tailed wild ginger"
|
||||
376,wine cap mushroom,"burgundy mushroom, king stropharia, godzilla mushroom"
|
||||
280,winged bean,"Goa bean, asparagus pea, four-angled bean, four-cornered bean, Manila bean, Mauritius bean, winged pea"
|
||||
256,winter melon,"white gourd, winter gourd, tallow gourd, Chinese preserving melon, ash gourd"
|
||||
226,winter savory,
|
||||
258,wood sorrel,"yellow sorrel, pink sorrel"
|
||||
227,wormwood,"absinthium, absinthe wormwood, common wormwood, green ginger, grand wormwood"
|
||||
228,yam,
|
||||
229,yardlong bean,"yardlong bean, bora, bodi, long-podded cowpea, asparagus bean, pea bean, snake bean, Chinese long bean"
|
||||
230,yarrow,"common yarrow, gordaldo, nosebleed plant, old man's pepper, devil's nettle, sanguinary, milfoil, soldier's woundwort, thousand-leaf, thousand-seal"
|
||||
231,zucchini,"courgette, baby marrow"
|
||||
|
+233
-233
@@ -1,233 +1,233 @@
|
||||
achiote,Bixa orellana,https://en.wikipedia.org/wiki/Bixa_orellana
|
||||
ackee,Blighia sapida,https://en.wikipedia.org/wiki/Ackee
|
||||
acuyo,Piper auritum,https://en.wikipedia.org/wiki/Piper_auritum
|
||||
alexanders,Smyrnium olusatrum,https://en.wikipedia.org/wiki/Alexanders
|
||||
alfalfa,Medicago sativa,https://en.wikipedia.org/wiki/Alfalfa
|
||||
allspice,Pimenta dioica,https://en.wikipedia.org/wiki/Allspice
|
||||
almond,Prunus dulcis,https://en.wikipedia.org/wiki/Almond
|
||||
amaranth,Amaranthus spp.,https://en.wikipedia.org/wiki/Amaranth
|
||||
anise,Pimpinella anisum,https://en.wikipedia.org/wiki/Anise
|
||||
apple,Malus domestica,https://en.wikipedia.org/wiki/Apple
|
||||
apple mint,Mentha suaveolens,https://en.wikipedia.org/wiki/Apple_mint
|
||||
apricot,Prunus armeniaca,https://en.wikipedia.org/wiki/Apricot
|
||||
arrowroot,Maranta arundinacea,https://en.wikipedia.org/wiki/Maranta_arundinacea
|
||||
artichoke,Cynara cardunculus,https://en.wikipedia.org/wiki/Artichoke
|
||||
arugula,Eruca sativa,https://en.wikipedia.org/wiki/Arugula
|
||||
asparagus,Asparagus officinalis,https://en.wikipedia.org/wiki/Asparagus
|
||||
avocado,Persea americana,https://en.wikipedia.org/wiki/Avocado
|
||||
banana,Musa spp.,https://en.wikipedia.org/wiki/Banana
|
||||
barley,Hordeum vulgare,https://en.wikipedia.org/wiki/Barley
|
||||
basil,Ocimum basilicum,https://en.wikipedia.org/wiki/Basil
|
||||
bay,Laurus nobilis,https://en.wikipedia.org/wiki/Bay_Laurel
|
||||
bean,Phaseolus vulgaris,https://en.wikipedia.org/wiki/Common_bean
|
||||
beet,Beta vulgaris,https://en.wikipedia.org/wiki/Beet
|
||||
bell pepper,Capsicum annuum,https://en.wikipedia.org/wiki/Bell_pepper
|
||||
bitter melon,Momordica charantia,https://en.wikipedia.org/wiki/Bitter_melon
|
||||
blackberry,Rubus fruticosus,https://en.wikipedia.org/wiki/Blackberry
|
||||
blackcurrant,Ribes spp.,https://en.wikipedia.org/wiki/Ribes
|
||||
borage,Borago officinalis,https://en.wikipedia.org/wiki/Borage
|
||||
breadfruit,Artocarpus altilis,https://en.wikipedia.org/wiki/Breadfruit
|
||||
broccoli,Brassica oleracea,https://en.wikipedia.org/wiki/Broccoli
|
||||
Brussels sprout,Brassica oleracea,https://en.wikipedia.org/wiki/Brussels_sprout
|
||||
buckwheat,Fagopyrum esculentum,https://en.wikipedia.org/wiki/Buckwheat
|
||||
cabbage,Brassica oleracea,https://en.wikipedia.org/wiki/Cabbage
|
||||
cape gooseberry,Physalis peruviana,https://en.wikipedia.org/wiki/Physalis_peruviana
|
||||
caper,Capparis spinosa,https://en.wikipedia.org/wiki/Caper
|
||||
cardoon,Cynara cardunculus,https://en.wikipedia.org/wiki/Cardoon
|
||||
carrot,Daucus carota,https://en.wikipedia.org/wiki/Carrot
|
||||
cassava,Manihot esculenta,https://en.wikipedia.org/wiki/Cassava
|
||||
catnip,Nepeta cataria,https://en.wikipedia.org/wiki/Nepeta_cataria
|
||||
cauliflower,Brassica oleracea,https://en.wikipedia.org/wiki/Cauliflower
|
||||
cayenne pepper,Capsicum annuum,https://en.wikipedia.org/wiki/Cayenne_pepper
|
||||
celeriac,Apium graveolens var. rapaceum,https://en.wikipedia.org/wiki/Celeriac
|
||||
celery,Apium graveolens,https://en.wikipedia.org/wiki/Celery
|
||||
chamomile,Matricaria chamomila,https://en.wikipedia.org/wiki/Matricaria_recutita
|
||||
chaya,Cnidoscolus aconitifolius,https://en.wikipedia.org/wiki/Cnidoscolus_aconitifolius
|
||||
chayote,Sechium edule,https://en.wikipedia.org/wiki/Chayote
|
||||
cherry,Prunus avium,https://en.wikipedia.org/wiki/Cherry
|
||||
chervil,Anthriscus cerefolium,https://en.wikipedia.org/wiki/Chervil
|
||||
chestnut,Castanea spp.,https://en.wikipedia.org/wiki/Chestnut
|
||||
chickpeas,Cicer arietinum,https://en.wikipedia.org/wiki/Chickpea
|
||||
chickweed,Stellaria,https://en.wikipedia.org/wiki/Stellaria
|
||||
chicory,Cichorium intybus,https://en.wikipedia.org/wiki/Chicory
|
||||
chinese cabbage,Brassica rapa (pekinensis),https://en.wikipedia.org/wiki/Chinese_cabbage
|
||||
chives,Allium schoenoprasum,https://en.wikipedia.org/wiki/Chives
|
||||
cicely,Myrrhis odorata,https://en.wikipedia.org/wiki/Cicely
|
||||
citron,Citrus medica,https://en.wikipedia.org/wiki/Citron
|
||||
coconut,Cocos nucifera,https://en.wikipedia.org/wiki/Coconut
|
||||
collard greens,Brassica oleracea (acephala),https://en.wikipedia.org/wiki/Collard_greens
|
||||
comfrey,Symphytum officinale,https://en.wikipedia.org/wiki/Comfrey
|
||||
coriander,Coriandrum sativum,https://en.wikipedia.org/wiki/Coriander
|
||||
corn,Zea mays,https://en.wikipedia.org/wiki/Corn
|
||||
corn salad,Valerianella locusta,https://en.wikipedia.org/wiki/Corn_salad
|
||||
cress,Lepidium sativum,https://en.wikipedia.org/wiki/Garden_cress
|
||||
cucumber,Cucumis sativus,https://en.wikipedia.org/wiki/Cucumbers
|
||||
cumin,Cuminum cyminum,https://en.wikipedia.org/wiki/Cumin
|
||||
cumquat,Citrus japonica,https://en.wikipedia.org/wiki/Kumquat
|
||||
curry leaf,Murraya koenigii,https://en.wikipedia.org/wiki/Curry-leaf_Tree
|
||||
curry plant,Helichrysum italicum,https://en.wikipedia.org/wiki/Helichrysum_italicum
|
||||
daikon,Raphanus sativus Longipinnatus group,https://en.wikipedia.org/wiki/Daikon
|
||||
dandelion,Taraxacum officinale,https://en.wikipedia.org/wiki/Dandelion
|
||||
dates,Phoenix dactylifera,https://en.wikipedia.org/wiki/Date_%28fruit%29
|
||||
desert lime,Citrus glauca,https://en.wikipedia.org/wiki/Citrus_glauca
|
||||
dill,Anethum graveolens,https://en.wikipedia.org/wiki/Dill
|
||||
dog rose,Rosa canina,https://en.wikipedia.org/wiki/Rosa_canina
|
||||
durian,Durio,https://en.wikipedia.org/wiki/Durian
|
||||
eggplant,Solanum melongena,https://en.wikipedia.org/wiki/Eggplant
|
||||
elderberry,Sambucus nigra,https://en.wikipedia.org/wiki/Sambucus_nigra
|
||||
endive,Cichorium endivia,https://en.wikipedia.org/wiki/Endive
|
||||
epazote,Dysphania ambrosioides,https://en.wikipedia.org/wiki/Epazote
|
||||
fava bean,Vicia faba,https://en.wikipedia.org/wiki/Vicia_faba
|
||||
feijoa,Acca sellowiana,https://en.wikipedia.org/wiki/Acca_sellowiana
|
||||
fennel,Foeniculum vulgare,https://en.wikipedia.org/wiki/Fennel
|
||||
fenugreek,Trigonella foenum-graecum,https://en.wikipedia.org/wiki/Fenugreek
|
||||
fiddlehead,Pteridium aquilinum,https://en.wikipedia.org/wiki/Fiddlehead
|
||||
fig,Ficus carica,https://en.wikipedia.org/wiki/Common_fig
|
||||
flax,Linum usitatissimum,https://en.wikipedia.org/wiki/Flax
|
||||
garlic,Allium sativum,https://en.wikipedia.org/wiki/Garlic
|
||||
garlic chives,Allium tuberosum,https://en.wikipedia.org/wiki/Garlic_chives
|
||||
ginger,Zingiber officinale,https://en.wikipedia.org/wiki/Ginger
|
||||
gooseberry,Ribes uva-crispa,https://en.wikipedia.org/wiki/Gooseberry
|
||||
grapefruit,Citrus paradisi,https://en.wikipedia.org/wiki/Grapefruit
|
||||
grapes,Vitis spp.,https://en.wikipedia.org/wiki/Grape
|
||||
guava,Psidium spp.,https://en.wikipedia.org/wiki/Guava
|
||||
habanero,Capsicum chinense,https://en.wikipedia.org/wiki/Habanero
|
||||
hibiscus,Hibiscus,https://en.wikipedia.org/wiki/Hibiscus
|
||||
horseradish,Armoracia rusticana,https://en.wikipedia.org/wiki/Horseradish
|
||||
jasmine,Jasminum officinale,https://en.wikipedia.org/wiki/Jasmine
|
||||
Jerusalem artichoke,Helianthus tuberosus,https://en.wikipedia.org/wiki/Jerusalem_artichoke
|
||||
jicama,Pachyrhizus erosus,https://en.wikipedia.org/wiki/Jicama
|
||||
juniper berry,Juniperus communis,https://en.wikipedia.org/wiki/Juniper_berry
|
||||
kaffir lime,Citrus x hystrix,https://en.wikipedia.org/wiki/Kaffir_lime
|
||||
kale,Brassica oleracea (acephala),https://en.wikipedia.org/wiki/Kale
|
||||
kava,Piper methysticum,https://en.wikipedia.org/wiki/Kava
|
||||
kohlrabi,Brassica oleracea (gongylodes),https://en.wikipedia.org/wiki/Kohlrabi
|
||||
lavender,Lavandula spp.,https://en.wikipedia.org/wiki/Lavender
|
||||
leek,Allium ampeloprasum var. porrum,https://en.wikipedia.org/wiki/Leeks
|
||||
lemon,Citrus limon,https://en.wikipedia.org/wiki/Lemon
|
||||
lemon balm,Melissa officinalis,https://en.wikipedia.org/wiki/Lemon_balm
|
||||
lemon myrtle,Backhousia citriodora,https://en.wikipedia.org/wiki/Backhousia_citriodora
|
||||
lemon verbena,Aloysia citrodora,https://en.wikipedia.org/wiki/Aloysia_citrodora
|
||||
lemongrass,Cymbopogon spp.,https://en.wikipedia.org/wiki/Lemongrass
|
||||
lentils,Lens culinaris,https://en.wikipedia.org/wiki/Lentil
|
||||
lettuce,Lactuca sativa,https://en.wikipedia.org/wiki/Lettuce
|
||||
licorice,Glycyrrhiza glabra,https://en.wikipedia.org/wiki/Licorice
|
||||
lillipilli,Syzygium luehmannii,https://en.wikipedia.org/wiki/Syzygium_luehmannii
|
||||
lima bean,Phaseolus lunatus,https://en.wikipedia.org/wiki/Phaseolus_lunatus
|
||||
lime,Citrus spp.,https://en.wikipedia.org/wiki/Lime_%28fruit%29
|
||||
lovage,Levisticum officinale,https://en.wikipedia.org/wiki/Lovage
|
||||
luffa,Luffa cylindrica,https://en.wikipedia.org/wiki/Luffa
|
||||
lupin bean,Lupinus luteus,https://en.wikipedia.org/wiki/Lupin_bean
|
||||
macadamia,Macadamia,https://en.wikipedia.org/wiki/Macadamia
|
||||
Malabar spinach,Basella alba,https://en.wikipedia.org/wiki/Basella_alba
|
||||
mandarin,Citrus reticulata,https://en.wikipedia.org/wiki/Mandarin_orange
|
||||
mango,Mangifera spp.,https://en.wikipedia.org/wiki/Mango
|
||||
maracuja,Passiflora edulis,https://en.wikipedia.org/wiki/Maracuja
|
||||
marjoram,Origanum majorana,https://en.wikipedia.org/wiki/Marjoram
|
||||
marshmallow,Althaea officinalis,https://en.wikipedia.org/wiki/Althaea_officinalis
|
||||
medlar,Mespilus germanica,https://en.wikipedia.org/wiki/Mespilus_germanica
|
||||
melon,Cucumis melo,https://en.wikipedia.org/wiki/Melon
|
||||
miner's lettuce,Claytonia perfoliata,https://en.wikipedia.org/wiki/Claytonia_perfoliata
|
||||
mint,Mentha spicata,https://en.wikipedia.org/wiki/Mentha_spicata
|
||||
mung bean,Vigna radiata,https://en.wikipedia.org/wiki/Mung_bean
|
||||
mustard,Brassica juncea,https://en.wikipedia.org/wiki/Mustard_plant
|
||||
nasturtium,Tropaeloum spp.,https://en.wikipedia.org/wiki/Tropaeolum
|
||||
New Zealand spinach,Tetragonia tetragonioides,https://en.wikipedia.org/wiki/Tetragonia
|
||||
nigella,Nigella sativa,https://en.wikipedia.org/wiki/Nigella_sativa
|
||||
oats,Avena sativa,https://en.wikipedia.org/wiki/Oats
|
||||
okra,Abelmoschus esculentus,https://en.wikipedia.org/wiki/Okra
|
||||
olive,Olea europaea,https://en.wikipedia.org/wiki/Olive
|
||||
onion,Allium cepa,https://en.wikipedia.org/wiki/Onions
|
||||
orange,Citrus sinensis,https://en.wikipedia.org/wiki/Orange_%28fruit%29
|
||||
oregano,Origanum vulgare,https://en.wikipedia.org/wiki/Oregano
|
||||
parsley,Petroselinum hortense,https://en.wikipedia.org/wiki/Parsley
|
||||
parsnip,Pastinaca sativa,https://en.wikipedia.org/wiki/Parsnip
|
||||
passion fruit,Passiflora edulis,https://en.wikipedia.org/wiki/Passionfruit
|
||||
pea,Pisum sativum,https://en.wikipedia.org/wiki/Pea
|
||||
peach,Prunus persica,https://en.wikipedia.org/wiki/Peach
|
||||
peach,Prunus persica,https://en.wikipedia.org/wiki/Peach
|
||||
peanut,Arachis hypogaea,https://en.wikipedia.org/wiki/Peanut
|
||||
pear,Pyrus spp.,https://en.wikipedia.org/wiki/Pear
|
||||
pearl millet,Pennisetum glaucum,https://en.wikipedia.org/wiki/Pearl_millet
|
||||
pecan,Carya illinoinensis,https://en.wikipedia.org/wiki/Pecan
|
||||
peppermint,Mentha x piperita,https://en.wikipedia.org/wiki/Peppermint
|
||||
Persian lime,Citrus latifolia,https://en.wikipedia.org/wiki/Persian_lime
|
||||
persimmon,Diospyros spp.,https://en.wikipedia.org/wiki/Persimmon
|
||||
pigeon pea,Cajanus cajan,https://en.wikipedia.org/wiki/Pigeon_pea
|
||||
pigface,Carpobrotus glaucescens,https://en.wikipedia.org/wiki/Carpobrotus_glaucescens
|
||||
pineapple,Ananas comosus,https://en.wikipedia.org/wiki/Pineapple
|
||||
pistachio,Pistacia vera,https://en.wikipedia.org/wiki/Pistachio
|
||||
plantain,Musa spp.,https://en.wikipedia.org/wiki/Plantain
|
||||
plum,Prunus spp.,https://en.wikipedia.org/wiki/Plum
|
||||
pomegranate,Punica granatum,https://en.wikipedia.org/wiki/Pomegranate
|
||||
pomelo,Citrus maxima,https://en.wikipedia.org/wiki/Pomelo
|
||||
potato,Solanum tuberosum,https://en.wikipedia.org/wiki/Potatoes
|
||||
prickly pear,Opuntia,https://en.wikipedia.org/wiki/Opuntia
|
||||
pumpkin,Cucurbita spp.,https://en.wikipedia.org/wiki/Pumpkin
|
||||
purslane,Portulaca oleracea,https://en.wikipedia.org/wiki/Portulaca_oleracea
|
||||
quandong,Santalum acuminatum,https://en.wikipedia.org/wiki/Santalum_acuminatum
|
||||
quince,Cydonia oblonga,https://en.wikipedia.org/wiki/Quince
|
||||
quinoa,Chenopodium quinoa,https://en.wikipedia.org/wiki/Quinoa
|
||||
radicchio,Cichorium intybus,https://en.wikipedia.org/wiki/Radicchio
|
||||
radish,Raphanus sativus,https://en.wikipedia.org/wiki/Radish
|
||||
rapeseed,Brassica napus,https://en.wikipedia.org/wiki/Rapeseed
|
||||
raspberry,Rubus idaeus,https://en.wikipedia.org/wiki/Rubus_idaeus
|
||||
rhubarb,Rheum rhabarbarum,https://en.wikipedia.org/wiki/Rhubarb
|
||||
rice,Oryza sativa,https://en.wikipedia.org/wiki/Rice
|
||||
rice bean,Vigna umbellata,https://en.wikipedia.org/wiki/Ricebean
|
||||
rose,Rosa,https://en.wikipedia.org/wiki/Rose
|
||||
roselle,Hibiscus sabdariffa,https://en.wikipedia.org/wiki/Roselle_%28plant%29
|
||||
rosemary,Rosmarinus officinalis,https://en.wikipedia.org/wiki/Rosemary
|
||||
rue,Ruta graveolens,https://en.wikipedia.org/wiki/Common_Rue
|
||||
runner bean,Phaseolus coccineus,https://en.wikipedia.org/wiki/Runner_bean
|
||||
rutabaga,Brassica napus Napobrassica group,https://en.wikipedia.org/wiki/Rutabaga
|
||||
rye,Secale cereale,https://en.wikipedia.org/wiki/Rye
|
||||
safflower,Carthamus tinctorius,https://en.wikipedia.org/wiki/Safflower
|
||||
saffron,Crocus sativus,https://en.wikipedia.org/wiki/Saffron
|
||||
sage,Salvia officinalis,https://en.wikipedia.org/wiki/Salvia_officinalis
|
||||
salad burnet,Sanguisorba minor,https://en.wikipedia.org/wiki/Salad_burnet
|
||||
salsify,Tragopogon porrifolius,https://en.wikipedia.org/wiki/Salsify
|
||||
samphire,Crithmum maritimum,https://en.wikipedia.org/wiki/Rock_samphire
|
||||
sassafras,Sassafras albidum,https://en.wikipedia.org/wiki/Sassafras_albidum
|
||||
sesame,Sesamum indicum,https://en.wikipedia.org/wiki/Sesame
|
||||
shallot,Allium cepa var. aggregatum,https://en.wikipedia.org/wiki/Shallot
|
||||
sorghum,Sorghum spp.,https://en.wikipedia.org/wiki/Sorghum
|
||||
sorrel,Rumex acetosa,https://en.wikipedia.org/wiki/Sorrel
|
||||
soursop,Annona muricata,https://en.wikipedia.org/wiki/Soursop
|
||||
soybean,Glycine max,https://en.wikipedia.org/wiki/Soybean
|
||||
spearmint,Mentha spicata,https://en.wikipedia.org/wiki/Mentha_spicata
|
||||
spinach,Spinacia oleracea,https://en.wikipedia.org/wiki/Spinach
|
||||
star anise,Illicium verum,https://en.wikipedia.org/wiki/Star_anise
|
||||
starfruit,Averrhoa carambola,https://en.wikipedia.org/wiki/Starfruit
|
||||
stevia,Stevia rebaudiana,https://en.wikipedia.org/wiki/Stevia
|
||||
strawberry,Fragaria ananassa,https://en.wikipedia.org/wiki/Strawberry
|
||||
summer savory,Satureja hortensis,https://en.wikipedia.org/wiki/Summer_savory
|
||||
sunflowers,Helianthus annuus,https://en.wikipedia.org/wiki/Sunflower
|
||||
sweet potato,Ipomoea batatas,https://en.wikipedia.org/wiki/Sweet_potato
|
||||
Swiss chard,Beta vulgaris var. cicla,https://en.wikipedia.org/wiki/Swiss_chard
|
||||
tamarillo,Solanum betaceum ,https://en.wikipedia.org/wiki/Tamarillo
|
||||
tamarind,Tamarindus indica,https://en.wikipedia.org/wiki/Tamarind
|
||||
tangerine,Citrus tangerina,https://en.wikipedia.org/wiki/Tangerine
|
||||
tansy,Tanacetum vulgare,https://en.wikipedia.org/wiki/Tansy
|
||||
taro,Colocasia esculenta,https://en.wikipedia.org/wiki/Taro
|
||||
tarragon,Artemisia dracunculus,https://en.wikipedia.org/wiki/Tarragon
|
||||
thyme,Thymus mongolicus,https://en.wikipedia.org/wiki/Thyme
|
||||
tomatillo,Physalis philadelphica,https://en.wikipedia.org/wiki/Tomatillo
|
||||
tomato,Solanum lycopersicum,https://en.wikipedia.org/wiki/Tomato
|
||||
turmeric,Curcuma longa,https://en.wikipedia.org/wiki/Turmeric
|
||||
turnip,Brassica rapa var. rapa,https://en.wikipedia.org/wiki/Turnip
|
||||
urad bean,Vigna mungo,https://en.wikipedia.org/wiki/Urad_(bean)
|
||||
valerian,Valeriana officinalis,https://en.wikipedia.org/wiki/Valerian_%28plant%29
|
||||
vanilla,Vanilla planifolia,https://en.wikipedia.org/wiki/Vanilla
|
||||
walnut,Juglans spp.,https://en.wikipedia.org/wiki/Walnut
|
||||
wasabi,Wasabia japonica,https://en.wikipedia.org/wiki/Wasabi
|
||||
watermelon,Citrullus lanatus,https://en.wikipedia.org/wiki/Watermelon
|
||||
wheat,Triticum spp.,https://en.wikipedia.org/wiki/Wheat
|
||||
winter savory,Satureja montana,https://en.wikipedia.org/wiki/Winter_savory
|
||||
wormwood,Artemisia absinthium,https://en.wikipedia.org/wiki/Artemisia_absinthium
|
||||
yam,Dioscorea spp.,https://en.wikipedia.org/wiki/Yam_(vegetable)
|
||||
yardlong bean,Vigna unguiculata (sesquipedalis),https://en.wikipedia.org/wiki/Yardlong_bean
|
||||
yarrow,Achillea millefolium,https://en.wikipedia.org/wiki/Achillea_millefolium
|
||||
zucchini,Cucurbita pepo.,https://en.wikipedia.org/wiki/Zucchini
|
||||
coffee,Coffea,https://en.wikipedia.org/wiki/Coffee
|
||||
tea,Camellia sinensis,https://en.wikipedia.org/wiki/Tea
|
||||
achiote,https://en.wikipedia.org/wiki/Bixa_orellana,,Bixa orellana
|
||||
ackee,https://en.wikipedia.org/wiki/Ackee,,Blighia sapida
|
||||
acuyo,https://en.wikipedia.org/wiki/Piper_auritum,,Piper auritum
|
||||
alexanders,https://en.wikipedia.org/wiki/Alexanders,,Smyrnium olusatrum
|
||||
alfalfa,https://en.wikipedia.org/wiki/Alfalfa,,Medicago sativa
|
||||
allspice,https://en.wikipedia.org/wiki/Allspice,,Pimenta dioica
|
||||
almond,https://en.wikipedia.org/wiki/Almond,,Prunus dulcis
|
||||
amaranth,https://en.wikipedia.org/wiki/Amaranth,,Amaranthus spp.
|
||||
anise,https://en.wikipedia.org/wiki/Anise,,Pimpinella anisum
|
||||
apple,https://en.wikipedia.org/wiki/Apple,,Malus domestica
|
||||
apple mint,https://en.wikipedia.org/wiki/Apple_mint,,Mentha suaveolens
|
||||
apricot,https://en.wikipedia.org/wiki/Apricot,,Prunus armeniaca
|
||||
arrowroot,https://en.wikipedia.org/wiki/Maranta_arundinacea,,Maranta arundinacea
|
||||
artichoke,https://en.wikipedia.org/wiki/Artichoke,,Cynara cardunculus
|
||||
arugula,https://en.wikipedia.org/wiki/Arugula,,Eruca sativa
|
||||
asparagus,https://en.wikipedia.org/wiki/Asparagus,,Asparagus officinalis
|
||||
avocado,https://en.wikipedia.org/wiki/Avocado,,Persea americana
|
||||
banana,https://en.wikipedia.org/wiki/Banana,,Musa spp.
|
||||
barley,https://en.wikipedia.org/wiki/Barley,,Hordeum vulgare
|
||||
basil,https://en.wikipedia.org/wiki/Basil,,Ocimum basilicum
|
||||
bay,https://en.wikipedia.org/wiki/Bay_Laurel,,Laurus nobilis
|
||||
bean,https://en.wikipedia.org/wiki/Common_bean,,Phaseolus vulgaris
|
||||
beet,https://en.wikipedia.org/wiki/Beet,,Beta vulgaris
|
||||
bell pepper,https://en.wikipedia.org/wiki/Bell_pepper,,Capsicum annuum
|
||||
bitter melon,https://en.wikipedia.org/wiki/Bitter_melon,,Momordica charantia
|
||||
blackberry,https://en.wikipedia.org/wiki/Blackberry,,Rubus fruticosus
|
||||
blackcurrant,https://en.wikipedia.org/wiki/Ribes,,Ribes spp.
|
||||
borage,https://en.wikipedia.org/wiki/Borage,,Borago officinalis
|
||||
breadfruit,https://en.wikipedia.org/wiki/Breadfruit,,Artocarpus altilis
|
||||
broccoli,https://en.wikipedia.org/wiki/Broccoli,,Brassica oleracea
|
||||
Brussels sprout,https://en.wikipedia.org/wiki/Brussels_sprout,,Brassica oleracea
|
||||
buckwheat,https://en.wikipedia.org/wiki/Buckwheat,,Fagopyrum esculentum
|
||||
cabbage,https://en.wikipedia.org/wiki/Cabbage,,Brassica oleracea
|
||||
cape gooseberry,https://en.wikipedia.org/wiki/Physalis_peruviana,,Physalis peruviana
|
||||
caper,https://en.wikipedia.org/wiki/Caper,,Capparis spinosa
|
||||
cardoon,https://en.wikipedia.org/wiki/Cardoon,,Cynara cardunculus
|
||||
carrot,https://en.wikipedia.org/wiki/Carrot,,Daucus carota
|
||||
cassava,https://en.wikipedia.org/wiki/Cassava,,Manihot esculenta
|
||||
catnip,https://en.wikipedia.org/wiki/Nepeta_cataria,,Nepeta cataria
|
||||
cauliflower,https://en.wikipedia.org/wiki/Cauliflower,,Brassica oleracea
|
||||
cayenne pepper,https://en.wikipedia.org/wiki/Cayenne_pepper,,Capsicum annuum
|
||||
celeriac,https://en.wikipedia.org/wiki/Celeriac,,Apium graveolens var. rapaceum
|
||||
celery,https://en.wikipedia.org/wiki/Celery,,Apium graveolens
|
||||
chamomile,https://en.wikipedia.org/wiki/Matricaria_recutita,,Matricaria chamomila
|
||||
chaya,https://en.wikipedia.org/wiki/Cnidoscolus_aconitifolius,,Cnidoscolus aconitifolius
|
||||
chayote,https://en.wikipedia.org/wiki/Chayote,,Sechium edule
|
||||
cherry,https://en.wikipedia.org/wiki/Cherry,,Prunus avium
|
||||
chervil,https://en.wikipedia.org/wiki/Chervil,,Anthriscus cerefolium
|
||||
chestnut,https://en.wikipedia.org/wiki/Chestnut,,Castanea spp.
|
||||
chickpeas,https://en.wikipedia.org/wiki/Chickpea,,Cicer arietinum
|
||||
chickweed,https://en.wikipedia.org/wiki/Stellaria,,Stellaria
|
||||
chicory,https://en.wikipedia.org/wiki/Chicory,,Cichorium intybus
|
||||
chinese cabbage,https://en.wikipedia.org/wiki/Chinese_cabbage,,Brassica rapa (pekinensis)
|
||||
chives,https://en.wikipedia.org/wiki/Chives,,Allium schoenoprasum
|
||||
cicely,https://en.wikipedia.org/wiki/Cicely,,Myrrhis odorata
|
||||
citron,https://en.wikipedia.org/wiki/Citron,,Citrus medica
|
||||
coconut,https://en.wikipedia.org/wiki/Coconut,,Cocos nucifera
|
||||
collard greens,https://en.wikipedia.org/wiki/Collard_greens,,Brassica oleracea (acephala)
|
||||
comfrey,https://en.wikipedia.org/wiki/Comfrey,,Symphytum officinale
|
||||
coriander,https://en.wikipedia.org/wiki/Coriander,,Coriandrum sativum
|
||||
corn,https://en.wikipedia.org/wiki/Corn,,Zea mays
|
||||
corn salad,https://en.wikipedia.org/wiki/Corn_salad,,Valerianella locusta
|
||||
cress,https://en.wikipedia.org/wiki/Garden_cress,,Lepidium sativum
|
||||
cucumber,https://en.wikipedia.org/wiki/Cucumbers,,Cucumis sativus
|
||||
cumin,https://en.wikipedia.org/wiki/Cumin,,Cuminum cyminum
|
||||
cumquat,https://en.wikipedia.org/wiki/Kumquat,,Citrus japonica
|
||||
curry leaf,https://en.wikipedia.org/wiki/Curry-leaf_Tree,,Murraya koenigii
|
||||
curry plant,https://en.wikipedia.org/wiki/Helichrysum_italicum,,Helichrysum italicum
|
||||
daikon,https://en.wikipedia.org/wiki/Daikon,,Raphanus sativus Longipinnatus group
|
||||
dandelion,https://en.wikipedia.org/wiki/Dandelion,,Taraxacum officinale
|
||||
dates,https://en.wikipedia.org/wiki/Date_%28fruit%29,,Phoenix dactylifera
|
||||
desert lime,https://en.wikipedia.org/wiki/Citrus_glauca,,Citrus glauca
|
||||
dill,https://en.wikipedia.org/wiki/Dill,,Anethum graveolens
|
||||
dog rose,https://en.wikipedia.org/wiki/Rosa_canina,,Rosa canina
|
||||
durian,https://en.wikipedia.org/wiki/Durian,,Durio
|
||||
eggplant,https://en.wikipedia.org/wiki/Eggplant,,Solanum melongena
|
||||
elderberry,https://en.wikipedia.org/wiki/Sambucus_nigra,,Sambucus nigra
|
||||
endive,https://en.wikipedia.org/wiki/Endive,,Cichorium endivia
|
||||
epazote,https://en.wikipedia.org/wiki/Epazote,,Dysphania ambrosioides
|
||||
fava bean,https://en.wikipedia.org/wiki/Vicia_faba,,Vicia faba
|
||||
feijoa,https://en.wikipedia.org/wiki/Acca_sellowiana,,Acca sellowiana
|
||||
fennel,https://en.wikipedia.org/wiki/Fennel,,Foeniculum vulgare
|
||||
fenugreek,https://en.wikipedia.org/wiki/Fenugreek,,Trigonella foenum-graecum
|
||||
fiddlehead,https://en.wikipedia.org/wiki/Fiddlehead,,Pteridium aquilinum
|
||||
fig,https://en.wikipedia.org/wiki/Common_fig,,Ficus carica
|
||||
flax,https://en.wikipedia.org/wiki/Flax,,Linum usitatissimum
|
||||
garlic,https://en.wikipedia.org/wiki/Garlic,,Allium sativum
|
||||
garlic chives,https://en.wikipedia.org/wiki/Garlic_chives,,Allium tuberosum
|
||||
ginger,https://en.wikipedia.org/wiki/Ginger,,Zingiber officinale
|
||||
gooseberry,https://en.wikipedia.org/wiki/Gooseberry,,Ribes uva-crispa
|
||||
grapefruit,https://en.wikipedia.org/wiki/Grapefruit,,Citrus paradisi
|
||||
grapes,https://en.wikipedia.org/wiki/Grape,,Vitis spp.
|
||||
guava,https://en.wikipedia.org/wiki/Guava,,Psidium spp.
|
||||
habanero,https://en.wikipedia.org/wiki/Habanero,,Capsicum chinense
|
||||
hibiscus,https://en.wikipedia.org/wiki/Hibiscus,,Hibiscus
|
||||
horseradish,https://en.wikipedia.org/wiki/Horseradish,,Armoracia rusticana
|
||||
jasmine,https://en.wikipedia.org/wiki/Jasmine,,Jasminum officinale
|
||||
Jerusalem artichoke,https://en.wikipedia.org/wiki/Jerusalem_artichoke,,Helianthus tuberosus
|
||||
jicama,https://en.wikipedia.org/wiki/Jicama,,Pachyrhizus erosus
|
||||
juniper berry,https://en.wikipedia.org/wiki/Juniper_berry,,Juniperus communis
|
||||
kaffir lime,https://en.wikipedia.org/wiki/Kaffir_lime,,Citrus x hystrix
|
||||
kale,https://en.wikipedia.org/wiki/Kale,,Brassica oleracea (acephala)
|
||||
kava,https://en.wikipedia.org/wiki/Kava,,Piper methysticum
|
||||
kohlrabi,https://en.wikipedia.org/wiki/Kohlrabi,,Brassica oleracea (gongylodes)
|
||||
lavender,https://en.wikipedia.org/wiki/Lavender,,Lavandula spp.
|
||||
leek,https://en.wikipedia.org/wiki/Leeks,,Allium ampeloprasum var. porrum
|
||||
lemon,https://en.wikipedia.org/wiki/Lemon,,Citrus limon
|
||||
lemon balm,https://en.wikipedia.org/wiki/Lemon_balm,,Melissa officinalis
|
||||
lemon myrtle,https://en.wikipedia.org/wiki/Backhousia_citriodora,,Backhousia citriodora
|
||||
lemon verbena,https://en.wikipedia.org/wiki/Aloysia_citrodora,,Aloysia citrodora
|
||||
lemongrass,https://en.wikipedia.org/wiki/Lemongrass,,Cymbopogon spp.
|
||||
lentils,https://en.wikipedia.org/wiki/Lentil,,Lens culinaris
|
||||
lettuce,https://en.wikipedia.org/wiki/Lettuce,,Lactuca sativa
|
||||
licorice,https://en.wikipedia.org/wiki/Licorice,,Glycyrrhiza glabra
|
||||
lillipilli,https://en.wikipedia.org/wiki/Syzygium_luehmannii,,Syzygium luehmannii
|
||||
lima bean,https://en.wikipedia.org/wiki/Phaseolus_lunatus,,Phaseolus lunatus
|
||||
lime,https://en.wikipedia.org/wiki/Lime_%28fruit%29,,Citrus spp.
|
||||
lovage,https://en.wikipedia.org/wiki/Lovage,,Levisticum officinale
|
||||
luffa,https://en.wikipedia.org/wiki/Luffa,,Luffa cylindrica
|
||||
lupin bean,https://en.wikipedia.org/wiki/Lupin_bean,,Lupinus luteus
|
||||
macadamia,https://en.wikipedia.org/wiki/Macadamia,,Macadamia
|
||||
Malabar spinach,https://en.wikipedia.org/wiki/Basella_alba,,Basella alba
|
||||
mandarin,https://en.wikipedia.org/wiki/Mandarin_orange,,Citrus reticulata
|
||||
mango,https://en.wikipedia.org/wiki/Mango,,Mangifera spp.
|
||||
maracuja,https://en.wikipedia.org/wiki/Maracuja,,Passiflora edulis
|
||||
marjoram,https://en.wikipedia.org/wiki/Marjoram,,Origanum majorana
|
||||
marshmallow,https://en.wikipedia.org/wiki/Althaea_officinalis,,Althaea officinalis
|
||||
medlar,https://en.wikipedia.org/wiki/Mespilus_germanica,,Mespilus germanica
|
||||
melon,https://en.wikipedia.org/wiki/Melon,,Cucumis melo
|
||||
miner's lettuce,https://en.wikipedia.org/wiki/Claytonia_perfoliata,,Claytonia perfoliata
|
||||
mint,https://en.wikipedia.org/wiki/Mentha_spicata,,Mentha spicata
|
||||
mung bean,https://en.wikipedia.org/wiki/Mung_bean,,Vigna radiata
|
||||
mustard,https://en.wikipedia.org/wiki/Mustard_plant,,Brassica juncea
|
||||
nasturtium,https://en.wikipedia.org/wiki/Tropaeolum,,Tropaeloum spp.
|
||||
New Zealand spinach,https://en.wikipedia.org/wiki/Tetragonia,,Tetragonia tetragonioides
|
||||
nigella,https://en.wikipedia.org/wiki/Nigella_sativa,,Nigella sativa
|
||||
oats,https://en.wikipedia.org/wiki/Oats,,Avena sativa
|
||||
okra,https://en.wikipedia.org/wiki/Okra,,Abelmoschus esculentus
|
||||
olive,https://en.wikipedia.org/wiki/Olive,,Olea europaea
|
||||
onion,https://en.wikipedia.org/wiki/Onions,,Allium cepa
|
||||
orange,https://en.wikipedia.org/wiki/Orange_%28fruit%29,,Citrus sinensis
|
||||
oregano,https://en.wikipedia.org/wiki/Oregano,,Origanum vulgare
|
||||
parsley,https://en.wikipedia.org/wiki/Parsley,,Petroselinum hortense
|
||||
parsnip,https://en.wikipedia.org/wiki/Parsnip,,Pastinaca sativa
|
||||
passion fruit,https://en.wikipedia.org/wiki/Passionfruit,,Passiflora edulis
|
||||
pea,https://en.wikipedia.org/wiki/Pea,,Pisum sativum
|
||||
peach,https://en.wikipedia.org/wiki/Peach,,Prunus persica
|
||||
peach,https://en.wikipedia.org/wiki/Peach,,Prunus persica
|
||||
peanut,https://en.wikipedia.org/wiki/Peanut,,Arachis hypogaea
|
||||
pear,https://en.wikipedia.org/wiki/Pear,,Pyrus spp.
|
||||
pearl millet,https://en.wikipedia.org/wiki/Pearl_millet,,Pennisetum glaucum
|
||||
pecan,https://en.wikipedia.org/wiki/Pecan,,Carya illinoinensis
|
||||
peppermint,https://en.wikipedia.org/wiki/Peppermint,,Mentha x piperita
|
||||
Persian lime,https://en.wikipedia.org/wiki/Persian_lime,,Citrus latifolia
|
||||
persimmon,https://en.wikipedia.org/wiki/Persimmon,,Diospyros spp.
|
||||
pigeon pea,https://en.wikipedia.org/wiki/Pigeon_pea,,Cajanus cajan
|
||||
pigface,https://en.wikipedia.org/wiki/Carpobrotus_glaucescens,,Carpobrotus glaucescens
|
||||
pineapple,https://en.wikipedia.org/wiki/Pineapple,,Ananas comosus
|
||||
pistachio,https://en.wikipedia.org/wiki/Pistachio,,Pistacia vera
|
||||
plantain,https://en.wikipedia.org/wiki/Plantain,,Musa spp.
|
||||
plum,https://en.wikipedia.org/wiki/Plum,,Prunus spp.
|
||||
pomegranate,https://en.wikipedia.org/wiki/Pomegranate,,Punica granatum
|
||||
pomelo,https://en.wikipedia.org/wiki/Pomelo,,Citrus maxima
|
||||
potato,https://en.wikipedia.org/wiki/Potatoes,,Solanum tuberosum
|
||||
prickly pear,https://en.wikipedia.org/wiki/Opuntia,,Opuntia
|
||||
pumpkin,https://en.wikipedia.org/wiki/Pumpkin,,Cucurbita spp.
|
||||
purslane,https://en.wikipedia.org/wiki/Portulaca_oleracea,,Portulaca oleracea
|
||||
quandong,https://en.wikipedia.org/wiki/Santalum_acuminatum,,Santalum acuminatum
|
||||
quince,https://en.wikipedia.org/wiki/Quince,,Cydonia oblonga
|
||||
quinoa,https://en.wikipedia.org/wiki/Quinoa,,Chenopodium quinoa
|
||||
radicchio,https://en.wikipedia.org/wiki/Radicchio,,Cichorium intybus
|
||||
radish,https://en.wikipedia.org/wiki/Radish,,Raphanus sativus
|
||||
rapeseed,https://en.wikipedia.org/wiki/Rapeseed,,Brassica napus
|
||||
raspberry,https://en.wikipedia.org/wiki/Rubus_idaeus,,Rubus idaeus
|
||||
rhubarb,https://en.wikipedia.org/wiki/Rhubarb,,Rheum rhabarbarum
|
||||
rice,https://en.wikipedia.org/wiki/Rice,,Oryza sativa
|
||||
rice bean,https://en.wikipedia.org/wiki/Ricebean,,Vigna umbellata
|
||||
rose,https://en.wikipedia.org/wiki/Rose,,Rosa
|
||||
roselle,https://en.wikipedia.org/wiki/Roselle_%28plant%29,,Hibiscus sabdariffa
|
||||
rosemary,https://en.wikipedia.org/wiki/Rosemary,,Rosmarinus officinalis
|
||||
rue,https://en.wikipedia.org/wiki/Common_Rue,,Ruta graveolens
|
||||
runner bean,https://en.wikipedia.org/wiki/Runner_bean,,Phaseolus coccineus
|
||||
rutabaga,https://en.wikipedia.org/wiki/Rutabaga,,Brassica napus Napobrassica group
|
||||
rye,https://en.wikipedia.org/wiki/Rye,,Secale cereale
|
||||
safflower,https://en.wikipedia.org/wiki/Safflower,,Carthamus tinctorius
|
||||
saffron,https://en.wikipedia.org/wiki/Saffron,,Crocus sativus
|
||||
sage,https://en.wikipedia.org/wiki/Salvia_officinalis,,Salvia officinalis
|
||||
salad burnet,https://en.wikipedia.org/wiki/Salad_burnet,,Sanguisorba minor
|
||||
salsify,https://en.wikipedia.org/wiki/Salsify,,Tragopogon porrifolius
|
||||
samphire,https://en.wikipedia.org/wiki/Rock_samphire,,Crithmum maritimum
|
||||
sassafras,https://en.wikipedia.org/wiki/Sassafras_albidum,,Sassafras albidum
|
||||
sesame,https://en.wikipedia.org/wiki/Sesame,,Sesamum indicum
|
||||
shallot,https://en.wikipedia.org/wiki/Shallot,,Allium cepa var. aggregatum
|
||||
sorghum,https://en.wikipedia.org/wiki/Sorghum,,Sorghum spp.
|
||||
sorrel,https://en.wikipedia.org/wiki/Sorrel,,Rumex acetosa
|
||||
soursop,https://en.wikipedia.org/wiki/Soursop,,Annona muricata
|
||||
soybean,https://en.wikipedia.org/wiki/Soybean,,Glycine max
|
||||
spearmint,https://en.wikipedia.org/wiki/Mentha_spicata,,Mentha spicata
|
||||
spinach,https://en.wikipedia.org/wiki/Spinach,,Spinacia oleracea
|
||||
star anise,https://en.wikipedia.org/wiki/Star_anise,,Illicium verum
|
||||
starfruit,https://en.wikipedia.org/wiki/Starfruit,,Averrhoa carambola
|
||||
stevia,https://en.wikipedia.org/wiki/Stevia,,Stevia rebaudiana
|
||||
strawberry,https://en.wikipedia.org/wiki/Strawberry,,Fragaria ananassa
|
||||
summer savory,https://en.wikipedia.org/wiki/Summer_savory,,Satureja hortensis
|
||||
sunflowers,https://en.wikipedia.org/wiki/Sunflower,,Helianthus annuus
|
||||
sweet potato,https://en.wikipedia.org/wiki/Sweet_potato,,Ipomoea batatas
|
||||
Swiss chard,https://en.wikipedia.org/wiki/Swiss_chard,,Beta vulgaris var. cicla
|
||||
tamarillo,https://en.wikipedia.org/wiki/Tamarillo,,Solanum betaceum
|
||||
tamarind,https://en.wikipedia.org/wiki/Tamarind,,Tamarindus indica
|
||||
tangerine,https://en.wikipedia.org/wiki/Tangerine,,Citrus tangerina
|
||||
tansy,https://en.wikipedia.org/wiki/Tansy,,Tanacetum vulgare
|
||||
taro,https://en.wikipedia.org/wiki/Taro,,Colocasia esculenta
|
||||
tarragon,https://en.wikipedia.org/wiki/Tarragon,,Artemisia dracunculus
|
||||
thyme,https://en.wikipedia.org/wiki/Thyme,,Thymus mongolicus
|
||||
tomatillo,https://en.wikipedia.org/wiki/Tomatillo,,Physalis philadelphica
|
||||
tomato,https://en.wikipedia.org/wiki/Tomato,,Solanum lycopersicum
|
||||
turmeric,https://en.wikipedia.org/wiki/Turmeric,,Curcuma longa
|
||||
turnip,https://en.wikipedia.org/wiki/Turnip,,Brassica rapa var. rapa
|
||||
urad bean,https://en.wikipedia.org/wiki/Urad_(bean),,Vigna mungo
|
||||
valerian,https://en.wikipedia.org/wiki/Valerian_%28plant%29,,Valeriana officinalis
|
||||
vanilla,https://en.wikipedia.org/wiki/Vanilla,,Vanilla planifolia
|
||||
walnut,https://en.wikipedia.org/wiki/Walnut,,Juglans spp.
|
||||
wasabi,https://en.wikipedia.org/wiki/Wasabi,,Wasabia japonica
|
||||
watermelon,https://en.wikipedia.org/wiki/Watermelon,,Citrullus lanatus
|
||||
wheat,https://en.wikipedia.org/wiki/Wheat,,Triticum spp.
|
||||
winter savory,https://en.wikipedia.org/wiki/Winter_savory,,Satureja montana
|
||||
wormwood,https://en.wikipedia.org/wiki/Artemisia_absinthium,,Artemisia absinthium
|
||||
yam,https://en.wikipedia.org/wiki/Yam_(vegetable),,Dioscorea spp.
|
||||
yardlong bean,https://en.wikipedia.org/wiki/Yardlong_bean,,Vigna unguiculata (sesquipedalis)
|
||||
yarrow,https://en.wikipedia.org/wiki/Achillea_millefolium,,Achillea millefolium
|
||||
zucchini,https://en.wikipedia.org/wiki/Zucchini,,Cucurbita pepo.
|
||||
coffee,https://en.wikipedia.org/wiki/Coffee,,Coffea
|
||||
tea,https://en.wikipedia.org/wiki/Tea,,Camellia sinensis
|
||||
|
@@ -1,61 +1,61 @@
|
||||
Capsicum,Capsicum,http://en.wikipedia.org/wiki/Capsicum,,This is the top parent variety -- the entire family of all kinds of peppers
|
||||
Capsicum annuum,Capsicum annuum,http://en.wikipedia.org/wiki/Capsicum_annuum,Capsicum,
|
||||
Capsicum baccatum,Capsicum baccatum,http://en.wikipedia.org/wiki/Capsicum_baccatum,Capsicum,
|
||||
Capsicum chinense,Capsicum chinense,http://en.wikipedia.org/wiki/Capsicum_chinense,Capsicum,
|
||||
rocoto,Capsicum pubescens,http://en.wikipedia.org/wiki/Capsicum_pubescens,Capsicum,AKA locoto
|
||||
Capsicum frutescens,Capsicum frutescens,http://en.wikipedia.org/wiki/Capsicum_frutescens,Capsicum,
|
||||
Aleppo pepper,,http://en.wikipedia.org/wiki/Aleppo_pepper,Capsicum annuum,"AKA pul biber, halaby pepper"
|
||||
Anaheim pepper,,http://en.wikipedia.org/wiki/Anaheim_pepper,Capsicum annuum,"AKA New Mexico pepper, California chili, Magdalena chili"
|
||||
banana pepper,,http://en.wikipedia.org/wiki/Banana_pepper,Capsicum annuum,"AKA yellow wax pepper, banana chili"
|
||||
bell pepper,,http://en.wikipedia.org/wiki/Bell_pepper,Capsicum annuum,"AKA capsicum, sweet pepper, pepper, poivron, peperoni, piment"
|
||||
bird's eye chili,,http://en.wikipedia.org/wiki/Bird%27s_eye_chili,Capsicum annuum,"AKA Thai chili pepper, bird's chili"
|
||||
cascabel chili,,http://en.wikipedia.org/wiki/Cascabel_chili,Capsicum annuum,"AKA rattle chile, bola chile, chile bola"
|
||||
cayenne pepper,,http://en.wikipedia.org/wiki/Cayenne_pepper,Capsicum annuum,"AKA Guinea spice, cow-horn pepper, aleva, bird pepper, red pepper"
|
||||
pasilla pepper,,http://en.wikipedia.org/wiki/Pasilla,Capsicum annuum,"AKA chilaca pepper, chile negro"
|
||||
chiltepin pepper,Capsicum annuum var. glabriusculum,http://en.wikipedia.org/wiki/Capsicum_annuum_var._glabriusculum,Capsicum annuum,"AKA wild chiltepin, chiltepe, chile tepin, turkey pepper, bird’s eye pepper, bird pepper"
|
||||
Chungyang red pepper,,http://en.wikipedia.org/wiki/Chungyang_Red_Pepper,Capsicum annuum,
|
||||
cubanelle pepper,,http://en.wikipedia.org/wiki/Cubanelle,Capsicum annuum,
|
||||
chile de árbol pepper,,http://en.wikipedia.org/wiki/Chile_de_%C3%A1rbol,Capsicum annuum,"AKA bird's beak chile, rat's tail chile"
|
||||
dundicut,,http://en.wikipedia.org/wiki/Dundicut,Capsicum annuum,AKA lal mirch
|
||||
facing heaven pepper,Capsicum annuum var. conoides,http://en.wikipedia.org/wiki/Facing_heaven_pepper,Capsicum annuum,
|
||||
Fresno pepper,,http://en.wikipedia.org/wiki/Fresno_pepper,Capsicum annuum,
|
||||
guajillo pepper,,http://en.wikipedia.org/wiki/Guajillo_chili,Capsicum annuum,"AKA guajillo chili, guajillo chilli, chile guajillo"
|
||||
Guntur Sannam chili,Capsicum Annuum var. Longhum,http://en.wikipedia.org/wiki/Guntur_Sannam,Capsicum annuum,
|
||||
Hungarian wax pepper,,http://en.wikipedia.org/wiki/Hungarian_wax_pepper,Capsicum annuum,
|
||||
Italian sweet pepper,,http://en.wikipedia.org/wiki/Italian_sweet_pepper,Capsicum annuum,
|
||||
jalapeño pepper,,http://en.wikipedia.org/wiki/Jalape%C3%B1o,Capsicum annuum,
|
||||
shishito pepper,,http://en.wikipedia.org/wiki/Shishito,Capsicum annuum,
|
||||
medusa pepper,,http://en.wikipedia.org/wiki/Medusa_pepper,Capsicum annuum,
|
||||
mulato pepper,,http://en.wikipedia.org/wiki/Mulato_pepper,Capsicum annuum,
|
||||
peter pepper,Capsicum annuum var. annuum,http://en.wikipedia.org/wiki/Peter_pepper,Capsicum annuum,AKA chilli willy pepper
|
||||
peperoncini pepper,,http://en.wikipedia.org/wiki/Peperoncini,Capsicum annuum,"AKA friggitello, peperone"
|
||||
pequin pepper,"Capsicum annuum var. glabriusculum
|
||||
",http://en.wikipedia.org/wiki/Pequin_pepper,Capsicum annuum,AKA piquin
|
||||
pimento pepper,,http://en.wikipedia.org/wiki/Pimiento,Capsicum annuum,"AKA cherry pepper, pimiento pepper"
|
||||
poblano pepper,,http://en.wikipedia.org/wiki/Poblano,Capsicum annuum,
|
||||
Santa Fe Grande pepper,,http://en.wikipedia.org/wiki/Santa_Fe_Grande_pepper,Capsicum annuum,"AKA yellow hot chili pepper, guero chili pepper"
|
||||
serrano pepper,,http://en.wikipedia.org/wiki/Serrano_pepper,Capsicum annuum,
|
||||
bishop's crown pepper,Capsicum baccatum var. pendulum,http://en.wikipedia.org/wiki/Bishop%27s_Crown,Capsicum baccatum,AKA Christmas bell
|
||||
lemon drop pepper,,http://en.wikipedia.org/wiki/Lemon_drop_%28pepper%29,Capsicum baccatum,"AKA ají limon, kellu uchu, hot lemon"
|
||||
peppadew pepper,,http://en.wikipedia.org/wiki/Peppadew,Capsicum baccatum,
|
||||
Brazilian starfish,,http://en.wikipedia.org/wiki/Capsicum_baccatum,Capsicum baccatum,
|
||||
wild baccatum,,http://en.wikipedia.org/wiki/Capsicum_baccatum,Capsicum baccatum,
|
||||
adjuma pepper,,http://en.wikipedia.org/wiki/Adjuma,Capsicum chinense,"AKA adjoema, aji umba, ojemma"
|
||||
ají dulce pepper,,http://en.wikipedia.org/wiki/Aj%C3%AD_dulce,Capsicum chinense,"AKA ajicito, ajice, rubra, biquinho"
|
||||
datil pepper,,http://en.wikipedia.org/wiki/Datil_pepper,Capsicum chinense,
|
||||
fatalii pepper,,http://en.wikipedia.org/wiki/Fatalii,Capsicum chinense,
|
||||
Madame Jeanette pepper,,http://en.wikipedia.org/wiki/Madame_Jeanette,Capsicum chinense,
|
||||
habanero pepper,,http://en.wikipedia.org/wiki/Habanero,Capsicum chinense,AKA habañero
|
||||
black habanero pepper,,http://en.wikipedia.org/wiki/Habanero,Capsicum chinense,
|
||||
red savino pepper,,http://en.wikipedia.org/wiki/Red_Savina_pepper,Capsicum chinense,
|
||||
bhut jolokia pepper,,http://en.wikipedia.org/wiki/Bhut_Jolokia,Capsicum chinense,"AKA ghost pepper, ghost chili pepper, red naga chilli, ghost chilli, naga jolokia"
|
||||
Scotch bonnet pepper,,http://en.wikipedia.org/wiki/Scotch_bonnet_%28pepper%29,Capsicum chinense,"AKA boabs bonnet, Scotty bons, Bonney peppers, Caribbean red peppers, ball of fire"
|
||||
cachucha pepper,,http://en.wikipedia.org/wiki/Scotch_bonnet_%28pepper%29,Capsicum chinense,
|
||||
Trinidad scorpion butch T pepper,,http://en.wikipedia.org/wiki/Trinidad_Scorpion_Butch_T_pepper,Capsicum chinense,
|
||||
Trinidad Moruga scorpion pepper,,http://en.wikipedia.org/wiki/Trinidad_Moruga_Scorpion,Capsicum chinense,
|
||||
Hainan yellow lantern,,http://en.wikipedia.org/wiki/Hainan_Yellow_Lantern_Chili,Capsicum chinense,AKA yellow emperor chili
|
||||
piri-piri pepper,,http://en.wikipedia.org/wiki/Piri_piri,Capsicum frutescens,"AKA African bird's eye pepper, peri peri, pili pili"
|
||||
Tabasco pepper,,http://en.wikipedia.org/wiki/Tabasco_pepper,Capsicum frutescens,
|
||||
malagueta pepper,,http://en.wikipedia.org/wiki/Malagueta_pepper,Capsicum frutescens,
|
||||
siling labuyo pepper,,http://en.wikipedia.org/wiki/Siling_labuyo,Capsicum frutescens,"AKA chileng bundok, siling palay, pasitis, pasite, katumbal, kitikot, siling kolikot, silit-diablo, lada, rimorimo, paktin"
|
||||
kambuzi,,http://en.wikipedia.org/wiki/Kambuzi,Capsicum frutescens,
|
||||
Capsicum,http://en.wikipedia.org/wiki/Capsicum,,Capsicum
|
||||
Capsicum annuum,http://en.wikipedia.org/wiki/Capsicum_annuum,Capsicum,Capsicum annuum
|
||||
Capsicum baccatum,http://en.wikipedia.org/wiki/Capsicum_baccatum,Capsicum,Capsicum baccatum
|
||||
Capsicum chinense,http://en.wikipedia.org/wiki/Capsicum_chinense,Capsicum,Capsicum chinense
|
||||
rocoto,http://en.wikipedia.org/wiki/Capsicum_pubescens,Capsicum,Capsicum pubescens
|
||||
Capsicum frutescens,http://en.wikipedia.org/wiki/Capsicum_frutescens,Capsicum,Capsicum frutescens
|
||||
Aleppo pepper,http://en.wikipedia.org/wiki/Aleppo_pepper,Capsicum annuum,
|
||||
Anaheim pepper,http://en.wikipedia.org/wiki/Anaheim_pepper,Capsicum annuum,
|
||||
banana pepper,http://en.wikipedia.org/wiki/Banana_pepper,Capsicum annuum,
|
||||
bell pepper,http://en.wikipedia.org/wiki/Bell_pepper,Capsicum annuum,
|
||||
bird's eye chili,http://en.wikipedia.org/wiki/Bird%27s_eye_chili,Capsicum annuum,
|
||||
cascabel chili,http://en.wikipedia.org/wiki/Cascabel_chili,Capsicum annuum,
|
||||
cayenne pepper,http://en.wikipedia.org/wiki/Cayenne_pepper,Capsicum annuum,
|
||||
pasilla pepper,http://en.wikipedia.org/wiki/Pasilla,Capsicum annuum,
|
||||
chiltepin pepper,http://en.wikipedia.org/wiki/Capsicum_annuum_var._glabriusculum,Capsicum annuum,Capsicum annuum var. glabriusculum
|
||||
Chungyang red pepper,http://en.wikipedia.org/wiki/Chungyang_Red_Pepper,Capsicum annuum,
|
||||
cubanelle pepper,http://en.wikipedia.org/wiki/Cubanelle,Capsicum annuum,
|
||||
chile de árbol pepper,http://en.wikipedia.org/wiki/Chile_de_%C3%A1rbol,Capsicum annuum,
|
||||
dundicut,http://en.wikipedia.org/wiki/Dundicut,Capsicum annuum,
|
||||
facing heaven pepper,http://en.wikipedia.org/wiki/Facing_heaven_pepper,Capsicum annuum,Capsicum annuum var. conoides
|
||||
Fresno pepper,http://en.wikipedia.org/wiki/Fresno_pepper,Capsicum annuum,
|
||||
guajillo pepper,http://en.wikipedia.org/wiki/Guajillo_chili,Capsicum annuum,
|
||||
Guntur Sannam chili,http://en.wikipedia.org/wiki/Guntur_Sannam,Capsicum annuum,Capsicum Annuum var. Longhum
|
||||
Hungarian wax pepper,http://en.wikipedia.org/wiki/Hungarian_wax_pepper,Capsicum annuum,
|
||||
Italian sweet pepper,http://en.wikipedia.org/wiki/Italian_sweet_pepper,Capsicum annuum,
|
||||
jalapeño pepper,http://en.wikipedia.org/wiki/Jalape%C3%B1o,Capsicum annuum,
|
||||
shishito pepper,http://en.wikipedia.org/wiki/Shishito,Capsicum annuum,
|
||||
medusa pepper,http://en.wikipedia.org/wiki/Medusa_pepper,Capsicum annuum,
|
||||
mulato pepper,http://en.wikipedia.org/wiki/Mulato_pepper,Capsicum annuum,
|
||||
peter pepper,http://en.wikipedia.org/wiki/Peter_pepper,Capsicum annuum,Capsicum annuum var. annuum
|
||||
peperoncini pepper,http://en.wikipedia.org/wiki/Peperoncini,Capsicum annuum,
|
||||
pequin pepper,http://en.wikipedia.org/wiki/Pequin_pepper,Capsicum annuum,"Capsicum annuum var. glabriusculum
|
||||
"
|
||||
pimento pepper,http://en.wikipedia.org/wiki/Pimiento,Capsicum annuum,
|
||||
poblano pepper,http://en.wikipedia.org/wiki/Poblano,Capsicum annuum,
|
||||
Santa Fe Grande pepper,http://en.wikipedia.org/wiki/Santa_Fe_Grande_pepper,Capsicum annuum,
|
||||
serrano pepper,http://en.wikipedia.org/wiki/Serrano_pepper,Capsicum annuum,
|
||||
bishop's crown pepper,http://en.wikipedia.org/wiki/Bishop%27s_Crown,Capsicum baccatum,Capsicum baccatum var. pendulum
|
||||
lemon drop pepper,http://en.wikipedia.org/wiki/Lemon_drop_%28pepper%29,Capsicum baccatum,
|
||||
peppadew pepper,http://en.wikipedia.org/wiki/Peppadew,Capsicum baccatum,
|
||||
Brazilian starfish,http://en.wikipedia.org/wiki/Capsicum_baccatum,Capsicum baccatum,
|
||||
wild baccatum,http://en.wikipedia.org/wiki/Capsicum_baccatum,Capsicum baccatum,
|
||||
adjuma pepper,http://en.wikipedia.org/wiki/Adjuma,Capsicum chinense,
|
||||
ají dulce pepper,http://en.wikipedia.org/wiki/Aj%C3%AD_dulce,Capsicum chinense,
|
||||
datil pepper,http://en.wikipedia.org/wiki/Datil_pepper,Capsicum chinense,
|
||||
fatalii pepper,http://en.wikipedia.org/wiki/Fatalii,Capsicum chinense,
|
||||
Madame Jeanette pepper,http://en.wikipedia.org/wiki/Madame_Jeanette,Capsicum chinense,
|
||||
habanero pepper,http://en.wikipedia.org/wiki/Habanero,Capsicum chinense,
|
||||
black habanero pepper,http://en.wikipedia.org/wiki/Habanero,Capsicum chinense,
|
||||
red savino pepper,http://en.wikipedia.org/wiki/Red_Savina_pepper,Capsicum chinense,
|
||||
bhut jolokia pepper,http://en.wikipedia.org/wiki/Bhut_Jolokia,Capsicum chinense,
|
||||
Scotch bonnet pepper,http://en.wikipedia.org/wiki/Scotch_bonnet_%28pepper%29,Capsicum chinense,
|
||||
cachucha pepper,http://en.wikipedia.org/wiki/Scotch_bonnet_%28pepper%29,Capsicum chinense,
|
||||
Trinidad scorpion butch T pepper,http://en.wikipedia.org/wiki/Trinidad_Scorpion_Butch_T_pepper,Capsicum chinense,
|
||||
Trinidad Moruga scorpion pepper,http://en.wikipedia.org/wiki/Trinidad_Moruga_Scorpion,Capsicum chinense,
|
||||
Hainan yellow lantern,http://en.wikipedia.org/wiki/Hainan_Yellow_Lantern_Chili,Capsicum chinense,
|
||||
piri-piri pepper,http://en.wikipedia.org/wiki/Piri_piri,Capsicum frutescens,
|
||||
Tabasco pepper,http://en.wikipedia.org/wiki/Tabasco_pepper,Capsicum frutescens,
|
||||
malagueta pepper,http://en.wikipedia.org/wiki/Malagueta_pepper,Capsicum frutescens,
|
||||
siling labuyo pepper,http://en.wikipedia.org/wiki/Siling_labuyo,Capsicum frutescens,
|
||||
kambuzi,http://en.wikipedia.org/wiki/Kambuzi,Capsicum frutescens,
|
||||
|
@@ -1,41 +1,41 @@
|
||||
adoration tomato,,https://en.wikipedia.org/wiki/Adoration_%28Tomato%29,tomato
|
||||
alicante tomato,,https://en.wikipedia.org/wiki/Alicante_%28tomato%29,tomato
|
||||
Amish paste tomato,,http://en.wikipedia.org/wiki/Amish_Paste,tomato
|
||||
Aunt Ruby's German green tomato,,http://en.wikipedia.org/wiki/Aunt_Ruby%27s_German_Green,tomato
|
||||
azoychka tomato,,https://en.wikipedia.org/wiki/Azoychka%28Tomato%29,tomato
|
||||
beefsteak tomato,,https://en.wikipedia.org/wiki/Beefsteak_(tomato),tomato
|
||||
better boy tomato,,https://en.wikipedia.org/wiki/Better_Boy,tomato
|
||||
big rainbow tomato,,https://en.wikipedia.org/wiki/Big_Rainbow_(Tomato),tomato
|
||||
Blaby special tomato,,https://en.wikipedia.org/wiki/Blaby_Special_(Tomato),tomato
|
||||
black krim tomato,,https://en.wikipedia.org/wiki/Black_Krim_%28tomato%29,tomato
|
||||
brandywine tomato,,https://en.wikipedia.org/wiki/Brandywine_(tomato),tomato
|
||||
campari tomato,,https://en.wikipedia.org/wiki/Campari_tomato,tomato
|
||||
celebrity tomato,,http://en.wikipedia.org/wiki/Celebrity_(tomato),tomato
|
||||
Cherokee purple tomato,,https://en.wikipedia.org/wiki/Cherokee_purple,tomato
|
||||
cherry tomato,Solanum lycopersicum var. cerasiforme,http://en.wikipedia.org/wiki/Cherry_tomato,tomato
|
||||
currant tomato,solanum pimpinellifolium,https://en.wikipedia.org/wiki/Solanum_pimpinellifolium,
|
||||
early girl tomato,,https://en.wikipedia.org/wiki/Early_Girl,tomato
|
||||
Fourth of July tomato,,https://en.wikipedia.org/wiki/Fourth_of_July_(tomato_variety),tomato
|
||||
garden peach tomato,,https://en.wikipedia.org/wiki/Garden_peach_tomato,tomato
|
||||
grape tomato,,http://en.wikipedia.org/wiki/Grape_tomato,tomato
|
||||
green zebra tomato,,https://en.wikipedia.org/wiki/Green_Zebra,tomato
|
||||
Hanover tomato,,http://en.wikipedia.org/wiki/Hanover_tomato,tomato
|
||||
hillbilly tomato,,http://en.wikipedia.org/wiki/Hillbilly_(tomato),tomato
|
||||
jubilee tomato,,http://en.wikipedia.org/wiki/Jubilee_(tomato),tomato
|
||||
lillian's yellow tomato,,http://en.wikipedia.org/wiki/Lillian%27s_Yellow_(tomato),tomato
|
||||
marglobe tomato,,http://en.wikipedia.org/wiki/Marglobe,tomato
|
||||
Matt's wild cherry tomato,,http://en.wikipedia.org/wiki/Matt%27s_Wild_Cherry,cherry tomato
|
||||
mortgage lifter tomato,,http://en.wikipedia.org/wiki/Mortgage_Lifter,tomato
|
||||
Mr. Stripey tomato,,http://en.wikipedia.org/wiki/Mr._Stripey,tomato
|
||||
pear tomato,,http://en.wikipedia.org/wiki/Pear_tomato,tomato
|
||||
Roma tomato,,http://en.wikipedia.org/wiki/Roma_tomato,tomato
|
||||
San Marzano tomato,,http://en.wikipedia.org/wiki/San_Marzano_tomato,tomato
|
||||
Santorini tomato,,http://en.wikipedia.org/wiki/Santorini_(tomato),cherry tomato
|
||||
stupice tomato,,http://en.wikipedia.org/wiki/Super_Sweet_100,tomato
|
||||
super sweet 100 tomato,,http://en.wikipedia.org/wiki/Super_Sweet_100,cherry tomato
|
||||
three sisters tomato,,http://en.wikipedia.org/wiki/Three_Sisters_(tomato),tomato
|
||||
tigerella tomato,,http://en.wikipedia.org/wiki/Tigerella,tomato
|
||||
tomaccio tomato,,http://en.wikipedia.org/wiki/Tomaccio_(tomato),cherry tomato
|
||||
tomberry,,http://en.wikipedia.org/wiki/Tomberry,tomato
|
||||
traveller tomato,,http://en.wikipedia.org/wiki/Traveller_(tomato),tomato
|
||||
white queen tomato,,http://en.wikipedia.org/wiki/White_Queen_tomato,tomato
|
||||
adoration tomato,https://en.wikipedia.org/wiki/Adoration_%28Tomato%29,tomato,
|
||||
alicante tomato,https://en.wikipedia.org/wiki/Alicante_%28tomato%29,tomato,
|
||||
Amish paste tomato,http://en.wikipedia.org/wiki/Amish_Paste,tomato,
|
||||
Aunt Ruby's German green tomato,http://en.wikipedia.org/wiki/Aunt_Ruby%27s_German_Green,tomato,
|
||||
azoychka tomato,https://en.wikipedia.org/wiki/Azoychka%28Tomato%29,tomato,
|
||||
beefsteak tomato,https://en.wikipedia.org/wiki/Beefsteak_(tomato),tomato,
|
||||
better boy tomato,https://en.wikipedia.org/wiki/Better_Boy,tomato,
|
||||
big rainbow tomato,https://en.wikipedia.org/wiki/Big_Rainbow_(Tomato),tomato,
|
||||
Blaby special tomato,https://en.wikipedia.org/wiki/Blaby_Special_(Tomato),tomato,
|
||||
black krim tomato,https://en.wikipedia.org/wiki/Black_Krim_%28tomato%29,tomato,
|
||||
brandywine tomato,https://en.wikipedia.org/wiki/Brandywine_(tomato),tomato,
|
||||
campari tomato,https://en.wikipedia.org/wiki/Campari_tomato,tomato,
|
||||
celebrity tomato,http://en.wikipedia.org/wiki/Celebrity_(tomato),tomato,
|
||||
Cherokee purple tomato,https://en.wikipedia.org/wiki/Cherokee_purple,tomato,
|
||||
cherry tomato,http://en.wikipedia.org/wiki/Cherry_tomato,tomato,Solanum lycopersicum var. cerasiforme
|
||||
currant tomato,https://en.wikipedia.org/wiki/Solanum_pimpinellifolium,,solanum pimpinellifolium
|
||||
early girl tomato,https://en.wikipedia.org/wiki/Early_Girl,tomato,
|
||||
Fourth of July tomato,https://en.wikipedia.org/wiki/Fourth_of_July_(tomato_variety),tomato,
|
||||
garden peach tomato,https://en.wikipedia.org/wiki/Garden_peach_tomato,tomato,
|
||||
grape tomato,http://en.wikipedia.org/wiki/Grape_tomato,tomato,
|
||||
green zebra tomato,https://en.wikipedia.org/wiki/Green_Zebra,tomato,
|
||||
Hanover tomato,http://en.wikipedia.org/wiki/Hanover_tomato,tomato,
|
||||
hillbilly tomato,http://en.wikipedia.org/wiki/Hillbilly_(tomato),tomato,
|
||||
jubilee tomato,http://en.wikipedia.org/wiki/Jubilee_(tomato),tomato,
|
||||
lillian's yellow tomato,http://en.wikipedia.org/wiki/Lillian%27s_Yellow_(tomato),tomato,
|
||||
marglobe tomato,http://en.wikipedia.org/wiki/Marglobe,tomato,
|
||||
Matt's wild cherry tomato,http://en.wikipedia.org/wiki/Matt%27s_Wild_Cherry,cherry tomato,
|
||||
mortgage lifter tomato,http://en.wikipedia.org/wiki/Mortgage_Lifter,tomato,
|
||||
Mr. Stripey tomato,http://en.wikipedia.org/wiki/Mr._Stripey,tomato,
|
||||
pear tomato,http://en.wikipedia.org/wiki/Pear_tomato,tomato,
|
||||
Roma tomato,http://en.wikipedia.org/wiki/Roma_tomato,tomato,
|
||||
San Marzano tomato,http://en.wikipedia.org/wiki/San_Marzano_tomato,tomato,
|
||||
Santorini tomato,http://en.wikipedia.org/wiki/Santorini_(tomato),cherry tomato,
|
||||
stupice tomato,http://en.wikipedia.org/wiki/Super_Sweet_100,tomato,
|
||||
super sweet 100 tomato,http://en.wikipedia.org/wiki/Super_Sweet_100,cherry tomato,
|
||||
three sisters tomato,http://en.wikipedia.org/wiki/Three_Sisters_(tomato),tomato,
|
||||
tigerella tomato,http://en.wikipedia.org/wiki/Tigerella,tomato,
|
||||
tomaccio tomato,http://en.wikipedia.org/wiki/Tomaccio_(tomato),cherry tomato,
|
||||
tomberry,http://en.wikipedia.org/wiki/Tomberry,tomato,
|
||||
traveller tomato,http://en.wikipedia.org/wiki/Traveller_(tomato),tomato,
|
||||
white queen tomato,http://en.wikipedia.org/wiki/White_Queen_tomato,tomato,
|
||||
|
@@ -0,0 +1,63 @@
|
||||
salvia,http://en.wikipedia.org/wiki/Salvia,,Salvia,
|
||||
white sage,http://en.wikipedia.org/wiki/Salvia_apiana,salvia,Salvia apiana,"bee sage, sacred sage"
|
||||
pineapple sage,http://en.wikipedia.org/wiki/Salvia_elegans,salvia,Salvia elegans,tangerine sage
|
||||
Greek sage,http://en.wikipedia.org/wiki/Salvia_fruticosa,salvia,Salvia fruticosa,
|
||||
chia,http://en.wikipedia.org/wiki/Salvia_hispanica,salvia,Salvia hispanica,
|
||||
baby sage,http://en.wikipedia.org/wiki/Salvia_microphylla,salvia,Salvia microphylla,"Graham's sage, Blackcurrant sage"
|
||||
sage,http://en.wikipedia.org/wiki/Salvia_officinalis,salvia,Salvia officinalis,common sage
|
||||
rosemary,http://en.wikipedia.org/wiki/Rosemary,,Rosemarinus officinalis,
|
||||
catnip,http://en.wikipedia.org/wiki/Nepeta_cataria,,Nepeta cataria,catmint
|
||||
beebalm,http://en.wikipedia.org/wiki/Monarda,,Monarda,
|
||||
lemon beebalm,http://en.wikipedia.org/wiki/Monarda_citriodora,beebalm,Monarda citriodora,"purple horsemint, lemon mint"
|
||||
basil beebalm,http://en.wikipedia.org/wiki/Monarda_clinopodioides,beebalm,Monarda clinopodioides,
|
||||
crimson beebalm,http://en.wikipedia.org/wiki/Monarda_didyma,beebalm,Monarda didyma,"bergamot, scarlet beebalm, scarlet monarda, Oswego tea"
|
||||
wild bergamot,http://en.wikipedia.org/wiki/Monarda_fistulosa,beebalm,Monarda fistulosa,
|
||||
perilla,http://en.wikipedia.org/wiki/Perilla_frutescens,,Perilla frutescens,
|
||||
shiso,http://en.wikipedia.org/wiki/Shiso,perilla,Perilla frutescens var. crispa,
|
||||
winter savory,http://en.wikipedia.org/wiki/Winter_savory,,Satureja montana,
|
||||
summer savory,http://en.wikipedia.org/wiki/Summer_savory,,Satureja hortensis,
|
||||
yerba buena,http://en.wikipedia.org/wiki/Micromeria_douglasii,,Micromeria douglasii,
|
||||
anise hyssop,http://en.wikipedia.org/wiki/Agastache_foeniculum,,Agastache foeniculum,"blue giant hyssop, Fragrant giant hyssop, lavender giant hyssop"
|
||||
Korean mint,http://en.wikipedia.org/wiki/Agastache_rugosa,,Agastache rugosa,"Blue Licorice, Purple Giant Hyssop, Huo xiang, Indian Mint, Patchouli Herb, Wrinkled Giant Hyssop"
|
||||
oregano,http://en.wikipedia.org/wiki/Oregano,,Origanum vulgare,wild marjoram
|
||||
Amanum oregano,http://en.wikipedia.org/wiki/Origanum_amanum,oregano,Origanum amanum,
|
||||
marjoram,http://en.wikipedia.org/wiki/Marjoram,oregano,Origanum majorana,"sweet marjoram, knotted marjoram"
|
||||
Cretan oregano,http://en.wikipedia.org/wiki/Origanum_onites,oregano,Origanum onites,"Turkish oregano, pot marjoram, rίgani"
|
||||
round-leafed oregano,http://en.wikipedia.org/wiki/Origanum_rotundifolium,oregano,Origanum rotundifolium,
|
||||
za'atar,http://en.wikipedia.org/wiki/Origanum_syriacum,oregano,Origanum syriacum,"bible hyssop, Biblical-hyssop, Lebanese oregano, Syrian oregano"
|
||||
calamint,http://en.wikipedia.org/wiki/Calamint,,Calamintha,
|
||||
lesser calamint,http://en.wikipedia.org/wiki/Calamintha_nepeta,calamint,Calamintha nepeta,
|
||||
thyme,http://en.wikipedia.org/wiki/Thymus_%28plant%29,,Thymus,
|
||||
common thyme,http://en.wikipedia.org/wiki/Thymus_vulgaris,thyme,Thymus vulgaris,garden thyme
|
||||
caraway thyme,http://en.wikipedia.org/wiki/Thymus_herba-barona,thyme,Thymus herba-barona,
|
||||
cantueso,http://en.wikipedia.org/wiki/Thymus_moroderi,thyme,Thymus moroderi,
|
||||
lemon thyme,http://en.wikipedia.org/wiki/Thymus_citriodorus,thyme,Thymus citriodorus,Citrus thyme
|
||||
Hungarian thyme,http://en.wikipedia.org/wiki/Thymus_pannonicus,thyme,Thymus pannonicus,
|
||||
creeping thyme,http://en.wikipedia.org/wiki/Thymus_praecox,thyme,Thymus praecox,Mother-of-Thyme
|
||||
mint,http://en.wikipedia.org/wiki/Mentha,,Mentha,
|
||||
water mint,http://en.wikipedia.org/wiki/Mentha_aquatica,mint,Mentha aquatica,
|
||||
wild mint,http://en.wikipedia.org/wiki/Mentha_arvensis,mint,Mentha arvensis,"field mint, corn mint"
|
||||
Asian mint,http://en.wikipedia.org/wiki/Mentha_asiatica,mint,Mentha asiatica,
|
||||
Australian mint,http://en.wikipedia.org/wiki/Mentha_australis,mint,Mentha australis,
|
||||
American wild mint,http://en.wikipedia.org/wiki/Mentha_canadensis,mint,Mentha candensis,
|
||||
bergamot mint,http://en.wikipedia.org/wiki/Mentha_citrata,mint,Mentha citrata,
|
||||
wrinkled-leaf mint,http://en.wikipedia.org/wiki/Mentha_crispata,mint,Mentha crispata,
|
||||
peppermint,http://en.wikipedia.org/wiki/Peppermint,mint,Mentha piperita,
|
||||
pennyroyal,http://en.wikipedia.org/wiki/Mentha_pulegium,mint,Mentha pulegium,"squaw mint, mosquito plant, pudding grass"
|
||||
Corsican mint,http://en.wikipedia.org/wiki/Mentha_requienii,mint,Mentha requienii,
|
||||
garden mint,http://en.wikipedia.org/wiki/Mentha_sachalinensis,mint,Mentha sachalinensis,
|
||||
spearmint,http://en.wikipedia.org/wiki/Spearmint,mint,Mentha spicata,
|
||||
apple mint,http://en.wikipedia.org/wiki/Mentha_suaveolens,mint,Mentha suaveolens,
|
||||
lemon balm,http://en.wikipedia.org/wiki/Melissa_officinalis,,Melissa officinalis,
|
||||
basil,http://en.wikipedia.org/wiki/Basil,,Ocimum basilicum,
|
||||
Thai basil,http://en.wikipedia.org/wiki/Thai_basil,basil,Ocimum basilicum var. thyrsiflora,
|
||||
spicy globe basil,http://en.wikipedia.org/wiki/Spicy_globe_basil,basil,Ocimum basilicum,
|
||||
cinnamon basil,http://en.wikipedia.org/wiki/Cinnamon_basil,basil,Ocimum basilicum,"Vietnamese basil, Saigon basil"
|
||||
dark opal basil,http://en.wikipedia.org/wiki/Dark_opal_basil,basil,Ocimum basilicum,
|
||||
red rubin basil,http://en.wikipedia.org/wiki/Red_rubin_basil,basil,Ocimum basilicum,
|
||||
lemon basil,http://en.wikipedia.org/wiki/Lemon_basil,basil,Ocimum × citriodorum,"Thai lemon basil, Lao basil"
|
||||
holy basil,http://en.wikipedia.org/wiki/Holy_basil,,Ocimum tenuiflorum,tulasī
|
||||
lavender,http://en.wikipedia.org/wiki/Lavandula,,Lavandula,
|
||||
English lavender,http://en.wikipedia.org/wiki/Lavandula_angustifolia,lavender,Lavandula angustifolia,"common lavender, true lavender, narrow-leaved lavender"
|
||||
French lavender,http://en.wikipedia.org/wiki/Lavandula_stoechas,lavender,Lavandula stoechas,"French lavender, Spanish lavender, topped lavender"
|
||||
hyssop,http://en.wikipedia.org/wiki/Hyssop,,Hyssopus officinalis,
|
||||
|
@@ -0,0 +1,36 @@
|
||||
Brassica,https://en.wikipedia.org/wiki/Brassicas,,Brassica,
|
||||
Ethiopian mustard,https://en.wikipedia.org/wiki/Brassica_carinata,Brassica,Brassica carinata,Abyssinian mustard
|
||||
elongated mustard,https://en.wikipedia.org/wiki/Brassica_elongata,Brassica,Brassica elongata,
|
||||
Mediterranean cabbage,https://en.wikipedia.org/wiki/Brassica_fruticulosa,Brassica,Brassica fruticulosa,twiggy turnip
|
||||
mustard greens,https://en.wikipedia.org/wiki/Brassica_juncea,Brassica,Brassica juncea,"Indian mustard, Chinese mustard, leaf mustard, kai choi"
|
||||
rutabaga,https://en.wikipedia.org/wiki/Rutabaga,Brassica,"Brassica napobrassica, Brassica napus var. napobrassica","swede, Swedish turnip, turnip, yellow turnip, neep"
|
||||
rapeseed,https://en.wikipedia.org/wiki/Brassica_napus,Brassica,Brassica napus," rape, oilseed rape, rapa, rappi, rapaseed, canola"
|
||||
tatsoi,https://en.wikipedia.org/wiki/Brassica_narinosa,Brassica,"Brassica narinosa, Brassica rapa var. rosularis","spinach mustard, spoon mustard, Rosette bok choy"
|
||||
black mustard,https://en.wikipedia.org/wiki/Brassica_nigra,Brassica,Brassica nigra,
|
||||
Brassica oleracea,https://en.wikipedia.org/wiki/Brassica_oleracea,Brassica,Brassica oleracea,wild mustard
|
||||
Brassica oleracea Acephela group,https://en.wikipedia.org/wiki/Acephala_group,Brassica oleracea,Brassica oleracea Acephala group,
|
||||
kai lan,https://en.wikipedia.org/wiki/Kai-lan,Brassica,Brassica oleracea Alboglabra Group,"Chinese broccoli, Chinese kale, gai-lan"
|
||||
Brassica rapa,https://en.wikipedia.org/wiki/Brassica_rapa,Brassica,Brassica rapa,
|
||||
kohlrabi,https://en.wikipedia.org/wiki/Kohlrabi,Brassica oleracea,Brassica oleracea,"German turnip, German cabbage, turnip cabbage"
|
||||
spring greens,https://en.wikipedia.org/wiki/Spring_greens,Brassica oleracea,Brassica oleracea Acephala group,
|
||||
cauliflower,https://en.wikipedia.org/wiki/Cauliflower,Brassica oleracea,Brassica oleracea Botrytis group,
|
||||
Romanesco broccoli,https://en.wikipedia.org/wiki/Romanesco_broccoli,Brassica oleracea,Brassica oleracea Botrytis group,"Romanesque cauliflower, Romanesco"
|
||||
broccoflower,https://en.wikipedia.org/wiki/Broccoflower,Brassica oleracea,Brassica oleracea Botrytis group,
|
||||
cabbage,https://en.wikipedia.org/wiki/Cabbage,Brassica oleracea,Brassica oleracea Capitata group,
|
||||
red cabbage,https://en.wikipedia.org/wiki/Red_cabbage,Brassica oleracea,Brassica oleracea Capitata group,"purple cabbage, red kraut, blue kraut"
|
||||
broccolini,https://en.wikipedia.org/wiki/Broccolini,Brassica oleracea,Brassica oleracea Capitata group x Alboglabra Group,"tenderstem broccoli, broccolette"
|
||||
Brussels sprouts,https://en.wikipedia.org/wiki/Brussels_sprouts,Brassica oleracea,Brassica oleracea Gemmifera group,
|
||||
broccoli,https://en.wikipedia.org/wiki/Broccoli,Brassica oleracea,Brassica oleracea Italica group,
|
||||
Savoy cabbage,https://en.wikipedia.org/wiki/Savoy_cabbage,Brassica oleracea,Brassica oleracea var. sabauda,
|
||||
January king cabbage,https://en.wikipedia.org/wiki/January_King_Cabbage,Brassica oleracea,Brassica oleracea var. sabauda,
|
||||
collard greens,https://en.wikipedia.org/wiki/Collard_greens,Brassica oleracea Acephela group,Brassica oleracea Acephala group,Dalmatian cabbage
|
||||
kale,https://en.wikipedia.org/wiki/Kale,Brassica oleracea Acephela group,Brassica oleracea Acephala group,borecole
|
||||
mizuna,https://en.wikipedia.org/wiki/Mizuna,Brassica rapa,"Brassica rapa nipposinica, Brassica juncea var. japonica","shui cai, kyona, Japanese mustard, potherb mustard, Japanese greens, California peppergrass, spider mustard"
|
||||
napa cabbage,https://en.wikipedia.org/wiki/Napa_cabbage,Brassica rapa,Brassica rapa subsp. pekinensis,"nappa cabbage, celery cabbage"
|
||||
rapini,https://en.wikipedia.org/wiki/Rapini,Brassica rapa,"Brassica rapa subspecies rapa, Brassica rapa ruvo, Brassica rapa rapifera
|
||||
","broccoli raab, broccoli rabe"
|
||||
turnip,https://en.wikipedia.org/wiki/Turnip,Brassica rapa,Brassica rapa subspecies rapa,white turnip
|
||||
choy sum,https://en.wikipedia.org/wiki/Choy_sum,Brassica rapa,"Brassica rapa var. parachinensis, Brassica chinensis var. parachinensis
|
||||
","choi sum, Chinese flowering cabbage"
|
||||
komatsuna,https://en.wikipedia.org/wiki/Komatsuna,Brassica rapa,Brassica rapa var. perviridis,Japanese mustard spinach
|
||||
lacinato kale,https://en.wikipedia.org/wiki/Lacinato_kale,kale,Brassica oleracea Acephala group,"Tuscan kale, Tuscan cabbage, Italian kale, Dinosaur kale, cavolo nero, cavalo nero, black kale, flat back cabbage, palm tree kale, black Tuscan palm"
|
||||
|
@@ -0,0 +1,15 @@
|
||||
greenstripe amaranth,https://en.wikipedia.org/wiki/Amaranthus_acanthochiton,Amaranthus,Amaranthus Acanthochiton,greenstripe
|
||||
slender amaranth,https://en.wikipedia.org/wiki/Amaranthus_viridis,amaranth,Amaranthus viridis,"green amaranth, callaloo"
|
||||
purple amaranth,https://en.wikipedia.org/wiki/Amaranthus_blitum,amaranth,Amaranthus blitum,
|
||||
red amaranth,https://en.wikipedia.org/wiki/Amaranthus_caudatus,amaranth,Amaranthus caudatus,"blood amaranth, purple amaranth, prince's feather, Mexican grain amaranth"
|
||||
red spinach,https://en.wikipedia.org/wiki/Amaranthus_dubius,amaranth,Amaranthus dubius,"Chinese spinach, spleen amaranth"
|
||||
smooth amaranth,https://en.wikipedia.org/wiki/Amaranthus_hybridus,amaranth,Amaranthus hybridus,"smooth pigweed, red amaranth, slim amaranth"
|
||||
Prince of Wales,https://en.wikipedia.org/wiki/Amaranthus_hypochondriacus,amaranth,Amaranthus hypochondriacus," Prince-of-Wales feather, Prince's feather"
|
||||
Palmer's amaranth,https://en.wikipedia.org/wiki/Amaranthus_palmeri,amaranth,Amaranthus palmeri,"Palmer amaranth, Palmer's pigweed, carelessweed"
|
||||
red-root amaranth,https://en.wikipedia.org/wiki/Amaranthus_retroflexus,amaranth,Amaranthus retroflexus,"redroot pigweed, red-rooted pigweed, common amaranth, pigweed amaranth, common tumbleweed"
|
||||
spiny amaranth,https://en.wikipedia.org/wiki/Amaranthus_spinosus,amaranth,Amaranthus spinosus,"prickly amaranth, thorny amaranth"
|
||||
stinging nettle,https://en.wikipedia.org/wiki/Urtica_dioica,nettle,Urtica dioica,
|
||||
tree nettle,https://en.wikipedia.org/wiki/Urtica_incisa,nettle,Urtica incisa,"scrub nettle, stinging nettle"
|
||||
Thunberg's amaranth,https://en.wikipedia.org/wiki/Amaranthus_thunbergii,amaranth,Amaranthus thunbergii,
|
||||
tampala,https://en.wikipedia.org/wiki/Amaranthus_tricolor,amaranth,Amaranthus tricolor,"callaloo, Joseph's coat "
|
||||
star anise,http://en.wikipedia.org/wiki/Illicium_verum,,Illicium verum,"star aniseed, Chinese star anise"
|
||||
|
@@ -0,0 +1,20 @@
|
||||
squash,http://en.wikipedia.org/wiki/Squash_(plant),,Cucurbita,,
|
||||
Japanese pie pumpkin,http://en.wikipedia.org/wiki/Cucurbita_argyrosperma,squash,Cucurbita argyosperma,"pipian, cushaw pumpkin",
|
||||
seven year melon,http://en.wikipedia.org/wiki/Cucurbita_ficifolia,squash,Cucurbita ficifolia,"Siam pumpkin, Thai marrow, thin Vermicelli pumpkin, Asian pumpkin, fig-leaf gourd, pie melon, Malabar gourd, Malabar squash, shark's-fin gourd, shark's-fin melon",
|
||||
Cucurbita maxima,http://en.wikipedia.org/wiki/Cucurbita_maxima,squash,Cucurbita maxima,,
|
||||
Cucurbita moschata,http://en.wikipedia.org/wiki/Cucurbita_moschata,squash,Cucurbita moschata,,
|
||||
Cucurbita pepo,http://en.wikipedia.org/wiki/Cucurbita_pepo,squash,Cucurbita pepo,,
|
||||
kabocha,http://en.wikipedia.org/wiki/Kabocha,Cucurbita maxima,Cucurbita maxima,"kabocha squash, Japanese pumpkin",
|
||||
turban squash,http://en.wikipedia.org/wiki/Turban_squash,Cucurbita maxima,Cucurbita maxima,"Turk's turban, French turban",
|
||||
red kuri squash,http://en.wikipedia.org/wiki/Red_kuri_squash,Cucurbita maxima,Cucurbita maxima,"Japanese squash, orange Hokkaido squash, baby red Hubbard squash, Uchiki kuri squash",
|
||||
butternut squash,http://en.wikipedia.org/wiki/Butternut_squash,Cucurbita moschata,Cucurbita moschata,butternut pumpkin,
|
||||
tromboncino,http://en.wikipedia.org/wiki/Tromboncino_(squash),Cucurbita moschata,Cucurbita moschata,zucchetta,
|
||||
acorn squash,http://en.wikipedia.org/wiki/Acorn_squash,Cucurbita pepo,Cucurbita pepo var. turbinata,"pepper squash, Des Moines squash",
|
||||
yellow crookneck squash,http://en.wikipedia.org/wiki/Yellow_crookneck_squash,Cucurbita pepo,Cucurbita pepo var. torticollia,,
|
||||
pumpkin,http://en.wikipedia.org/wiki/Pumpkin,Cucurbita pepo,Cucurbita pepo var. pepo,,Appears no varieties have their own wikipedia pages
|
||||
pattypan squash ,http://en.wikipedia.org/wiki/Pattypan_squash,Cucurbita pepo,Cucurbita pepo var. clypeata,"scallop squash, sunburst squash, granny squash, custard marrow, custard squash, cibleme, white squash, scallopini squash, schwoughksie squash",
|
||||
yellow summer squash,http://en.wikipedia.org/wiki/Yellow_summer_squash,Cucurbita pepo,Cucurbita pepo var. recticollis,straightneck squash,
|
||||
spaghetti squash,http://en.wikipedia.org/wiki/Spaghetti_squash,Cucurbita pepo,Cucurbita pepo var. fastigata,"vegetable spaghetti, noodle squash, vegetable marrow, spaghetti marrow, squaghetti",
|
||||
zucchini,http://en.wikipedia.org/wiki/Zucchini,Cucurbita pepo,Cucurbita pepo var. cylindrica,courgette,
|
||||
Delicata squash,http://en.wikipedia.org/wiki/Delicata_squash,Cucurbita pepo,Cucurbita pepo var. pepo,"peanut squash, Bohemian squash, sweet potato squash",
|
||||
gem squash,http://en.wikipedia.org/wiki/Gem_squash,Cucurbita pepo,Cucurbita pepo,,
|
||||
|
@@ -289,6 +289,31 @@ namespace :growstuff do
|
||||
p.save
|
||||
end
|
||||
end
|
||||
|
||||
desc "October 2014: add alternate names for crops"
|
||||
task :add_alternate_names => :environment do
|
||||
require 'csv'
|
||||
file = "db/seeds/alternate_names_201410.csv"
|
||||
puts "Loading alternate names from #{file}..."
|
||||
cropbot = Member.find_by_login_name("cropbot")
|
||||
CSV.foreach(file) do |row|
|
||||
crop_id, crop_name, alternate_names = row
|
||||
if alternate_names.blank? then
|
||||
next
|
||||
end
|
||||
crop = Crop.find_by_name(crop_name)
|
||||
if crop
|
||||
alternate_names.split(/,\s*/).each do |an|
|
||||
AlternateName.where(
|
||||
name: an,
|
||||
crop_id: crop.id,
|
||||
).first_or_create do |x|
|
||||
x.creator = cropbot
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end # end oneoff section
|
||||
|
||||
end
|
||||
@@ -10,11 +10,11 @@
|
||||
# echo "YYYY-MM-DD - do something or other"
|
||||
# rake growstuff:oneoff:something
|
||||
|
||||
echo "2014-09-28 - upload tomatoes"
|
||||
rake growstuff:import_crops file=db/seeds/crops-11-tomatoes.csv
|
||||
echo "2014-12-01 - load lots of new crops"
|
||||
rake growstuff:import_crops file=db/seeds/crops-12-mint.csv
|
||||
rake growstuff:import_crops file=db/seeds/crops-13-brassicas.csv
|
||||
rake growstuff:import_crops file=db/seeds/crops-14-london-workingbee.csv
|
||||
rake growstuff:import_crops file=db/seeds/crops-15-squashes.csv
|
||||
|
||||
echo "2014-10-02 - remove unused photos"
|
||||
rake growstuff:oneoff:remove_unused_photos
|
||||
|
||||
echo "2014-10-05 - generate crops_posts records for existing posts"
|
||||
rake growstuff:oneoff:generate_crops_posts_records
|
||||
echo "2014-12-01 - load alternate names for crops"
|
||||
rake growstuff:oneoff:add_alternate_names
|
||||
@@ -0,0 +1,7 @@
|
||||
FactoryGirl.define do
|
||||
factory :follow do
|
||||
follower
|
||||
followed
|
||||
end
|
||||
|
||||
end
|
||||
@@ -13,6 +13,8 @@ feature "member profile" do
|
||||
expect(page).to have_content "Account type: Free account"
|
||||
expect(page).to have_content "#{member.login_name}'s gardens"
|
||||
expect(page).to have_link "More about this garden...", :href => garden_path(member.gardens.first)
|
||||
expect(page).to_not have_link "Follow"
|
||||
expect(page).to_not have_link "Unfollow"
|
||||
end
|
||||
|
||||
scenario "no bio" do
|
||||
@@ -143,6 +145,53 @@ feature "member profile" do
|
||||
scenario "has a private message button" do
|
||||
expect(page).to have_link "Send message", :href => new_notification_path(:recipient_id => other_member.id)
|
||||
end
|
||||
|
||||
scenario "has a follow button" do
|
||||
expect(page).to have_link "Follow", :href => follows_path(:followed_id => other_member.id)
|
||||
end
|
||||
end
|
||||
|
||||
context "following another member" do
|
||||
background do
|
||||
visit member_path(other_member)
|
||||
click_link 'Follow'
|
||||
end
|
||||
|
||||
scenario "has correct message and unfollow button" do
|
||||
expect(page).to have_content "Followed #{other_member.login_name}"
|
||||
expect(page).to have_link "Unfollow", :href => follow_path(member.get_follow(other_member))
|
||||
end
|
||||
|
||||
scenario "has a followed member listed in the following page" do
|
||||
visit member_follows_path(member)
|
||||
expect(page).to have_content "#{other_member.login_name}"
|
||||
end
|
||||
|
||||
scenario "has correct message and follow button after unfollow" do
|
||||
click_link 'Unfollow'
|
||||
expect(page).to have_content "Unfollowed #{other_member.login_name}"
|
||||
visit member_path(other_member) # unfollowing redirects to root
|
||||
expect(page).to have_link "Follow", :href => follows_path(:followed_id => other_member.id)
|
||||
end
|
||||
|
||||
scenario "has member in following list" do
|
||||
visit member_follows_path(member)
|
||||
expect(page).to have_content "#{other_member.login_name}"
|
||||
end
|
||||
|
||||
scenario "appears in in followed member's followers list" do
|
||||
visit member_followers_path(other_member)
|
||||
expect(page).to have_content "#{member.login_name}"
|
||||
end
|
||||
|
||||
scenario "removes members from following and followers lists after unfollow" do
|
||||
click_link 'Unfollow'
|
||||
visit member_follows_path(member)
|
||||
expect(page).not_to have_content "#{other_member.login_name}"
|
||||
visit member_followers_path(other_member)
|
||||
expect(page).not_to have_content "#{member.login_name}"
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
context "home page" do
|
||||
|
||||
+115
-44
@@ -351,56 +351,114 @@ describe Crop do
|
||||
@cropbot = FactoryGirl.create(:cropbot)
|
||||
end
|
||||
|
||||
it "adds a scientific name to a crop that has none" do
|
||||
tomato = FactoryGirl.create(:tomato)
|
||||
expect(tomato.scientific_names.size).to eq 0
|
||||
tomato.add_scientific_name_from_csv("Foo bar")
|
||||
expect(tomato.scientific_names.size).to eq 1
|
||||
expect(tomato.default_scientific_name).to eq "Foo bar"
|
||||
end
|
||||
context "scientific names" do
|
||||
|
||||
it "picks up scientific name from parent crop if available" do
|
||||
parent = FactoryGirl.create(:crop, :name => 'parent crop')
|
||||
parent.add_scientific_name_from_csv("Parentis cropis")
|
||||
parent.save
|
||||
parent.reload
|
||||
it "adds a scientific name to a crop that has none" do
|
||||
tomato = FactoryGirl.create(:tomato)
|
||||
expect(tomato.scientific_names.size).to eq 0
|
||||
tomato.add_scientific_names_from_csv("Foo bar")
|
||||
expect(tomato.scientific_names.size).to eq 1
|
||||
expect(tomato.default_scientific_name).to eq "Foo bar"
|
||||
end
|
||||
|
||||
tomato = FactoryGirl.create(:tomato, :parent => parent)
|
||||
expect(tomato.parent).to eq parent
|
||||
expect(tomato.parent.default_scientific_name).to eq "Parentis cropis"
|
||||
it "picks up scientific name from parent crop if available" do
|
||||
parent = FactoryGirl.create(:crop, :name => 'parent crop')
|
||||
parent.add_scientific_names_from_csv("Parentis cropis")
|
||||
parent.save
|
||||
parent.reload
|
||||
|
||||
tomato.add_scientific_name_from_csv('')
|
||||
expect(tomato.default_scientific_name).to eq "Parentis cropis"
|
||||
end
|
||||
tomato = FactoryGirl.create(:tomato, :parent => parent)
|
||||
expect(tomato.parent).to eq parent
|
||||
expect(tomato.parent.default_scientific_name).to eq "Parentis cropis"
|
||||
|
||||
it "doesn't add a duplicate scientific name" do
|
||||
tomato = FactoryGirl.create(:tomato)
|
||||
expect(tomato.scientific_names.size).to eq 0
|
||||
tomato.add_scientific_name_from_csv("Foo bar")
|
||||
expect(tomato.scientific_names.size).to eq 1
|
||||
tomato.add_scientific_name_from_csv("Foo bar")
|
||||
expect(tomato.scientific_names.size).to eq 1 # shouldn't increase
|
||||
tomato.add_scientific_name_from_csv("Baz quux")
|
||||
expect(tomato.scientific_names.size).to eq 2
|
||||
end
|
||||
tomato.add_scientific_names_from_csv('')
|
||||
expect(tomato.default_scientific_name).to eq "Parentis cropis"
|
||||
end
|
||||
|
||||
it "doesn't add a duplicate scientific name from parent" do
|
||||
parent = FactoryGirl.create(:crop, :name => 'parent')
|
||||
parent.add_scientific_name_from_csv("Parentis cropis")
|
||||
parent.save
|
||||
parent.reload
|
||||
it "doesn't add a duplicate scientific name" do
|
||||
tomato = FactoryGirl.create(:tomato)
|
||||
expect(tomato.scientific_names.size).to eq 0
|
||||
tomato.add_scientific_names_from_csv("Foo bar")
|
||||
expect(tomato.scientific_names.size).to eq 1
|
||||
tomato.add_scientific_names_from_csv("Foo bar")
|
||||
expect(tomato.scientific_names.size).to eq 1 # shouldn't increase
|
||||
tomato.add_scientific_names_from_csv("Baz quux")
|
||||
expect(tomato.scientific_names.size).to eq 2
|
||||
end
|
||||
|
||||
tomato = FactoryGirl.create(:tomato, :parent => parent)
|
||||
expect(tomato.scientific_names.size).to eq 0
|
||||
tomato.add_scientific_name_from_csv('')
|
||||
expect(tomato.scientific_names.size).to eq 1 # picks up parent SN
|
||||
tomato.add_scientific_name_from_csv('')
|
||||
expect(tomato.scientific_names.size).to eq 1 # shouldn't increase now
|
||||
end
|
||||
it "doesn't add a duplicate scientific name from parent" do
|
||||
parent = FactoryGirl.create(:crop, :name => 'parent')
|
||||
parent.add_scientific_names_from_csv("Parentis cropis")
|
||||
parent.save
|
||||
parent.reload
|
||||
|
||||
tomato = FactoryGirl.create(:tomato, :parent => parent)
|
||||
expect(tomato.scientific_names.size).to eq 0
|
||||
tomato.add_scientific_names_from_csv('')
|
||||
expect(tomato.scientific_names.size).to eq 1 # picks up parent SN
|
||||
tomato.add_scientific_names_from_csv('')
|
||||
expect(tomato.scientific_names.size).to eq 1 # shouldn't increase now
|
||||
end
|
||||
|
||||
it "loads a crop with multiple scientific names" do
|
||||
tomato = FactoryGirl.create(:tomato)
|
||||
expect(tomato.scientific_names.size).to eq 0
|
||||
tomato.add_scientific_names_from_csv("Foo, Bar")
|
||||
expect(tomato.scientific_names.size).to eq 2
|
||||
expect(tomato.scientific_names[0].scientific_name).to eq "Foo"
|
||||
expect(tomato.scientific_names[1].scientific_name).to eq "Bar"
|
||||
end
|
||||
|
||||
it "loads multiple scientific names with variant spacing" do
|
||||
tomato = FactoryGirl.create(:tomato)
|
||||
expect(tomato.scientific_names.size).to eq 0
|
||||
tomato.add_scientific_names_from_csv("Foo,Bar") # no space
|
||||
expect(tomato.scientific_names.size).to eq 2
|
||||
tomato.add_scientific_names_from_csv("Baz, Quux") # multiple spaces
|
||||
expect(tomato.scientific_names.size).to eq 4
|
||||
end
|
||||
|
||||
end # scientific names
|
||||
|
||||
context "alternate names" do
|
||||
it "loads an alternate name" do
|
||||
tomato = FactoryGirl.create(:tomato)
|
||||
expect(tomato.alternate_names.size).to eq 0
|
||||
tomato.add_alternate_names_from_csv("Foo")
|
||||
expect(tomato.alternate_names.size).to eq 1
|
||||
expect(tomato.alternate_names.last.name).to eq "Foo"
|
||||
end
|
||||
|
||||
it "doesn't load duplicate alternate names" do
|
||||
tomato = FactoryGirl.create(:tomato)
|
||||
expect(tomato.alternate_names.size).to eq 0
|
||||
tomato.add_alternate_names_from_csv("Foo")
|
||||
expect(tomato.alternate_names.size).to eq 1
|
||||
tomato.add_alternate_names_from_csv("Foo")
|
||||
expect(tomato.alternate_names.size).to eq 1 # still 1, doesn't add another
|
||||
end
|
||||
|
||||
it "adds multiple alternate names" do
|
||||
tomato = FactoryGirl.create(:tomato)
|
||||
expect(tomato.alternate_names.size).to eq 0
|
||||
tomato.add_alternate_names_from_csv("Foo, Bar")
|
||||
expect(tomato.alternate_names.size).to eq 2
|
||||
expect(tomato.alternate_names[0].name).to eq "Foo"
|
||||
expect(tomato.alternate_names[1].name).to eq "Bar"
|
||||
end
|
||||
|
||||
it "adds multiple alt names with variant spacing" do
|
||||
tomato = FactoryGirl.create(:tomato)
|
||||
expect(tomato.alternate_names.size).to eq 0
|
||||
tomato.add_alternate_names_from_csv("Foo,Bar") # no space
|
||||
expect(tomato.alternate_names.size).to eq 2
|
||||
tomato.add_alternate_names_from_csv("Baz, Quux") # mutliple spaces
|
||||
expect(tomato.alternate_names.size).to eq 4
|
||||
end
|
||||
end # alternate names
|
||||
|
||||
it "loads the simplest possible crop" do
|
||||
tomato_row = "tomato,,http://en.wikipedia.org/wiki/Tomato"
|
||||
tomato_row = "tomato,http://en.wikipedia.org/wiki/Tomato"
|
||||
|
||||
CSV.parse(tomato_row) do |row|
|
||||
Crop.create_from_csv(row)
|
||||
@@ -413,7 +471,7 @@ describe Crop do
|
||||
end
|
||||
|
||||
it "loads a crop with a scientific name" do
|
||||
tomato_row = "tomato,Solanum lycopersicum,http://en.wikipedia.org/wiki/Tomato"
|
||||
tomato_row = "tomato,http://en.wikipedia.org/wiki/Tomato,,Solanum lycopersicum"
|
||||
|
||||
CSV.parse(tomato_row) do |row|
|
||||
Crop.create_from_csv(row)
|
||||
@@ -425,9 +483,22 @@ describe Crop do
|
||||
expect(loaded.scientific_names.last.scientific_name).to eq "Solanum lycopersicum"
|
||||
end
|
||||
|
||||
it "loads a crop with an alternate name" do
|
||||
tomato_row = "tomato,http://en.wikipedia.org/wiki/Tomato,,,Foo"
|
||||
|
||||
CSV.parse(tomato_row) do |row|
|
||||
Crop.create_from_csv(row)
|
||||
end
|
||||
|
||||
loaded = Crop.last
|
||||
expect(loaded.name).to eq "tomato"
|
||||
expect(loaded.alternate_names.size).to eq 1
|
||||
expect(loaded.alternate_names.last.name).to eq "Foo"
|
||||
end
|
||||
|
||||
it "loads a crop with a parent" do
|
||||
parent = FactoryGirl.create(:crop, :name => 'parent')
|
||||
tomato_row = "tomato,,http://en.wikipedia.org/wiki/Tomato,parent"
|
||||
tomato_row = "tomato,http://en.wikipedia.org/wiki/Tomato,parent"
|
||||
|
||||
CSV.parse(tomato_row) do |row|
|
||||
Crop.create_from_csv(row)
|
||||
@@ -438,7 +509,7 @@ describe Crop do
|
||||
end
|
||||
|
||||
it "doesn't add unnecessary duplicate crops" do
|
||||
tomato_row = "tomato,Solanum lycopersicum,http://en.wikipedia.org/wiki/Tomato"
|
||||
tomato_row = "tomato,http://en.wikipedia.org/wiki/Tomato,,Solanum lycopersicum"
|
||||
|
||||
CSV.parse(tomato_row) do |row|
|
||||
Crop.create_from_csv(row)
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe Follow do
|
||||
|
||||
before(:each) do
|
||||
@member1 = FactoryGirl.create(:member)
|
||||
@member2 = FactoryGirl.create(:member)
|
||||
end
|
||||
|
||||
it "sends a notification when a follow is created" do
|
||||
expect {
|
||||
Follow.create(:follower_id => @member1.id, :followed_id => @member2.id)
|
||||
}.to change(Notification, :count).by(1)
|
||||
end
|
||||
|
||||
it "does not delete any members when follow is deleted" do
|
||||
expect {
|
||||
follow = Follow.create(:follower_id => @member1.id, :followed_id => @member2.id)
|
||||
follow.destroy
|
||||
}.not_to change(Member, :count)
|
||||
end
|
||||
|
||||
context "when follow is created" do
|
||||
|
||||
before (:each) do
|
||||
@follow = Follow.create(:follower_id => @member1.id, :followed_id => @member2.id)
|
||||
end
|
||||
|
||||
it "should not duplicate follows" do
|
||||
expect(Follow.create(:follower_id => @member1.id, :followed_id => @member2.id)).not_to be_valid
|
||||
end
|
||||
|
||||
it "should list users in following/follower collections when follow is created" do
|
||||
expect(@member1.followed).to include(@member2)
|
||||
expect(@member2.followers).to include(@member1)
|
||||
end
|
||||
|
||||
it "should no longer list users in following/follower collections when follow is deleted" do
|
||||
@follow.destroy
|
||||
expect(@member1.followed).not_to include(@member2)
|
||||
expect(@member2.followers).not_to include(@member1)
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
@@ -381,4 +381,34 @@ describe 'member' do
|
||||
end
|
||||
end
|
||||
|
||||
context 'member who followed another member' do
|
||||
before(:each) do
|
||||
@member1 = FactoryGirl.create(:member)
|
||||
@member2 = FactoryGirl.create(:member)
|
||||
@member3 = FactoryGirl.create(:member)
|
||||
@follow = @member1.follows.create(:follower_id => @member1.id, :followed_id => @member2.id)
|
||||
end
|
||||
|
||||
context 'already_following' do
|
||||
it 'detects that member is already following a member' do
|
||||
expect(@member1.already_following?(@member2)).to eq true
|
||||
end
|
||||
|
||||
it 'detects that member is not already following a member' do
|
||||
expect(@member1.already_following?(@member3)).to eq false
|
||||
end
|
||||
end
|
||||
|
||||
context 'get_follow' do
|
||||
it 'gets the correct follow for a followed member' do
|
||||
expect(@member1.get_follow(@member2).id).to eq @follow.id
|
||||
end
|
||||
|
||||
it 'returns nil for a member that is not followed' do
|
||||
expect(@member1.get_follow(@member3)).to be_nil
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
@@ -0,0 +1,15 @@
|
||||
require "spec_helper"
|
||||
|
||||
describe FollowsController do
|
||||
describe "routing" do
|
||||
|
||||
it "routes to #create" do
|
||||
post("/follows").should route_to("follows#create")
|
||||
end
|
||||
|
||||
it "routes to #destroy" do
|
||||
delete("/follows/1").should route_to("follows#destroy", :id => "1")
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
@@ -14,7 +14,7 @@ describe "crops/_planting_advice" do
|
||||
context "sunniness" do
|
||||
it "doesn't show sunniness if none are set" do
|
||||
render :partial => 'crops/planting_advice', :locals => { :crop => @crop }
|
||||
rendered.should_not contain "Plant in:"
|
||||
rendered.should contain "Plant in: not known."
|
||||
end
|
||||
|
||||
it "shows sunniness frequencies" do
|
||||
@@ -39,7 +39,7 @@ describe "crops/_planting_advice" do
|
||||
|
||||
it "doesn't show planted_from if none are set" do
|
||||
render :partial => 'crops/planting_advice', :locals => { :crop => @crop }
|
||||
rendered.should_not contain "Plant from:"
|
||||
rendered.should contain "Plant from: not known."
|
||||
end
|
||||
|
||||
it "shows planted_from frequencies" do
|
||||
|
||||
Reference in new issue
Block a user