Skip to content

Commit e20d805

Browse files
author
beta
committed
Update: version 0.0.2rc3 fix bug with variant
1 parent 47d251f commit e20d805

16 files changed

+1690
-2
lines changed

docs/cover/coverage_html.js

+584
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
2+
3+
4+
<!DOCTYPE html>
5+
<html>
6+
<head>
7+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
8+
9+
10+
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
11+
<title>Coverage for flask_restplus_sqlalchemy/__init__.py: 100%</title>
12+
<link rel="stylesheet" href="style.css" type="text/css">
13+
14+
<script type="text/javascript" src="jquery.min.js"></script>
15+
<script type="text/javascript" src="jquery.hotkeys.js"></script>
16+
<script type="text/javascript" src="jquery.isonscreen.js"></script>
17+
<script type="text/javascript" src="coverage_html.js"></script>
18+
<script type="text/javascript">
19+
jQuery(document).ready(coverage.pyfile_ready);
20+
</script>
21+
</head>
22+
<body class="pyfile">
23+
24+
<div id="header">
25+
<div class="content">
26+
<h1>Coverage for <b>flask_restplus_sqlalchemy/__init__.py</b> :
27+
<span class="pc_cov">100%</span>
28+
</h1>
29+
30+
<img id="keyboard_icon" src="keybd_closed.png" alt="Show keyboard shortcuts" />
31+
32+
<h2 class="stats">
33+
2 statements &nbsp;
34+
<span class="run hide_run shortkey_r button_toggle_run">2 run</span>
35+
<span class="mis shortkey_m button_toggle_mis">0 missing</span>
36+
<span class="exc shortkey_x button_toggle_exc">0 excluded</span>
37+
38+
39+
</h2>
40+
</div>
41+
</div>
42+
43+
<div class="help_panel">
44+
<img id="panel_icon" src="keybd_open.png" alt="Hide keyboard shortcuts" />
45+
<p class="legend">Hot-keys on this page</p>
46+
<div>
47+
<p class="keyhelp">
48+
<span class="key">r</span>
49+
<span class="key">m</span>
50+
<span class="key">x</span>
51+
<span class="key">p</span> &nbsp; toggle line displays
52+
</p>
53+
<p class="keyhelp">
54+
<span class="key">j</span>
55+
<span class="key">k</span> &nbsp; next/prev highlighted chunk
56+
</p>
57+
<p class="keyhelp">
58+
<span class="key">0</span> &nbsp; (zero) top of page
59+
</p>
60+
<p class="keyhelp">
61+
<span class="key">1</span> &nbsp; (one) first highlighted chunk
62+
</p>
63+
</div>
64+
</div>
65+
66+
<div id="source">
67+
<table>
68+
<tr>
69+
<td class="linenos">
70+
<p id="n1" class="pln"><a href="#n1">1</a></p>
71+
<p id="n2" class="pln"><a href="#n2">2</a></p>
72+
<p id="n3" class="stm run hide_run"><a href="#n3">3</a></p>
73+
<p id="n4" class="stm run hide_run"><a href="#n4">4</a></p>
74+
75+
</td>
76+
<td class="text">
77+
<p id="t1" class="pln"><span class="str">""" Factory for use with Flask SQL</span><span class="strut">&nbsp;</span></p>
78+
<p id="t2" class="pln"><span class="str">"""</span><span class="strut">&nbsp;</span></p>
79+
<p id="t3" class="stm run hide_run"><span class="key">from</span> <span class="op">.</span><span class="nam">factory</span> <span class="key">import</span> <span class="nam">ApiModelFactory</span><span class="strut">&nbsp;</span></p>
80+
<p id="t4" class="stm run hide_run"><span class="nam">__version__</span><span class="op">:</span> <span class="nam">str</span> <span class="op">=</span> <span class="str">'0.0.1b1'</span><span class="strut">&nbsp;</span></p>
81+
82+
</td>
83+
</tr>
84+
</table>
85+
</div>
86+
87+
<div id="footer">
88+
<div class="content">
89+
<p>
90+
<a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.io">coverage.py v4.5.4</a>,
91+
created at 2020-02-01 14:36
92+
</p>
93+
</div>
94+
</div>
95+
96+
</body>
97+
</html>

docs/cover/flask_restplus_sqlalchemy_factory_py.html

+349
Large diffs are not rendered by default.

docs/cover/index.html

