kanpachi 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/bower.json +1 -0
  4. data/kanpachi.gemspec +1 -1
  5. data/lib/kanpachi/doc/template/components/bootstrap/.bower.json +34 -0
  6. data/lib/kanpachi/doc/template/components/bootstrap/Gruntfile.js +421 -0
  7. data/lib/kanpachi/doc/template/components/bootstrap/LICENSE +21 -0
  8. data/lib/kanpachi/doc/template/components/bootstrap/README.md +173 -0
  9. data/lib/kanpachi/doc/template/components/bootstrap/bower.json +24 -0
  10. data/lib/kanpachi/doc/template/{source/stylesheets → components/bootstrap/dist/css}/bootstrap-theme.css +0 -0
  11. data/lib/kanpachi/doc/template/{source/stylesheets → components/bootstrap/dist/css}/bootstrap-theme.css.map +0 -0
  12. data/lib/kanpachi/doc/template/{source/stylesheets → components/bootstrap/dist/css}/bootstrap-theme.min.css +0 -0
  13. data/lib/kanpachi/doc/template/{source/stylesheets → components/bootstrap/dist/css}/bootstrap.css +0 -0
  14. data/lib/kanpachi/doc/template/{source/stylesheets → components/bootstrap/dist/css}/bootstrap.css.map +0 -0
  15. data/lib/kanpachi/doc/template/{source/stylesheets → components/bootstrap/dist/css}/bootstrap.min.css +0 -0
  16. data/lib/kanpachi/doc/template/components/bootstrap/dist/fonts/glyphicons-halflings-regular.eot +0 -0
  17. data/lib/kanpachi/doc/template/components/bootstrap/dist/fonts/glyphicons-halflings-regular.svg +229 -0
  18. data/lib/kanpachi/doc/template/components/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf +0 -0
  19. data/lib/kanpachi/doc/template/components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff +0 -0
  20. data/lib/kanpachi/doc/template/{source/javascripts → components/bootstrap/dist/js}/bootstrap.js +0 -0
  21. data/lib/kanpachi/doc/template/{source/javascripts → components/bootstrap/dist/js}/bootstrap.min.js +0 -0
  22. data/lib/kanpachi/doc/template/components/bootstrap/fonts/glyphicons-halflings-regular.eot +0 -0
  23. data/lib/kanpachi/doc/template/components/bootstrap/fonts/glyphicons-halflings-regular.svg +229 -0
  24. data/lib/kanpachi/doc/template/components/bootstrap/fonts/glyphicons-halflings-regular.ttf +0 -0
  25. data/lib/kanpachi/doc/template/components/bootstrap/fonts/glyphicons-halflings-regular.woff +0 -0
  26. data/lib/kanpachi/doc/template/components/bootstrap/grunt/bs-glyphicons-data-generator.js +34 -0
  27. data/lib/kanpachi/doc/template/components/bootstrap/grunt/bs-lessdoc-parser.js +236 -0
  28. data/lib/kanpachi/doc/template/components/bootstrap/grunt/bs-raw-files-generator.js +31 -0
  29. data/lib/kanpachi/doc/template/components/bootstrap/grunt/shrinkwrap.js +28 -0
  30. data/lib/kanpachi/doc/template/components/bootstrap/js/affix.js +137 -0
  31. data/lib/kanpachi/doc/template/components/bootstrap/js/alert.js +88 -0
  32. data/lib/kanpachi/doc/template/components/bootstrap/js/button.js +107 -0
  33. data/lib/kanpachi/doc/template/components/bootstrap/js/carousel.js +205 -0
  34. data/lib/kanpachi/doc/template/components/bootstrap/js/collapse.js +170 -0
  35. data/lib/kanpachi/doc/template/components/bootstrap/js/dropdown.js +147 -0
  36. data/lib/kanpachi/doc/template/components/bootstrap/js/modal.js +243 -0
  37. data/lib/kanpachi/doc/template/components/bootstrap/js/popover.js +110 -0
  38. data/lib/kanpachi/doc/template/components/bootstrap/js/scrollspy.js +153 -0
  39. data/lib/kanpachi/doc/template/components/bootstrap/js/tab.js +125 -0
  40. data/lib/kanpachi/doc/template/components/bootstrap/js/tooltip.js +399 -0
  41. data/lib/kanpachi/doc/template/components/bootstrap/js/transition.js +48 -0
  42. data/lib/kanpachi/doc/template/components/bootstrap/less/alerts.less +67 -0
  43. data/lib/kanpachi/doc/template/components/bootstrap/less/badges.less +55 -0
  44. data/lib/kanpachi/doc/template/components/bootstrap/less/bootstrap.less +49 -0
  45. data/lib/kanpachi/doc/template/components/bootstrap/less/breadcrumbs.less +26 -0
  46. data/lib/kanpachi/doc/template/components/bootstrap/less/button-groups.less +226 -0
  47. data/lib/kanpachi/doc/template/components/bootstrap/less/buttons.less +159 -0
  48. data/lib/kanpachi/doc/template/components/bootstrap/less/carousel.less +232 -0
  49. data/lib/kanpachi/doc/template/components/bootstrap/less/close.less +33 -0
  50. data/lib/kanpachi/doc/template/components/bootstrap/less/code.less +63 -0
  51. data/lib/kanpachi/doc/template/components/bootstrap/less/component-animations.less +29 -0
  52. data/lib/kanpachi/doc/template/components/bootstrap/less/dropdowns.less +213 -0
  53. data/lib/kanpachi/doc/template/components/bootstrap/less/forms.less +438 -0
  54. data/lib/kanpachi/doc/template/components/bootstrap/less/glyphicons.less +233 -0
  55. data/lib/kanpachi/doc/template/components/bootstrap/less/grid.less +84 -0
  56. data/lib/kanpachi/doc/template/components/bootstrap/less/input-groups.less +162 -0
  57. data/lib/kanpachi/doc/template/components/bootstrap/less/jumbotron.less +44 -0
  58. data/lib/kanpachi/doc/template/components/bootstrap/less/labels.less +64 -0
  59. data/lib/kanpachi/doc/template/components/bootstrap/less/list-group.less +110 -0
  60. data/lib/kanpachi/doc/template/components/bootstrap/less/media.less +56 -0
  61. data/lib/kanpachi/doc/template/components/bootstrap/less/mixins.less +929 -0
  62. data/lib/kanpachi/doc/template/components/bootstrap/less/modals.less +139 -0
  63. data/lib/kanpachi/doc/template/components/bootstrap/less/navbar.less +616 -0
  64. data/lib/kanpachi/doc/template/components/bootstrap/less/navs.less +242 -0
  65. data/lib/kanpachi/doc/template/components/bootstrap/less/normalize.less +423 -0
  66. data/lib/kanpachi/doc/template/components/bootstrap/less/pager.less +55 -0
  67. data/lib/kanpachi/doc/template/components/bootstrap/less/pagination.less +88 -0
  68. data/lib/kanpachi/doc/template/components/bootstrap/less/panels.less +241 -0
  69. data/lib/kanpachi/doc/template/components/bootstrap/less/popovers.less +133 -0
  70. data/lib/kanpachi/doc/template/components/bootstrap/less/print.less +101 -0
  71. data/lib/kanpachi/doc/template/components/bootstrap/less/progress-bars.less +80 -0
  72. data/lib/kanpachi/doc/template/components/bootstrap/less/responsive-utilities.less +92 -0
  73. data/lib/kanpachi/doc/template/components/bootstrap/less/scaffolding.less +134 -0
  74. data/lib/kanpachi/doc/template/components/bootstrap/less/tables.less +233 -0
  75. data/lib/kanpachi/doc/template/components/bootstrap/less/theme.less +247 -0
  76. data/lib/kanpachi/doc/template/components/bootstrap/less/thumbnails.less +36 -0
  77. data/lib/kanpachi/doc/template/components/bootstrap/less/tooltip.less +95 -0
  78. data/lib/kanpachi/doc/template/components/bootstrap/less/type.less +293 -0
  79. data/lib/kanpachi/doc/template/components/bootstrap/less/utilities.less +56 -0
  80. data/lib/kanpachi/doc/template/components/bootstrap/less/variables.less +829 -0
  81. data/lib/kanpachi/doc/template/components/bootstrap/less/wells.less +29 -0
  82. data/lib/kanpachi/doc/template/components/bootstrap/package.json +70 -0
  83. data/lib/kanpachi/doc/template/components/bootstrap/test-infra/README.md +100 -0
  84. data/lib/kanpachi/doc/template/components/bootstrap/test-infra/npm-shrinkwrap.canonical.json +1 -0
  85. data/lib/kanpachi/doc/template/components/bootstrap/test-infra/requirements.txt +1 -0
  86. data/lib/kanpachi/doc/template/components/bootstrap/test-infra/s3_cache.py +107 -0
  87. data/lib/kanpachi/doc/template/components/bootstrap/test-infra/sauce_browsers.yml +83 -0
  88. data/lib/kanpachi/doc/template/components/bootstrap/test-infra/uncached-npm-install.sh +4 -0
  89. data/lib/kanpachi/doc/template/components/html5shiv/.bower.json +6 -7
  90. data/lib/kanpachi/doc/template/components/html5shiv/Gruntfile.js +61 -0
  91. data/lib/kanpachi/doc/template/components/html5shiv/bower.json +15 -0
  92. data/lib/kanpachi/doc/template/components/html5shiv/dist/html5shiv-printshiv.js +498 -10
  93. data/lib/kanpachi/doc/template/components/html5shiv/dist/html5shiv-printshiv.min.js +4 -0
  94. data/lib/kanpachi/doc/template/components/html5shiv/dist/html5shiv.js +300 -7
  95. data/lib/kanpachi/doc/template/components/html5shiv/dist/html5shiv.min.js +4 -0
  96. data/lib/kanpachi/doc/template/components/html5shiv/package.json +16 -0
  97. data/lib/kanpachi/doc/template/components/html5shiv/readme.md +3 -3
  98. data/lib/kanpachi/doc/template/source/javascripts/all.coffee +1 -1
  99. data/lib/kanpachi/doc/template/source/layouts/layout.slim +1 -1
  100. data/lib/kanpachi/response.rb +13 -5
  101. data/lib/kanpachi/version.rb +1 -1
  102. metadata +93 -12
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @preserve HTML5 Shiv 3.7.1 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
3
+ */
4
+ !function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=x.elements;return"string"==typeof a?a.split(" "):a}function e(a){var b=w[a[u]];return b||(b={},v++,a[u]=v,w[v]=b),b}function f(a,c,d){if(c||(c=b),p)return c.createElement(a);d||(d=e(c));var f;return f=d.cache[a]?d.cache[a].cloneNode():t.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!f.canHaveChildren||s.test(a)||f.tagUrn?f:d.frag.appendChild(f)}function g(a,c){if(a||(a=b),p)return a.createDocumentFragment();c=c||e(a);for(var f=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)f.createElement(h[g]);return f}function h(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return x.shivMethods?f(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(x,b.frag)}function i(a){a||(a=b);var d=e(a);return!x.shivCSS||o||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),p||h(a,d),a}function j(a){for(var b,c=a.getElementsByTagName("*"),e=c.length,f=RegExp("^(?:"+d().join("|")+")$","i"),g=[];e--;)b=c[e],f.test(b.nodeName)&&g.push(b.applyElement(k(b)));return g}function k(a){for(var b,c=a.attributes,d=c.length,e=a.ownerDocument.createElement(z+":"+a.nodeName);d--;)b=c[d],b.specified&&e.setAttribute(b.nodeName,b.nodeValue);return e.style.cssText=a.style.cssText,e}function l(a){for(var b,c=a.split("{"),e=c.length,f=RegExp("(^|[\\s,>+~])("+d().join("|")+")(?=[[\\s,>+~#.:]|$)","gi"),g="$1"+z+"\\:$2";e--;)b=c[e]=c[e].split("}"),b[b.length-1]=b[b.length-1].replace(f,g),c[e]=b.join("}");return c.join("{")}function m(a){for(var b=a.length;b--;)a[b].removeNode()}function n(a){function b(){clearTimeout(g._removeSheetTimer),d&&d.removeNode(!0),d=null}var d,f,g=e(a),h=a.namespaces,i=a.parentWindow;return!A||a.printShived?a:("undefined"==typeof h[z]&&h.add(z),i.attachEvent("onbeforeprint",function(){b();for(var e,g,h,i=a.styleSheets,k=[],m=i.length,n=Array(m);m--;)n[m]=i[m];for(;h=n.pop();)if(!h.disabled&&y.test(h.media)){try{e=h.imports,g=e.length}catch(o){g=0}for(m=0;g>m;m++)n.push(e[m]);try{k.push(h.cssText)}catch(o){}}k=l(k.reverse().join("")),f=j(a),d=c(a,k)}),i.attachEvent("onafterprint",function(){m(f),clearTimeout(g._removeSheetTimer),g._removeSheetTimer=setTimeout(b,500)}),a.printShived=!0,a)}var o,p,q="3.7.1",r=a.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,t=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,u="_html5shiv",v=0,w={};!function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",o="hidden"in a,p=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){o=!0,p=!0}}();var x={elements:r.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:q,shivCSS:r.shivCSS!==!1,supportsUnknownElements:p,shivMethods:r.shivMethods!==!1,type:"default",shivDocument:i,createElement:f,createDocumentFragment:g};a.html5=x,i(b);var y=/^$|\b(?:all|print)\b/,z="html5shiv",A=!p&&function(){var c=b.documentElement;return!("undefined"==typeof b.namespaces||"undefined"==typeof b.parentWindow||"undefined"==typeof c.applyElement||"undefined"==typeof c.removeNode||"undefined"==typeof a.attachEvent)}();x.type+=" print",x.shivPrint=n,n(b)}(this,document);
@@ -1,8 +1,301 @@
1
- /*
2
- HTML5 Shiv v3.7.0 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
1
+ /**
2
+ * @preserve HTML5 Shiv 3.7.1 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
3
3
  */
