sist02-cli 0.2.4 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 59ad10e639a69424f922442ede9c77cbd71c37b5
4
- data.tar.gz: 624e5a531ae8e22cb124a6aff39903957f0221b6
3
+ metadata.gz: 56f0aeaa21ee1185e8f5b3d6d6b3f4dd9037e46c
4
+ data.tar.gz: c9bf9e8d3ebf1bb783073fd897ce913317b215cc
5
5
  SHA512:
6
- metadata.gz: c6bf8b9ba3047b0e105c9ce3f1a325e164457b5b1f5955342ef2d4b1de9349a13ab72a71e198da680b23af4e58d86972b5223786290654a6375edb2b9193bb74
7
- data.tar.gz: 502c9b047eabef816c377f0da2bd15e3f0c54c81f3eb26f951889400457892b5178476ad9bdf37b438f1ec5c0b3208fc7fac580c72089ebf5e2e4b8e36e651a1
6
+ metadata.gz: 86cf020510ef41ef5ea53ece370fa7dcd7f424f645e9f95e8da75f1bd0feb525b6bd6ca921e914ea4426aa14e868656f2dde6b38f8816bf479adad8152512699
7
+ data.tar.gz: 0b6c8914987c6b924c6b3dc806b414f60d0cb441cb074e78fca99dc2f1818389c7ff6a66009084d8a62fa26b9659b57a33fd4d27720f54d8d182185c7c2efbe0
@@ -7,17 +7,23 @@ require 'thor'
7
7
  module Sist02
8
8
  module Cli
9
9
  class CiNii < Thor
10
- desc "cinii_articles NAID", "get cinii articles bibliography"
10
+ desc "cinii_articles NAID", "get a cinii articles bibliography"
11
11
  def cinii_articles(naid)
12
12
  puts Sist02::CiNii.article_ref(naid)
13
13
  return Sist02::CiNii.article_ref(naid)
14
14
  end
15
15
 
16
- desc "cinii_books NCID", "get cinii books bibliography"
16
+ desc "cinii_books NCID", "get a cinii books bibliography"
17
17
  def cinii_books(ncid)
18
18
  puts Sist02::CiNii.book_ref(ncid)
19
19
  return Sist02::CiNii.book_ref(ncid)
20
20
  end
21
+
22
+ desc "cinii_d_papers NAID", "get a doctoral thesis bibliography"
23
+ def cinii_d_papers(naid)
24
+ puts Sist02::CiNii.d_paper_ref(naid)
25
+ return Sist02::CiNii.d_paper_ref(naid)
26
+ end
21
27
  end
22
28
  end
23
29
  end
@@ -1,5 +1,5 @@
1
1
  module Sist02
2
2
  module Cli
3
- VERSION = "0.2.4"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sist02-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - himkt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-05 00:00:00.000000000 Z
11
+ date: 2015-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -105,4 +105,3 @@ signing_key:
105
105
  specification_version: 4
106
106
  summary: gem for sist02 in console
107
107
  test_files: []
108
- has_rdoc: