iso8601 0.8.3 → 0.8.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 53a7fd7f860f636a1839b537d889f5ca7a191e5f
4
- data.tar.gz: d7262af5731bd023d7c9be999518c89abd7c09e0
3
+ metadata.gz: 1a95ef6cc71f2a2e5af6466a026f86b790f51893
4
+ data.tar.gz: 9c656534277c2fd381b03838543b251163f5b274
5
5
  SHA512:
6
- metadata.gz: c2c5acdf6062821b7a0055fd24fefa92e4a24717013a92060f2ff77c93d57e2311bf5540249926bcff03cf4dbc2a6cedf718378b77d80c0a6cfd03057782dd75
7
- data.tar.gz: 54b513cb8c894158d116c34d212505a32ad18128d74f0656c68132fe35d9941f8ae778507f37f4770b74ed85b7eddb0c482499d068d910b6ad1559b2f4601002
6
+ metadata.gz: da5afe9beda6d394dd1a8e827d6fbf229f0c6648dd9493de4e223c23735a7c47757981a320d221d2caec14c97306a7e745ae078eec8495efe97e716b569ba03e
7
+ data.tar.gz: e76c0d4bac7906ba82098b4820658c68dca660b5d7493fd00ba5ec111b57b537a4d3c71034afeb70ae9b6090026dace9a6a122980c2da41834f26a1a5ac8c11a
@@ -1,3 +1,11 @@
1
+ ## 0.8.4
2
+
3
+ * Remove unwanted log.
4
+
5
+ ## 0.8.3
6
+
7
+ * Fix partial time patterns with timezone: `PThh:mmZ`, `PThhZ`.
8
+
1
9
  ## 0.8.2
2
10
 
3
11
  * Fix time components using comma (,) as a decimal separator.
@@ -146,7 +146,6 @@ module ISO8601
146
146
  #
147
147
  # @return [::DateTime]
148
148
  def compose(atoms, base)
149
- puts atoms.inspect
150
149
  ::DateTime.new(*[base.year, base.month, base.day], *atoms)
151
150
  rescue ArgumentError
152
151
  raise ISO8601::Errors::RangeError, @original
@@ -1,5 +1,5 @@
1
1
  module ISO8601
2
2
  ##
3
3
  # The gem version
4
- VERSION = '0.8.3'
4
+ VERSION = '0.8.4'
5
5
  end
@@ -82,6 +82,7 @@ describe ISO8601::Time do
82
82
  expect(ISO8601::Time.new('T19:29:39').atoms).to eq([19, 29, 39])
83
83
  expect(ISO8601::Time.new('T19:29').atoms).to eq([19, 29, 0.0])
84
84
  expect(ISO8601::Time.new('T19:29Z').atoms).to eq([19, 29, 0.0, 'Z'])
85
+ expect(ISO8601::Time.new('T19Z').atoms).to eq([19, 0, 0.0, 'Z'])
85
86
  end
86
87
  end
87
88
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iso8601
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arnau Siches
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-22 00:00:00.000000000 Z
11
+ date: 2015-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec