noid 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/noid/minter.rb +1 -1
- data/noid.gemspec +0 -1
- metadata +9 -23
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.4
|
data/lib/noid/minter.rb
CHANGED
@@ -44,7 +44,7 @@ module Noid
|
|
44
44
|
return false unless prefix == @template.prefix
|
45
45
|
|
46
46
|
return false unless @template.characters.length == ch.length
|
47
|
-
@template.characters.each_with_index do |c, i|
|
47
|
+
@template.characters.split('').each_with_index do |c, i|
|
48
48
|
return false unless Noid::XDIGIT.include? ch[i]
|
49
49
|
return false if c == 'd' and ch[i] =~ /[^\d]/
|
50
50
|
end
|
data/noid.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: noid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-03-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: backports
|
16
|
-
requirement: &
|
16
|
+
requirement: &71395020 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *71395020
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: bundler
|
27
|
-
requirement: &
|
27
|
+
requirement: &71394560 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 1.0.0
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *71394560
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rspec
|
38
|
-
requirement: &
|
38
|
+
requirement: &71394160 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,18 +43,7 @@ dependencies:
|
|
43
43
|
version: '2.0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: rcov
|
49
|
-
requirement: &2156057420 !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
|
-
requirements:
|
52
|
-
- - ! '>='
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
type: :development
|
56
|
-
prerelease: false
|
57
|
-
version_requirements: *2156057420
|
46
|
+
version_requirements: *71394160
|
58
47
|
description: ''
|
59
48
|
email:
|
60
49
|
- chris@cbeer.info
|
@@ -99,7 +88,4 @@ rubygems_version: 1.8.10
|
|
99
88
|
signing_key:
|
100
89
|
specification_version: 3
|
101
90
|
summary: Nice Opaque Identifier
|
102
|
-
test_files:
|
103
|
-
- spec/lib/minter_spec.rb
|
104
|
-
- spec/spec_helper.rb
|
105
|
-
has_rdoc:
|
91
|
+
test_files: []
|