+113
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
2+
3+
4+
<!DOCTYPE html>
5+
<html>
6+
<head>
7+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
8+
<title>Coverage report</title>
9+
<link rel="stylesheet" href="style.css" type="text/css">
10+
11+
<script type="text/javascript" src="jquery.min.js"></script>
12+
<script type="text/javascript" src="jquery.ba-throttle-debounce.min.js"></script>
13+
<script type="text/javascript" src="jquery.tablesorter.min.js"></script>
14+
<script type="text/javascript" src="jquery.hotkeys.js"></script>
15+
<script type="text/javascript" src="coverage_html.js"></script>
16+
<script type="text/javascript">
17+
jQuery(document).ready(coverage.index_ready);
18+
</script>
19+
</head>
20+
<body class="indexfile">
21+
22+
<div id="header">
23+
<div class="content">
24+
<h1>Coverage report:
25+
<span class="pc_cov">100%</span>
26+
</h1>
27+
28+
<img id="keyboard_icon" src="keybd_closed.png" alt="Show keyboard shortcuts" />
29+
30+
<form id="filter_container">
31+
<input id="filter" type="text" value="" placeholder="filter..." />
32+
</form>
33+
</div>
34+
</div>
35+
36+
<div class="help_panel">
37+
<img id="panel_icon" src="keybd_open.png" alt="Hide keyboard shortcuts" />
38+
<p class="legend">Hot-keys on this page</p>
39+
<div>
40+
<p class="keyhelp">
41+
<span class="key">n</span>
42+
<span class="key">s</span>
43+
<span class="key">m</span>
44+
<span class="key">x</span>
45+
46+
<span class="key">c</span> &nbsp; change column sorting
47+
</p>
48+
</div>
49+
</div>
50+
51+
<div id="index">
52+
<table class="index">
53+
<thead>
54+
55+
<tr class="tablehead" title="Click to sort">
56+
<th class="name left headerSortDown shortkey_n">Module</th>
57+
<th class="shortkey_s">statements</th>
58+
<th class="shortkey_m">missing</th>
59+
<th class="shortkey_x">excluded</th>
60+
61+
<th class="right shortkey_c">coverage</th>
62+
</tr>
63+
</thead>
64+
65+
<tfoot>
66+
<tr class="total">
67+
<td class="name left">Total</td>
68+
<td>53</td>
69+
<td>0</td>
70+
<td>0</td>
71+
72+
<td class="right" data-ratio="53 53">100%</td>
73+
</tr>
74+
</tfoot>
75+
<tbody>
76+
77+
<tr class="file">
78+
<td class="name left"><a href="flask_restplus_sqlalchemy___init___py.html">flask_restplus_sqlalchemy/__init__.py</a></td>
79+
<td>2</td>
80+
<td>0</td>
81+
<td>0</td>
82+
83+
<td class="right" data-ratio="2 2">100%</td>
84+
</tr>
85+
86+
<tr class="file">
87+
<td class="name left"><a href="flask_restplus_sqlalchemy_factory_py.html">flask_restplus_sqlalchemy/factory.py</a></td>
88+
<td>51</td>
89+
<td>0</td>
90+
<td>0</td>
91+
92+
<td class="right" data-ratio="51 51">100%</td>
93+
</tr>
94+
95+
</tbody>
96+
</table>
97+
98+
<p id="no_rows">
99+
No items found using the specified filter.
100+
</p>
101+
</div>
102+
103+
<div id="footer">
104+
<div class="content">
105+
<p>
106+
<a class="nav" href="https://coverage.readthedocs.io">coverage.py v4.5.4</a>,
107+
created at 2020-02-01 14:41
108+
</p>
109+
</div>
110+
</div>
111+
112+
</body>
113+
</html>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*
2+
* jQuery throttle / debounce - v1.1 - 3/7/2010
3+
* http://benalman.com/projects/jquery-throttle-debounce-plugin/
4+
*
5+
* Copyright (c) 2010 "Cowboy" Ben Alman
6+
* Dual licensed under the MIT and GPL licenses.
7+
* http://benalman.com/about/license/
8+
*/
9+
(function(b,c){var $=b.jQuery||b.Cowboy||(b.Cowboy={}),a;$.throttle=a=function(e,f,j,i){var h,d=0;if(typeof f!=="boolean"){i=j;j=f;f=c}function g(){var o=this,m=+new Date()-d,n=arguments;function l(){d=+new Date();j.apply(o,n)}function k(){h=c}if(i&&!h){l()}h&&clearTimeout(h);if(i===c&&m>e){l()}else{if(f!==true){h=setTimeout(i?k:l,i===c?e-m:e)}}}if($.guid){g.guid=j.guid=j.guid||$.guid++}return g};$.debounce=function(d,e,f){return f===c?a(d,e,false):a(d,f,e!==false)}})(this);

docs/cover/jquery.hotkeys.js

