sixarm_ruby_week 1.1.0 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
@@ -1,4 +1,7 @@
1
1
  CHANGELOG
2
2
 
3
+ 2012-03-12 1.1.4 Improve tests from test/unit style toward minitest/spec style
4
+ 2012-03-11 1.1.2 Add #date_range method to return start_date..end_date
5
+ 2012-03-10 1.1.1 Rename #includes? to #include? because it matches Ruby's Array include? method
3
6
  2012-02-24 1.1.0 Add methods .now, #includes?, #previous, #next, #start_date, #end_date, and improve examples
4
7
  2012-02-23 1.0.0 Updates for gem publishing
@@ -8,24 +8,39 @@ This gem models a week, based on the built-in Ruby Date class.
8
8
 
9
9
  == Examples
10
10
 
11
- week = Week.parse('2012-01-02')
12
- week.to_s => '2012-01-02'
13
11
 
14
- == Example Enumerable
12
+ Initialize:
13
+
14
+ date = Date.parse('2012-01-02')
15
+ week = Week.new(date)
16
+ week.to_s => '2012-01-02'
15
17
 
16
- week.previous.to_s => '2011-12-26'
17
- week.next.to_s => '2012-01-16'
18
+ Parse:
18
19
 
19
- == Example Math
20
+ week = Week.parse('2012-01-02')
21
+ week => 2012-01-02
20
22
 
21
- (week - 3).to_s => '2011-12-12'
22
- (week + 3).to_s => '2012-01-24'
23
+ Enumerable:
23
24
 
24
- == Example Range Helpers
25
+ week.previous => 2011-12-26
26
+ week.next => 2012-01-16
25
27
 
26
- week.start_date.to_s => '2012-01-02'
27
- week.end_date.to_s => '2012-01-09'
28
- week.includes?(Date.parse('2012-01-05')) => true
28
+ Math:
29
29
 
30
+ week - 3 => 2011-12-12
31
+ week + 3 => 2012-01-24
30
32
 
33
+ Start & End Dates:
31
34
 
35
+ week.start_date => 2012-01-02
36
+ week.end_date => 2012-01-08
37
+
38
+ Range:
39
+
40
+ week.date_range => Range(2012-01-02..2012-01-08)
41
+
42
+ Collection:
43
+
44
+ date = Date.parse('2012-01-02')
45
+ week.include?(date) => true
46
+ week.include?(date+7) => false
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.1.4
@@ -185,27 +185,37 @@ class Week
185
185
  end
186
186
 
187
187
 
188
-
189
188
  # Return the end date of this week.
190
189
  # This is the same as week.date + 6 days
191
190
  #
192
191
  # @example
193
192
  # week = Week.parse('2012-01-02')
194
- # week.end_date.to_s => '2012-01-09'
193
+ # week.end_date.to_s => '2012-01-08'
195
194
 
196
195
  def end_date
197
196
  @date + 6
198
197
  end
199
198
 
200
199
 
200
+ # Return the range start_date..end_date
201
+ #
202
+ # @example
203
+ # week = Week.parse('2012-01-02')
204
+ # week.date_range => Range(2012-01-02..2012-01-08)
205
+
206
+ def date_range
207
+ start_date..end_date
208
+ end
209
+
210
+
201
211
  # Return true iif the week includes the date, i.e. if the date is in start_date..end_date
202
212
  #
203
213
  # @example
204
214
  # week = Week.parse('2012-01-02')
205
- # week.includes?(Date.parse('2012-01-05')) => true
206
- # week.includes?(Date.parse('2012-01-10')) => false
215
+ # week.include?(Date.parse('2012-01-05')) => true
216
+ # week.include?(Date.parse('2012-01-10')) => false
207
217
 
208
- def includes?(date)
218
+ def include?(date)
209
219
  (start_date..end_date).include?(date)
210
220
  end
211
221
 
@@ -1,137 +1,383 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require 'test/unit'
3
+ require 'minitest/autorun'
3
4
  require 'simplecov'
4
5
  SimpleCov.start
5
6
  require 'sixarm_ruby_week'
6
7
 
7
- class WeekTest < Test::Unit::TestCase
8
+ describe Week do
8
9
 
