weekling 1.0.2 → 1.0.3
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.tar.gz.sig +0 -0
- data/HISTORY.md +7 -0
- data/README.md +28 -10
- data/lib/aef/weekling/version.rb +1 -1
- metadata +14 -14
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
|
Binary file
|
data/HISTORY.md
CHANGED
data/README.md
CHANGED
|
@@ -3,11 +3,12 @@ Weekling
|
|
|
3
3
|
|
|
4
4
|
[](
|
|
5
5
|
https://secure.travis-ci.org/aef/weekling)
|
|
6
|
+
[](https://codeclimate.com/github/aef/weekling)
|
|
6
7
|
|
|
7
8
|
* [Documentation][docs]
|
|
8
9
|
* [Project][project]
|
|
9
10
|
|
|
10
|
-
[docs]: http://rdoc.info/
|
|
11
|
+
[docs]: http://rdoc.info/github/aef/weekling/
|
|
11
12
|
[project]: https://github.com/aef/weekling/
|
|
12
13
|
|
|
13
14
|
Description
|
|
@@ -61,10 +62,11 @@ In a bundler Gemfile you should use the following:
|
|
|
61
62
|
gem 'weekling'
|
|
62
63
|
~~~~~
|
|
63
64
|
|
|
64
|
-
By default, Weekling extends the Date, DateTime and Time classes to
|
|
65
|
-
objects to be castable to Week and
|
|
66
|
-
included into Object, so that you don't have to type the
|
|
67
|
-
of the classes. Should you really don't want this, use
|
|
65
|
+
By default, Weekling extends the Integer, Date, DateTime and Time classes to
|
|
66
|
+
allow their objects to be castable to Year, Week and WeekDay. Additionally the
|
|
67
|
+
Aef namespace is included into Object, so that you don't have to type the
|
|
68
|
+
fully-qualified names of the classes. Should you really don't want this, use
|
|
69
|
+
the following:
|
|
68
70
|
|
|
69
71
|
~~~~~ ruby
|
|
70
72
|
require 'weekling/bare'
|
|
@@ -365,7 +367,7 @@ If something goes wrong you should be noticed through failing examples.
|
|
|
365
367
|
Development
|
|
366
368
|
-----------
|
|
367
369
|
|
|
368
|
-
###
|
|
370
|
+
### Bug reports and feature requests
|
|
369
371
|
|
|
370
372
|
Please use the [issue tracker][issues] on github.com to let me know about errors
|
|
371
373
|
or ideas for improvement of this software.
|
|
@@ -374,11 +376,27 @@ or ideas for improvement of this software.
|
|
|
374
376
|
|
|
375
377
|
### Source code
|
|
376
378
|
|
|
377
|
-
This software is developed in the source code management system
|
|
378
|
-
|
|
379
|
-
|
|
379
|
+
This software is developed in the source code management system Git. There are
|
|
380
|
+
several synchronized mirror repositories available:
|
|
381
|
+
|
|
382
|
+
* GitHub
|
|
383
|
+
|
|
384
|
+
URL: https://github.com/aef/weekling.git
|
|
385
|
+
|
|
386
|
+
* Gitorious
|
|
387
|
+
|
|
388
|
+
URL: https://git.gitorious.org/weekling/weekling.git
|
|
389
|
+
|
|
390
|
+
* BitBucket
|
|
391
|
+
|
|
392
|
+
URL: https://bitbucket.org/alefi/weekling.git
|
|
393
|
+
|
|
394
|
+
You can get the latest source code with the following command, while
|
|
395
|
+
exchanging the placeholder for one of the mirror URLs:
|
|
396
|
+
|
|
397
|
+
git clone MIRROR_URL
|
|
380
398
|
|
|
381
|
-
|
|
399
|
+
#### Tags
|
|
382
400
|
|
|
383
401
|
The final commit before each released gem version will be marked by a tag
|
|
384
402
|
named like the version with a prefixed lower-case "v", as required by Semantic
|
data/lib/aef/weekling/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: weekling
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -48,11 +48,11 @@ cert_chain:
|
|
|
48
48
|
-----END CERTIFICATE-----
|
|
49
49
|
|
|
50
50
|
'
|
|
51
|
-
date: 2012-
|
|
51
|
+
date: 2012-10-02 00:00:00.000000000 Z
|
|
52
52
|
dependencies:
|
|
53
53
|
- !ruby/object:Gem::Dependency
|
|
54
54
|
name: bundler
|
|
55
|
-
requirement: &
|
|
55
|
+
requirement: &16341540 !ruby/object:Gem::Requirement
|
|
56
56
|
none: false
|
|
57
57
|
requirements:
|
|
58
58
|
- - ~>
|
|
@@ -60,10 +60,10 @@ dependencies:
|
|
|
60
60
|
version: 1.1.0
|
|
61
61
|
type: :development
|
|
62
62
|
prerelease: false
|
|
63
|
-
version_requirements: *
|
|
63
|
+
version_requirements: *16341540
|
|
64
64
|
- !ruby/object:Gem::Dependency
|
|
65
65
|
name: rake
|
|
66
|
-
requirement: &
|
|
66
|
+
requirement: &16341080 !ruby/object:Gem::Requirement
|
|
67
67
|
none: false
|
|
68
68
|
requirements:
|
|
69
69
|
- - ~>
|
|
@@ -71,10 +71,10 @@ dependencies:
|
|
|
71
71
|
version: 0.9.2
|
|
72
72
|
type: :development
|
|
73
73
|
prerelease: false
|
|
74
|
-
version_requirements: *
|
|
74
|
+
version_requirements: *16341080
|
|
75
75
|
- !ruby/object:Gem::Dependency
|
|
76
76
|
name: rspec
|
|
77
|
-
requirement: &
|
|
77
|
+
requirement: &16340620 !ruby/object:Gem::Requirement
|
|
78
78
|
none: false
|
|
79
79
|
requirements:
|
|
80
80
|
- - ~>
|
|
@@ -82,10 +82,10 @@ dependencies:
|
|
|
82
82
|
version: 2.8.0
|
|
83
83
|
type: :development
|
|
84
84
|
prerelease: false
|
|
85
|
-
version_requirements: *
|
|
85
|
+
version_requirements: *16340620
|
|
86
86
|
- !ruby/object:Gem::Dependency
|
|
87
87
|
name: simplecov
|
|
88
|
-
requirement: &
|
|
88
|
+
requirement: &16340160 !ruby/object:Gem::Requirement
|
|
89
89
|
none: false
|
|
90
90
|
requirements:
|
|
91
91
|
- - ~>
|
|
@@ -93,10 +93,10 @@ dependencies:
|
|
|
93
93
|
version: 0.6.1
|
|
94
94
|
type: :development
|
|
95
95
|
prerelease: false
|
|
96
|
-
version_requirements: *
|
|
96
|
+
version_requirements: *16340160
|
|
97
97
|
- !ruby/object:Gem::Dependency
|
|
98
98
|
name: pry
|
|
99
|
-
requirement: &
|
|
99
|
+
requirement: &16339700 !ruby/object:Gem::Requirement
|
|
100
100
|
none: false
|
|
101
101
|
requirements:
|
|
102
102
|
- - ~>
|
|
@@ -104,10 +104,10 @@ dependencies:
|
|
|
104
104
|
version: 0.9.8
|
|
105
105
|
type: :development
|
|
106
106
|
prerelease: false
|
|
107
|
-
version_requirements: *
|
|
107
|
+
version_requirements: *16339700
|
|
108
108
|
- !ruby/object:Gem::Dependency
|
|
109
109
|
name: yard
|
|
110
|
-
requirement: &
|
|
110
|
+
requirement: &16339240 !ruby/object:Gem::Requirement
|
|
111
111
|
none: false
|
|
112
112
|
requirements:
|
|
113
113
|
- - ~>
|
|
@@ -115,7 +115,7 @@ dependencies:
|
|
|
115
115
|
version: 0.7.5
|
|
116
116
|
type: :development
|
|
117
117
|
prerelease: false
|
|
118
|
-
version_requirements: *
|
|
118
|
+
version_requirements: *16339240
|
|
119
119
|
description: ! 'Weekling is a Ruby library which provides class representations to
|
|
120
120
|
make date
|
|
121
121
|
|
metadata.gz.sig
CHANGED
|
Binary file
|