dm-is-select 0.0.9 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. data/.gitignore +36 -12
  2. data/Gemfile +23 -0
  3. data/Guardfile +13 -0
  4. data/{LICENSE → LICENSE.txt} +1 -1
  5. data/README.rdoc +32 -7
  6. data/Rakefile +33 -69
  7. data/VERSION +1 -1
  8. data/dm-is-select.gemspec +94 -44
  9. data/docs/apple-touch-icon.png +0 -0
  10. data/docs/classes/DataMapper.html +81 -0
  11. data/docs/classes/DataMapper/Is.html +81 -0
  12. data/docs/classes/DataMapper/Is/Select.html +205 -0
  13. data/docs/classes/DataMapper/Is/Select/ClassMethods.html +258 -0
  14. data/docs/created.rid +4 -0
  15. data/docs/css/github.css +129 -0
  16. data/docs/css/main.css +333 -0
  17. data/docs/css/panel.css +384 -0
  18. data/docs/css/reset.css +48 -0
  19. data/docs/favicon.ico +0 -0
  20. data/docs/files/README_rdoc.html +272 -0
  21. data/docs/files/lib/dm-is-select_rb.html +88 -0
  22. data/docs/files/lib/is/select_rb.html +94 -0
  23. data/docs/i/arrows.png +0 -0
  24. data/docs/i/results_bg.png +0 -0
  25. data/docs/i/tree_bg.png +0 -0
  26. data/docs/index.html +13 -0
  27. data/docs/js/highlight.pack.js +1 -0
  28. data/docs/js/jquery-1.3.2.min.js +19 -0
  29. data/docs/js/jquery-effect.js +593 -0
  30. data/docs/js/main.js +24 -0
  31. data/docs/js/navigation.js +142 -0
  32. data/docs/js/search_index.js +1 -0
  33. data/docs/js/searchdoc.js +449 -0
  34. data/docs/js/searcher.js +228 -0
  35. data/docs/panel/index.html +73 -0
  36. data/docs/panel/links.html +12 -0
  37. data/docs/panel/tree.js +1 -0
  38. data/lib/dm-is-select.rb +5 -11
  39. data/lib/{dm-is-select/is → is}/select.rb +12 -10
  40. data/spec/{integration/select_spec.rb → dm-is-select_spec.rb} +25 -13
  41. data/spec/spec_helper.rb +10 -8
  42. metadata +278 -94
  43. data/History.rdoc +0 -24
  44. data/TODO +0 -0
  45. data/lib/dm-is-select/is/version.rb +0 -7