9
- DATE = Date.parse('2012-01-02')
10
- WEEK = Week.new(DATE)
11
- WEEK_PREV = Week.new(DATE-7)
12
- WEEK_NEXT = Week.new(DATE+7)
13
-
14
- def test_initialize
15
- assert_equal(WEEK.date.cwyear, 2012)
16
- assert_equal(WEEK.date.cweek, 1)
17
- assert_equal(WEEK.date.cwday, 1)
10
+ before do
11
+ TEXT ||= '2012-01-02'
12
+ DATE ||= Date.parse(TEXT)
13
+ WEEK ||= Week.new(DATE)
14
+ WEEK_PREV ||= Week.new(DATE-7)
15
+ WEEK_NEXT ||= Week.new(DATE+7)
18
16
  end
19
17
 
20
- def test_date
21
- assert_equal(DATE, WEEK.date)
22
- end
18
+ describe ".initialize" do
19
+
20
+ it "must initialize the year, week, and day" do
21
+ assert_equal(WEEK.date.cwyear, 2012)
22
+ assert_equal(WEEK.date.cweek, 1)
23
+ assert_equal(WEEK.date.cwday, 1)
24
+ end
23
25
 
24
- def test_to_s
25
- assert_equal('2012-01-02', WEEK.to_s)
26
26
  end
27
27
 
28
- def test_now
29
- assert_equal(Date.today, Week.now.date)
28
+ describe "#date" do
29
+
30
+ it "=> Date" do
31
+ assert_kind_of(Date, WEEK.date)
32
+ end
33
+
34
+ it "=> the date that initiazed the week" do
35
+ assert_equal(DATE, WEEK.date)
36
+ end
37
+
30
38
  end
31
39
 
32
- def test_parse
33
- week = Week.parse('2012-01-02')
34
- assert_equal(DATE, week.date)
40
+ describe "#to_s" do
41
+
42
+ it "=> String" do
43
+ assert_kind_of(String, WEEK.to_s)
44
+ end
45
+
46
+ it "=> the week's date formatted as YYYY-MM-DD" do
47
+ assert_equal(TEXT, WEEK.to_s)
48
+ end
49
+
35
50
  end
36
51
 
37
- def test_hash
38
- assert_equal(DATE.hash, WEEK.hash)
52
+ describe ".now" do
53
+
54
+ it "=> Week" do
55
+ assert_kind_of(Week, Week.now)
56
+ end
57
+
58
+ it "=> a week based on today's date" do
59
+ assert_equal(Date.today, Week.now.date)
60
+ end
61
+
39
62
  end
40
63
 
41
- def test_eq
42
- assert(WEEK == Week.new(DATE))
43
- assert(!(WEEK == Week.new(DATE+1)))
64
+ describe ".parse" do
65
+
66
+ it "=> Week" do
67
+ assert_kind_of(Week, Week.parse(TEXT))
68
+ end
69
+
70
+ it "=> a week based on the date text" do
71
+ s = '2012-01-02'
72
+ assert_equal(Date.parse(s), Week.parse(s).date)
73
+ end
74
+
44
75
  end
45
76
 
46
- def test_eql
47
- assert(WEEK.eql? Week.new(DATE))
48
- assert(!(WEEK.eql? Week.new(DATE+1)))
77
+ describe "#hash" do
78
+
79
+ it "=> Fixnum" do
80
+ assert_kind_of(Fixnum, WEEK.hash)
81
+ end
82
+
83
+ it "=> the week's date's hash" do
84
+ assert_equal(WEEK.date.hash, WEEK.hash)
85
+ end
86
+
49
87
  end
50
88
 
51
- def test_compare
52
- assert_equal(-1, WEEK <=> WEEK_NEXT)
53
- assert_equal( 0, WEEK <=> WEEK)
54
- assert_equal( 1, WEEK <=> WEEK_PREV)
89
+ describe "#eql?" do
90
+
91
+ it "weeks created from the same date => true" do
92
+ assert(WEEK.eql? Week.new(DATE))
93
+ end
94
+
95
+ it "weeks created from different dates => false" do
96
+ refute(WEEK.eql? Week.new(DATE+1))
97
+ end
98
+
55
99
  end
56
100
 
57
- def test_lt
58
- assert(!(WEEK < WEEK_PREV))
59
- assert(!(WEEK < WEEK))
60
- assert(WEEK < WEEK_NEXT)
101
+ describe "==" do
102
+
103
+ it "weeks created from the same date => true" do
104
+ assert(WEEK == Week.new(DATE))
105
+ end
106
+
107
+ it "weeks created from different dates => false" do
108
+ refute(WEEK == Week.new(DATE+1))
109
+ end
110
+
61
111
  end
