attribute-filters 1.3.2 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
data/ChangeLog CHANGED
@@ -1,3 +1,391 @@
1
+ commit 5c5da5237f5f563b454395719375a56715eceedd
2
+ Author: Paweł Wilk <siefca@gnu.org>
3
+ Date: Fri Aug 24 02:03:44 2012 +0200
4
+
5
+ Static gemspec updated
6
+
7
+ commit 2a364e9ac2424b0e9f5d66d858dd757dd019c3b5
8
+ Author: Paweł Wilk <siefca@gnu.org>
9
+ Date: Fri Aug 24 02:03:29 2012 +0200
10
+
11
+ Version 1.4.0
12
+
13
+ commit 954039e9060fb7f52fa807bf8f11568778e04969
14
+ Author: Paweł Wilk <siefca@gnu.org>
15
+ Date: Fri Aug 24 01:51:35 2012 +0200
16
+
17
+ Documentation updated
18
+
19
+ commit d3f2485e2f9465e980b06f63e691031739c91787
20
+ Author: Paweł Wilk <siefca@gnu.org>
21
+ Date: Fri Aug 24 01:51:14 2012 +0200
22
+
23
+ Common filtering modules simplified
24
+
25
+ commit 79f04480debf7a91b6a719cb085c16970eafd741
26
+ Author: Paweł Wilk <siefca@gnu.org>
27
+ Date: Fri Aug 24 00:53:27 2012 +0200
28
+
29
+ Optimization
30
+
31
+ commit 513ae8815b9c5358b2ac63c846a6bf506845e549
32
+ Author: Paweł Wilk <siefca@gnu.org>
33
+ Date: Fri Aug 24 00:45:26 2012 +0200
34
+
35
+ Join common filter updated (default separator is not stored as annotation but guessed)
36
+
37
+ commit 00c9a81dfa5f405cb8ad0aad15d09f6da7ad52f6
38
+ Author: Paweł Wilk <siefca@gnu.org>
39
+ Date: Fri Aug 24 00:44:31 2012 +0200
40
+
41
+ Added wrappers for accessible_attributes and protected_attributes (not every ORM has it)
42
+
43
+ commit 0cfdcae67541ca4363de7a652ec867bc1afbfe06
44
+ Author: Paweł Wilk <siefca@gnu.org>
45
+ Date: Thu Aug 23 18:48:53 2012 +0200
46
+
47
+ Set filtering and iterating methods now return dedicated enumerator if block is missing
48
+
49
+ commit a33aafe036604ed20177abf46eeee67d9a5e64b0
50
+ Author: Paweł Wilk <siefca@gnu.org>
51
+ Date: Thu Aug 23 17:36:34 2012 +0200
52
+
53
+ Enumerators are now aware of annotations
54
+
55
+ commit 56c12676b3b940b94af841a1820a9f5d8d7245ed
56
+ Author: Paweł Wilk <siefca@gnu.org>
57
+ Date: Thu Aug 23 01:32:06 2012 +0200
58
+
59
+ Removed unneeded expression
60
+
61
+ commit 486deac595d0de42d44b8221110b0faf32879a15
62
+ Author: Paweł Wilk <siefca@gnu.org>
63
+ Date: Thu Aug 23 01:14:11 2012 +0200
64
+
65
+ Documentation updated
66
+
67
+ commit 0b8a2d48f1ad44f863d90851d43b34f69b685379
68
+ Author: Paweł Wilk <siefca@gnu.org>
69
+ Date: Thu Aug 23 01:13:55 2012 +0200
70
+
71
+ Small fixes for type safety
72
+
73
+ commit 2ed2c879ce3ebaaf08178f31eab5ea855b027ecb
74
+ Author: Paweł Wilk <siefca@gnu.org>
75
+ Date: Thu Aug 23 01:13:34 2012 +0200
76
+
77
+ attr_virtual is now private
78
+
79
+ commit b70af0fd0ec2bc7df3057eca8490dc14c2818a94
80
+ Author: Paweł Wilk <siefca@gnu.org>
81
+ Date: Thu Aug 23 00:14:38 2012 +0200
82
+
83
+ All class methods are now returning duplicates of sets.
84
+
85
+ commit 2a9a27820cfc227d09bd255327bdfda62ce12f28
86
+ Author: Paweł Wilk <siefca@gnu.org>
87
+ Date: Wed Aug 22 00:08:47 2012 +0200
88
+
89
+ Documentation updated
90
+
91
+ commit 1b6b827351c7399ecf675df6953e60b54b0a116f
92
+ Author: Paweł Wilk <siefca@gnu.org>
93
+ Date: Wed Aug 22 00:08:36 2012 +0200
94
+
95
+ RSpec examples updated
96
+
97
+ commit 725541e0899fbe08b3b32eee0bce4c10fc5baf82
98
+ Author: Paweł Wilk <siefca@gnu.org>
99
+ Date: Wed Aug 22 00:08:15 2012 +0200
100
+
101
+ Added :compact flag to the join common filter
102
+
103
+ commit 17be820ed3bebc49ee23a3763ed3988f19a8194a
104
+ Author: Paweł Wilk <siefca@gnu.org>
105
+ Date: Wed Aug 22 00:07:45 2012 +0200
106
+
107
+ Split common filter simplified
108
+
109
+ commit fde889cdb4f568003f3eb76372bb806402e3556a
110
+ Author: Paweł Wilk <siefca@gnu.org>
111
+ Date: Wed Aug 22 00:05:07 2012 +0200
112
+
113
+ Added instance_of() override to proxy classes.
114
+
115
+ commit 052dcee52992a4a6b8a322698ecdeba2b680ad5f
116
+ Author: Paweł Wilk <siefca@gnu.org>
117
+ Date: Mon Aug 20 23:53:46 2012 +0200
118
+
119
+ Documentation updated
120
+
121
+ commit ded9cfb503b5963a13c6dd9bf3c1300504441438
122
+ Author: Paweł Wilk <siefca@gnu.org>
123
+ Date: Mon Aug 20 23:53:36 2012 +0200
124
+
125
+ Typo fixed
126
+
127
+ commit 40e3f3854d5eacfcdce4738efaa857aecdc62786
128
+ Author: Paweł Wilk <siefca@gnu.org>
129
+ Date: Mon Aug 20 22:05:32 2012 +0200
130
+
131
+ Documentation updated
132
+
133
+ commit 0b40a22aa702545b23e23b136ec9cecdb0435551
134
+ Author: Paweł Wilk <siefca@gnu.org>
135
+ Date: Mon Aug 20 21:52:00 2012 +0200
136
+
137
+ Specs updated
138
+
139
+ commit 444eb12e393bfb1a806a816f87c04f7271207747
140
+ Author: Paweł Wilk <siefca@gnu.org>
141
+ Date: Mon Aug 20 21:51:48 2012 +0200
142
+
143
+ Alias added
144
+
145
+ commit 9ac91c7f7e48f56e089d9022bb0a3a4a14c1005d
146
+ Author: Paweł Wilk <siefca@gnu.org>
147
+ Date: Mon Aug 20 19:28:05 2012 +0200
148
+
149
+ Improved all_attributes_set (it now handles virtual attributes properly)
150
+
151
+ commit 9371e0ee2130f8c063926a29a634c48044221cdc
152
+ Author: Paweł Wilk <siefca@gnu.org>
153
+ Date: Mon Aug 20 18:52:58 2012 +0200
154
+
155
+ Fixed error that caused the_attribute queries to be empty
156
+
157
+ commit edd30090209832b1e01f6d3c9a8b46fd32ef363e
158
+ Author: Paweł Wilk <siefca@gnu.org>
159
+ Date: Mon Aug 20 18:51:52 2012 +0200
160
+
161
+ Added attr_virtual DSL method
162
+
163
+ commit c4bdcae87df48c26fc7f5c2b12155e3e0a0b5fe9
164
+ Author: Paweł Wilk <siefca@gnu.org>
165
+ Date: Mon Aug 20 00:33:32 2012 +0200
166
+
167
+ Documentation updated
168
+
169
+ commit 43ab1eabc389630e5ca01d57a8f14df9fe7b885f
170
+ Author: Paweł Wilk <siefca@gnu.org>
171
+ Date: Sun Aug 19 21:53:41 2012 +0200
172
+
173
+ Specs updated
174
+
175
+ commit e41f27ee899c88f874162db59a86d5ec9f75f6ea
176
+ Author: Paweł Wilk <siefca@gnu.org>
177
+ Date: Sun Aug 19 21:53:34 2012 +0200
178
+
179
+ Documentation updated
180
+
181
+ commit 340ed417971a1ebcf345336e4918ad3e6ebc6ec5
182
+ Author: Paweł Wilk <siefca@gnu.org>
183
+ Date: Sun Aug 19 19:06:16 2012 +0200
184
+
185
+ Specs fixed
186
+
187
+ commit e1d2c852f32bd13e06cd0b9fa46f61c09316e6d6
188
+ Author: Paweł Wilk <siefca@gnu.org>
189
+ Date: Sun Aug 19 19:06:05 2012 +0200
190
+
191
+ Separated class level from instance level. We only return copies of global sets in instances.
192
+
193
+ commit eb28cb38d2858a6d06a35c8e23b9b77006f1d7e7
194
+ Author: Paweł Wilk <siefca@gnu.org>
195
+ Date: Sun Aug 19 19:04:32 2012 +0200
196
+
197
+ Documentation updated
198
+
199
+ commit ca208a67682d62a092fbf25a2a1088de5070a1c7
200
+ Author: Paweł Wilk <siefca@gnu.org>
201
+ Date: Sun Aug 19 17:25:31 2012 +0200
202
+
203
+ Added annotate_attribute_set DSL method
204
+
205
+ commit 9f0742ca81c0a699a9e116e8fc85091deaf69efd
206
+ Author: Paweł Wilk <siefca@gnu.org>
207
+ Date: Sun Aug 19 15:44:44 2012 +0200
208
+
209
+ Added some RSpec examples for annotations
210
+
211
+ commit 8f4cada6ae88ee169d8201257ed782842faa42d5
212
+ Author: Paweł Wilk <siefca@gnu.org>
213
+ Date: Sun Aug 19 15:44:25 2012 +0200
214
+
215
+ Documentation updated
216
+
217
+ commit f0a5497249f91d14e0f2a84fc49a0f2a31787826
218
+ Author: Paweł Wilk <siefca@gnu.org>
219
+ Date: Sun Aug 19 15:43:56 2012 +0200
220
+
221
+ Internal helper each_element is now recurrent
222
+
223
+ commit 4787ae156d42b701d87fcb1132bfc97c2cf67523
224
+ Author: Paweł Wilk <siefca@gnu.org>
225
+ Date: Sun Aug 19 15:43:09 2012 +0200
226
+
227
+ Added attribute_set_simple method for bypassing proxies
228
+
229
+ commit 89d672e7175f0526076b853cbd635e70cac1f85a
230
+ Author: Paweł Wilk <siefca@gnu.org>
231
+ Date: Sun Aug 19 01:27:31 2012 +0200
232
+
233
+ Added hashes support to common filters
234
+
235
+ commit 6a3232922d0b9302953b3be109abf55b9895b302
236
+ Author: Paweł Wilk <siefca@gnu.org>
237
+ Date: Sun Aug 19 01:27:08 2012 +0200
238
+
239
+ Added short example to README
240
+
241
+ commit 184b32a2507510e25ee1f6bb2e11c3ae52b2e03f
242
+ Author: Paweł Wilk <siefca@gnu.org>
243
+ Date: Sun Aug 19 01:25:16 2012 +0200
244
+
245
+ Common filters now have easy helpers in DSL for registering attributes that should be altered
246
+
247
+ commit 317af234c227ce62f5afcf6728263cda85c20d4a
248
+ Author: Paweł Wilk <siefca@gnu.org>
249
+ Date: Sat Aug 18 18:49:33 2012 +0200
250
+
251
+ Added filter_attributes DSL method for lazy programmers
252
+
253
+ commit def0159376045a0bed748573de45b847607620c3
254
+ Author: Paweł Wilk <siefca@gnu.org>
255
+ Date: Sat Aug 18 18:49:09 2012 +0200
256
+
257
+ Added safety tests for common filtering methods
258
+
259
+ commit ebb2dc7bf800f8c33848110f390d23354fbacc9d
260
+ Author: Paweł Wilk <siefca@gnu.org>
261
+ Date: Sat Aug 18 16:50:07 2012 +0200
262
+
263
+ All common filters can now handle arrays as values of processed attributes
264
+
265
+ commit ca29be942c8cef215e0012beabf278758d157e88
266
+ Author: Paweł Wilk <siefca@gnu.org>
267
+ Date: Sat Aug 18 12:11:46 2012 +0200
268
+
269
+ Join common filter can now operate on array attributes and in-place arrays
270
+
271
+ commit de7fca4c0cd463be23ef5401d48392cda506bfbf
272
+ Author: Paweł Wilk <siefca@gnu.org>
273
+ Date: Fri Aug 17 23:20:50 2012 +0200
274
+
275
+ AttributeSet::Query can now be initialized in more than one way
276
+
277
+ commit 3ee99fe992daaefa54df4eb05645380274d51dd6
278
+ Author: Paweł Wilk <siefca@gnu.org>
279
+ Date: Fri Aug 17 14:59:31 2012 +0200
280
+
281
+ Split common filter can now handle arrays
282
+
283
+ commit 0b7a58d2257bf93aaf7870f50c020930897cebf3
284
+ Author: Paweł Wilk <siefca@gnu.org>
285
+ Date: Fri Aug 17 14:59:11 2012 +0200
286
+
287
+ Common filters moved to subdirectory
288
+
289
+ commit 00b57a12eacb814306417dd3823ca001ed66734b
290
+ Author: Paweł Wilk <siefca@gnu.org>
291
+ Date: Mon Aug 13 13:12:56 2012 +0200
292
+
293
+ Added additional syntax to join_attribute DSL keyword
294
+
295
+ commit c90dbe236ddd356b0c8f155fb2f9d3552838071d
296
+ Author: Paweł Wilk <siefca@gnu.org>
297
+ Date: Mon Aug 13 13:08:58 2012 +0200
298
+
299
+ Annotation presence testing refactored
300
+
301
+ commit 8264f29faa7b380d6f29d4a7d485ee5d1c9a4375
302
+ Author: Paweł Wilk <siefca@gnu.org>
303
+ Date: Mon Aug 13 02:20:54 2012 +0200
304
+
305
+ Added Join common filter module
306
+
307
+ commit a383d90a4ce40a0c4e7ccc50414983b6707f010e
308
+ Author: Paweł Wilk <siefca@gnu.org>
309
+ Date: Mon Aug 13 02:20:27 2012 +0200
310
+
311
+ Added :include_missing option to processing flags of for_each_attr_from_set
312
+
313
+ The flag allows to process non-existent attributes and put nils in their places
314
+ when iterating over. It's helpful in collecting values in order or when
315
+ cherry-picking attribute names from attribute set annotations instead of attribute sets.
316
+
317
+ commit ff4a79dacf8369b086f7af608e8fd834d26a5a6a
318
+ Author: Paweł Wilk <siefca@gnu.org>
319
+ Date: Mon Aug 13 02:16:59 2012 +0200
320
+
321
+ Added value method to AttributeSet::AttrQuery
322
+
323
+ commit c54a5738f6d0f978f461be9b38e33ffd9f300117
324
+ Author: Paweł Wilk <siefca@gnu.org>
325
+ Date: Mon Aug 13 02:16:39 2012 +0200
326
+
327
+ Added values and values_hash method to AttributeSet::Query proxy class
328
+
329
+ commit 187764027fde7b13c71fbf0458d9a658586efa2b
330
+ Author: Paweł Wilk <siefca@gnu.org>
331
+ Date: Sun Aug 12 19:38:00 2012 +0200
332
+
333
+ Added AttributeFilters::Common::CommonFilter module that eases internal inclusion of filters
334
+
335
+ commit 0827259fdf7cb8dae8b0192cfc22e7f21e755ddf
336
+ Author: Paweł Wilk <siefca@gnu.org>
337
+ Date: Sun Aug 12 14:11:16 2012 +0200
338
+
339
+ Added annotation support to the_attribute DSL keyword
340
+
341
+ commit 8dd851098b6b0eb6c82a9dbd530be13d2bd3d8e3
342
+ Author: Paweł Wilk <siefca@gnu.org>
343
+ Date: Sun Aug 12 12:24:27 2012 +0200
344
+
345
+ Added Split common filter
346
+
347
+ commit f96ac9cbe465052f485f0f86658a960d81c74d7e
348
+ Author: Paweł Wilk <siefca@gnu.org>
349
+ Date: Sun Aug 12 12:23:28 2012 +0200
350
+
351
+ Annotations support in attribute set defining methods
352
+
353
+ commit cd66e8c4564841458fbbc08d9863601968e59670
354
+ Author: Paweł Wilk <siefca@gnu.org>
355
+ Date: Sun Aug 12 12:22:36 2012 +0200
356
+
357
+ Yield parameters change in filtering methods, replaced send calls with public_send calls
358
+
359
+ commit 98454c9391015363f67b3ada92f92188739753aa
360
+ Author: Paweł Wilk <siefca@gnu.org>
361
+ Date: Sun Aug 12 12:20:18 2012 +0200
362
+
363
+ Annotations code updated (type testing, aliases, safety tests)
364
+
365
+ commit 112253723f5f979cd28b98721e054f7838ac211a
366
+ Author: Paweł Wilk <siefca@gnu.org>
367
+ Date: Sat Aug 11 16:04:50 2012 +0200
368
+
369
+ Replaced send with public_send and method with public_method calls in proxy classes, added backports
370
+
371
+ commit a14f53821df2fe208a101ee45573ec7cd3f300ab
372
+ Author: Paweł Wilk <siefca@gnu.org>
373
+ Date: Fri Aug 10 23:58:35 2012 +0200
374
+
375
+ Added annotations support, moved enumerable and enumerator into AttributeSet namespace
376
+
377
+ commit 3d5b2d6c1722af75b06c73f1039faff9447a089a
378
+ Author: Paweł Wilk <siefca@gnu.org>
379
+ Date: Fri Aug 10 23:46:58 2012 +0200
380
+
381
+ Documentation links fixed
382
+
383
+ commit 797fc21e3094aaa3a33387dd9430194249e2ef10
384
+ Author: Paweł Wilk <siefca@gnu.org>
385
+ Date: Mon Aug 6 20:03:34 2012 +0200
386
+
387
+ Documentation updated
388
+
1
389
  commit 0aa079242b04c9d4336ba3dfaa9a084a0be5696f
