mida 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +8 -0
- data/{LICENSE.rdoc → LICENCE.rdoc} +1 -1
- data/README.rdoc +2 -2
- data/Rakefile +4 -3
- data/bin/mida +13 -3
- data/lib/mida.rb +2 -1
- data/lib/mida/datatype.rb +2 -0
- data/lib/mida/datatype/boolean.rb +21 -9
- data/lib/mida/datatype/enumeration.rb +28 -0
- data/lib/mida/datatype/float.rb +8 -5
- data/lib/mida/datatype/generic.rb +33 -0
- data/lib/mida/datatype/integer.rb +5 -5
- data/lib/mida/datatype/iso8601date.rb +12 -6
- data/lib/mida/datatype/number.rb +6 -5
- data/lib/mida/datatype/text.rb +5 -3
- data/lib/mida/datatype/url.rb +20 -0
- data/lib/mida/document.rb +4 -5
- data/lib/mida/item.rb +3 -4
- data/lib/mida/{genericvocabulary.rb → vocabularies/genericvocabulary.rb} +0 -0
- data/lib/mida/vocabularies/schemaorg.rb +1 -0
- data/lib/mida/vocabularies/schemaorg/aboutpage.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/accountingservice.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/administrativearea.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/adultentertainment.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/aggregateoffer.rb +34 -0
- data/lib/mida/vocabularies/schemaorg/aggregaterating.rb +33 -0
- data/lib/mida/vocabularies/schemaorg/airport.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/amusementpark.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/animalshelter.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/apartmentcomplex.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/aquarium.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/artgallery.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/article.rb +23 -0
- data/lib/mida/vocabularies/schemaorg/attorney.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/audioobject.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/autobodyshop.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/autodealer.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/automatedteller.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/automotivebusiness.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/autopartsstore.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/autorental.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/autorepair.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/autowash.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/bakery.rb +23 -0
- data/lib/mida/vocabularies/schemaorg/bankorcreditunion.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/barorpub.rb +23 -0
- data/lib/mida/vocabularies/schemaorg/beach.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/beautysalon.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/bedandbreakfast.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/bikestore.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/blog.rb +24 -0
- data/lib/mida/vocabularies/schemaorg/blogposting.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/bodyofwater.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/book.rb +41 -0
- data/lib/mida/vocabularies/schemaorg/bookformattype.rb +16 -0
- data/lib/mida/vocabularies/schemaorg/bookstore.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/bowlingalley.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/brewery.rb +23 -0
- data/lib/mida/vocabularies/schemaorg/buddhisttemple.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/businessevent.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/busstation.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/busstop.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/cafeorcoffeeshop.rb +23 -0
- data/lib/mida/vocabularies/schemaorg/campground.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/canal.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/casino.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/catholicchurch.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/cemetery.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/checkoutpage.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/childcare.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/childrensevent.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/church.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/city.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/cityhall.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/civicstructure.rb +24 -0
- data/lib/mida/vocabularies/schemaorg/clothingstore.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/collectionpage.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/collegeoruniversity.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/comedyclub.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/comedyevent.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/computerstore.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/contactpage.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/contactpoint.rb +27 -0
- data/lib/mida/vocabularies/schemaorg/continent.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/conveniencestore.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/corporation.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/country.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/courthouse.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/creativework.rb +122 -0
- data/lib/mida/vocabularies/schemaorg/crematorium.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/danceevent.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/dancegroup.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/dayspa.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/defenceestablishment.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/dentist.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/departmentstore.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/distance.rb +15 -0
- data/lib/mida/vocabularies/schemaorg/drycleaningorlaundry.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/duration.rb +13 -0
- data/lib/mida/vocabularies/schemaorg/educationalorganization.rb +24 -0
- data/lib/mida/vocabularies/schemaorg/educationevent.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/electrician.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/electronicsstore.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/elementaryschool.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/embassy.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/emergencyservice.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/employmentagency.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/energy.rb +15 -0
- data/lib/mida/vocabularies/schemaorg/entertainmentbusiness.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/enumeration.rb +15 -0
- data/lib/mida/vocabularies/schemaorg/event.rb +77 -0
- data/lib/mida/vocabularies/schemaorg/eventvenue.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/exercisegym.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/fastfoodrestaurant.rb +23 -0
- data/lib/mida/vocabularies/schemaorg/festival.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/financialservice.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/firestation.rb +23 -0
- data/lib/mida/vocabularies/schemaorg/florist.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/foodestablishment.rb +36 -0
- data/lib/mida/vocabularies/schemaorg/foodevent.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/furniturestore.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/gardenstore.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/gasstation.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/gatedresidencecommunity.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/generalcontractor.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/geocoordinates.rb +33 -0
- data/lib/mida/vocabularies/schemaorg/golfcourse.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/governmentbuilding.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/governmentoffice.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/governmentorganization.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/grocerystore.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/hairsalon.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/hardwarestore.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/healthandbeautybusiness.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/healthclub.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/highschool.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/hindutemple.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/hobbyshop.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/homeandconstructionbusiness.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/homegoodsstore.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/hospital.rb +23 -0
- data/lib/mida/vocabularies/schemaorg/hostel.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/hotel.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/housepainter.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/hvacbusiness.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/icecreamshop.rb +23 -0
- data/lib/mida/vocabularies/schemaorg/imagegallery.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/imageobject.rb +37 -0
- data/lib/mida/vocabularies/schemaorg/insuranceagency.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/intangible.rb +15 -0
- data/lib/mida/vocabularies/schemaorg/internetcafe.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/itemavailability.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/itemlist.rb +20 -0
- data/lib/mida/vocabularies/schemaorg/itempage.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/jewelrystore.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/lakebodyofwater.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/landform.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/landmarksorhistoricalbuildings.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/language.rb +15 -0
- data/lib/mida/vocabularies/schemaorg/legislativebuilding.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/library.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/liquorstore.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/literaryevent.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/localbusiness.rb +41 -0
- data/lib/mida/vocabularies/schemaorg/locksmith.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/lodgingbusiness.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/map.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/mass.rb +15 -0
- data/lib/mida/vocabularies/schemaorg/mediaobject.rb +87 -0
- data/lib/mida/vocabularies/schemaorg/medicalclinic.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/medicalorganization.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/mensclothingstore.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/middleschool.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/mobilephonestore.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/mosque.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/motel.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/motorcycledealer.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/motorcyclerepair.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/mountain.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/movie.rb +65 -0
- data/lib/mida/vocabularies/schemaorg/movierentalstore.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/movietheater.rb +23 -0
- data/lib/mida/vocabularies/schemaorg/movingcompany.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/museum.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/musicalbum.rb +26 -0
- data/lib/mida/vocabularies/schemaorg/musicevent.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/musicgroup.rb +38 -0
- data/lib/mida/vocabularies/schemaorg/musicplaylist.rb +29 -0
- data/lib/mida/vocabularies/schemaorg/musicrecording.rb +45 -0
- data/lib/mida/vocabularies/schemaorg/musicstore.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/musicvenue.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/musicvideoobject.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/nailsalon.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/newsarticle.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/ngo.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/nightclub.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/notary.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/nutritioninformation.rb +86 -0
- data/lib/mida/vocabularies/schemaorg/oceanbodyofwater.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/offer.rb +69 -0
- data/lib/mida/vocabularies/schemaorg/offeritemcondition.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/officeequipmentstore.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/optician.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/organization.rb +96 -0
- data/lib/mida/vocabularies/schemaorg/outletstore.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/painting.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/park.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/parkingfacility.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/pawnshop.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/performingartstheater.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/performinggroup.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/person.rb +164 -0
- data/lib/mida/vocabularies/schemaorg/petstore.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/pharmacy.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/photograph.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/physician.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/place.rb +80 -0
- data/lib/mida/vocabularies/schemaorg/placeofworship.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/playground.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/plumber.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/policestation.rb +23 -0
- data/lib/mida/vocabularies/schemaorg/pond.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/postaladdress.rb +39 -0
- data/lib/mida/vocabularies/schemaorg/postoffice.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/preschool.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/product.rb +55 -0
- data/lib/mida/vocabularies/schemaorg/professionalservice.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/profilepage.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/publicswimmingpool.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/quantity.rb +15 -0
- data/lib/mida/vocabularies/schemaorg/radiostation.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/rating.rb +30 -0
- data/lib/mida/vocabularies/schemaorg/realestateagent.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/recipe.rb +61 -0
- data/lib/mida/vocabularies/schemaorg/recyclingcenter.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/reservoir.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/residence.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/restaurant.rb +23 -0
- data/lib/mida/vocabularies/schemaorg/review.rb +33 -0
- data/lib/mida/vocabularies/schemaorg/riverbodyofwater.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/roofingcontractor.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/rvpark.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/saleevent.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/scholarlyarticle.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/school.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/sculpture.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/seabodyofwater.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/searchresultspage.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/selfstorage.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/shoestore.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/shoppingcenter.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/singlefamilyresidence.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/sitenavigationelement.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/skiresort.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/socialevent.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/sportinggoodsstore.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/sportsactivitylocation.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/sportsclub.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/sportsevent.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/sportsteam.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/stadiumorarena.rb +23 -0
- data/lib/mida/vocabularies/schemaorg/state.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/store.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/structuredvalue.rb +15 -0
- data/lib/mida/vocabularies/schemaorg/subwaystation.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/synagogue.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/table.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/tattooparlor.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/taxistand.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/televisionstation.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/tenniscomplex.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/theaterevent.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/theatergroup.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/thing.rb +29 -0
- data/lib/mida/vocabularies/schemaorg/tireshop.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/touristattraction.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/touristinformationcenter.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/toystore.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/trainstation.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/travelagency.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/tvepisode.rb +77 -0
- data/lib/mida/vocabularies/schemaorg/tvseason.rb +58 -0
- data/lib/mida/vocabularies/schemaorg/tvseries.rb +87 -0
- data/lib/mida/vocabularies/schemaorg/userblocks.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/usercheckins.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/usercomments.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/userdownloads.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/userinteraction.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/userlikes.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/userpagevisits.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/userplays.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/userplusones.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/usertweets.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/veterinarycare.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/videogallery.rb +19 -0
- data/lib/mida/vocabularies/schemaorg/videoobject.rb +42 -0
- data/lib/mida/vocabularies/schemaorg/visualartsevent.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/volcano.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/waterfall.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/webpage.rb +46 -0
- data/lib/mida/vocabularies/schemaorg/webpageelement.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/wholesalestore.rb +21 -0
- data/lib/mida/vocabularies/schemaorg/winery.rb +23 -0
- data/lib/mida/vocabularies/schemaorg/wpadblock.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/wpfooter.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/wpheader.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/wpsidebar.rb +17 -0
- data/lib/mida/vocabularies/schemaorg/zoo.rb +19 -0
- data/lib/mida/vocabulary.rb +11 -6
- data/spec/datatype/boolean_spec.rb +21 -8
- data/spec/datatype/enumeration_spec.rb +30 -0
- data/spec/datatype/float_spec.rb +8 -10
- data/spec/datatype/generic_spec.rb +44 -0
- data/spec/datatype/integer_spec.rb +11 -8
- data/spec/datatype/iso8601date_spec.rb +15 -8
- data/spec/datatype/number_spec.rb +8 -10
- data/spec/datatype/text_spec.rb +8 -6
- data/spec/datatype/url_spec.rb +27 -0
- data/spec/document_spec.rb +0 -21
- data/spec/item_spec.rb +41 -48
- data/spec/vocabulary_spec.rb +51 -0
- metadata +316 -10
data/spec/vocabulary_spec.rb
CHANGED
@@ -218,3 +218,54 @@ describe Mida::Vocabulary, 'when subclassed and using #include_vocabulary' do
|
|
218
218
|
Thing.kind_of?(Product).should be_false
|
219
219
|
end
|
220
220
|
end
|
221
|
+
|
222
|
+
describe Mida::Vocabulary, 'when subclassed with circular dependancies' do
|
223
|
+
before do
|
224
|
+
# Dummy classes to allow forward references
|
225
|
+
class Medicine < Mida::Vocabulary; end
|
226
|
+
class Potion < Mida::Vocabulary; end
|
227
|
+
|
228
|
+
class Medicine < Mida::Vocabulary
|
229
|
+
itemtype %r{http://example\.com.*?medicine$}i
|
230
|
+
include_vocabulary Potion
|
231
|
+
has_one 'type'
|
232
|
+
has_one 'creator'
|
233
|
+
|
234
|
+
has_many 'derived_from' do
|
235
|
+
extract Medicine
|
236
|
+
end
|
237
|
+
|
238
|
+
has_many 'alternatives' do
|
239
|
+
extract Potion
|
240
|
+
end
|
241
|
+
end
|
242
|
+
|
243
|
+
class Potion < Mida::Vocabulary
|
244
|
+
include_vocabulary Medicine
|
245
|
+
itemtype %r{http://example\.com.*?potion$}i
|
246
|
+
has_many 'cures'
|
247
|
+
|
248
|
+
has_many 'use_with' do
|
249
|
+
extract Medicine
|
250
|
+
end
|
251
|
+
|
252
|
+
has_many 'similar_to' do
|
253
|
+
extract Potion
|
254
|
+
end
|
255
|
+
end
|
256
|
+
end
|
257
|
+
|
258
|
+
it "both classes should have its own and included properties" do
|
259
|
+
expected_properties = {
|
260
|
+
'type' => {types: [Mida::DataType::Text], num: :one},
|
261
|
+
'creator' => {types: [Mida::DataType::Text], num: :one},
|
262
|
+
'derived_from' => {types: [Medicine], num: :many},
|
263
|
+
'alternatives' => {types: [Potion], num: :many},
|
264
|
+
'cures' => {types: [Mida::DataType::Text], num: :many},
|
265
|
+
'use_with' => {types: [Medicine], num: :many},
|
266
|
+
'similar_to' => {types: [Potion], num: :many}
|
267
|
+
}
|
268
|
+
Medicine.properties.should == expected_properties
|
269
|
+
Potion.properties.should == expected_properties
|
270
|
+
end
|
271
|
+
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: mida
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.3.
|
5
|
+
version: 0.3.3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Lawrence Woodman
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-08-01 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: nokogiri
|
@@ -24,28 +24,39 @@ dependencies:
|
|
24
24
|
type: :runtime
|
25
25
|
version_requirements: *id001
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
|
-
name:
|
27
|
+
name: blankslate
|
28
28
|
prerelease: false
|
29
29
|
requirement: &id002 !ruby/object:Gem::Requirement
|
30
|
+
none: false
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: "0"
|
35
|
+
type: :runtime
|
36
|
+
version_requirements: *id002
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: rspec
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
30
41
|
none: false
|
31
42
|
requirements:
|
32
43
|
- - ">="
|
33
44
|
- !ruby/object:Gem::Version
|
34
45
|
version: "2.0"
|
35
46
|
type: :development
|
36
|
-
version_requirements: *
|
47
|
+
version_requirements: *id003
|
37
48
|
- !ruby/object:Gem::Dependency
|
38
49
|
name: bundler
|
39
50
|
prerelease: false
|
40
|
-
requirement: &
|
51
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
41
52
|
none: false
|
42
53
|
requirements:
|
43
54
|
- - ">="
|
44
55
|
- !ruby/object:Gem::Version
|
45
56
|
version: "0"
|
46
57
|
type: :development
|
47
|
-
version_requirements: *
|
48
|
-
description: A Microdata parser and extractor library
|
58
|
+
version_requirements: *id004
|
59
|
+
description: A Microdata parser and extractor library which includes support for the schema.org vocabularies
|
49
60
|
email: lwoodman@vlifesystems.com
|
50
61
|
executables:
|
51
62
|
- mida
|
@@ -53,7 +64,7 @@ extensions: []
|
|
53
64
|
|
54
65
|
extra_rdoc_files:
|
55
66
|
- README.rdoc
|
56
|
-
-
|
67
|
+
- LICENCE.rdoc
|
57
68
|
- CHANGELOG.rdoc
|
58
69
|
files:
|
59
70
|
- lib/mida.rb
|
@@ -62,13 +73,305 @@ files:
|
|
62
73
|
- lib/mida/datatype.rb
|
63
74
|
- lib/mida/propertydesc.rb
|
64
75
|
- lib/mida/itemprop.rb
|
76
|
+
- lib/mida/vocabularies/schemaorg/educationevent.rb
|
77
|
+
- lib/mida/vocabularies/schemaorg/userinteraction.rb
|
78
|
+
- lib/mida/vocabularies/schemaorg/animalshelter.rb
|
79
|
+
- lib/mida/vocabularies/schemaorg/sportsteam.rb
|
80
|
+
- lib/mida/vocabularies/schemaorg/itempage.rb
|
81
|
+
- lib/mida/vocabularies/schemaorg/performingartstheater.rb
|
82
|
+
- lib/mida/vocabularies/schemaorg/hvacbusiness.rb
|
83
|
+
- lib/mida/vocabularies/schemaorg/sportsclub.rb
|
84
|
+
- lib/mida/vocabularies/schemaorg/hardwarestore.rb
|
85
|
+
- lib/mida/vocabularies/schemaorg/map.rb
|
86
|
+
- lib/mida/vocabularies/schemaorg/nutritioninformation.rb
|
87
|
+
- lib/mida/vocabularies/schemaorg/shoestore.rb
|
88
|
+
- lib/mida/vocabularies/schemaorg/musicrecording.rb
|
89
|
+
- lib/mida/vocabularies/schemaorg/place.rb
|
90
|
+
- lib/mida/vocabularies/schemaorg/dentist.rb
|
91
|
+
- lib/mida/vocabularies/schemaorg/grocerystore.rb
|
92
|
+
- lib/mida/vocabularies/schemaorg/itemavailability.rb
|
93
|
+
- lib/mida/vocabularies/schemaorg/wholesalestore.rb
|
94
|
+
- lib/mida/vocabularies/schemaorg/courthouse.rb
|
95
|
+
- lib/mida/vocabularies/schemaorg/blog.rb
|
96
|
+
- lib/mida/vocabularies/schemaorg/itemlist.rb
|
97
|
+
- lib/mida/vocabularies/schemaorg/review.rb
|
98
|
+
- lib/mida/vocabularies/schemaorg/legislativebuilding.rb
|
99
|
+
- lib/mida/vocabularies/schemaorg/gatedresidencecommunity.rb
|
100
|
+
- lib/mida/vocabularies/schemaorg/buddhisttemple.rb
|
101
|
+
- lib/mida/vocabularies/schemaorg/middleschool.rb
|
102
|
+
- lib/mida/vocabularies/schemaorg/physician.rb
|
103
|
+
- lib/mida/vocabularies/schemaorg/photograph.rb
|
104
|
+
- lib/mida/vocabularies/schemaorg/duration.rb
|
105
|
+
- lib/mida/vocabularies/schemaorg/bakery.rb
|
106
|
+
- lib/mida/vocabularies/schemaorg/professionalservice.rb
|
107
|
+
- lib/mida/vocabularies/schemaorg/sportsactivitylocation.rb
|
108
|
+
- lib/mida/vocabularies/schemaorg/movierentalstore.rb
|
109
|
+
- lib/mida/vocabularies/schemaorg/musicgroup.rb
|
110
|
+
- lib/mida/vocabularies/schemaorg/cafeorcoffeeshop.rb
|
111
|
+
- lib/mida/vocabularies/schemaorg/highschool.rb
|
112
|
+
- lib/mida/vocabularies/schemaorg/movie.rb
|
113
|
+
- lib/mida/vocabularies/schemaorg/televisionstation.rb
|
114
|
+
- lib/mida/vocabularies/schemaorg/tattooparlor.rb
|
115
|
+
- lib/mida/vocabularies/schemaorg/energy.rb
|
116
|
+
- lib/mida/vocabularies/schemaorg/conveniencestore.rb
|
117
|
+
- lib/mida/vocabularies/schemaorg/playground.rb
|
118
|
+
- lib/mida/vocabularies/schemaorg/homegoodsstore.rb
|
119
|
+
- lib/mida/vocabularies/schemaorg/casino.rb
|
120
|
+
- lib/mida/vocabularies/schemaorg/motel.rb
|
121
|
+
- lib/mida/vocabularies/schemaorg/volcano.rb
|
122
|
+
- lib/mida/vocabularies/schemaorg/library.rb
|
123
|
+
- lib/mida/vocabularies/schemaorg/beach.rb
|
124
|
+
- lib/mida/vocabularies/schemaorg/tvepisode.rb
|
125
|
+
- lib/mida/vocabularies/schemaorg/reservoir.rb
|
126
|
+
- lib/mida/vocabularies/schemaorg/foodevent.rb
|
127
|
+
- lib/mida/vocabularies/schemaorg/checkoutpage.rb
|
128
|
+
- lib/mida/vocabularies/schemaorg/webpageelement.rb
|
129
|
+
- lib/mida/vocabularies/schemaorg/webpage.rb
|
130
|
+
- lib/mida/vocabularies/schemaorg/rating.rb
|
131
|
+
- lib/mida/vocabularies/schemaorg/wpadblock.rb
|
132
|
+
- lib/mida/vocabularies/schemaorg/apartmentcomplex.rb
|
133
|
+
- lib/mida/vocabularies/schemaorg/synagogue.rb
|
134
|
+
- lib/mida/vocabularies/schemaorg/healthclub.rb
|
135
|
+
- lib/mida/vocabularies/schemaorg/bankorcreditunion.rb
|
136
|
+
- lib/mida/vocabularies/schemaorg/offeritemcondition.rb
|
137
|
+
- lib/mida/vocabularies/schemaorg/pond.rb
|
138
|
+
- lib/mida/vocabularies/schemaorg/foodestablishment.rb
|
139
|
+
- lib/mida/vocabularies/schemaorg/comedyevent.rb
|
140
|
+
- lib/mida/vocabularies/schemaorg/danceevent.rb
|
141
|
+
- lib/mida/vocabularies/schemaorg/searchresultspage.rb
|
142
|
+
- lib/mida/vocabularies/schemaorg/mobilephonestore.rb
|
143
|
+
- lib/mida/vocabularies/schemaorg/accountingservice.rb
|
144
|
+
- lib/mida/vocabularies/schemaorg/contactpage.rb
|
145
|
+
- lib/mida/vocabularies/schemaorg/barorpub.rb
|
146
|
+
- lib/mida/vocabularies/schemaorg/movingcompany.rb
|
147
|
+
- lib/mida/vocabularies/schemaorg/clothingstore.rb
|
148
|
+
- lib/mida/vocabularies/schemaorg/videogallery.rb
|
149
|
+
- lib/mida/vocabularies/schemaorg/mediaobject.rb
|
150
|
+
- lib/mida/vocabularies/schemaorg/aggregaterating.rb
|
151
|
+
- lib/mida/vocabularies/schemaorg/waterfall.rb
|
152
|
+
- lib/mida/vocabularies/schemaorg/bookformattype.rb
|
153
|
+
- lib/mida/vocabularies/schemaorg/hindutemple.rb
|
154
|
+
- lib/mida/vocabularies/schemaorg/videoobject.rb
|
155
|
+
- lib/mida/vocabularies/schemaorg/healthandbeautybusiness.rb
|
156
|
+
- lib/mida/vocabularies/schemaorg/aquarium.rb
|
157
|
+
- lib/mida/vocabularies/schemaorg/eventvenue.rb
|
158
|
+
- lib/mida/vocabularies/schemaorg/dayspa.rb
|
159
|
+
- lib/mida/vocabularies/schemaorg/blogposting.rb
|
160
|
+
- lib/mida/vocabularies/schemaorg/scholarlyarticle.rb
|
161
|
+
- lib/mida/vocabularies/schemaorg/quantity.rb
|
162
|
+
- lib/mida/vocabularies/schemaorg/educationalorganization.rb
|
163
|
+
- lib/mida/vocabularies/schemaorg/thing.rb
|
164
|
+
- lib/mida/vocabularies/schemaorg/gasstation.rb
|
165
|
+
- lib/mida/vocabularies/schemaorg/motorcyclerepair.rb
|
166
|
+
- lib/mida/vocabularies/schemaorg/optician.rb
|
167
|
+
- lib/mida/vocabularies/schemaorg/businessevent.rb
|
168
|
+
- lib/mida/vocabularies/schemaorg/musicevent.rb
|
169
|
+
- lib/mida/vocabularies/schemaorg/bodyofwater.rb
|
170
|
+
- lib/mida/vocabularies/schemaorg/museum.rb
|
171
|
+
- lib/mida/vocabularies/schemaorg/creativework.rb
|
172
|
+
- lib/mida/vocabularies/schemaorg/liquorstore.rb
|
173
|
+
- lib/mida/vocabularies/schemaorg/landmarksorhistoricalbuildings.rb
|
174
|
+
- lib/mida/vocabularies/schemaorg/event.rb
|
175
|
+
- lib/mida/vocabularies/schemaorg/touristinformationcenter.rb
|
176
|
+
- lib/mida/vocabularies/schemaorg/embassy.rb
|
177
|
+
- lib/mida/vocabularies/schemaorg/autorepair.rb
|
178
|
+
- lib/mida/vocabularies/schemaorg/skiresort.rb
|
179
|
+
- lib/mida/vocabularies/schemaorg/tvseason.rb
|
180
|
+
- lib/mida/vocabularies/schemaorg/aboutpage.rb
|
181
|
+
- lib/mida/vocabularies/schemaorg/automatedteller.rb
|
182
|
+
- lib/mida/vocabularies/schemaorg/painting.rb
|
183
|
+
- lib/mida/vocabularies/schemaorg/pharmacy.rb
|
184
|
+
- lib/mida/vocabularies/schemaorg/userlikes.rb
|
185
|
+
- lib/mida/vocabularies/schemaorg/cemetery.rb
|
186
|
+
- lib/mida/vocabularies/schemaorg/officeequipmentstore.rb
|
187
|
+
- lib/mida/vocabularies/schemaorg/autopartsstore.rb
|
188
|
+
- lib/mida/vocabularies/schemaorg/performinggroup.rb
|
189
|
+
- lib/mida/vocabularies/schemaorg/theatergroup.rb
|
190
|
+
- lib/mida/vocabularies/schemaorg/oceanbodyofwater.rb
|
191
|
+
- lib/mida/vocabularies/schemaorg/homeandconstructionbusiness.rb
|
192
|
+
- lib/mida/vocabularies/schemaorg/financialservice.rb
|
193
|
+
- lib/mida/vocabularies/schemaorg/product.rb
|
194
|
+
- lib/mida/vocabularies/schemaorg/childcare.rb
|
195
|
+
- lib/mida/vocabularies/schemaorg/governmentoffice.rb
|
196
|
+
- lib/mida/vocabularies/schemaorg/toystore.rb
|
197
|
+
- lib/mida/vocabularies/schemaorg/hospital.rb
|
198
|
+
- lib/mida/vocabularies/schemaorg/sportsevent.rb
|
199
|
+
- lib/mida/vocabularies/schemaorg/busstation.rb
|
200
|
+
- lib/mida/vocabularies/schemaorg/ngo.rb
|
201
|
+
- lib/mida/vocabularies/schemaorg/aggregateoffer.rb
|
202
|
+
- lib/mida/vocabularies/schemaorg/electrician.rb
|
203
|
+
- lib/mida/vocabularies/schemaorg/mass.rb
|
204
|
+
- lib/mida/vocabularies/schemaorg/computerstore.rb
|
205
|
+
- lib/mida/vocabularies/schemaorg/corporation.rb
|
206
|
+
- lib/mida/vocabularies/schemaorg/bikestore.rb
|
207
|
+
- lib/mida/vocabularies/schemaorg/governmentbuilding.rb
|
208
|
+
- lib/mida/vocabularies/schemaorg/collegeoruniversity.rb
|
209
|
+
- lib/mida/vocabularies/schemaorg/electronicsstore.rb
|
210
|
+
- lib/mida/vocabularies/schemaorg/preschool.rb
|
211
|
+
- lib/mida/vocabularies/schemaorg/distance.rb
|
212
|
+
- lib/mida/vocabularies/schemaorg/sitenavigationelement.rb
|
213
|
+
- lib/mida/vocabularies/schemaorg/realestateagent.rb
|
214
|
+
- lib/mida/vocabularies/schemaorg/sculpture.rb
|
215
|
+
- lib/mida/vocabularies/schemaorg/civicstructure.rb
|
216
|
+
- lib/mida/vocabularies/schemaorg/zoo.rb
|
217
|
+
- lib/mida/vocabularies/schemaorg/restaurant.rb
|
218
|
+
- lib/mida/vocabularies/schemaorg/geocoordinates.rb
|
219
|
+
- lib/mida/vocabularies/schemaorg/attorney.rb
|
220
|
+
- lib/mida/vocabularies/schemaorg/nightclub.rb
|
221
|
+
- lib/mida/vocabularies/schemaorg/adultentertainment.rb
|
222
|
+
- lib/mida/vocabularies/schemaorg/audioobject.rb
|
223
|
+
- lib/mida/vocabularies/schemaorg/postoffice.rb
|
224
|
+
- lib/mida/vocabularies/schemaorg/beautysalon.rb
|
225
|
+
- lib/mida/vocabularies/schemaorg/userdownloads.rb
|
226
|
+
- lib/mida/vocabularies/schemaorg/motorcycledealer.rb
|
227
|
+
- lib/mida/vocabularies/schemaorg/busstop.rb
|
228
|
+
- lib/mida/vocabularies/schemaorg/recipe.rb
|
229
|
+
- lib/mida/vocabularies/schemaorg/bookstore.rb
|
230
|
+
- lib/mida/vocabularies/schemaorg/hobbyshop.rb
|
231
|
+
- lib/mida/vocabularies/schemaorg/plumber.rb
|
232
|
+
- lib/mida/vocabularies/schemaorg/crematorium.rb
|
233
|
+
- lib/mida/vocabularies/schemaorg/exercisegym.rb
|
234
|
+
- lib/mida/vocabularies/schemaorg/touristattraction.rb
|
235
|
+
- lib/mida/vocabularies/schemaorg/veterinarycare.rb
|
236
|
+
- lib/mida/vocabularies/schemaorg/postaladdress.rb
|
237
|
+
- lib/mida/vocabularies/schemaorg/firestation.rb
|
238
|
+
- lib/mida/vocabularies/schemaorg/continent.rb
|
239
|
+
- lib/mida/vocabularies/schemaorg/trainstation.rb
|
240
|
+
- lib/mida/vocabularies/schemaorg/store.rb
|
241
|
+
- lib/mida/vocabularies/schemaorg/userblocks.rb
|
242
|
+
- lib/mida/vocabularies/schemaorg/collectionpage.rb
|
243
|
+
- lib/mida/vocabularies/schemaorg/userpagevisits.rb
|
244
|
+
- lib/mida/vocabularies/schemaorg/riverbodyofwater.rb
|
245
|
+
- lib/mida/vocabularies/schemaorg/book.rb
|
246
|
+
- lib/mida/vocabularies/schemaorg/musicplaylist.rb
|
247
|
+
- lib/mida/vocabularies/schemaorg/wpfooter.rb
|
248
|
+
- lib/mida/vocabularies/schemaorg/departmentstore.rb
|
249
|
+
- lib/mida/vocabularies/schemaorg/sportinggoodsstore.rb
|
250
|
+
- lib/mida/vocabularies/schemaorg/winery.rb
|
251
|
+
- lib/mida/vocabularies/schemaorg/newsarticle.rb
|
252
|
+
- lib/mida/vocabularies/schemaorg/jewelrystore.rb
|
253
|
+
- lib/mida/vocabularies/schemaorg/pawnshop.rb
|
254
|
+
- lib/mida/vocabularies/schemaorg/article.rb
|
255
|
+
- lib/mida/vocabularies/schemaorg/shoppingcenter.rb
|
256
|
+
- lib/mida/vocabularies/schemaorg/lakebodyofwater.rb
|
257
|
+
- lib/mida/vocabularies/schemaorg/musicvideoobject.rb
|
258
|
+
- lib/mida/vocabularies/schemaorg/usercomments.rb
|
259
|
+
- lib/mida/vocabularies/schemaorg/offer.rb
|
260
|
+
- lib/mida/vocabularies/schemaorg/school.rb
|
261
|
+
- lib/mida/vocabularies/schemaorg/parkingfacility.rb
|
262
|
+
- lib/mida/vocabularies/schemaorg/generalcontractor.rb
|
263
|
+
- lib/mida/vocabularies/schemaorg/medicalclinic.rb
|
264
|
+
- lib/mida/vocabularies/schemaorg/airport.rb
|
265
|
+
- lib/mida/vocabularies/schemaorg/enumeration.rb
|
266
|
+
- lib/mida/vocabularies/schemaorg/dancegroup.rb
|
267
|
+
- lib/mida/vocabularies/schemaorg/subwaystation.rb
|
268
|
+
- lib/mida/vocabularies/schemaorg/cityhall.rb
|
269
|
+
- lib/mida/vocabularies/schemaorg/fastfoodrestaurant.rb
|
270
|
+
- lib/mida/vocabularies/schemaorg/saleevent.rb
|
271
|
+
- lib/mida/vocabularies/schemaorg/musicvenue.rb
|
272
|
+
- lib/mida/vocabularies/schemaorg/governmentorganization.rb
|
273
|
+
- lib/mida/vocabularies/schemaorg/contactpoint.rb
|
274
|
+
- lib/mida/vocabularies/schemaorg/rvpark.rb
|
275
|
+
- lib/mida/vocabularies/schemaorg/campground.rb
|
276
|
+
- lib/mida/vocabularies/schemaorg/entertainmentbusiness.rb
|
277
|
+
- lib/mida/vocabularies/schemaorg/language.rb
|
278
|
+
- lib/mida/vocabularies/schemaorg/residence.rb
|
279
|
+
- lib/mida/vocabularies/schemaorg/wpheader.rb
|
280
|
+
- lib/mida/vocabularies/schemaorg/mensclothingstore.rb
|
281
|
+
- lib/mida/vocabularies/schemaorg/autowash.rb
|
282
|
+
- lib/mida/vocabularies/schemaorg/bedandbreakfast.rb
|
283
|
+
- lib/mida/vocabularies/schemaorg/medicalorganization.rb
|
284
|
+
- lib/mida/vocabularies/schemaorg/park.rb
|
285
|
+
- lib/mida/vocabularies/schemaorg/emergencyservice.rb
|
286
|
+
- lib/mida/vocabularies/schemaorg/localbusiness.rb
|
287
|
+
- lib/mida/vocabularies/schemaorg/icecreamshop.rb
|
288
|
+
- lib/mida/vocabularies/schemaorg/golfcourse.rb
|
289
|
+
- lib/mida/vocabularies/schemaorg/church.rb
|
290
|
+
- lib/mida/vocabularies/schemaorg/florist.rb
|
291
|
+
- lib/mida/vocabularies/schemaorg/autodealer.rb
|
292
|
+
- lib/mida/vocabularies/schemaorg/tvseries.rb
|
293
|
+
- lib/mida/vocabularies/schemaorg/radiostation.rb
|
294
|
+
- lib/mida/vocabularies/schemaorg/recyclingcenter.rb
|
295
|
+
- lib/mida/vocabularies/schemaorg/administrativearea.rb
|
296
|
+
- lib/mida/vocabularies/schemaorg/autorental.rb
|
297
|
+
- lib/mida/vocabularies/schemaorg/intangible.rb
|
298
|
+
- lib/mida/vocabularies/schemaorg/musicstore.rb
|
299
|
+
- lib/mida/vocabularies/schemaorg/amusementpark.rb
|
300
|
+
- lib/mida/vocabularies/schemaorg/bowlingalley.rb
|
301
|
+
- lib/mida/vocabularies/schemaorg/comedyclub.rb
|
302
|
+
- lib/mida/vocabularies/schemaorg/musicalbum.rb
|
303
|
+
- lib/mida/vocabularies/schemaorg/table.rb
|
304
|
+
- lib/mida/vocabularies/schemaorg/state.rb
|
305
|
+
- lib/mida/vocabularies/schemaorg/locksmith.rb
|
306
|
+
- lib/mida/vocabularies/schemaorg/brewery.rb
|
307
|
+
- lib/mida/vocabularies/schemaorg/defenceestablishment.rb
|
308
|
+
- lib/mida/vocabularies/schemaorg/imagegallery.rb
|
309
|
+
- lib/mida/vocabularies/schemaorg/canal.rb
|
310
|
+
- lib/mida/vocabularies/schemaorg/taxistand.rb
|
311
|
+
- lib/mida/vocabularies/schemaorg/insuranceagency.rb
|
312
|
+
- lib/mida/vocabularies/schemaorg/employmentagency.rb
|
313
|
+
- lib/mida/vocabularies/schemaorg/profilepage.rb
|
314
|
+
- lib/mida/vocabularies/schemaorg/catholicchurch.rb
|
315
|
+
- lib/mida/vocabularies/schemaorg/literaryevent.rb
|
316
|
+
- lib/mida/vocabularies/schemaorg/nailsalon.rb
|
317
|
+
- lib/mida/vocabularies/schemaorg/outletstore.rb
|
318
|
+
- lib/mida/vocabularies/schemaorg/internetcafe.rb
|
319
|
+
- lib/mida/vocabularies/schemaorg/mountain.rb
|
320
|
+
- lib/mida/vocabularies/schemaorg/autobodyshop.rb
|
321
|
+
- lib/mida/vocabularies/schemaorg/usertweets.rb
|
322
|
+
- lib/mida/vocabularies/schemaorg/landform.rb
|
323
|
+
- lib/mida/vocabularies/schemaorg/theaterevent.rb
|
324
|
+
- lib/mida/vocabularies/schemaorg/selfstorage.rb
|
325
|
+
- lib/mida/vocabularies/schemaorg/imageobject.rb
|
326
|
+
- lib/mida/vocabularies/schemaorg/roofingcontractor.rb
|
327
|
+
- lib/mida/vocabularies/schemaorg/singlefamilyresidence.rb
|
328
|
+
- lib/mida/vocabularies/schemaorg/hairsalon.rb
|
329
|
+
- lib/mida/vocabularies/schemaorg/city.rb
|
330
|
+
- lib/mida/vocabularies/schemaorg/housepainter.rb
|
331
|
+
- lib/mida/vocabularies/schemaorg/notary.rb
|
332
|
+
- lib/mida/vocabularies/schemaorg/socialevent.rb
|
333
|
+
- lib/mida/vocabularies/schemaorg/gardenstore.rb
|
334
|
+
- lib/mida/vocabularies/schemaorg/usercheckins.rb
|
335
|
+
- lib/mida/vocabularies/schemaorg/automotivebusiness.rb
|
336
|
+
- lib/mida/vocabularies/schemaorg/festival.rb
|
337
|
+
- lib/mida/vocabularies/schemaorg/publicswimmingpool.rb
|
338
|
+
- lib/mida/vocabularies/schemaorg/country.rb
|
339
|
+
- lib/mida/vocabularies/schemaorg/organization.rb
|
340
|
+
- lib/mida/vocabularies/schemaorg/hotel.rb
|
341
|
+
- lib/mida/vocabularies/schemaorg/wpsidebar.rb
|
342
|
+
- lib/mida/vocabularies/schemaorg/tireshop.rb
|
343
|
+
- lib/mida/vocabularies/schemaorg/placeofworship.rb
|
344
|
+
- lib/mida/vocabularies/schemaorg/hostel.rb
|
345
|
+
- lib/mida/vocabularies/schemaorg/movietheater.rb
|
346
|
+
- lib/mida/vocabularies/schemaorg/lodgingbusiness.rb
|
347
|
+
- lib/mida/vocabularies/schemaorg/elementaryschool.rb
|
348
|
+
- lib/mida/vocabularies/schemaorg/person.rb
|
349
|
+
- lib/mida/vocabularies/schemaorg/mosque.rb
|
350
|
+
- lib/mida/vocabularies/schemaorg/seabodyofwater.rb
|
351
|
+
- lib/mida/vocabularies/schemaorg/petstore.rb
|
352
|
+
- lib/mida/vocabularies/schemaorg/userplusones.rb
|
353
|
+
- lib/mida/vocabularies/schemaorg/policestation.rb
|
354
|
+
- lib/mida/vocabularies/schemaorg/artgallery.rb
|
355
|
+
- lib/mida/vocabularies/schemaorg/tenniscomplex.rb
|
356
|
+
- lib/mida/vocabularies/schemaorg/childrensevent.rb
|
357
|
+
- lib/mida/vocabularies/schemaorg/furniturestore.rb
|
358
|
+
- lib/mida/vocabularies/schemaorg/structuredvalue.rb
|
359
|
+
- lib/mida/vocabularies/schemaorg/userplays.rb
|
360
|
+
- lib/mida/vocabularies/schemaorg/stadiumorarena.rb
|
361
|
+
- lib/mida/vocabularies/schemaorg/travelagency.rb
|
362
|
+
- lib/mida/vocabularies/schemaorg/visualartsevent.rb
|
363
|
+
- lib/mida/vocabularies/schemaorg/drycleaningorlaundry.rb
|
364
|
+
- lib/mida/vocabularies/schemaorg.rb
|
365
|
+
- lib/mida/vocabularies/genericvocabulary.rb
|
366
|
+
- lib/mida/datatype/generic.rb
|
65
367
|
- lib/mida/datatype/float.rb
|
66
368
|
- lib/mida/datatype/number.rb
|
67
369
|
- lib/mida/datatype/iso8601date.rb
|
68
370
|
- lib/mida/datatype/text.rb
|
371
|
+
- lib/mida/datatype/enumeration.rb
|
69
372
|
- lib/mida/datatype/boolean.rb
|
70
373
|
- lib/mida/datatype/integer.rb
|
71
|
-
- lib/mida/
|
374
|
+
- lib/mida/datatype/url.rb
|
72
375
|
- lib/mida/vocabulary.rb
|
73
376
|
- lib/mida/itemscope.rb
|
74
377
|
- spec/propertydesc_spec.rb
|
@@ -79,15 +382,18 @@ files:
|
|
79
382
|
- spec/item_spec.rb
|
80
383
|
- spec/spec_helper.rb
|
81
384
|
- spec/datatype/iso8601date_spec.rb
|
385
|
+
- spec/datatype/enumeration_spec.rb
|
82
386
|
- spec/datatype/integer_spec.rb
|
387
|
+
- spec/datatype/url_spec.rb
|
83
388
|
- spec/datatype/float_spec.rb
|
389
|
+
- spec/datatype/generic_spec.rb
|
84
390
|
- spec/datatype/text_spec.rb
|
85
391
|
- spec/datatype/boolean_spec.rb
|
86
392
|
- spec/datatype/number_spec.rb
|
393
|
+
- LICENCE.rdoc
|
87
394
|
- TODO.rdoc
|
88
395
|
- CHANGELOG.rdoc
|
89
396
|
- README.rdoc
|
90
|
-
- LICENSE.rdoc
|
91
397
|
- Rakefile
|
92
398
|
- bin/mida
|
93
399
|
homepage: http://lawrencewoodman.github.com/mida/
|