62
112
 
63
- def test_lte
64
- assert(!(WEEK <= WEEK_PREV))
65
- assert(WEEK <= WEEK)
66
- assert(WEEK < WEEK_NEXT)
113
+ describe "<=>" do
114
+
115
+ it "x<y => -1" do
116
+ assert_equal(-1, WEEK <=> WEEK_NEXT)
117
+ end
118
+
119
+ it "x=y => 0" do
120
+ assert_equal( 0, WEEK <=> WEEK)
121
+ end
122
+
123
+ it "x>y => 1" do
124
+ assert_equal( 1, WEEK <=> WEEK_PREV)
125
+ end
126
+
67
127
  end
68
128
 
69
- def test_gt
70
- assert(WEEK > WEEK_PREV)
71
- assert(!(WEEK > WEEK))
72
- assert(!(WEEK > WEEK_NEXT))
129
+ describe "<" do
130
+
131
+ it "x<y => true" do
132
+ assert(WEEK < WEEK_NEXT)
133
+ end
134
+
135
+ it "x==y => false" do
136
+ refute(WEEK < WEEK)
137
+ end
138
+
139
+ it "x>y => false" do
140
+ refute(WEEK < WEEK_PREV)
141
+ end
142
+
73
143
  end
74
144
 
75
- def test_gte
76
- assert(WEEK > WEEK_PREV)
77
- assert(WEEK >= WEEK)
78
- assert(!(WEEK > WEEK_NEXT))
145
+ describe "<=" do
146
+
147
+ it "x<y => false" do
148
+ assert(WEEK < WEEK_NEXT)
149
+ end
150
+
151
+ it "x==y => true" do
152
+ assert(WEEK <= WEEK)
153
+ end
154
+
155
+ it "x>y => false" do
156
+ refute(WEEK <= WEEK_PREV)
157
+ end
158
+
79
159
  end
80
160
 
81
- def test_plus_with_numeric
82
- assert_equal(WEEK_NEXT, WEEK + 1)
83
- assert_not_equal(WEEK_NEXT, WEEK + 2)
161
+ describe ">" do
162
+
163
+ it "x<y => false" do
164
+ refute(WEEK > WEEK_NEXT)
165
+ end
166
+
167
+ it "x==y => false" do
168
+ refute(WEEK > WEEK)
169
+ end
170
+
171
+ it "x>y => true" do
172
+ assert(WEEK > WEEK_PREV)
173
+ end
174
+
84
175
  end
85
176
 
86
- def test_plus_with_bad_type
87
- assert_raise TypeError do
88
- WEEK + "foo"
177
+ describe ">=" do
178
+
179
+ it "x<y => false" do
180
+ refute(WEEK >= WEEK_NEXT)
89
181
  end
182
+
183
+ it "x==y => true" do
184
+ assert(WEEK >= WEEK)
185
+ end
186
+
187
+ it "x>y => true" do
188
+ assert(WEEK >= WEEK_PREV)
189
+ end
190
+
90
191
  end
192
+
193
+ describe "+" do
194
+
195
+ describe "with Numeric type" do
196
+
197
+ it "=> Week" do
198
+ assert_kind_of(Week, WEEK + 0)
199
+ end
200
+
201
+ it "+ 0 => this week" do
202
+ assert_equal(WEEK, WEEK + 0)
203
+ end
204
+
205
+ it "+ 1 => next week" do
206
+ assert_equal(WEEK_NEXT, WEEK + 1)
207
+ end
208
+
209
+ it "+ (-1) => previous week" do
210
+ assert_equal(WEEK_PREV, WEEK + (-1))
211
+ end
212
+
213
+ it "+ any other number => different week" do
214
+ w = WEEK + 2
215
+ refute_equal(WEEK_PREV, w)
216
+ refute_equal(WEEK, w)
217
+ refute_equal(WEEK_NEXT, w)
218
+ end
219
+
220
+ end
221
+
222
+ describe "with bad type" do
223
+
224
+ it "raises TypeError" do
225
+ assert_raises TypeError do
226
+ WEEK + "foo"
227
+ end
228
+ end
229
+
230
+ end
91
231
 
92
- def test_minus_with_numeric
93
- assert_equal(WEEK_PREV, WEEK - 1)
94
- assert_not_equal(WEEK_PREV, WEEK + 2)
95
232
  end
233
+
234
+ describe "-" do
235
+
236
+ describe "with Numeric type" do
237
+
238
+ it "=> Week" do
239
+ assert_kind_of(Week, WEEK - 0)
240
+ end
241
+
242
+ it "- 0 => this week" do
243
+ assert_equal(WEEK, WEEK - 0)
244
+ end
245
+
246
+ it "- 1 => previous week" do
247
+ assert_equal(WEEK_PREV, WEEK - 1)
248
+ end
249
+
250
+ it "- (-1) => next week" do
251
+ assert_equal(WEEK_NEXT, WEEK - (-1))
252
+ end
253
+
254
+ it "- any other number => different week" do
255
+ w = WEEK - 2
256
+ refute_equal(WEEK_PREV, w)
257
+ refute_equal(WEEK, w)
258
+ refute_equal(WEEK_NEXT, w)
259
+ end
260
+
261
+ end
262
+
263
+ describe "with Week type" do
264
+
265
+ it "=> Integer" do
266
+ assert_kind_of(Integer, WEEK - WEEK)
267
+ end
268
+
269
+ it "this week - previous week => 1" do
270
+ assert_equal(1, WEEK - WEEK_PREV)
271
+ end
272
+
273
+ it "this week - this week => 0" do
274
+ assert_equal(0, WEEK - WEEK)
275
+ end
276
+
277
+ it "this week - next week => -1" do
278
+ assert_equal(-1, WEEK - WEEK_NEXT)
279
+ end
280
+
281
+ end
282
+
283
+ describe "with bad type" do
284
+
285
+ it "raises TypeError" do
286
+ assert_raises TypeError do
287
+ WEEK - "foo"
288
+ end
289
+ end
290
+
291
+ end
96
292
 
97
- def test_minus_with_week
98
- assert_equal(1, WEEK - WEEK_PREV)
99
- assert_equal(0, WEEK - WEEK)
100
- assert_equal(-1, WEEK - WEEK_NEXT)
101
293
  end
102
294
 
103
- def test_minus_with_bad_type
104
- assert_raise TypeError do
105
- WEEK - "foo"
295
+ describe "#previous" do
296
+
297
+ it "=> Week" do
298
+ assert_kind_of(Week, WEEK.previous)
299
+ end
300
+
301
+ it "=> a week seven days earlier" do
302
+ assert_equal(Week.new(DATE-7), Week.new(DATE).previous)
106
303
  end
304
+
107
305
  end
108
306
 
109
- def test_previous
110
- assert_equal(WEEK_PREV, WEEK.previous)
307
+ describe "#next" do
308
+
309
+ it "=> Week" do
310
+ assert_kind_of(Week, WEEK.next)
311
+ end
312
+
313
+ it "=> a week seven days later" do
314
+ assert_equal(Week.new(DATE+7), Week.new(DATE).next)
315
+ end
316
+
111
317
  end
112
318
 
113
- def test_next
114
- assert_equal(WEEK_NEXT, WEEK.next)
319
+ describe "#start_date" do
320
+
321
+ it "=> Date" do
322
+ assert_kind_of(Date, WEEK.start_date)
323
+ end
324
+
325
+ it "=> the initialzation date" do
326
+ assert_equal(DATE, WEEK.start_date)
327
+ end
328
+
115
329
  end
116
330
 
117
- def test_start_date
118
- assert_equal(DATE, WEEK.start_date)
331
+ describe "#end_date" do
332
+
333
+ it "=> Date" do
334
+ assert_kind_of(Date, WEEK.end_date)
335
+ end
336
+
337
+ it "=> six days after the initialization date" do
338
+ assert_equal(DATE + 6, WEEK.end_date)
339
+ end
340
+
119
341
  end
120
342
 
121
- def test_end_date
122
- assert_equal(DATE + 6, WEEK.end_date)
343
+ describe "#date_range" do
344
+
345
+ it "=> Range" do
346
+ assert_kind_of(Range, WEEK.date_range)
347
+ end
348
+
349
+ it "=> Range first is the start date" do
350
+ assert_equal(WEEK.start_date, WEEK.date_range.first)
351
+ end
352
+
353
+ it "=> Range last is the end date" do
354
+ assert_equal(WEEK.end_date, WEEK.date_range.last)
355
+ end
356
+
123
357
  end
124
358
 
