= RelatonOmg image:https://img.shields.io/gem/v/relaton-omg.svg["Gem Version", link="https://rubygems.org/gems/relaton-omg"] image:https://github.com/relaton/relaton-omg/workflows/macos/badge.svg["Build Status (macOS)", link="https://github.com/relaton/relaton-omg/actions?workflow=macos"] image:https://github.com/relaton/relaton-omg/workflows/windows/badge.svg["Build Status (Windows)", link="https://github.com/relaton/relaton-omg/actions?workflow=windows"] image:https://github.com/relaton/relaton-omg/workflows/ubuntu/badge.svg["Build Status (Ubuntu)", link="https://github.com/relaton/relaton-omg/actions?workflow=ubuntu"] image:https://codeclimate.com/github/relaton/relaton-omg/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/relaton/relaton-omg"] image:https://img.shields.io/github/issues-pr-raw/relaton/relaton-omg.svg["Pull Requests", link="https://github.com/relaton/relaton-omg/pulls"] image:https://img.shields.io/github/commits-since/relaton/relaton-omg/latest.svg["Commits since latest",link="https://github.com/relaton/relaton-omg/releases"] RelatonOmg is a Ruby gem that search and fetch standards from https://www.omg.org[The Object Management Group (OMG)]. The standards scrape form https://www.omg.org/spec == Installation Add this line to your application's Gemfile: [source,ruby] ---- gem 'relaton-omg' ---- And then execute: $ bundle install Or install it yourself as: $ gem install relaton-omg == Usage === Search document [source,ruby] ---- require 'relaton_omg' => true item = RelatonOmg::OmgBibliography.search 'OMG AMI4CCM 1.0' => # nil ---- === Serialization [source,ruby] ---- item.to_xml =>" 2020-02-17 Asynchronous Method Invocation for CCM https://www.omg.org/spec/AMI4CCM/1.0/ https://www.omg.org/spec/AMI4CCM/1.0/PDF AMI4CCM 1.0 2013-03 2013-03-01 1.0 This specification defines a mechanism to perform asynchronous method invocation for CCM (AMI4CCM). formal RF-Limited Corba Platform Component Architecture " ---- === Create bibliographic item form XML [source,ruby] ---- item = RelatonOmg::OmgBibliographicItem.from_xml 'spec/fixtures/omg_ami4ccm_1_0.xml' => # {"id"=>"AMI4CCM1.0", ... item = RelatonOmg::OmgBibliographicItem.from_hash hash => # #