recurring_date 0.1.4 → 0.1.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8803e826ae20ccef4e8f46b9c4e3f7ae97ab3ef19b203f2b6102940e2f135a91
4
- data.tar.gz: 15c233dee30363280561da31025de3a17b787c9d8487c03d1518fcf68f809abb
3
+ metadata.gz: a0cffdd7d45e71a6fc1c8076897816603cbb1248bda6f63d8866cb4e5796b99d
4
+ data.tar.gz: d8b5ed8cf53b5567a5f17ee20e3c839a1cf7983aaff693894054893b3955d7cc
5
5
  SHA512:
6
- metadata.gz: 773b3644885ef2fa99f8b5a0b58755aad58705fdb165c9f729fcae115f66ae4f14b6e727575712470774635141629a2d259c4ed8cd4cf5881d6758d7b5c55a29
7
- data.tar.gz: 4655ca33bbd80199f7c2790929cacb415561765daadde8b7ce8559926577ea7cd4bf0058e1158199ef78360bc5f8dc94f311aebd9968b3080b812efe7a9e273c
6
+ metadata.gz: 9460d03557a49f6cd18709beb0f4cd12bba7b0939a1d07bace90fafdabe66721dc7bdc7414a427e040c592ab8f30e5568d4e268b5aaa1d7d1d7733cf49a7551f
7
+ data.tar.gz: 16b55aa5941b63225ad7735d6aaba3f0095474dda82cbc91c33cb5ca3b2475f84e54279c4676b7b8c366171588ee44c61be48e4eaf9a631e958260196dd77fcb
@@ -0,0 +1,3 @@
1
+ lib/recurring_date.rb cc02188d3f5d5a77cd9d154c968fc60c474806f2
2
+ lib/recurring_date/version.rb be769e9ebfe329c8329efcadc30ec517603edcd2
3
+ lib/recurring_date/enumerator.rb ad93b1adda28887cf80470577cba49ed363c6e3f
File without changes
Binary file
Binary file
Binary file
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- recurring_date (0.1.4)
4
+ recurring_date (0.1.5)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # recurring_date
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/recurring_date.svg)](https://badge.fury.io/rb/recurring_date)
3
4
  [![Build Status](https://travis-ci.org/placek/recurring_date.svg?branch=master)](https://travis-ci.org/placek/recurring_date)
5
+ [![Maintainability](https://api.codeclimate.com/v1/badges/8b2339034c78677126e7/maintainability)](https://codeclimate.com/github/placek/recurring_date/maintainability)
4
6
 
5
7
  Iterate over a set of dates, giving an iteration conditions.
6
8
 
@@ -0,0 +1,143 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: Date
8
+
9
+ &mdash; Documentation by YARD 0.9.24
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ pathId = "Date";
19
+ relpath = '';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="_index.html">Index (D)</a> &raquo;
40
+
41
+
42
+ <span class="title">Date</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Class: Date
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName">Object</span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next">Date</li>
78
+
79
+ </ul>
80
+ <a href="#" class="inheritanceTree">show all</a>
81
+
82
+ </dd>
83
+ </dl>
84
+
85
+
86
+
87
+
88
+
89
+
90
+ <dl>
91
+ <dt>Includes:</dt>
92
+ <dd><span class='object_link'><a href="RecurringDate.html" title="RecurringDate (module)">RecurringDate</a></span></dd>
93
+ </dl>
94
+
95
+
96
+
97
+
98
+
99
+
100
+ <dl>
101
+ <dt>Defined in:</dt>
102
+ <dd>lib/recurring_date.rb</dd>
103
+ </dl>
104
+
105
+ </div>
106
+
107
+
108
+
109
+
110
+ <h2>Constant Summary</h2>
111
+
112
+ <h3 class="inherited">Constants included
113
+ from <span class='object_link'><a href="RecurringDate.html" title="RecurringDate (module)">RecurringDate</a></span></h3>
114
+ <p class="inherited"><span class='object_link'><a href="RecurringDate.html#VERSION-constant" title="RecurringDate::VERSION (constant)">RecurringDate::VERSION</a></span></p>
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+ <h2>Method Summary</h2>
128
+
129
+ <h3 class="inherited">Methods included from <span class='object_link'><a href="RecurringDate.html" title="RecurringDate (module)">RecurringDate</a></span></h3>
130
+ <p class="inherited"><span class='object_link'><a href="RecurringDate.html#mweek-instance_method" title="RecurringDate#mweek (method)">#mweek</a></span>, <span class='object_link'><a href="RecurringDate.html#to_enum-instance_method" title="RecurringDate#to_enum (method)">#to_enum</a></span></p>
131
+
132
+
133
+ </div>
134
+
135
+ <div id="footer">
136
+ Generated on Tue Mar 24 07:23:15 2020 by
137
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
138
+ 0.9.24 (ruby-2.6.5).
139
+ </div>
140
+
141
+ </div>
142
+ </body>
143
+ </html>
@@ -0,0 +1,296 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Module: RecurringDate
8
+
9
+ &mdash; Documentation by YARD 0.9.24
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ pathId = "RecurringDate";
19
+ relpath = '';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="_index.html">Index (R)</a> &raquo;
40
+
41
+
42
+ <span class="title">RecurringDate</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Module: RecurringDate
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+ <dl>
78
+ <dt>Included in:</dt>
79
+ <dd><span class='object_link'><a href="Date.html" title="Date (class)">Date</a></span></dd>
80
+ </dl>
81
+
82
+
83
+
84
+ <dl>
85
+ <dt>Defined in:</dt>
86
+ <dd>lib/recurring_date.rb<span class="defines">,<br />
87
+ lib/recurring_date/version.rb,<br /> lib/recurring_date/enumerator.rb</span>
88
+ </dd>
89
+ </dl>
90
+
91
+ </div>
92
+
93
+ <h2>Overview</h2><div class="docstring">
94
+ <div class="discussion">
95
+
96
+ <p>The RecurringDate module is extension to Date class.</p>
97
+
98
+
99
+ </div>
100
+ </div>
101
+ <div class="tags">
102
+
103
+
104
+ </div><h2>Defined Under Namespace</h2>
105
+ <p class="children">
106
+
107
+
108
+
109
+
110
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="RecurringDate/Enumerator.html" title="RecurringDate::Enumerator (class)">Enumerator</a></span>
111
+
112
+
113
+ </p>
114
+
115
+
116
+ <h2>
117
+ Constant Summary
118
+ <small><a href="#" class="constants_summary_toggle">collapse</a></small>
119
+ </h2>
120
+
121
+ <dl class="constants">
122
+
123
+ <dt id="VERSION-constant" class="">VERSION =
124
+
125
+ </dt>
126
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>0.1.5</span><span class='tstring_end'>&#39;</span></span></pre></dd>
127
+
128
+ </dl>
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+ <h2>
139
+ Instance Method Summary
140
+ <small><a href="#" class="summary_toggle">collapse</a></small>
141
+ </h2>
142
+
143
+ <ul class="summary">
144
+
145
+ <li class="public ">
146
+ <span class="summary_signature">
147
+
148
+ <a href="#mweek-instance_method" title="#mweek (instance method)">#<strong>mweek</strong> &#x21d2; Object </a>
149
+
150
+
151
+
152
+ </span>
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+ <span class="summary_desc"><div class='inline'>
163
+ <p>The week number of the month.</p>
164
+ </div></span>
165
+
166
+ </li>
167
+
168
+
169
+ <li class="public ">
170
+ <span class="summary_signature">
171
+
172
+ <a href="#to_enum-instance_method" title="#to_enum (instance method)">#<strong>to_enum</strong> &#x21d2; Object </a>
173
+
174
+
175
+
176
+ </span>
177
+
178
+
179
+
180
+
181
+
182
+
183
+
184
+
185
+
186
+ <span class="summary_desc"><div class='inline'>
187
+ <p>Initiate a lazy, perpetual enumerator over all dates, day by day, after <code>self</code> (including <code>self</code>).</p>
188
+ </div></span>
189
+
190
+ </li>
191
+
192
+
193
+ </ul>
194
+
195
+
196
+
197
+
198
+ <div id="instance_method_details" class="method_details_list">
199
+ <h2>Instance Method Details</h2>
200
+
201
+
202
+ <div class="method_details first">
203
+ <h3 class="signature first" id="mweek-instance_method">
204
+
205
+ #<strong>mweek</strong> &#x21d2; <tt>Object</tt>
206
+
207
+
208
+
209
+
210
+
211
+ </h3><div class="docstring">
212
+ <div class="discussion">
213
+
214
+ <p>The week number of the month.</p>
215
+
216
+
217
+ </div>
218
+ </div>
219
+ <div class="tags">
220
+
221
+
222
+ </div><table class="source_code">
223
+ <tr>
224
+ <td>
225
+ <pre class="lines">
226
+
227
+
228
+ 8
229
+ 9
230
+ 10</pre>
231
+ </td>
232
+ <td>
233
+ <pre class="code"><span class="info file"># File 'lib/recurring_date.rb', line 8</span>
234
+
235
+ <span class='kw'>def</span> <span class='id identifier rubyid_mweek'>mweek</span>
236
+ <span class='lparen'>(</span><span class='id identifier rubyid_mday'>mday</span> <span class='op'>-</span> <span class='int'>1</span><span class='rparen'>)</span> <span class='op'>/</span> <span class='int'>7</span> <span class='op'>+</span> <span class='int'>1</span>
237
+ <span class='kw'>end</span></pre>
238
+ </td>
239
+ </tr>
240
+ </table>
241
+ </div>
242
+
243
+ <div class="method_details ">
244
+ <h3 class="signature " id="to_enum-instance_method">
245
+
246
+ #<strong>to_enum</strong> &#x21d2; <tt>Object</tt>
247
+
248
+
249
+
250
+
251
+
252
+ </h3><div class="docstring">
253
+ <div class="discussion">
254
+
255
+ <p>Initiate a lazy, perpetual enumerator over all dates, day by day, after <code>self</code> (including <code>self</code>).</p>
256
+
257
+
258
+ </div>
259
+ </div>
260
+ <div class="tags">
261
+
262
+
263
+ </div><table class="source_code">
264
+ <tr>
265
+ <td>
266
+ <pre class="lines">
267
+
268
+
269
+ 13
270
+ 14
271
+ 15</pre>
272
+ </td>
273
+ <td>
274
+ <pre class="code"><span class="info file"># File 'lib/recurring_date.rb', line 13</span>
275
+
276
+ <span class='kw'>def</span> <span class='id identifier rubyid_to_enum'>to_enum</span>
277
+ <span class='const'><span class='object_link'><a href="" title="RecurringDate (module)">RecurringDate</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="RecurringDate/Enumerator.html" title="RecurringDate::Enumerator (class)">Enumerator</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from'><span class='object_link'><a href="RecurringDate/Enumerator.html#from-class_method" title="RecurringDate::Enumerator.from (method)">from</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='rparen'>)</span>
278
+ <span class='kw'>end</span></pre>
279
+ </td>
280
+ </tr>
281
+ </table>
282
+ </div>
283
+
284
+ </div>
285
+
286
+ </div>
287
+
288
+ <div id="footer">
289
+ Generated on Tue Mar 24 07:23:15 2020 by
290
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
291
+ 0.9.24 (ruby-2.6.5).
292
+ </div>
293
+
294
+ </div>
295
+ </body>
296
+ </html>