sendregning 0.1.0 → 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.
data/README.rdoc CHANGED
@@ -31,7 +31,7 @@ Now start sending invoices:
31
31
  # Get the invoice number for future reference
32
32
  id = invoice.invoiceNo
33
33
 
34
- Now, let's check how we're doing
34
+ Let's check how we're doing!
35
35
 
36
36
  invoice = client.find_invoice(id)
37
37
  invoice.paid? # => true
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -83,6 +83,9 @@ module Sendregning
83
83
  invoice.optional do |optional|
84
84
  @optional.each do |key, value|
85
85
  key = key.to_sym
86
+ if value.kind_of?(Date) || value.kind_of(Time)
87
+ value = value.strftime("%d.%m.%y")
88
+ end
86
89
  optional.tag! key, value
87
90
  end
88
91
  end
data/sendregning.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{sendregning}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Inge J\303\270rgensen"]
12
- s.date = %q{2010-10-20}
12
+ s.date = %q{2011-01-04}
13
13
  s.description = %q{Ruby client for the SendRegning Web Service}
14
14
  s.email = %q{inge@manualdesign.no}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sendregning
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
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Inge J\xC3\xB8rgensen"
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-10-20 00:00:00 +02:00
18
+ date: 2011-01-04 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency