isni 1.0 → 1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG +6 -0
- data/README.markdown +35 -0
- data/lib/isni.rb +1 -1
- metadata +10 -12
- data/README.rdoc +0 -35
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 5cdba762f192bf1cc94c459e3e570bd81781247bdb6cb9923e302e08cf61acbe
|
4
|
+
data.tar.gz: 54b8938f9f0b2f97601357c16463cae121a77612ca9118788e6c03d42c6f1b9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bec4d0f3f1958821734b6bda7d8e4ee5951f1e3d9eef3d8eab858b695a9d392e003c5d585ecbefc34232bab4d1a00eecd84972260a277cdbb2017762af285a9
|
7
|
+
data.tar.gz: 37739803eea6f8d255bd44c30cd1e9fc26527fec63295d1cb8821867dd2c0296e26ae605573c77d503568575df8aaaf8d736690b77dabf0fdbe8e4481665b907
|
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.
|
data/lib/isni.rb
CHANGED
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: isni
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.2'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Healy
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '10.0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '10.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -61,14 +61,14 @@ 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
|
68
68
|
licenses:
|
69
69
|
- MIT
|
70
70
|
metadata: {}
|
71
|
-
post_install_message:
|
71
|
+
post_install_message:
|
72
72
|
rdoc_options:
|
73
73
|
- "--title"
|
74
74
|
- ISNI
|
@@ -79,17 +79,15 @@ 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
|
- - ">="
|
86
86
|
- !ruby/object:Gem::Version
|
87
87
|
version: '0'
|
88
88
|
requirements: []
|
89
|
-
|
90
|
-
|
91
|
-
signing_key:
|
89
|
+
rubygems_version: 3.3.26
|
90
|
+
signing_key:
|
92
91
|
specification_version: 4
|
93
92
|
summary: a (very) small library for working with ISNI and ORCID
|
94
93
|
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.
|