iso8601 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -5
- data/README.md +7 -7
- data/iso8601.gemspec +1 -1
- data/lib/iso8601.rb +1 -1
- data/lib/iso8601/atoms.rb +126 -28
- data/lib/iso8601/date.rb +23 -4
- data/lib/iso8601/{dateTime.rb → date_time.rb} +21 -1
- data/lib/iso8601/duration.rb +187 -110
- data/lib/iso8601/errors.rb +4 -0
- data/lib/iso8601/time.rb +20 -1
- data/lib/iso8601/version.rb +1 -1
- data/spec/iso8601/atoms_spec.rb +182 -46
- data/spec/iso8601/date_spec.rb +13 -16
- data/spec/iso8601/{dateTime_spec.rb → date_time_spec.rb} +30 -31
- data/spec/iso8601/duration_spec.rb +113 -84
- data/spec/iso8601/time_spec.rb +25 -21
- data/spec/spec_helper.rb +1 -1
- metadata +7 -7
data/spec/spec_helper.rb
CHANGED
@@ -4,7 +4,7 @@ $:.unshift File.expand_path('..', __FILE__)
|
|
4
4
|
require 'iso8601'
|
5
5
|
|
6
6
|
RSpec.configure do |config|
|
7
|
-
config.
|
7
|
+
config.run_all_when_everything_filtered = true
|
8
8
|
config.color = true
|
9
9
|
config.order = 'random'
|
10
10
|
config.formatter = :documentation
|
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.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arnau Siches
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '3.1'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '3.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rerun
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -57,14 +57,14 @@ files:
|
|
57
57
|
- lib/iso8601.rb
|
58
58
|
- lib/iso8601/atoms.rb
|
59
59
|
- lib/iso8601/date.rb
|
60
|
-
- lib/iso8601/
|
60
|
+
- lib/iso8601/date_time.rb
|
61
61
|
- lib/iso8601/duration.rb
|
62
62
|
- lib/iso8601/errors.rb
|
63
63
|
- lib/iso8601/time.rb
|
64
64
|
- lib/iso8601/version.rb
|
65
65
|
- spec/iso8601/atoms_spec.rb
|
66
|
-
- spec/iso8601/dateTime_spec.rb
|
67
66
|
- spec/iso8601/date_spec.rb
|
67
|
+
- spec/iso8601/date_time_spec.rb
|
68
68
|
- spec/iso8601/duration_spec.rb
|
69
69
|
- spec/iso8601/time_spec.rb
|
70
70
|
- spec/spec_helper.rb
|
@@ -94,8 +94,8 @@ specification_version: 4
|
|
94
94
|
summary: Ruby parser to work with ISO 8601 dateTimes and durations - http://en.wikipedia.org/wiki/ISO_8601
|
95
95
|
test_files:
|
96
96
|
- spec/iso8601/atoms_spec.rb
|
97
|
-
- spec/iso8601/dateTime_spec.rb
|
98
97
|
- spec/iso8601/date_spec.rb
|
98
|
+
- spec/iso8601/date_time_spec.rb
|
99
99
|
- spec/iso8601/duration_spec.rb
|
100
100
|
- spec/iso8601/time_spec.rb
|
101
101
|
- spec/spec_helper.rb
|