isni 1.0 → 1.1

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +3 -0
  3. data/README.markdown +35 -0
  4. metadata +5 -6
  5. data/README.rdoc +0 -35
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 377dcc23aef9b2c95633d4cb5c9c1e8352dbe04d
4
- data.tar.gz: 13512e9cfc1c1526b53d991c3b305cbc32c6d0a0
3
+ metadata.gz: 873a6ca106b538309ade92b0397528cb8ac4d589
4
+ data.tar.gz: 9e90b9577865425bdcbfad82c3178f6be4ec1a28
5
5
  SHA512:
6
- metadata.gz: f927d203e32ed77938351662c3405364aa80114d47199d0010b992c721f03598bbe1bda97a0fb7d1ebcdad64b53a33b873c12b9963c4f14d343f728eee32e5c0
7
- data.tar.gz: b239687d6f6df4b7a157407155fa47b1878dc13d6fbcdb8fab5f8fe09fa6f4604e42402ca8bcb92b0c59983879a4357a326adea126bdb18ceec4656d21cfb83c
6
+ metadata.gz: ef4f87402c07f03a6ee5245fa4ac1bf587156d786640e4ff17abbdb3cef1cd31fa3d6532c62657ca1922e3684e46fd54aebaa123fb96d226e618ebcda13f7d8c
7
+ data.tar.gz: 6ce7fa6619e75f8bd2161733945909ecbcccc8b99a786a9030604aee9be541dfd16d285a9506d54d28b28d5d2e4ec86246d8cbfac0cff5548de28d4dc0ebe75d
data/CHANGELOG CHANGED
@@ -1,2 +1,5 @@
1
+ v1.1 (16th July 2017)
2
+ - Updated packaging to work well with ruby 1.9.3 to 2.4
3
+
1
4
  v1.0 (7th August 2014)
2
5
  - Initial Release
@@ -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.0'
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: 2014-08-07 00:00:00.000000000 Z
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.rdoc
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: '0'
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.2.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
@@ -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.