inquery 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -2
- data/README.md +11 -2
- data/RUBY_VERSION +1 -1
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/doc/Inquery.html +38 -38
- data/doc/Inquery/Exceptions.html +38 -38
- data/doc/Inquery/Exceptions/Base.html +44 -43
- data/doc/Inquery/Exceptions/InvalidRelation.html +44 -43
- data/doc/Inquery/Exceptions/UnknownCallSignature.html +44 -43
- data/doc/Inquery/Mixins.html +38 -38
- data/doc/Inquery/Mixins/RelationValidation.html +70 -73
- data/doc/Inquery/Mixins/RelationValidation/ClassMethods.html +45 -47
- data/doc/Inquery/Mixins/SchemaValidation.html +47 -45
- data/doc/Inquery/Mixins/SchemaValidation/ClassMethods.html +41 -41
- data/doc/Inquery/Query.html +87 -105
- data/doc/Inquery/Query/Chainable.html +66 -73
- data/doc/_index.html +28 -31
- data/doc/class_list.html +24 -31
- data/doc/css/full_list.css +32 -31
- data/doc/css/style.css +244 -91
- data/doc/file.README.html +135 -143
- data/doc/file_list.html +26 -30
- data/doc/frames.html +7 -16
- data/doc/index.html +135 -143
- data/doc/js/app.js +106 -77
- data/doc/js/full_list.js +170 -135
- data/doc/method_list.html +98 -74
- data/doc/top-level-namespace.html +34 -36
- data/inquery.gemspec +44 -44
- metadata +7 -8
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Module: Inquery::Mixins::RelationValidation::ClassMethods
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.9
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "Inquery::Mixins::RelationValidation::ClassMethods";
|
19
19
|
relpath = '../../../';
|
20
|
-
framesUrl = "../../../frames.html#!Inquery/Mixins/RelationValidation/ClassMethods.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,61 +27,61 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
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">
|
33
38
|
|
34
39
|
<a href="../../../_index.html">Index (C)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../../../Inquery.html" title="Inquery (module)">Inquery</a></span></span> » <span class='title'><span class='object_link'><a href="../../Mixins.html" title="Inquery::Mixins (module)">Mixins</a></span></span> » <span class='title'><span class='object_link'><a href="../RelationValidation.html" title="Inquery::Mixins::RelationValidation (module)">RelationValidation</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">ClassMethods</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../../../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../../file_list.html">
|
57
|
-
File List
|
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>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
<iframe id="search_frame"></iframe>
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
65
61
|
|
66
|
-
|
62
|
+
<div id="content"><h1>Module: Inquery::Mixins::RelationValidation::ClassMethods
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
71
69
|
|
72
|
-
<dl class="box">
|
73
70
|
|
74
71
|
|
75
|
-
|
76
72
|
|
77
|
-
|
78
73
|
|
79
74
|
|
75
|
+
|
80
76
|
|
81
|
-
|
82
|
-
<dd class="r1 last">lib/inquery/mixins/relation_validation.rb</dd>
|
77
|
+
|
83
78
|
|
84
|
-
|
85
|
-
<
|
79
|
+
<dl>
|
80
|
+
<dt>Defined in:</dt>
|
81
|
+
<dd>lib/inquery/mixins/relation_validation.rb</dd>
|
82
|
+
</dl>
|
83
|
+
|
84
|
+
</div>
|
86
85
|
|
87
86
|
|
88
87
|
|
@@ -94,7 +93,7 @@
|
|
94
93
|
|
95
94
|
<h2>
|
96
95
|
Instance Method Summary
|
97
|
-
<small
|
96
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
98
97
|
</h2>
|
99
98
|
|
100
99
|
<ul class="summary">
|
@@ -102,7 +101,7 @@
|
|
102
101
|
<li class="public ">
|
103
102
|
<span class="summary_signature">
|
104
103
|
|
105
|
-
<a href="#relation-instance_method" title="#relation (instance method)"
|
104
|
+
<a href="#relation-instance_method" title="#relation (instance method)">#<strong>relation</strong>(options = {}) ⇒ Object </a>
|
106
105
|
|
107
106
|
|
108
107
|
|
@@ -116,8 +115,7 @@
|
|
116
115
|
|
117
116
|
|
118
117
|
|
119
|
-
<span class="summary_desc"><div class='inline'>
|
120
|
-
<p>Allows to configure the parameters of the relation this query operates on.</p>
|
118
|
+
<span class="summary_desc"><div class='inline'><p>Allows to configure the parameters of the relation this query operates on.</p>
|
121
119
|
</div></span>
|
122
120
|
|
123
121
|
</li>
|
@@ -135,7 +133,7 @@
|
|
135
133
|
<div class="method_details first">
|
136
134
|
<h3 class="signature first" id="relation-instance_method">
|
137
135
|
|
138
|
-
|
136
|
+
#<strong>relation</strong>(options = {}) ⇒ <tt>Object</tt>
|
139
137
|
|
140
138
|
|
141
139
|
|
@@ -143,9 +141,8 @@
|
|
143
141
|
|
144
142
|
</h3><div class="docstring">
|
145
143
|
<div class="discussion">
|
146
|
-
|
147
|
-
<
|
148
|
-
See <span class='object_link'><a href="../RelationValidation.html#OPTIONS_SCHEMA-constant" title="Inquery::Mixins::RelationValidation::OPTIONS_SCHEMA (constant)">OPTIONS_SCHEMA</a></span> for documentation of the options hash.</p>
|
144
|
+
<p>Allows to configure the parameters of the relation this query operates
|
145
|
+
on. See <span class='object_link'><a href="../RelationValidation.html#OPTIONS_SCHEMA-constant" title="Inquery::Mixins::RelationValidation::OPTIONS_SCHEMA (constant)">OPTIONS_SCHEMA</a></span> for documentation of the options hash.</p>
|
149
146
|
|
150
147
|
|
151
148
|
</div>
|
@@ -168,7 +165,7 @@ See <span class='object_link'><a href="../RelationValidation.html#OPTIONS_SCHEMA
|
|
168
165
|
<pre class="code"><span class="info file"># File 'lib/inquery/mixins/relation_validation.rb', line 48</span>
|
169
166
|
|
170
167
|
<span class='kw'>def</span> <span class='id identifier rubyid_relation'>relation</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
171
|
-
<span class='const'>Schemacop</span><span class='period'>.</span><span class='id identifier rubyid_validate!'>validate!</span><span class='lparen'>(</span><span class='const'>OPTIONS_SCHEMA</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
168
|
+
<span class='const'>Schemacop</span><span class='period'>.</span><span class='id identifier rubyid_validate!'>validate!</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="../RelationValidation.html#OPTIONS_SCHEMA-constant" title="Inquery::Mixins::RelationValidation::OPTIONS_SCHEMA (constant)">OPTIONS_SCHEMA</a></span></span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
172
169
|
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid__relation_options'>_relation_options</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span>
|
173
170
|
<span class='kw'>end</span></pre>
|
174
171
|
</td>
|
@@ -180,11 +177,12 @@ See <span class='object_link'><a href="../RelationValidation.html#OPTIONS_SCHEMA
|
|
180
177
|
|
181
178
|
</div>
|
182
179
|
|
183
|
-
|
184
|
-
Generated on
|
180
|
+
<div id="footer">
|
181
|
+
Generated on Tue May 16 10:49:05 2017 by
|
185
182
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
186
|
-
0.
|
183
|
+
0.9.9 (ruby-2.3.1).
|
187
184
|
</div>
|
188
185
|
|
186
|
+
</div>
|
189
187
|
</body>
|
190
188
|
</html>
|
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Module: Inquery::Mixins::SchemaValidation
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.9
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "Inquery::Mixins::SchemaValidation";
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!Inquery/Mixins/SchemaValidation.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,69 +27,71 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
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">
|
33
38
|
|
34
39
|
<a href="../../_index.html">Index (S)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../../Inquery.html" title="Inquery (module)">Inquery</a></span></span> » <span class='title'><span class='object_link'><a href="../Mixins.html" title="Inquery::Mixins (module)">Mixins</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">SchemaValidation</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../file_list.html">
|
57
|
-
File List
|
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>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
65
|
-
|
66
|
-
<div id="content"><h1>Module: Inquery::Mixins::SchemaValidation
|
62
|
+
<div id="content"><h1>Module: Inquery::Mixins::SchemaValidation
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
71
69
|
|
72
|
-
<dl class="box">
|
73
70
|
|
74
71
|
|
75
|
-
|
76
|
-
<dt
|
77
|
-
<dd
|
78
|
-
|
79
|
-
|
72
|
+
<dl>
|
73
|
+
<dt>Extended by:</dt>
|
74
|
+
<dd>ActiveSupport::Concern</dd>
|
75
|
+
</dl>
|
80
76
|
|
81
|
-
|
82
77
|
|
83
78
|
|
84
|
-
<dt class="r2">Included in:</dt>
|
85
|
-
<dd class="r2"><span class='object_link'><a href="../Query.html" title="Inquery::Query (class)">Query</a></span></dd>
|
86
|
-
|
87
79
|
|
80
|
+
|
81
|
+
|
82
|
+
<dl>
|
83
|
+
<dt>Included in:</dt>
|
84
|
+
<dd><span class='object_link'><a href="../Query.html" title="Inquery::Query (class)">Query</a></span></dd>
|
85
|
+
</dl>
|
86
|
+
|
87
|
+
|
88
88
|
|
89
|
-
|
90
|
-
<
|
89
|
+
<dl>
|
90
|
+
<dt>Defined in:</dt>
|
91
|
+
<dd>lib/inquery/mixins/schema_validation.rb</dd>
|
92
|
+
</dl>
|
91
93
|
|
92
|
-
</
|
93
|
-
<div class="clear"></div>
|
94
|
+
</div>
|
94
95
|
|
95
96
|
<h2>Defined Under Namespace</h2>
|
96
97
|
<p class="children">
|
@@ -114,11 +115,12 @@
|
|
114
115
|
|
115
116
|
</div>
|
116
117
|
|
117
|
-
|
118
|
-
Generated on
|
118
|
+
<div id="footer">
|
119
|
+
Generated on Tue May 16 10:49:05 2017 by
|
119
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
120
|
-
0.
|
121
|
+
0.9.9 (ruby-2.3.1).
|
121
122
|
</div>
|
122
123
|
|
124
|
+
</div>
|
123
125
|
</body>
|
124
126
|
</html>
|
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Module: Inquery::Mixins::SchemaValidation::ClassMethods
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.9
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "Inquery::Mixins::SchemaValidation::ClassMethods";
|
19
19
|
relpath = '../../../';
|
20
|
-
framesUrl = "../../../frames.html#!Inquery/Mixins/SchemaValidation/ClassMethods.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,61 +27,61 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
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">
|
33
38
|
|
34
39
|
<a href="../../../_index.html">Index (C)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../../../Inquery.html" title="Inquery (module)">Inquery</a></span></span> » <span class='title'><span class='object_link'><a href="../../Mixins.html" title="Inquery::Mixins (module)">Mixins</a></span></span> » <span class='title'><span class='object_link'><a href="../SchemaValidation.html" title="Inquery::Mixins::SchemaValidation (module)">SchemaValidation</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">ClassMethods</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../../../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../../file_list.html">
|
57
|
-
File List
|
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>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
65
|
-
|
66
|
-
<div id="content"><h1>Module: Inquery::Mixins::SchemaValidation::ClassMethods
|
62
|
+
<div id="content"><h1>Module: Inquery::Mixins::SchemaValidation::ClassMethods
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
71
69
|
|
72
|
-
<dl class="box">
|
73
70
|
|
74
71
|
|
75
|
-
|
76
72
|
|
77
|
-
|
78
73
|
|
79
74
|
|
75
|
+
|
80
76
|
|
81
|
-
|
82
|
-
|
77
|
+
|
78
|
+
|
79
|
+
<dl>
|
80
|
+
<dt>Defined in:</dt>
|
81
|
+
<dd>lib/inquery/mixins/schema_validation.rb</dd>
|
82
|
+
</dl>
|
83
83
|
|
84
|
-
</
|
85
|
-
<div class="clear"></div>
|
84
|
+
</div>
|
86
85
|
|
87
86
|
|
88
87
|
|
@@ -94,7 +93,7 @@
|
|
94
93
|
|
95
94
|
<h2>
|
96
95
|
Instance Method Summary
|
97
|
-
<small
|
96
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
98
97
|
</h2>
|
99
98
|
|
100
99
|
<ul class="summary">
|
@@ -102,7 +101,7 @@
|
|
102
101
|
<li class="public ">
|
103
102
|
<span class="summary_signature">
|
104
103
|
|
105
|
-
<a href="#schema-instance_method" title="#schema (instance method)"
|
104
|
+
<a href="#schema-instance_method" title="#schema (instance method)">#<strong>schema</strong>(schema) ⇒ Object </a>
|
106
105
|
|
107
106
|
|
108
107
|
|
@@ -133,7 +132,7 @@
|
|
133
132
|
<div class="method_details first">
|
134
133
|
<h3 class="signature first" id="schema-instance_method">
|
135
134
|
|
136
|
-
|
135
|
+
#<strong>schema</strong>(schema) ⇒ <tt>Object</tt>
|
137
136
|
|
138
137
|
|
139
138
|
|
@@ -182,11 +181,12 @@
|
|
182
181
|
|
183
182
|
</div>
|
184
183
|
|
185
|
-
|
186
|
-
Generated on
|
184
|
+
<div id="footer">
|
185
|
+
Generated on Tue May 16 10:49:05 2017 by
|
187
186
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
188
|
-
0.
|
187
|
+
0.9.9 (ruby-2.3.1).
|
189
188
|
</div>
|
190
189
|
|
190
|
+
</div>
|
191
191
|
</body>
|
192
192
|
</html>
|