@@ -0,0 +1,4 @@
1
+ Mon, 11 Mar 2013 01:52:48 +0800
2
+ lib/dm-is-select.rb Mon, 11 Mar 2013 01:47:33 +0800
3
+ lib/is/select.rb Mon, 11 Mar 2013 00:18:08 +0800
4
+ README.rdoc Mon, 11 Mar 2013 01:48:40 +0800
@@ -0,0 +1,129 @@
1
+ /*
2
+
3
+ github.com style (c) Vasily Polovnyov <vast@whiteants.net>
4
+
5
+ */
6
+
7
+ pre code {
8
+ display: block; padding: 0.5em;
9
+ color: #000;
10
+ background: #f8f8ff
11
+ }
12
+
13
+ pre .comment,
14
+ pre .template_comment,
15
+ pre .diff .header,
16
+ pre .javadoc {
17
+ color: #998;
18
+ font-style: italic
19
+ }
20
+
21
+ pre .keyword,
22
+ pre .css .rule .keyword,
23
+ pre .winutils,
24
+ pre .javascript .title,
25
+ pre .lisp .title,
26
+ pre .subst {
27
+ color: #000;
28
+ font-weight: bold
29
+ }
30
+
31
+ pre .number,
32
+ pre .hexcolor {
33
+ color: #40a070
34
+ }
35
+
36
+ pre .string,
37
+ pre .tag .value,
38
+ pre .phpdoc,
39
+ pre .tex .formula {
40
+ color: #d14
41
+ }
42
+
43
+ pre .title,
44
+ pre .id {
45
+ color: #900;
46
+ font-weight: bold
47
+ }
48
+
49
+ pre .javascript .title,
50
+ pre .lisp .title,
51
+ pre .subst {
52
+ font-weight: normal
53
+ }
54
+
55
+ pre .class .title,
56
+ pre .haskell .label,
57
+ pre .tex .command {
58
+ color: #458;
59
+ font-weight: bold
60
+ }
61
+
62
+ pre .tag,
63
+ pre .tag .title,
64
+ pre .rules .property,
65
+ pre .django .tag .keyword {
66
+ color: #000080;
67
+ font-weight: normal
68
+ }
69
+
70
+ pre .attribute,
71
+ pre .variable,
72
+ pre .instancevar,
73
+ pre .lisp .body {
74
+ color: #008080
75
+ }
76
+
77
+ pre .regexp {
78
+ color: #009926
79
+ }
80
+
81
+ pre .class {
82
+ color: #458;
83
+ font-weight: bold
84
+ }
85
+
86
+ pre .symbol,
87
+ pre .ruby .symbol .string,
88
+ pre .ruby .symbol .keyword,
89
+ pre .ruby .symbol .keymethods,
90
+ pre .lisp .keyword,
91
+ pre .tex .special,
92
+ pre .input_number {
93
+ color: #990073
94
+ }
95
+
96
+ pre .builtin,
97
+ pre .built_in,
98
+ pre .lisp .title {
99
+ color: #0086b3
100
+ }
101
+
102
+ pre .preprocessor,
103
+ pre .pi,
104
+ pre .doctype,
105
+ pre .shebang,
106
+ pre .cdata {
107
+ color: #999;
108
+ font-weight: bold
109
+ }
110
+
111
+ pre .deletion {
112
+ background: #fdd
113
+ }
114
+
115
+ pre .addition {
116
+ background: #dfd
117
+ }
118
+
119
+ pre .diff .change {
120
+ background: #0086b3
121
+ }
122
+
123
+ pre .chunk {
124
+ color: #aaa
125
+ }
126
+
127
+ pre .tex .formula {
128
+ opacity: 0.5;
129
+ }
@@ -0,0 +1,333 @@
1
+ body {
2
+ font-family: "Helvetica Neue", Arial, sans-serif;
3
+ background: #FFF;
4
+ color: #000;
5
+ margin: 0px;
6
+ font-size: 0.82em;
7
+ line-height: 1.25em;
8
+ }
9
+
10
+ a {
11
+ color: #00F;
12
+ text-decoration: none;
13
+ }
14
+
15
+ a:hover {
16
+ color: #333;
17
+ background: #FE8;
18
+ }
19
+
20
+ p {
21
+ margin-bottom: 1em;
22
+ }
23
+
24
+ h1 {
25
+ font-size: 2.1em;
26
+ font-weight: normal;
27
+ line-height: 1.2em;
28
+ margin: 1.4em 0 0.7em 0;
29
+ }
30
+
31
+ h2 {
32
+ font-size: 1.6em;
33
+ margin: 1.8em 0 0.8em 0;
34
+ font-weight: normal;
35
+ line-height: 1.2em;
36
+ }
37
+
38
+ h3 {
39
+ font-size: 1.4em;
40
+ color:#555;
41
+ margin: 1.4em 0 0.7em 0;
42
+ font-weight: normal;
43
+ }
44
+
45
+ h4 {
46
+ margin: 1.4em 0 0.5em 0;
47
+ font-size: 1em;
48
+ }
49
+
50
+ table
51
+ {
52
+ margin-bottom: 1em;
53
+ }
54
+
55
+ td, th
56
+ {
57
+ padding: 0 0.7em 0.3em 0;
58
+ }
59
+
60
+ th
61
+ {
62
+ font-weight: bold;
63
+ }
64
+
65
+ .clear
66
+ {
67
+ clear: both;
68
+ width: 0; height: 0;
69
+ }
70
+
71
+ dt
72
+ {
73
+ margin-bottom: 0.3em;
74
+ font-weight: bold;
75
+ }
76
+
77
+ dd
78
+ {
79
+ margin-left: 2em;
80
+ margin-bottom: 1em;
81
+ }
82
+
83
+ dd p
84
+ {
85
+ margin-top: 0.6em;
86
+ }
87
+
88
+ li
89
+ {
90
+ margin: 0 0 0.5em 2em;
91
+ }
92
+
93
+ ul li
94
+ {
95
+ list-style: disc;
96
+ }
97
+
98
+ ol li
99
+ {
100
+ list-style: decimal;
101
+ }
102
+
103
+ .banner
104
+ {
105
+ background: #EDF3FE;
106
+ border-bottom: 1px solid #ccc;
107
+ padding: 1em 2em 0.5em 2em;
108
+ }
109
+ .banner h1
110
+ {
111
+ font-size: 1.2em;
112
+ margin: 0;
113
+ }
114
+
115
+ .banner h1 .type
116
+ {
117
+ font-size: 0.833em;
118
+ display:block;
119
+ }
120
+
121
+ .banner h1 .type,
122
+ .banner h1 .parent
123
+ {
124
+ color: #666;
125
+ }
126
+
127
+ .banner ul
128
+ {
129
+ margin-top: 0.3em;
130
+ margin-bottom: 0;
131
+ font-size: 0.85em;
132
+ }
133
+
134
+ .banner li
135
+ {
136
+ list-style: none;
137
+ margin-left: 0;
138
+ margin-bottom: 0;
139
+ }
140
+
141
+ pre
142
+ {
143
+ margin-bottom: 1em;
144
+ }
145
+
146
+ .methods dt
147
+ {
148
+ width: 1em;
149
+ font-size: 1.5em;
150
+ color:#AAA;
151
+ position: absolute;
152
+ font-weight: normal;
153
+ margin: 0;
154
+ }
155
+
156
+ .methods dd
157
+ {
158
+ margin-left: 2.5em;
159
+ min-height: 1.8em;
160
+ -height: 1.8em;
161
+ padding-bottom: 0.8em;
162
+ }
163
+
164
+
165
+ .methods ul li
166
+ {
167
+ margin-right: 0.7em;
168
+ margin-left: 0;
169
+ list-style: none;
170
+ display: inline;
171
+ }
172
+
173
+ #content {
174
+ margin: 2em;
175
+ margin-left: 3.5em;
176
+ margin-right: 3.5em;
177
+ }
178
+
179
+
180
+ .sectiontitle {
181
+ margin-top: 2em;
182
+ margin-bottom: 1.3em;
183
+ margin-left: -1.2em;
184
+ font-size: 1.2em;
185
+ padding: 0 0 0.25em 0;
186
+ font-weight: bold;
187
+ border-bottom: 1px solid #000;
188
+ }
189
+
190
+ .contenttitle {
191
+ margin-top: 4em;
192
+ margin-bottom: 1.3em;
193
+ margin-left: -0.9em;
194
+ font-size: 1.6em;
195
+ padding: 0 0 0.25em 0;
196
+ font-weight: bold;
197
+ }
198
+
199
+ .attr-rw {
200
+ padding-right: 1em;
201
+ text-align: center;
202
+ color: #055;
203
+ }
204
+
205
+ .attr-name {
206
+ font-weight: bold;
207
+ padding-right: 1em;
208
+ }
209
+
210
+ .attr-desc {
211
+ }
212
+
213
+ tt {
214
+ font-size: 1.15em;
215
+ }
216
+
217
+ .attr-value {
218
+ font-family: monospace;
219
+ padding-left: 1em;
220
+ font-size: 1.15em;
221
+ }
222
+
223
+ .dyn-source {
224
+ display: none;
225
+ background: #fffde8;
226
+ color: #000;
227
+ border: #ffe0bb dotted 1px;
228
+ margin: 0.5em 2em 0.5em 0;
229
+ padding: 0.5em;
230
+ }
231
+
232
+ .dyn-source .cmt {
233
+ color: #00F;
234
+ font-style: italic;
235
+ }
236
+
237
+ .dyn-source .kw {
238
+ color: #070;
239
+ font-weight: bold;
240
+ }
241
+
242
+ .description pre {
243
+ padding: 0.5em;
244
+ border: #ffe0bb dotted 1px;
245
+ background: #fffde8;
246
+ }
247
+
248
+ .method {
249
+ margin-bottom: 2em;
250
+ }
251
+ .method .description,
252
+ .method .sourcecode
253
+ {
254
+ margin-left: 1.2em;
255
+ }
256
+ .method h4
257
+ {
258
+ border-bottom: 1px dotted #999;
259
+ padding: 0 0 0.2em 0;
260
+ margin-bottom: 0.8em;
261
+ font-size: 1.1em;
262
+ color:#333;
263
+ }
264
+ .method .method-title {
265
+ border-bottom: 1px dotted #666;
266
+ padding: 0 0 0.15em 0;
267
+ margin: 0 0 0.5em 0;
268
+ font-size: 1.2em;
269
+ line-height: 1.25em;
270
+ position: relative;
271
+ }
272
+
273
+ .method .method-title a.permalink {
274
+ position: absolute;
275
+ font-size: 0.75em;
276
+ right: 0;
277
+ }
278
+
279
+ .method .sourcecode p.source-link {
280
+ text-indent: 0em;
281
+ margin-top: 0.5em;
282
+ }
283
+
284
+ .method .aka {
285
+ margin-top: 0.3em;
286
+ margin-left: 1em;
287
+ font-style: italic;
288
+ text-indent: 2em;
289
+ }
290
+
291
+ .method .source-link
292
+ {
293
+ font-size: 0.85em;
294
+ }
295
+
296
+ .ruby-constant {
297
+ color: teal;
298
+ }
299
+ .ruby-keyword {
300
+ color: #000;
301
+ font-weight: bold
302
+ }
303
+ .ruby-title {
304
+ color: #900;
305
+ font-weight: bold;
306
+ }
307
+ .ruby-ivar {
308
+ color: teal;
309
+ }
310
+ .ruby-operator {
311
+ color: #000;
312
+ font-weight: bold
313
+ }
314
+ .ruby-identifier {
315
+ color: #000;
316
+ }
317
+ .ruby-string,
318
+ .ruby-node {
319
+ color: #D14;
320
+ }
321
+ .ruby-comment {
322
+ color: #998;
323
+ font-style: italic;
324
+ }
325
+ .ruby-regexp {
326
+ color: #009926;
327
+ }
328
+ .ruby-value {
329
+ color: #990073;
330
+ }
331
+ .ruby-number {
332
+ color: #40A070;
333
+ }