noid 0.6.5 → 0.6.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +1 -1
- data/VERSION +1 -1
- data/lib/noid/minter.rb +2 -1
- data/spec/lib/minter_spec.rb +6 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf146d1776a27d32f143739ec816493891785b40
|
4
|
+
data.tar.gz: f7aa9deb3f005be8c995a88d446f97371ad6ff61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f11e4d49a4f1de1135518b7b0a5d2e8475430e4c45b6c62701d513be606dee0e4ae6b0a0ae78c8ea34aea2097967604587132557fdf4887ad0ae5ac0182072d5
|
7
|
+
data.tar.gz: 75135706b2e242974ab2ad2225815d13d40802f6cf5519d4af6b34c9ac8466af76ffe74b8a619fc8a09de2568f3ee8f7b19c0725f6f16bbcea2acfd41eee2eb4
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
&����B���������O#��I�� .���JI�kA.eG�mn=DXI�AWй�E��X �Q��Gs�̍�&tg��YX��4�}�w�*�~e�U�]�8�E�,+Dž�! }0ʍ���JNU���eP�*�u��?\��c�`í��eWݧ�S�x�s|��51AC��n�����Pk�!Ec&P���xce�:k��w�[�MώL�%�᷾eF�e�Y�y�A*ɏ�9����_��/�����(
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.6
|
data/lib/noid/minter.rb
CHANGED
@@ -20,6 +20,7 @@ module Noid
|
|
20
20
|
|
21
21
|
@after_mint = options[:after_mint]
|
22
22
|
end
|
23
|
+
@template ||= Noid::Template.new(@template_string)
|
23
24
|
end
|
24
25
|
|
25
26
|
##
|
@@ -38,7 +39,7 @@ module Noid
|
|
38
39
|
#
|
39
40
|
# @return Noid::Template
|
40
41
|
def template
|
41
|
-
@template
|
42
|
+
@template
|
42
43
|
end
|
43
44
|
|
44
45
|
##
|
data/spec/lib/minter_spec.rb
CHANGED
@@ -106,6 +106,12 @@ describe Noid::Minter do
|
|
106
106
|
id = minter.mint
|
107
107
|
minter.valid?(id).should be_true
|
108
108
|
end
|
109
|
+
it "should validate with a new minter" do
|
110
|
+
minter = Noid::Minter.new(:template => ".redek")
|
111
|
+
id = minter.mint
|
112
|
+
minter2 = Noid::Minter.new(:template => ".redek")
|
113
|
+
minter2.valid?(id).should be_true
|
114
|
+
end
|
109
115
|
end
|
110
116
|
|
111
117
|
describe "seed" do
|
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.6.
|
4
|
+
version: 0.6.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Beer
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
W4KPvarE4dgxT4TXIIKkh/K/Z9yaYt73biInVukEI9H2HHWkuAyblxg1jcR/zy+w
|
31
31
|
K27NJ2vhSpx2PPhb
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2013-03-
|
33
|
+
date: 2013-03-27 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: backports
|
metadata.gz.sig
CHANGED
Binary file
|