suprdate 1.0.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/LICENSE +10 -0
- data/README.md +108 -0
- data/TODO +6 -0
- data/VERSION +1 -0
- data/bin/coverage +19 -0
- data/bin/irb +6 -0
- data/dev_notes/week_definition.rb +62 -0
- data/lib/suprdate.rb +186 -0
- data/lib/suprdate/builder.rb +71 -0
- data/lib/suprdate/day.rb +94 -0
- data/lib/suprdate/month.rb +95 -0
- data/lib/suprdate/year.rb +62 -0
- data/spec/array_diff.spec.rb +17 -0
- data/spec/builder.spec.rb +65 -0
- data/spec/day.spec.rb +124 -0
- data/spec/inter_class_ranges.spec.rb +54 -0
- data/spec/month.spec.rb +149 -0
- data/spec/spec_helper.rb +19 -0
- data/spec/suprdate.spec.rb +193 -0
- data/spec/year.spec.rb +167 -0
- data/suprdate.gemspec +17 -0
- metadata +92 -0
data/suprdate.gemspec
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
require 'rubygems'
|
|
2
|
+
|
|
3
|
+
Gem::Specification.new do |x|
|
|
4
|
+
x.rubyforge_project = x.name = 'suprdate'
|
|
5
|
+
x.summary = "Date value objects. An OO base for working with dates."
|
|
6
|
+
x.version = File.read('VERSION').strip
|
|
7
|
+
x.authors = ['Ollie Saunders']
|
|
8
|
+
x.email = 'contact.me.via@github.com.please'
|
|
9
|
+
x.description = <<-END
|
|
10
|
+
Provides year, month, and day values objects for the purposes of traversal, iteration,
|
|
11
|
+
comparison, conversion, and arithmetic.
|
|
12
|
+
END
|
|
13
|
+
x.files = Dir['**/*']
|
|
14
|
+
x.homepage = 'http://github.com/olliesaunders/suprdate'
|
|
15
|
+
x.has_rdoc = false
|
|
16
|
+
x.test_files = Dir['spec/*.spec.rb']
|
|
17
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: suprdate
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
prerelease: false
|
|
5
|
+
segments:
|
|
6
|
+
- 1
|
|
7
|
+
- 0
|
|
8
|
+
- 0
|
|
9
|
+
version: 1.0.0
|
|
10
|
+
platform: ruby
|
|
11
|
+
authors:
|
|
12
|
+
- Ollie Saunders
|
|
13
|
+
autorequire:
|
|
14
|
+
bindir: bin
|
|
15
|
+
cert_chain: []
|
|
16
|
+
|
|
17
|
+
date: 2010-03-06 00:00:00 +00:00
|
|
18
|
+
default_executable:
|
|
19
|
+
dependencies: []
|
|
20
|
+
|
|
21
|
+
description: |
|
|
22
|
+
Provides year, month, and day values objects for the purposes of traversal, iteration,
|
|
23
|
+
comparison, conversion, and arithmetic.
|
|
24
|
+
|
|
25
|
+
email: contact.me.via@github.com.please
|
|
26
|
+
executables: []
|
|
27
|
+
|
|
28
|
+
extensions: []
|
|
29
|
+
|
|
30
|
+
extra_rdoc_files: []
|
|
31
|
+
|
|
32
|
+
files:
|
|
33
|
+
- bin/coverage
|
|
34
|
+
- bin/irb
|
|
35
|
+
- dev_notes/week_definition.rb
|
|
36
|
+
- lib/suprdate/builder.rb
|
|
37
|
+
- lib/suprdate/day.rb
|
|
38
|
+
- lib/suprdate/month.rb
|
|
39
|
+
- lib/suprdate/year.rb
|
|
40
|
+
- lib/suprdate.rb
|
|
41
|
+
- LICENSE
|
|
42
|
+
- README.md
|
|
43
|
+
- spec/array_diff.spec.rb
|
|
44
|
+
- spec/builder.spec.rb
|
|
45
|
+
- spec/day.spec.rb
|
|
46
|
+
- spec/inter_class_ranges.spec.rb
|
|
47
|
+
- spec/month.spec.rb
|
|
48
|
+
- spec/spec_helper.rb
|
|
49
|
+
- spec/suprdate.spec.rb
|
|
50
|
+
- spec/year.spec.rb
|
|
51
|
+
- suprdate-1.0.0.gem
|
|
52
|
+
- suprdate.gemspec
|
|
53
|
+
- TODO
|
|
54
|
+
- VERSION
|
|
55
|
+
has_rdoc: true
|
|
56
|
+
homepage: http://github.com/olliesaunders/suprdate
|
|
57
|
+
licenses: []
|
|
58
|
+
|
|
59
|
+
post_install_message:
|
|
60
|
+
rdoc_options: []
|
|
61
|
+
|
|
62
|
+
require_paths:
|
|
63
|
+
- lib
|
|
64
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - ">="
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
segments:
|
|
69
|
+
- 0
|
|
70
|
+
version: "0"
|
|
71
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
segments:
|
|
76
|
+
- 0
|
|
77
|
+
version: "0"
|
|
78
|
+
requirements: []
|
|
79
|
+
|
|
80
|
+
rubyforge_project: suprdate
|
|
81
|
+
rubygems_version: 1.3.6
|
|
82
|
+
signing_key:
|
|
83
|
+
specification_version: 3
|
|
84
|
+
summary: Date value objects. An OO base for working with dates.
|
|
85
|
+
test_files:
|
|
86
|
+
- spec/array_diff.spec.rb
|
|
87
|
+
- spec/builder.spec.rb
|
|
88
|
+
- spec/day.spec.rb
|
|
89
|
+
- spec/inter_class_ranges.spec.rb
|
|
90
|
+
- spec/month.spec.rb
|
|
91
|
+
- spec/suprdate.spec.rb
|
|
92
|
+
- spec/year.spec.rb
|