2
390
  Author: Paweł Wilk <siefca@gnu.org>
3
391
  Date: Sun Aug 5 17:55:33 2012 +0200
data/Gemfile.lock CHANGED
@@ -2,9 +2,9 @@ GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
4
  abstract (1.0.0)
5
- actionpack (3.0.16)
6
- activemodel (= 3.0.16)
7
- activesupport (= 3.0.16)
5
+ actionpack (3.0.17)
6
+ activemodel (= 3.0.17)
7
+ activesupport (= 3.0.17)
8
8
  builder (~> 2.1.2)
9
9
  erubis (~> 2.6.6)
10
10
  i18n (~> 0.5.0)
@@ -12,16 +12,16 @@ GEM
12
12
  rack-mount (~> 0.6.14)
13
13
  rack-test (~> 0.5.7)
14
14
  tzinfo (~> 0.3.23)
15
- activemodel (3.0.16)
16
- activesupport (= 3.0.16)
15
+ activemodel (3.0.17)
16
+ activesupport (= 3.0.17)
17
17
  builder (~> 2.1.2)
18
18
  i18n (~> 0.5.0)
19
- activerecord (3.0.16)
20
- activemodel (= 3.0.16)
21
- activesupport (= 3.0.16)
19
+ activerecord (3.0.17)
20
+ activemodel (= 3.0.17)
21
+ activesupport (= 3.0.17)
22
22
  arel (~> 2.0.10)