4
- (function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag();
5
- a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/[\w\-]+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x<style>article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}</style>";
6
- c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="<xyz></xyz>";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode||
7
- "undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f);
8
- if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d<h;d++)c.createElement(e[d]);return c}};l.html5=e;q(f)})(this,document);
4
+ ;(function(window, document) {
5
+ /*jshint evil:true */
6
+ /** version */
7
+ var version = '3.7.1';
8
+
9
+ /** Preset options */
10
+ var options = window.html5 || {};
11
+
12
+ /** Used to skip problem elements */
13
+ var reSkip = /^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i;
14
+
15
+ /** Not all elements can be cloned in IE **/
16
+ var saveClones = /^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i;
17
+
18
+ /** Detect whether the browser supports default html5 styles */
19
+ var supportsHtml5Styles;
20
+
21
+ /** Name of the expando, to work with multiple documents or to re-shiv one document */
22
+ var expando = '_html5shiv';
23
+
24
+ /** The id for the the documents expando */
25
+ var expanID = 0;
26
+
27
+ /** Cached data for each document */
28
+ var expandoData = {};
29
+
30
+ /** Detect whether the browser supports unknown elements */
31
+ var supportsUnknownElements;
32
+
33
+ (function() {
34
+ try {
35
+ var a = document.createElement('a');
36
+ a.innerHTML = '<xyz></xyz>';
37
+ //if the hidden property is implemented we can assume, that the browser supports basic HTML5 Styles
38
+ supportsHtml5Styles = ('hidden' in a);
39
+
40
+ supportsUnknownElements = a.childNodes.length == 1 || (function() {
41
+ // assign a false positive if unable to shiv
42
+ (document.createElement)('a');
43
+ var frag = document.createDocumentFragment();
44
+ return (
45
+ typeof frag.cloneNode == 'undefined' ||
46
+ typeof frag.createDocumentFragment == 'undefined' ||
47
+ typeof frag.createElement == 'undefined'
48
+ );
49
+ }());
50
+ } catch(e) {
51
+ // assign a false positive if detection fails => unable to shiv
52
+ supportsHtml5Styles = true;
53
+ supportsUnknownElements = true;
54
+ }
55
+
56
+ }());
57
+
58
+ /*--------------------------------------------------------------------------*/
59
+
60
+ /**
61
+ * Creates a style sheet with the given CSS text and adds it to the document.
62
+ * @private
63
+ * @param {Document} ownerDocument The document.
64
+ * @param {String} cssText The CSS text.
65
+ * @returns {StyleSheet} The style element.
66
+ */
67
+ function addStyleSheet(ownerDocument, cssText) {
68
+ var p = ownerDocument.createElement('p'),
69
+ parent = ownerDocument.getElementsByTagName('head')[0] || ownerDocument.documentElement;
70
+
71
+ p.innerHTML = 'x<style>' + cssText + '</style>';
72
+ return parent.insertBefore(p.lastChild, parent.firstChild);
73
+ }
74
+
75
+ /**
76
+ * Returns the value of `html5.elements` as an array.
77
+ * @private
78
+ * @returns {Array} An array of shived element node names.
79
+ */
80
+ function getElements() {
81
+ var elements = html5.elements;
82
+ return typeof elements == 'string' ? elements.split(' ') : elements;
83
+ }
84
+
85
+ /**
86
+ * Returns the data associated to the given document
87
+ * @private
88
+ * @param {Document} ownerDocument The document.
89
+ * @returns {Object} An object of data.
90
+ */
91
+ function getExpandoData(ownerDocument) {
92
+ var data = expandoData[ownerDocument[expando]];
93
+ if (!data) {
94
+ data = {};
95
+ expanID++;
96
+ ownerDocument[expando] = expanID;
97
+ expandoData[expanID] = data;
98
+ }
99
+ return data;
100
+ }
101
+
102
+ /**
103
+ * returns a shived element for the given nodeName and document
104
+ * @memberOf html5
105
+ * @param {String} nodeName name of the element
106
+ * @param {Document} ownerDocument The context document.
107
+ * @returns {Object} The shived element.
108
+ */
109
+ function createElement(nodeName, ownerDocument, data){
110
+ if (!ownerDocument) {
111
+ ownerDocument = document;
112
+ }
113
+ if(supportsUnknownElements){
114
+ return ownerDocument.createElement(nodeName);
115
+ }
116
+ if (!data) {
117
+ data = getExpandoData(ownerDocument);
118
+ }
119
+ var node;
120
+
121
+ if (data.cache[nodeName]) {
122
+ node = data.cache[nodeName].cloneNode();
123
+ } else if (saveClones.test(nodeName)) {
124
+ node = (data.cache[nodeName] = data.createElem(nodeName)).cloneNode();
125
+ } else {
126
+ node = data.createElem(nodeName);
127
+ }
128
+
129
+ // Avoid adding some elements to fragments in IE < 9 because
130
+ // * Attributes like `name` or `type` cannot be set/changed once an element
131
+ // is inserted into a document/fragment
132
+ // * Link elements with `src` attributes that are inaccessible, as with
133
+ // a 403 response, will cause the tab/window to crash
134
+ // * Script elements appended to fragments will execute when their `src`
135
+ // or `text` property is set
136
+ return node.canHaveChildren && !reSkip.test(nodeName) && !node.tagUrn ? data.frag.appendChild(node) : node;
137
+ }
138
+
139
+ /**
140
+ * returns a shived DocumentFragment for the given document
141
+ * @memberOf html5
142
+ * @param {Document} ownerDocument The context document.
143
+ * @returns {Object} The shived DocumentFragment.
144
+ */
145
+ function createDocumentFragment(ownerDocument, data){
146
+ if (!ownerDocument) {
147
+ ownerDocument = document;
148
+ }
149
+ if(supportsUnknownElements){
150
+ return ownerDocument.createDocumentFragment();
151
+ }
152
+ data = data || getExpandoData(ownerDocument);
153
+ var clone = data.frag.cloneNode(),
154
+ i = 0,
155
+ elems = getElements(),
156
+ l = elems.length;
157
+ for(;i<l;i++){
158
+ clone.createElement(elems[i]);
159
+ }
160
+ return clone;
161
+ }
162
+
163
+ /**
164
+ * Shivs the `createElement` and `createDocumentFragment` methods of the document.
165
+ * @private
166
+ * @param {Document|DocumentFragment} ownerDocument The document.
167
+ * @param {Object} data of the document.
168
+ */
169
+ function shivMethods(ownerDocument, data) {
170
+ if (!data.cache) {
171
+ data.cache = {};
172
+ data.createElem = ownerDocument.createElement;
173
+ data.createFrag = ownerDocument.createDocumentFragment;
174
+ data.frag = data.createFrag();
175
+ }
176
+
177
+
178
+ ownerDocument.createElement = function(nodeName) {
179
+ //abort shiv
180
+ if (!html5.shivMethods) {
181
+ return data.createElem(nodeName);
182
+ }
183
+ return createElement(nodeName, ownerDocument, data);
184
+ };
185
+
186
+ ownerDocument.createDocumentFragment = Function('h,f', 'return function(){' +
187
+ 'var n=f.cloneNode(),c=n.createElement;' +
188
+ 'h.shivMethods&&(' +
189
+ // unroll the `createElement` calls
190
+ getElements().join().replace(/[\w\-:]+/g, function(nodeName) {
191
+ data.createElem(nodeName);
192
+ data.frag.createElement(nodeName);
193
+ return 'c("' + nodeName + '")';
194
+ }) +
195
+ ');return n}'
196
+ )(html5, data.frag);
197
+ }
198
+
199
+ /*--------------------------------------------------------------------------*/
200
+
201
+ /**
202
+ * Shivs the given document.
203
+ * @memberOf html5
204
+ * @param {Document} ownerDocument The document to shiv.
205
+ * @returns {Document} The shived document.
206
+ */
207
+ function shivDocument(ownerDocument) {
208
+ if (!ownerDocument) {
209
+ ownerDocument = document;
210
+ }
211
+ var data = getExpandoData(ownerDocument);
212
+
213
+ if (html5.shivCSS && !supportsHtml5Styles && !data.hasCSS) {
214
+ data.hasCSS = !!addStyleSheet(ownerDocument,
215
+ // corrects block display not defined in IE6/7/8/9
216
+ 'article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}' +
217
+ // adds styling not present in IE6/7/8/9
218
+ 'mark{background:#FF0;color:#000}' +
219
+ // hides non-rendered elements
220
+ 'template{display:none}'
221
+ );
222
+ }
223
+ if (!supportsUnknownElements) {
224
+ shivMethods(ownerDocument, data);
225
+ }
226
+ return ownerDocument;
227
+ }
228
+
229
+ /*--------------------------------------------------------------------------*/
230
+
231
+ /**
232
+ * The `html5` object is exposed so that more elements can be shived and
233
+ * existing shiving can be detected on iframes.
234
+ * @type Object
235
+ * @example
236
+ *
237
+ * // options can be changed before the script is included
238
+ * html5 = { 'elements': 'mark section', 'shivCSS': false, 'shivMethods': false };
239
+ */
240
+ var html5 = {
241
+
242
+ /**
243
+ * An array or space separated string of node names of the elements to shiv.
244
+ * @memberOf html5
245
+ * @type Array|String
246
+ */
247
+ 'elements': options.elements || 'abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video',
248
+
249
+ /**
250
+ * current version of html5shiv
251
+ */
252
+ 'version': version,
253
+
254
+ /**
255
+ * A flag to indicate that the HTML5 style sheet should be inserted.
256
+ * @memberOf html5
257
+ * @type Boolean
258
+ */
259
+ 'shivCSS': (options.shivCSS !== false),
260
+
261
+ /**
262
+ * Is equal to true if a browser supports creating unknown/HTML5 elements
263
+ * @memberOf html5
264
+ * @type boolean
265
+ */
266
+ 'supportsUnknownElements': supportsUnknownElements,
267
+
268
+ /**
269
+ * A flag to indicate that the document's `createElement` and `createDocumentFragment`
270
+ * methods should be overwritten.
271
+ * @memberOf html5
272
+ * @type Boolean
273
+ */
274
+ 'shivMethods': (options.shivMethods !== false),
275
+
276
+ /**
277
+ * A string to describe the type of `html5` object ("default" or "default print").
278
+ * @memberOf html5
279
+ * @type String
280
+ */
281
+ 'type': 'default',
282
+
283
+ // shivs the document according to the specified `html5` object options
284
+ 'shivDocument': shivDocument,
285
+
286
+ //creates a shived element
287
+ createElement: createElement,
288
+
289
+ //creates a shived documentFragment
290
+ createDocumentFragment: createDocumentFragment
291
+ };
292
+
293
+ /*--------------------------------------------------------------------------*/
294
+
295
+ // expose html5
296
+ window.html5 = html5;
297
+
298
+ // shiv the document
299
+ shivDocument(document);
300
+
301
+ }(this, document));
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @preserve HTML5 Shiv 3.7.1 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
3
+ */
4
+ !function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=s.elements;return"string"==typeof a?a.split(" "):a}function e(a){var b=r[a[p]];return b||(b={},q++,a[p]=q,r[q]=b),b}function f(a,c,d){if(c||(c=b),k)return c.createElement(a);d||(d=e(c));var f;return f=d.cache[a]?d.cache[a].cloneNode():o.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!f.canHaveChildren||n.test(a)||f.tagUrn?f:d.frag.appendChild(f)}function g(a,c){if(a||(a=b),k)return a.createDocumentFragment();c=c||e(a);for(var f=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)f.createElement(h[g]);return f}function h(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return s.shivMethods?f(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(s,b.frag)}function i(a){a||(a=b);var d=e(a);return!s.shivCSS||j||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),k||h(a,d),a}var j,k,l="3.7.1",m=a.html5||{},n=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,o=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,p="_html5shiv",q=0,r={};!function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",j="hidden"in a,k=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){j=!0,k=!0}}();var s={elements:m.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:l,shivCSS:m.shivCSS!==!1,supportsUnknownElements:k,shivMethods:m.shivMethods!==!1,type:"default",shivDocument:i,createElement:f,createDocumentFragment:g};a.html5=s,i(b)}(this,document);
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "html5shiv",
3
+ "version": "3.7.0",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "https://github.com/aFarkas/html5shiv.git"
7
+ },
8
+ "main": "dist/",
9
+ "devDependencies": {
10
+ "grunt-bytesize": ">=0.1.0",
11
+ "grunt-contrib-watch": ">=0.3.0",
12
+ "grunt-contrib-copy": ">=0.4.0",
13
+ "grunt-contrib-uglify": ">=0.2.7",
14
+ "grunt": ">=0.4.1"
15
+ }
16
+ }
@@ -24,13 +24,13 @@ For the full story of HTML5 Shiv and all of the people involved in making it, re
24
24
 
