weekling 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +2 -0
- data/.gitignore +10 -0
- data/.travis.yml +5 -0
- data/.yardopts +5 -0
- data/Gemfile +23 -0
- data/Gemfile.lock +54 -0
- data/HISTORY.md +6 -0
- data/LICENSE.md +15 -0
- data/README.md +397 -0
- data/Rakefile +47 -0
- data/lib/aef/weekling.rb +45 -0
- data/lib/aef/weekling/core_extensions.rb +28 -0
- data/lib/aef/weekling/core_extensions/to_week_and_week_day.rb +41 -0
- data/lib/aef/weekling/core_extensions/to_year.rb +36 -0
- data/lib/aef/weekling/week.rb +373 -0
- data/lib/aef/weekling/week_day.rb +339 -0
- data/lib/aef/weekling/year.rb +251 -0
- data/lib/weekling.rb +33 -0
- data/lib/weekling/bare.rb +24 -0
- data/spec/aef/weekling/core_extensions_spec.rb +81 -0
- data/spec/aef/weekling/week_day_spec.rb +607 -0
- data/spec/aef/weekling/week_spec.rb +596 -0
- data/spec/aef/weekling/year_spec.rb +378 -0
- data/spec/spec_helper.rb +26 -0
- data/weekling.gemspec +55 -0
- metadata +196 -0
- metadata.gz.sig +0 -0
metadata
ADDED
@@ -0,0 +1,196 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: weekling
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Alexander E. Fischer
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain:
|
12
|
+
- ! '-----BEGIN CERTIFICATE-----
|
13
|
+
|
14
|
+
MIIDKDCCAhCgAwIBAgIBADANBgkqhkiG9w0BAQUFADA6MQwwCgYDVQQDDANhZWYx
|
15
|
+
|
16
|
+
FTATBgoJkiaJk/IsZAEZFgVyYXh5czETMBEGCgmSJomT8ixkARkWA25ldDAeFw0w
|
17
|
+
|
18
|
+
OTAyMjUyMDM5MDhaFw0xMDAyMjUyMDM5M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txMCx
|
45
|
+
|
46
|
+
55akF+N8NbO6tpVDy6TMagqa10LfEpiQH6dvDHe/xdAqYOCrXKpmqzwu2PI=
|
47
|
+
|
48
|
+
-----END CERTIFICATE-----
|
49
|
+
|
50
|
+
'
|
51
|
+
date: 2012-02-24 00:00:00.000000000 Z
|
52
|
+
dependencies:
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: bundler
|
55
|
+
requirement: &15291800 !ruby/object:Gem::Requirement
|
56
|
+
none: false
|
57
|
+
requirements:
|
58
|
+
- - ~>
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 1.0.21
|
61
|
+
type: :development
|
62
|
+
prerelease: false
|
63
|
+
version_requirements: *15291800
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
name: rake
|
66
|
+
requirement: &15291060 !ruby/object:Gem::Requirement
|
67
|
+
none: false
|
68
|
+
requirements:
|
69
|
+
- - ~>
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: 0.9.2
|
72
|
+
type: :development
|
73
|
+
prerelease: false
|
74
|
+
version_requirements: *15291060
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: rspec
|
77
|
+
requirement: &15290360 !ruby/object:Gem::Requirement
|
78
|
+
none: false
|
79
|
+
requirements:
|
80
|
+
- - ~>
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 2.6.0
|
83
|
+
type: :development
|
84
|
+
prerelease: false
|
85
|
+
version_requirements: *15290360
|
86
|
+
- !ruby/object:Gem::Dependency
|
87
|
+
name: simplecov
|
88
|
+
requirement: &15289900 !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 0.5.4
|
94
|
+
type: :development
|
95
|
+
prerelease: false
|
96
|
+
version_requirements: *15289900
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: pry
|
99
|
+
requirement: &15289380 !ruby/object:Gem::Requirement
|
100
|
+
none: false
|
101
|
+
requirements:
|
102
|
+
- - ~>
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: 0.9.8
|
105
|
+
type: :development
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: *15289380
|
108
|
+
- !ruby/object:Gem::Dependency
|
109
|
+
name: yard
|
110
|
+
requirement: &15288680 !ruby/object:Gem::Requirement
|
111
|
+
none: false
|
112
|
+
requirements:
|
113
|
+
- - ~>
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: 0.7.5
|
116
|
+
type: :development
|
117
|
+
prerelease: false
|
118
|
+
version_requirements: *15288680
|
119
|
+
- !ruby/object:Gem::Dependency
|
120
|
+
name: maruku
|
121
|
+
requirement: &15288040 !ruby/object:Gem::Requirement
|
122
|
+
none: false
|
123
|
+
requirements:
|
124
|
+
- - ~>
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: 0.6.0
|
127
|
+
type: :development
|
128
|
+
prerelease: false
|
129
|
+
version_requirements: *15288040
|
130
|
+
description: ! 'Weekling is a Ruby library which provides class representations to
|
131
|
+
make date
|
132
|
+
|
133
|
+
calculations using years, weeks and week-days much easier. Years, weeks and
|
134
|
+
|
135
|
+
week-days are interpreted as in ISO 8601.
|
136
|
+
|
137
|
+
'
|
138
|
+
email:
|
139
|
+
- aef@raxys.net
|
140
|
+
executables: []
|
141
|
+
extensions: []
|
142
|
+
extra_rdoc_files:
|
143
|
+
- HISTORY.md
|
144
|
+
- LICENSE.md
|
145
|
+
files:
|
146
|
+
- .gitignore
|
147
|
+
- .travis.yml
|
148
|
+
- .yardopts
|
149
|
+
- Gemfile
|
150
|
+
- Gemfile.lock
|
151
|
+
- HISTORY.md
|
152
|
+
- LICENSE.md
|
153
|
+
- README.md
|
154
|
+
- Rakefile
|
155
|
+
- lib/aef/weekling.rb
|
156
|
+
- lib/aef/weekling/core_extensions.rb
|
157
|
+
- lib/aef/weekling/core_extensions/to_week_and_week_day.rb
|
158
|
+
- lib/aef/weekling/core_extensions/to_year.rb
|
159
|
+
- lib/aef/weekling/week.rb
|
160
|
+
- lib/aef/weekling/week_day.rb
|
161
|
+
- lib/aef/weekling/year.rb
|
162
|
+
- lib/weekling.rb
|
163
|
+
- lib/weekling/bare.rb
|
164
|
+
- spec/aef/weekling/core_extensions_spec.rb
|
165
|
+
- spec/aef/weekling/week_day_spec.rb
|
166
|
+
- spec/aef/weekling/week_spec.rb
|
167
|
+
- spec/aef/weekling/year_spec.rb
|
168
|
+
- spec/spec_helper.rb
|
169
|
+
- weekling.gemspec
|
170
|
+
homepage: http://github.com/aef/weekling
|
171
|
+
licenses:
|
172
|
+
- ISC
|
173
|
+
post_install_message:
|
174
|
+
rdoc_options: []
|
175
|
+
require_paths:
|
176
|
+
- lib
|
177
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
178
|
+
none: false
|
179
|
+
requirements:
|
180
|
+
- - ! '>='
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: '0'
|
183
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
184
|
+
none: false
|
185
|
+
requirements:
|
186
|
+
- - ! '>='
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: '0'
|
189
|
+
requirements: []
|
190
|
+
rubyforge_project:
|
191
|
+
rubygems_version: 1.8.10
|
192
|
+
signing_key:
|
193
|
+
specification_version: 3
|
194
|
+
summary: Easy ISO 8601 year, week and week-day helper classes
|
195
|
+
test_files: []
|
196
|
+
has_rdoc: yard
|
metadata.gz.sig
ADDED
Binary file
|