23
23
  tzinfo (~> 0.3.23)
24
- activesupport (3.0.16)
24
+ activesupport (3.0.17)
25
25
  arel (2.0.10)
26
26
  builder (2.1.2)
27
27
  diff-lcs (1.1.3)
@@ -36,15 +36,15 @@ GEM
36
36
  hoe-yard (0.1.2)
37
37
  yard (>= 0.2.3.1)
38
38
  i18n (0.5.0)
39
- json (1.7.4)
39
+ json (1.7.5)
40
40
  rack (1.2.5)
41
41
  rack-mount (0.6.14)
42
42
  rack (>= 1.0.0)
43
43
  rack-test (0.5.7)
44
44
  rack (>= 1.0)
45
- railties (3.0.16)
46
- actionpack (= 3.0.16)
47
- activesupport (= 3.0.16)
45
+ railties (3.0.17)
46
+ actionpack (= 3.0.17)
47
+ activesupport (= 3.0.17)
48
48
  rake (>= 0.8.7)
49
49
  rdoc (~> 3.4)
50
50
  thor (~> 0.14.4)
@@ -59,7 +59,7 @@ GEM
59
59
  rspec-core (2.11.1)
60
60
  rspec-expectations (2.11.2)
61
61
  diff-lcs (~> 1.1.3)
62
- rspec-mocks (2.11.1)
62
+ rspec-mocks (2.11.2)
63
63
  supermodel (0.1.6)
64
64
  activemodel (~> 3.0.0)
65
65
  thor (0.14.6)