25
25
  `bower install html5shiv --save-dev`
26
26
 
27
- This will clone the latest version of the HTML5 shiv into the `components` directory at the root of your project and also create or update the file `bower.json` which specifies your projects dependencies.
27
+ This will clone the latest version of the HTML5 shiv into the `bower_components` directory at the root of your project and also create or update the file `bower.json` which specifies your projects dependencies.
28
28
 
29
29
  Include the HTML5 shiv in the `<head>` of your page in a conditional comment and after any stylesheets.
30
30
 
31
31
  ```html
32
32
  <!--[if lt IE 9]>
33
- <script src="components/html5shiv/html5shiv.js"></script>
33
+ <script src="bower_components/html5shiv/html5shiv.js"></script>
34
34
  <![endif]-->
35
35
  ```
36
36
 
@@ -80,7 +80,7 @@ window.html5 = {
80
80
 
81
81
  If the `shivMethods` option is set to `true` (by default) HTML5 Shiv will override `document.createElement`/`document.createDocumentFragment` in Internet Explorer 6-8 to allow dynamic DOM creation of HTML5 elements.
82
82
 
83
- Known issue: If an element is created using the overridden `createElement` method this element returns a document fragment as its `parentNode`, but should be normally `null`. If a script relays on this behavior, `shivMethods`should be set to `false`.
83
+ Known issue: If an element is created using the overridden `createElement` method this element returns a document fragment as its `parentNode`, but should be normally `null`. If a script relies on this behavior, `shivMethods`should be set to `false`.
84
84
  Note: jQuery 1.7+ has implemented his own HTML5 DOM creation fix for Internet Explorer 6-8. If all your scripts (including Third party scripts) are using jQuery's manipulation and DOM creation methods, you might want to set this option to `false`.
85
85
 
86
86
  **Configuring `shivMethods` before `html5shiv.js` is included.**
@@ -1,2 +1,2 @@
1
1
  #= require jquery/dist/jquery
2
- #= require bootstrap
2
+ #= require bootstrap/dist/js/bootstrap
@@ -8,7 +8,7 @@ html
8
8
  link href="/favicon.png" rel="shortcut icon"
9
9
  title= "#{api.title} - #{api.name}"
10
10
  /! Bootstrap core CSS
11
- = stylesheet_link_tag "bootstrap"
11
+ = stylesheet_link_tag "bootstrap/dist/css/bootstrap"
12
12
  /! Custom styles for this template
13
13
  = stylesheet_link_tag "jumbotron"
14
14
  /! HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries
@@ -31,9 +31,17 @@ module Kanpachi
31
31
  example = Hash.new
32
32
  self.properties.each do |key, value|
33
33
  if value[:hash]
34
- example[key] = value[:extend] ? value[:extend].example : (value[:example] || Hash.new)
34
+ example[key] = if value[:extend]
35
+ value[:extend].evaluate(nil).example
36
+ else
37
+ (value[:example] || Hash.new)
38
+ end
35
39
  elsif value[:collection]
36
- example[key] = value[:extend] ? [value[:extend].example] : (value[:example] || Array.new)
40
+ example[key] = if value[:extend]
41
+ [value[:extend].evaluate(nil).example]
42
+ else
43
+ (value[:example] || Array.new)
44
+ end
37
45
  elsif value[:type] == Integer
38
46
  example[key] = value[:example] || 1
39
47
  elsif value[:type] == String
@@ -57,10 +65,10 @@ module Kanpachi
57
65
  def self.properties
58
66
  hash = Hash.new
59
67
  representable_attrs.each do |definition|
60
- if definition.options[:extend]
61
- hash[definition.name] = definition.options.merge(definition.options[:extend].properties)
68
+ if definition[:extend]
69
+ hash[definition.name] = definition.merge(definition[:extend].evaluate(nil).properties)
62
70
  else
63
- hash[definition.name] = definition.options
71
+ hash[definition.name] = definition
64
72
  end
65
73
  end
66
74
  hash
@@ -1,3 +1,3 @@
1
1
  module Kanpachi
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kanpachi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Chu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-07 00:00:00.000000000 Z
11
+ date: 2014-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: 1.8.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: 1.8.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: mutations
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -263,9 +263,98 @@ files:
263
263
  - lib/kanpachi/cli.rb
264
264
  - lib/kanpachi/commands/new.rb
265
265
  - lib/kanpachi/doc/middleman-ext/middleman-deploy.rb
266
+ - lib/kanpachi/doc/template/components/bootstrap/.bower.json
267
+ - lib/kanpachi/doc/template/components/bootstrap/Gruntfile.js
268
+ - lib/kanpachi/doc/template/components/bootstrap/LICENSE
269
+ - lib/kanpachi/doc/template/components/bootstrap/README.md
270
+ - lib/kanpachi/doc/template/components/bootstrap/bower.json
271
+ - lib/kanpachi/doc/template/components/bootstrap/dist/css/bootstrap-theme.css
272
+ - lib/kanpachi/doc/template/components/bootstrap/dist/css/bootstrap-theme.css.map
273
+ - lib/kanpachi/doc/template/components/bootstrap/dist/css/bootstrap-theme.min.css
274
+ - lib/kanpachi/doc/template/components/bootstrap/dist/css/bootstrap.css
275
+ - lib/kanpachi/doc/template/components/bootstrap/dist/css/bootstrap.css.map
276
+ - lib/kanpachi/doc/template/components/bootstrap/dist/css/bootstrap.min.css
277
+ - lib/kanpachi/doc/template/components/bootstrap/dist/fonts/glyphicons-halflings-regular.eot
278
+ - lib/kanpachi/doc/template/components/bootstrap/dist/fonts/glyphicons-halflings-regular.svg
279
+ - lib/kanpachi/doc/template/components/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf
280
+ - lib/kanpachi/doc/template/components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff
281
+ - lib/kanpachi/doc/template/components/bootstrap/dist/js/bootstrap.js
282
+ - lib/kanpachi/doc/template/components/bootstrap/dist/js/bootstrap.min.js
283
+ - lib/kanpachi/doc/template/components/bootstrap/fonts/glyphicons-halflings-regular.eot
284
+ - lib/kanpachi/doc/template/components/bootstrap/fonts/glyphicons-halflings-regular.svg
285
+ - lib/kanpachi/doc/template/components/bootstrap/fonts/glyphicons-halflings-regular.ttf
286
+ - lib/kanpachi/doc/template/components/bootstrap/fonts/glyphicons-halflings-regular.woff
287
+ - lib/kanpachi/doc/template/components/bootstrap/grunt/bs-glyphicons-data-generator.js
288
+ - lib/kanpachi/doc/template/components/bootstrap/grunt/bs-lessdoc-parser.js
289
+ - lib/kanpachi/doc/template/components/bootstrap/grunt/bs-raw-files-generator.js
290
+ - lib/kanpachi/doc/template/components/bootstrap/grunt/shrinkwrap.js
291
+ - lib/kanpachi/doc/template/components/bootstrap/js/affix.js
292
+ - lib/kanpachi/doc/template/components/bootstrap/js/alert.js
293
+ - lib/kanpachi/doc/template/components/bootstrap/js/button.js
294
+ - lib/kanpachi/doc/template/components/bootstrap/js/carousel.js
295
+ - lib/kanpachi/doc/template/components/bootstrap/js/collapse.js
296
+ - lib/kanpachi/doc/template/components/bootstrap/js/dropdown.js
297
+ - lib/kanpachi/doc/template/components/bootstrap/js/modal.js
298
+ - lib/kanpachi/doc/template/components/bootstrap/js/popover.js
299
+ - lib/kanpachi/doc/template/components/bootstrap/js/scrollspy.js
300
+ - lib/kanpachi/doc/template/components/bootstrap/js/tab.js
301
+ - lib/kanpachi/doc/template/components/bootstrap/js/tooltip.js
302
+ - lib/kanpachi/doc/template/components/bootstrap/js/transition.js
303
+ - lib/kanpachi/doc/template/components/bootstrap/less/alerts.less
304
+ - lib/kanpachi/doc/template/components/bootstrap/less/badges.less
305
+ - lib/kanpachi/doc/template/components/bootstrap/less/bootstrap.less
306
+ - lib/kanpachi/doc/template/components/bootstrap/less/breadcrumbs.less
307
+ - lib/kanpachi/doc/template/components/bootstrap/less/button-groups.less
308
+ - lib/kanpachi/doc/template/components/bootstrap/less/buttons.less
309
+ - lib/kanpachi/doc/template/components/bootstrap/less/carousel.less
310
+ - lib/kanpachi/doc/template/components/bootstrap/less/close.less
311
+ - lib/kanpachi/doc/template/components/bootstrap/less/code.less
312
+ - lib/kanpachi/doc/template/components/bootstrap/less/component-animations.less
313
+ - lib/kanpachi/doc/template/components/bootstrap/less/dropdowns.less
314
+ - lib/kanpachi/doc/template/components/bootstrap/less/forms.less
315
+ - lib/kanpachi/doc/template/components/bootstrap/less/glyphicons.less
316
+ - lib/kanpachi/doc/template/components/bootstrap/less/grid.less
317
+ - lib/kanpachi/doc/template/components/bootstrap/less/input-groups.less
318
+ - lib/kanpachi/doc/template/components/bootstrap/less/jumbotron.less
319
+ - lib/kanpachi/doc/template/components/bootstrap/less/labels.less
320
+ - lib/kanpachi/doc/template/components/bootstrap/less/list-group.less
321
+ - lib/kanpachi/doc/template/components/bootstrap/less/media.less
322
+ - lib/kanpachi/doc/template/components/bootstrap/less/mixins.less
323
+ - lib/kanpachi/doc/template/components/bootstrap/less/modals.less
324
+ - lib/kanpachi/doc/template/components/bootstrap/less/navbar.less
325
+ - lib/kanpachi/doc/template/components/bootstrap/less/navs.less
326
+ - lib/kanpachi/doc/template/components/bootstrap/less/normalize.less
327
+ - lib/kanpachi/doc/template/components/bootstrap/less/pager.less
328
+ - lib/kanpachi/doc/template/components/bootstrap/less/pagination.less
329
+ - lib/kanpachi/doc/template/components/bootstrap/less/panels.less
330
+ - lib/kanpachi/doc/template/components/bootstrap/less/popovers.less
331
+ - lib/kanpachi/doc/template/components/bootstrap/less/print.less
332
+ - lib/kanpachi/doc/template/components/bootstrap/less/progress-bars.less
333
+ - lib/kanpachi/doc/template/components/bootstrap/less/responsive-utilities.less
334
+ - lib/kanpachi/doc/template/components/bootstrap/less/scaffolding.less
335
+ - lib/kanpachi/doc/template/components/bootstrap/less/tables.less
336
+ - lib/kanpachi/doc/template/components/bootstrap/less/theme.less
337
+ - lib/kanpachi/doc/template/components/bootstrap/less/thumbnails.less
338
+ - lib/kanpachi/doc/template/components/bootstrap/less/tooltip.less
339
+ - lib/kanpachi/doc/template/components/bootstrap/less/type.less
340
+ - lib/kanpachi/doc/template/components/bootstrap/less/utilities.less
341
+ - lib/kanpachi/doc/template/components/bootstrap/less/variables.less
342
+ - lib/kanpachi/doc/template/components/bootstrap/less/wells.less
343
+ - lib/kanpachi/doc/template/components/bootstrap/package.json
344
+ - lib/kanpachi/doc/template/components/bootstrap/test-infra/README.md
345
+ - lib/kanpachi/doc/template/components/bootstrap/test-infra/npm-shrinkwrap.canonical.json
346
+ - lib/kanpachi/doc/template/components/bootstrap/test-infra/requirements.txt
347
+ - lib/kanpachi/doc/template/components/bootstrap/test-infra/s3_cache.py
348
+ - lib/kanpachi/doc/template/components/bootstrap/test-infra/sauce_browsers.yml
349
+ - lib/kanpachi/doc/template/components/bootstrap/test-infra/uncached-npm-install.sh
266
350
  - lib/kanpachi/doc/template/components/html5shiv/.bower.json
351
+ - lib/kanpachi/doc/template/components/html5shiv/Gruntfile.js
352
+ - lib/kanpachi/doc/template/components/html5shiv/bower.json
267
353
  - lib/kanpachi/doc/template/components/html5shiv/dist/html5shiv-printshiv.js
354
+ - lib/kanpachi/doc/template/components/html5shiv/dist/html5shiv-printshiv.min.js
268
355
  - lib/kanpachi/doc/template/components/html5shiv/dist/html5shiv.js
356
+ - lib/kanpachi/doc/template/components/html5shiv/dist/html5shiv.min.js
357
+ - lib/kanpachi/doc/template/components/html5shiv/package.json
269
358
  - lib/kanpachi/doc/template/components/html5shiv/readme.md
270
359
  - lib/kanpachi/doc/template/components/jquery/.bower.json
271
360
  - lib/kanpachi/doc/template/components/jquery/MIT-LICENSE.txt
@@ -382,17 +471,9 @@ files:
382
471
  - lib/kanpachi/doc/template/source/images/middleman.png
383
472
  - lib/kanpachi/doc/template/source/index.html.slim
384
473
  - lib/kanpachi/doc/template/source/javascripts/all.coffee
385
- - lib/kanpachi/doc/template/source/javascripts/bootstrap.js
386
- - lib/kanpachi/doc/template/source/javascripts/bootstrap.min.js
387
474
  - lib/kanpachi/doc/template/source/javascripts/ie.coffee
388
475
  - lib/kanpachi/doc/template/source/layouts/layout.slim
389
476
  - lib/kanpachi/doc/template/source/resource.html.slim
390
- - lib/kanpachi/doc/template/source/stylesheets/bootstrap-theme.css
391
- - lib/kanpachi/doc/template/source/stylesheets/bootstrap-theme.css.map
392
- - lib/kanpachi/doc/template/source/stylesheets/bootstrap-theme.min.css
393
- - lib/kanpachi/doc/template/source/stylesheets/bootstrap.css
394
- - lib/kanpachi/doc/template/source/stylesheets/bootstrap.css.map
395
- - lib/kanpachi/doc/template/source/stylesheets/bootstrap.min.css
396
477
  - lib/kanpachi/doc/template/source/stylesheets/jumbotron.css
397
478
  - lib/kanpachi/dsl.rb
398
479
  - lib/kanpachi/dsl/api.rb