125
- def test_includes
126
- assert(!(WEEK.includes? DATE-1))
127
- assert(WEEK.includes? DATE+0)
128
- assert(WEEK.includes? DATE+1)
129
- assert(WEEK.includes? DATE+2)
130
- assert(WEEK.includes? DATE+3)
131
- assert(WEEK.includes? DATE+4)
132
- assert(WEEK.includes? DATE+5)
133
- assert(WEEK.includes? DATE+6)
134
- assert(!(WEEK.includes? DATE+7))
359
+ describe "#include?" do
360
+
361
+ it "all days in this week => true" do
362
+ assert_includes(WEEK, DATE+0)
363
+ assert_includes(WEEK, DATE+1)
364
+ assert_includes(WEEK, DATE+2)
365
+ assert_includes(WEEK, DATE+3)
366
+ assert_includes(WEEK, DATE+4)
367
+ assert_includes(WEEK, DATE+5)
368
+ assert_includes(WEEK, DATE+6)
369
+ end
370
+
371
+ it "any day before this week => false" do
372
+ refute_includes(WEEK, DATE-1)
373
+ refute_includes(WEEK, DATE-999)
374
+ end
375
+
376
+ it "any day after this week => false" do
377
+ refute_includes(WEEK, DATE+7)
378
+ refute_includes(WEEK, DATE+999)
379
+ end
380
+
135
381
  end
136
382
 
