san 1.0.0 → 1.1.0
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.
- data/lib/san.rb +2 -2
- data/spec/san_spec.rb +4 -0
- metadata +3 -3
data/lib/san.rb
CHANGED
data/spec/san_spec.rb
CHANGED
@@ -4,6 +4,10 @@ require 'spec'
|
|
4
4
|
require 'san'
|
5
5
|
|
6
6
|
describe "The SAN class" do
|
7
|
+
it "should identify a valid SAN" do
|
8
|
+
SAN.new("9013725").valid?.should be_true
|
9
|
+
end
|
10
|
+
|
7
11
|
it "should identify a valid SAN" do
|
8
12
|
SAN.valid?("9013725").should be_true
|
9
13
|
SAN.valid?(9013725).should be_true
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: san
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Healy
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-09-11 00:00:00 +10:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -49,7 +49,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
49
49
|
requirements: []
|
50
50
|
|
51
51
|
rubyforge_project: san
|
52
|
-
rubygems_version: 1.
|
52
|
+
rubygems_version: 1.2.0
|
53
53
|
signing_key:
|
54
54
|
specification_version: 2
|
55
55
|
summary: a (very) small library for working with Standard Address Numbers.
|