Sist02

MIT License Website GitHub issues GitHub stars GitHub release GitHub commits

This gem provides easy way to make SIST-02 formed references.

Sist02::CiNii is based on caps

Command line interface is here.

Web application is here and available on here.

Installation

Add this line to your application's Gemfile:

gem 'sist02'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sist02

Usage

You get naid in cinii article page.

naid is following (please input as String).

naid description

require 'sist02'

# 雑誌記事論文
naid = "110009886645"
p Sist02::CiNii.article_ref(naid)
#=> "粟津 妙華, 高田 雅美, 城 和貴. 活字データの分類を用いた進化計算による近代書籍からのルビ除去. 情報処理学会論文誌. 数理モデル化と応用. 2015, 8(1), p. 72-79."

naid = "40020388722"
p Sist02::CiNii.article_ref(naid)
#=> "近藤 宏. 臨床スポーツ鍼灸研究会(10)下肢のスポーツ障害 : 運動連鎖を応用した実践的アプローチ(1). Training journal. 2015, 37(4), p. 37-41."

# 図書
ncid = "BB18507477"
p Sist02::CiNii.book_ref(ncid)
=> "まちライブラリー, マイクロ・ライブラリーサミット実行委員会, 礒井純充. マイクロ・ライブラリー : 人とまちをつなぐ小さな図書館. 学芸出版社, 2015, 238p."

# 博士論文
naid = "500000587337"
p Sist02::CiNii.dissertations_ref(naid)
=> "今井, 福司. 日本占領期におけるアメリカ学校図書館の導入 : 日米の学校教育実践における学校図書館の位置づけ. 東京大学, 2013, 博士論文."

or

irb description

Development

After checking out the repo, run bin/setup to install dependencies. Then, run bin/console for an interactive prompt that will allow you to experiment.

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 to create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

  1. Fork it ( https://github.com/[my-github-username]/sist02/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request