+99
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
/*
2+
* jQuery Hotkeys Plugin
3+
* Copyright 2010, John Resig
4+
* Dual licensed under the MIT or GPL Version 2 licenses.
5+
*
6+
* Based upon the plugin by Tzury Bar Yochay:
7+
* http://github.com/tzuryby/hotkeys
8+
*
9+
* Original idea by:
10+
* Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/
11+
*/
12+
13+
(function(jQuery){
14+
15+
jQuery.hotkeys = {
16+
version: "0.8",
17+
18+
specialKeys: {
19+
8: "backspace", 9: "tab", 13: "return", 16: "shift", 17: "ctrl", 18: "alt", 19: "pause",
20+
20: "capslock", 27: "esc", 32: "space", 33: "pageup", 34: "pagedown", 35: "end", 36: "home",
21+
37: "left", 38: "up", 39: "right", 40: "down", 45: "insert", 46: "del",
22+
96: "0", 97: "1", 98: "2", 99: "3", 100: "4", 101: "5", 102: "6", 103: "7",
23+
104: "8", 105: "9", 106: "*", 107: "+", 109: "-", 110: ".", 111 : "/",
24+
112: "f1", 113: "f2", 114: "f3", 115: "f4", 116: "f5", 117: "f6", 118: "f7", 119: "f8",
25+
120: "f9", 121: "f10", 122: "f11", 123: "f12", 144: "numlock", 145: "scroll", 191: "/", 224: "meta"
26+
},
27+
28+
shiftNums: {
29+
"`": "~", "1": "!", "2": "@", "3": "#", "4": "$", "5": "%", "6": "^", "7": "&",
30+
"8": "*", "9": "(", "0": ")", "-": "_", "=": "+", ";": ": ", "'": "\"", ",": "<",
31+
".": ">", "/": "?", "\\": "|"
32+
}
33+
};
34+
35+
function keyHandler( handleObj ) {
36+
// Only care when a possible input has been specified
37+
if ( typeof handleObj.data !== "string" ) {
38+
return;
39+
}
40+
41+
var origHandler = handleObj.handler,
42+
keys = handleObj.data.toLowerCase().split(" ");
43+
44+
handleObj.handler = function( event ) {
45+
// Don't fire in text-accepting inputs that we didn't directly bind to
46+
if ( this !== event.target && (/textarea|select/i.test( event.target.nodeName ) ||
47+
event.target.type === "text") ) {
48+
return;
49+
}
50+
51+
// Keypress represents characters, not special keys
52+
var special = event.type !== "keypress" && jQuery.hotkeys.specialKeys[ event.which ],
53+
character = String.fromCharCode( event.which ).toLowerCase(),
54+
key, modif = "", possible = {};
55+
56+
// check combinations (alt|ctrl|shift+anything)
57+
if ( event.altKey && special !== "alt" ) {
58+
modif += "alt+";
59+
}
60+
61+
if ( event.ctrlKey && special !== "ctrl" ) {
62+
modif += "ctrl+";
63+
}
64+
65+
// TODO: Need to make sure this works consistently across platforms
66+
if ( event.metaKey && !event.ctrlKey && special !== "meta" ) {
67+
modif += "meta+";
68+
}
69+
70+
if ( event.shiftKey && special !== "shift" ) {
71+
modif += "shift+";
72+
}
73+
74+
if ( special ) {
75+
possible[ modif + special ] = true;
76+
77+
} else {
78+
possible[ modif + character ] = true;
79+
possible[ modif + jQuery.hotkeys.shiftNums[ character ] ] = true;
80+
81+
// "$" can be triggered as "Shift+4" or "Shift+$" or just "$"
82+
if ( modif === "shift+" ) {
83+
possible[ jQuery.hotkeys.shiftNums[ character ] ] = true;
84+
}
85+
}
86+
87+
for ( var i = 0, l = keys.length; i < l; i++ ) {
88+
if ( possible[ keys[i] ] ) {
89+
return origHandler.apply( this, arguments );
90+
}
91+
}
92+
};
93+
}
94+
95+
jQuery.each([ "keydown", "keyup", "keypress" ], function() {
96+
jQuery.event.special[ this ] = { add: keyHandler };
97+
});
98+
99+
})( jQuery );

docs/cover/jquery.isonscreen.js

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
/* Copyright (c) 2010
2+
* @author Laurence Wheway
3+
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
4+
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
5+
*
6+
* @version 1.2.0
7+
*/
8+
(function($) {
9+
jQuery.extend({
10+
isOnScreen: function(box, container) {
11+
//ensure numbers come in as intgers (not strings) and remove 'px' is it's there
12+
for(var i in box){box[i] = parseFloat(box[i])};
13+
for(var i in container){container[i] = parseFloat(container[i])};
14+
15+
if(!container){
16+
container = {
17+
left: $(window).scrollLeft(),
18+
top: $(window).scrollTop(),
19+
width: $(window).width(),
20+
height: $(window).height()
21+
}
22+
}
23+
24+
if( box.left+box.width-container.left > 0 &&
25+
box.left < container.width+container.left &&
26+
box.top+box.height-container.top > 0 &&
27+
box.top < container.height+container.top
28+
) return true;
29+
return false;
30+
}
31+
})
32+
33+
34+
jQuery.fn.isOnScreen = function (container) {
35+
for(var i in container){container[i] = parseFloat(container[i])};
36+
37+
if(!container){
38+
container = {
39+
left: $(window).scrollLeft(),
40+
top: $(window).scrollTop(),
41+
width: $(window).width(),
42+
height: $(window).height()
43+
}
44+
}
45+
46+
if( $(this).offset().left+$(this).width()-container.left > 0 &&
47+
$(this).offset().left < container.width+container.left &&
48+
$(this).offset().top+$(this).height()-container.top > 0 &&
49+
$(this).offset().top < container.height+container.top
50+
) return true;
51+
return false;
52+
}
53+
})(jQuery);

docs/cover/jquery.min.js

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)