README.adoc in relaton-ecma-1.7.pre2 vs README.adoc in relaton-ecma-1.7.pre4
- old
+ new
@@ -6,28 +6,28 @@
image:https://github.com/relaton/relaton-ecma/workflows/ubuntu/badge.svg["Build Status (Ubuntu)", link="https://github.com/relaton/relaton-ecma/actions?workflow=ubuntu"]
image:https://codeclimate.com/github/relaton/relaton-ecma/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/relaton/relaton-ecma"]
image:https://img.shields.io/github/issues-pr-raw/relaton/relaton-ecma.svg["Pull Requests", link="https://github.com/relaton/relaton-ecma/pulls"]
image:https://img.shields.io/github/commits-since/relaton/relaton-ecma/latest.svg["Commits since latest",link="https://github.com/relaton/relaton-ecma/releases"]
-RelatonIetf is a Ruby gem that search and fetch standards from the https://www.ecma-international.org[European Computer Manufacturers Association].
+RelatonEcma is a Ruby gem that search and fetch standards from the https://www.ecma-international.org[European Computer Manufacturers Association].
== Installation
Add this line to your application's Gemfile:
[source,ruby]
----
-gem 'relaton_ecma'
+gem 'relaton-ecma'
----
And then execute:
$ bundle install
Or install it yourself as:
- $ gem install relaton_ecma
+ $ gem install relaton-ecma
== Usage
=== Search document
@@ -39,10 +39,22 @@
[relaton-ecma] ("ECMA-6") fetching...
[relaton-ecma] ("ECMA-6") found ECMA-6
=> #<RelatonBib::BibliographicItem:0x007fe0c047e340
...
+RelatonEcma::EcmaBibliography.get 'ECMA TR/18'
+[relaton-ecma] ("ECMA TR/18") fetching...
+[relaton-ecma] ("ECMA TR/18") found ECMA TR/18
+=> #<RelatonBib::BibliographicItem:0x007ff53d2011a8
+...
+
+RelatonEcma::EcmaBibliography.get "ECMA MEM/2021"
+[relaton-ecma] ("ECMA MEM/2021") fetching...
+[relaton-ecma] ("ECMA MEM/2021") found ECMA MEM/2021
+=> #<RelatonBib::BibliographicItem:0x007ff53d240150
+...
+
# Return nil if document doesn't exist.
RelatonEcma::EcmaBibliography.get '1111'
[relaton-ecma] ("1111") fetching...
[relaton-ecma] WARNING no match found online for 1111. The code must be exactly like it is on the standards website.
=> nil
@@ -110,10 +122,10 @@
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
== Contributing
-Bug reports and pull requests are welcome on GitHub at https://github.com/relaton/relaton_ecma.
+Bug reports and pull requests are welcome on GitHub at https://github.com/relaton/relaton-ecma.
== License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).