README.md in garoon-cat-0.1.0 vs README.md in garoon-cat-0.2.0

- old
+ new

@@ -1,12 +1,20 @@ # Garoon Cat: A ruby interface to the Garoon API +[![Gem Version](https://badge.fury.io/rb/garoon-cat.svg)](https://badge.fury.io/rb/garoon-cat) + ## Usage Add this line to your application's Gemfile: ```ruby +gem 'garoon-cat' +``` + +or + +```ruby gem 'garoon-cat', git:'https://github.com/mh61503891/garoon-cat.git' ``` And then execute: @@ -38,11 +46,11 @@ garoon.service(:util).login({ login_name: ENV['USERNAME'], password: ENV['PASSWORD'] }) garoon.service(:base).get_user_versions() -garoon.service(:util).logout +garoon.service(:util).logout() ``` Example code 3: Dump information of organizations and users ```ruby @@ -89,11 +97,11 @@ $ ls -1 Gemfile dump.rb $ cat Gemfile -gem 'garoon-cat', git:'https://github.com/mh61503891/garoon-cat.git' +gem 'garoon-cat' $ bundle install Using concurrent-ruby 1.0.4 Using i18n 0.7.0 Using minitest 5.10.1 @@ -105,15 +113,15 @@ Using tzinfo 1.2.2 Using unf 0.1.4 Using activesupport 5.0.1 Using domain_name 0.5.20161129 Using http-cookie 1.0.3 -Using garoon-cat 0.1.0 from https://github.com/mh61503891/garoon-cat.git (at master@5140f80) +Using garoon-cat 0.1.0 Bundle complete! 1 Gemfile dependency, 14 gems now installed. Use `bundle show [gemname]` to see where a bundled gem is installed. -URI=https://example.net/cgi-bin/cbgrn/grn.cgi USERNAME=username PASSWORD=password bundle exec ruby dump.rb +$ URI=https://example.net/cgi-bin/cbgrn/grn.cgi?WSDL USERNAME=username PASSWORD=password bundle exec ruby dump.rb ``` Result: ```bash @@ -133,10 +141,10 @@ ## Development ### Test ```bash -export URI=https://example.net/cgi-bin/cbgrn/grn.cgi +export URI=https://example.net/cgi-bin/cbgrn/grn.cgi?WSDL export USERNAME=username export PASSWORD=password ``` ```bash