isni 1.0 → 1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +3 -0
- data/README.markdown +35 -0
- metadata +5 -6
- data/README.rdoc +0 -35
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 873a6ca106b538309ade92b0397528cb8ac4d589
|
4
|
+
data.tar.gz: 9e90b9577865425bdcbfad82c3178f6be4ec1a28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef4f87402c07f03a6ee5245fa4ac1bf587156d786640e4ff17abbdb3cef1cd31fa3d6532c62657ca1922e3684e46fd54aebaa123fb96d226e618ebcda13f7d8c
|
7
|
+
data.tar.gz: 6ce7fa6619e75f8bd2161733945909ecbcccc8b99a786a9030604aee9be541dfd16d285a9506d54d28b28d5d2e4ec86246d8cbfac0cff5548de28d4dc0ebe75d
|
data/CHANGELOG
CHANGED
data/README.markdown
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
A small class for generating and validating Internation Standard Name
|
2
|
+
Identifiers (ISNI). This will also work just fine with ORCID, a subset
|
3
|
+
of ISNI.
|
4
|
+
|
5
|
+
# Installation
|
6
|
+
|
7
|
+
gem install isni
|
8
|
+
|
9
|
+
# Usage
|
10
|
+
|
11
|
+
ISNI.new("000000029534656X").valid?
|
12
|
+
=> true
|
13
|
+
|
14
|
+
ISNI.valid?("000000029534656X")
|
15
|
+
=> true
|
16
|
+
|
17
|
+
ISNI.valid?("0000000295346560")
|
18
|
+
=> false
|
19
|
+
|
20
|
+
ISNI.complete("000000029534656")
|
21
|
+
=> "000000029534656X"
|
22
|
+
|
23
|
+
ISNI.new("000000029534656X").to_s
|
24
|
+
=> "0000-0002-9534-656X"
|
25
|
+
|
26
|
+
# Further Reading
|
27
|
+
|
28
|
+
- http://en.wikipedia.org/wiki/International_Standard_Name_Identifier
|
29
|
+
- http://orcid.org/
|
30
|
+
- http://support.orcid.org/knowledgebase/articles/116780-structure-of-the-orcid-identifier
|
31
|
+
|
32
|
+
# Contributing
|
33
|
+
|
34
|
+
Source code is publicly available @ http://github.com/yob/isni. Patches
|
35
|
+
welcome, preferably via a git repo I can pull from.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: isni
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.1'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Healy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -61,7 +61,7 @@ extra_rdoc_files: []
|
|
61
61
|
files:
|
62
62
|
- CHANGELOG
|
63
63
|
- MIT-LICENSE
|
64
|
-
- README.
|
64
|
+
- README.markdown
|
65
65
|
- Rakefile
|
66
66
|
- lib/isni.rb
|
67
67
|
homepage: http://github.com/yob/isni
|
@@ -79,7 +79,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 1.9.3
|
83
83
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
84
|
requirements:
|
85
85
|
- - ">="
|
@@ -87,9 +87,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
87
|
version: '0'
|
88
88
|
requirements: []
|
89
89
|
rubyforge_project:
|
90
|
-
rubygems_version: 2.
|
90
|
+
rubygems_version: 2.6.11
|
91
91
|
signing_key:
|
92
92
|
specification_version: 4
|
93
93
|
summary: a (very) small library for working with ISNI and ORCID
|
94
94
|
test_files: []
|
95
|
-
has_rdoc: true
|
data/README.rdoc
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
A small class for generating and validating Internation Standard Name
|
2
|
-
Identifiers (ISNI). This will also work just fine with ORCID, a subset
|
3
|
-
of ISNI.
|
4
|
-
|
5
|
-
= Installation
|
6
|
-
|
7
|
-
gem install isni
|
8
|
-
|
9
|
-
= Usage
|
10
|
-
|
11
|
-
ISNI.new("000000029534656X").valid?
|
12
|
-
=> true
|
13
|
-
|
14
|
-
ISNI.valid?("000000029534656X")
|
15
|
-
=> true
|
16
|
-
|
17
|
-
ISNI.valid?("0000000295346560")
|
18
|
-
=> false
|
19
|
-
|
20
|
-
ISNI.complete("000000029534656")
|
21
|
-
=> "000000029534656X"
|
22
|
-
|
23
|
-
ISNI.new("000000029534656X").to_s
|
24
|
-
=> "0000-0002-9534-656X"
|
25
|
-
|
26
|
-
= Further Reading
|
27
|
-
|
28
|
-
- http://en.wikipedia.org/wiki/International_Standard_Name_Identifier
|
29
|
-
- http://orcid.org/
|
30
|
-
- http://support.orcid.org/knowledgebase/articles/116780-structure-of-the-orcid-identifier
|
31
|
-
|
32
|
-
= Contributing
|
33
|
-
|
34
|
-
Source code is publicly available @ http://github.com/yob/isni.
|
35
|
-
Patches welcome, preferably via a git repo I can pull from.
|