openid_couchdb_store 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
@@ -77,7 +77,7 @@ module OpenidCouchdbStore
77
77
  issued = if association.issued.to_s =~ /\A\d+\Z/
78
78
  association.issued
79
79
  else
80
- Time.parse(association.issued).to_i
80
+ Time.parse(association.issued.to_s).to_i
81
81
  end
82
82
 
83
83
  assoc = OpenidCouchdbStore::Association.create('server_url' => server_url,
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{openid_couchdb_store}
8
- s.version = "0.0.2"
8
+ s.version = "0.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Sam Schenkman-Moore"]
@@ -21,6 +21,12 @@ class TestOpenidCouchdbStore < Test::Unit::TestCase
21
21
  assert get_association
22
22
  end
23
23
 
24
+ def test_time_object_association
25
+ store_association(Time.now)
26
+
27
+ assert get_association
28
+ end
29
+
24
30
  def test_remove_association
25
31
  store_association
26
32
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openid_couchdb_store
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sam Schenkman-Moore