funtimes 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/funtimes.gemspec +2 -2
- data/lib/funtimes/week.rb +1 -0
- data/spec/week_spec.rb +8 -0
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.1
|
data/funtimes.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "funtimes"
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Len Smith"]
|
12
|
-
s.date = "2011-10-
|
12
|
+
s.date = "2011-10-05"
|
13
13
|
s.description = "Manage date ranges, months and quarters"
|
14
14
|
s.email = "ignu.smith@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
data/lib/funtimes/week.rb
CHANGED
data/spec/week_spec.rb
CHANGED
@@ -7,6 +7,14 @@ describe Week do
|
|
7
7
|
first_week.days.to_a.length.should == 7
|
8
8
|
end
|
9
9
|
|
10
|
+
it "sets start_date" do
|
11
|
+
first_week.start_date.should == Date.new(2011, 10, 2)
|
12
|
+
end
|
13
|
+
|
14
|
+
it "sets end_date" do
|
15
|
+
first_week.end_date.should == Date.new(2011, 10, 8)
|
16
|
+
end
|
17
|
+
|
10
18
|
it "starts the week on a sunday" do
|
11
19
|
first_week.days.first.should == Date.new(2011, 10, 2)
|
12
20
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: funtimes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-10-
|
12
|
+
date: 2011-10-05 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
16
|
+
requirement: &70093346613780 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: 2.5.0
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70093346613780
|
25
25
|
description: Manage date ranges, months and quarters
|
26
26
|
email: ignu.smith@gmail.com
|
27
27
|
executables: []
|