sist02-cli 0.2.4 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/sist02/cli/cinii.rb +8 -2
- data/lib/sist02/cli/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 56f0aeaa21ee1185e8f5b3d6d6b3f4dd9037e46c
|
|
4
|
+
data.tar.gz: c9bf9e8d3ebf1bb783073fd897ce913317b215cc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 86cf020510ef41ef5ea53ece370fa7dcd7f424f645e9f95e8da75f1bd0feb525b6bd6ca921e914ea4426aa14e868656f2dde6b38f8816bf479adad8152512699
|
|
7
|
+
data.tar.gz: 0b6c8914987c6b924c6b3dc806b414f60d0cb441cb074e78fca99dc2f1818389c7ff6a66009084d8a62fa26b9659b57a33fd4d27720f54d8d182185c7c2efbe0
|
data/lib/sist02/cli/cinii.rb
CHANGED
|
@@ -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
|
data/lib/sist02/cli/version.rb
CHANGED
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.
|
|
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-
|
|
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:
|