137
383
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sixarm_ruby_week
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,46 +9,33 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain:
12
- - ! '-----BEGIN CERTIFICATE-----
13
-
14
- MIIDBDCCAm2gAwIBAgIJAKPwEETU5bHoMA0GCSqGSIb3DQEBBQUAMGAxCzAJBgNV
15
-
16
- BAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNp
17
-
18
- c2NvMQ8wDQYDVQQKEwZTaXhBcm0xEzARBgNVBAMTCnNpeGFybS5jb20wHhcNMTAx
19
-
20
- MjEzMjMyNzEzWhcNMTMwOTA4MjMyNzEzWjBgMQswCQYDVQQGEwJVUzETMBEGA1UE
21
-
22
- CBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEPMA0GA1UEChMG
23
-
24
- U2l4QXJtMRMwEQYDVQQDEwpzaXhhcm0uY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GN
25
-
26
- ADCBiQKBgQC94mD9JDwBsunsOI0VR3CXXbOWg9cWaWciwFyJNFiM7A9I8KPLfXUw
27
-
28
- QC4czUe5ZuG4WHvinrWhkrCK+1dWBqoEClxdF/FoKO5a+tonGCjjmfy81JmFjjyx
29
-
30
- eTsjsHyvw+Qik9kpf9aj6+pnkNrVswgNHVea2o9yabbEiS6VSeJWoQIDAQABo4HF
31
-
32
- MIHCMB0GA1UdDgQWBBQzPJtqmSgc53eDN7aSzDQwr9TALDCBkgYDVR0jBIGKMIGH
33
-
34
- gBQzPJtqmSgc53eDN7aSzDQwr9TALKFkpGIwYDELMAkGA1UEBhMCVVMxEzARBgNV
35
-
36
- BAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFuY2lzY28xDzANBgNVBAoT
37
-
38
- BlNpeEFybTETMBEGA1UEAxMKc2l4YXJtLmNvbYIJAKPwEETU5bHoMAwGA1UdEwQF
39
-
40
- MAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAooEexP/oPam1TP71SyuhxMb+uTrZbSQe
41
-
42
- jVB+ExRwWadGwaNPUA56d39qwavwP+iu+3JpeonNMVvbWXF5naCX/dNFIeREHzER
43
-
44
- ZDRQYMqru9TEMna6HD9zpcstF7vwThGovlOQ+3Y6plQ4nMzipXcZ9THqs65PIL0q
45
-
46
- eabwpCbAopo=
47
-
48
- -----END CERTIFICATE-----
49
-
50
- '
51
- date: 2012-02-25 00:00:00.000000000 Z
12
+ - !binary |-
13
+ LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURCRENDQW0yZ0F3SUJB
14
+ Z0lKQUtQd0VFVFU1YkhvTUEwR0NTcUdTSWIzRFFFQkJRVUFNR0F4Q3pBSkJn
15
+ TlYKQkFZVEFsVlRNUk13RVFZRFZRUUlFd3BEWVd4cFptOXlibWxoTVJZd0ZB
16
+ WURWUVFIRXcxVFlXNGdSbkpoYm1OcApjMk52TVE4d0RRWURWUVFLRXdaVGFY
17
+ aEJjbTB4RXpBUkJnTlZCQU1UQ25OcGVHRnliUzVqYjIwd0hoY05NVEF4Ck1q
18
+ RXpNak15TnpFeldoY05NVE13T1RBNE1qTXlOekV6V2pCZ01Rc3dDUVlEVlFR
19
+ R0V3SlZVekVUTUJFR0ExVUUKQ0JNS1EyRnNhV1p2Y201cFlURVdNQlFHQTFV
20
+ RUJ4TU5VMkZ1SUVaeVlXNWphWE5qYnpFUE1BMEdBMVVFQ2hNRwpVMmw0UVhK
21
+ dE1STXdFUVlEVlFRREV3cHphWGhoY20wdVkyOXRNSUdmTUEwR0NTcUdTSWIz
22
+ RFFFQkFRVUFBNEdOCkFEQ0JpUUtCZ1FDOTRtRDlKRHdCc3Vuc09JMFZSM0NY
23
+ WGJPV2c5Y1dhV2Npd0Z5Sk5GaU03QTlJOEtQTGZYVXcKUUM0Y3pVZTVadUc0
24
+ V0h2aW5yV2hrckNLKzFkV0Jxb0VDbHhkRi9Gb0tPNWErdG9uR0Nqam1meTgx
25
+ Sm1Gamp5eAplVHNqc0h5dncrUWlrOWtwZjlhajYrcG5rTnJWc3dnTkhWZWEy
26
+ bzl5YWJiRWlTNlZTZUpXb1FJREFRQUJvNEhGCk1JSENNQjBHQTFVZERnUVdC
27
+ QlF6UEp0cW1TZ2M1M2VETjdhU3pEUXdyOVRBTERDQmtnWURWUjBqQklHS01J
28
+ R0gKZ0JRelBKdHFtU2djNTNlRE43YVN6RFF3cjlUQUxLRmtwR0l3WURFTE1B
29
+ a0dBMVVFQmhNQ1ZWTXhFekFSQmdOVgpCQWdUQ2tOaGJHbG1iM0p1YVdFeEZq
30
+ QVVCZ05WQkFjVERWTmhiaUJHY21GdVkybHpZMjh4RHpBTkJnTlZCQW9UCkJs
31
+ TnBlRUZ5YlRFVE1CRUdBMVVFQXhNS2MybDRZWEp0TG1OdmJZSUpBS1B3RUVU
32
+ VTViSG9NQXdHQTFVZEV3UUYKTUFNQkFmOHdEUVlKS29aSWh2Y05BUUVGQlFB
33
+ RGdZRUFvb0VleFAvb1BhbTFUUDcxU3l1aHhNYit1VHJaYlNRZQpqVkIrRXhS
34
+ d1dhZEd3YU5QVUE1NmQzOXF3YXZ3UCtpdSszSnBlb25OTVZ2YldYRjVuYUNY
35
+ L2RORkllUkVIekVSClpEUlFZTXFydTlURU1uYTZIRDl6cGNzdEY3dndUaEdv
36
+ dmxPUSszWTZwbFE0bk16aXBYY1o5VEhxczY1UElMMHEKZWFid3BDYkFvcG89
37
+ Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
38
+ date: 2012-03-13 00:00:00.000000000 Z
52
39
  dependencies: []
53
40
  description:
54
41
  email: sixarm@sixarm.com
@@ -88,7 +75,7 @@ rubyforge_project:
88
75
  rubygems_version: 1.8.11
89
76
  signing_key:
90
77
  specification_version: 3
91
- summary: SixArm.com » Ruby » Week is seven days from Monday onward
78
+ summary: SixArm.com » Ruby » Week model based on Ruby Date
92
79
  test_files:
93
80
  - test/sixarm_ruby_week_test.rb
94
81
  has_rdoc: true
metadata.gz.sig CHANGED
@@ -1 +1 @@
1
- O<��V��S39����׍T��R\���J��(�mQ 2%-���r����,����T�,rV<�\9`��()��\��-�(O��r'�#Ik��B�bH#ѵtE?���諍\!
1
+ ~;�gf��.�-J*��"5��Y)���1?Ϗ�5��HK2B]Rӹ�XB�Z��04$��p��ѕ^�`LjisYq~��0[�J�`A/�hk��cecS�:%��(z��z����