rpsg 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/doc/created.rid +2 -2
  4. data/doc/js/navigation.js.gz +0 -0
  5. data/doc/js/search_index.js.gz +0 -0
  6. data/doc/js/searcher.js.gz +0 -0
  7. data/lib/rpsg/version.rb +1 -1
  8. data/rpsg.gemspec +2 -3
  9. metadata +2 -62
  10. data/docs/Gemfile +0 -6
  11. data/docs/LICENSE +0 -116
  12. data/docs/_config.yml +0 -73
  13. data/docs/_includes/footer.html +0 -20
  14. data/docs/_includes/header.html +0 -19
  15. data/docs/_layouts/default.html +0 -50
  16. data/docs/_pages/README.txt +0 -47
  17. data/docs/_pages/bundler.txt +0 -26
  18. data/docs/_pages/code.txt +0 -178
  19. data/docs/_pages/index.txt +0 -16
  20. data/docs/_pages/install.txt +0 -110
  21. data/docs/_pages/simple.txt +0 -45
  22. data/docs/_pages/test.md +0 -40
  23. data/docs/_pages/uninstall.txt +0 -19
  24. data/docs/_pages/update.txt +0 -19
  25. data/docs/_sass/jekyll-theme-cayman.scss +0 -346
  26. data/docs/_sass/normalize.scss +0 -424
  27. data/docs/_sass/pace.sass +0 -278
  28. data/docs/_sass/rouge-github.scss +0 -209
  29. data/docs/_sass/variables.scss +0 -23
  30. data/docs/_site/assets/css/style.css +0 -1
  31. data/docs/_site/assets/favicons/android-chrome-192x192.png +0 -0
  32. data/docs/_site/assets/favicons/android-chrome-256x256.png +0 -0
  33. data/docs/_site/assets/favicons/apple-touch-icon.png +0 -0
  34. data/docs/_site/assets/favicons/browserconfig.xml +0 -9
  35. data/docs/_site/assets/favicons/favicon-16x16.png +0 -0
  36. data/docs/_site/assets/favicons/favicon-32x32.png +0 -0
  37. data/docs/_site/assets/favicons/favicon.ico +0 -0
  38. data/docs/_site/assets/favicons/manifest.json +0 -18
  39. data/docs/_site/assets/favicons/mstile-150x150.png +0 -0
  40. data/docs/_site/assets/favicons/safari-pinned-tab.svg +0 -17
  41. data/docs/_site/assets/js/pace.min.js +0 -2
  42. data/docs/_site/bundler.html +0 -108
  43. data/docs/_site/code.html +0 -244
  44. data/docs/_site/index.html +0 -83
  45. data/docs/_site/install.html +0 -244
  46. data/docs/_site/readme.html +0 -132
  47. data/docs/_site/simple.html +0 -111
  48. data/docs/_site/test.html +0 -99
  49. data/docs/_site/uninstall.html +0 -92
  50. data/docs/_site/update.html +0 -92
  51. data/docs/assets/css/style.scss +0 -4
  52. data/docs/assets/favicons/android-chrome-192x192.png +0 -0
  53. data/docs/assets/favicons/android-chrome-256x256.png +0 -0
  54. data/docs/assets/favicons/apple-touch-icon.png +0 -0
  55. data/docs/assets/favicons/browserconfig.xml +0 -9
  56. data/docs/assets/favicons/favicon-16x16.png +0 -0
  57. data/docs/assets/favicons/favicon-32x32.png +0 -0
  58. data/docs/assets/favicons/favicon.ico +0 -0
  59. data/docs/assets/favicons/manifest.json +0 -18
  60. data/docs/assets/favicons/mstile-150x150.png +0 -0
  61. data/docs/assets/favicons/safari-pinned-tab.svg +0 -17
  62. data/docs/assets/js/pace.min.js +0 -2
  63. data/docs/jekyll-theme-cayman.gemspec +0 -18
  64. data/docs/script/bootstrap +0 -6
  65. data/docs/script/cibuild +0 -6
  66. data/docs/script/release +0 -42
  67. data/docs/script/server +0 -3
  68. data/docs/thumbnail.png +0 -0
@@ -1,99 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en-us">
3
- <head>
4
- <meta charset="UTF-8"/>
5
- <title>Tests for learning</title>
6
- <meta name="description" content="A Ruby Programmed Rock Paper Scissors Game"/>
7
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
8
- <meta name="theme-color" content="#157878"/>
9
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css' />
10
- <link rel="stylesheet" href="/assets/css/style.css?v=a05748f4c68340abcebe6fa7337ffcf4443a0aec"/>
11
- <script src="assets/js/pace.min.js"></script>
12
-
13
- <link rel="apple-touch-icon" sizes="180x180" href="assets/favicons/apple-touch-icon.png"/>
14
- <link rel="icon" type="image/png" sizes="32x32" href="assets/favicons/favicon-32x32.png"/>
15
- <link rel="icon" type="image/png" sizes="16x16" href="assets/favicons/favicon-16x16.png"/>
16
- <link rel="manifest" href="assets/favicons/manifest.json"/>
17
- <link rel="mask-icon" href="assets/favicons/safari-pinned-tab.svg" color="#5bbad5"/>
18
- <!--
19
- <meta name="theme-color" content="#ffffff">
20
- -->
21
- </head>
22
- <body>
23
-
24
- <section class="page-header">
25
- <h1 class="project-name">Rock Paper Scissors Game</h1>
26
- <h2 class="project-tagline">A Ruby Programmed Rock Paper Scissors Game</h2>
27
-
28
- <a href="http://github.com/bag3318/RPSG" class="btn" target="_blank">View on GitHub</a>
29
- <a href="http://github.com/bag3318/RPSG/issues" target="_blank" class="btn">Report a Bug</a>
30
-
31
-
32
- <a href="http://github.com/bag3318/RPSG/zipball/gh-pages" class="btn">Download .zip</a>
33
- <a href="http://github.com/bag3318/RPSG/tarball/gh-pages" class="btn">Download .tar.gz</a>
34
-
35
- <br/>
36
-
37
- <a href="#site-nav" class="btn">Site Navigation</a>
38
-
39
-
40
- <a href="./" class="btn">Home</a>
41
-
42
- </section>
43
- <section class="main-content">
44
-
45
- <h1 id="comments">Comments</h1>
46
-
47
- <ul id="markdown-toc">
48
- <li><a href="#comments" id="markdown-toc-comments">Comments</a> <ul>
49
- <li><a href="#markdown" id="markdown-toc-markdown">Markdown</a> <ul>
50
- <li><a href="#wrong-ways" id="markdown-toc-wrong-ways">wrong ways</a></li>
51
- </ul>
52
- </li>
53
- <li><a href="#kramdown" id="markdown-toc-kramdown">Kramdown</a></li>
54
- <li><a href="#liquid" id="markdown-toc-liquid">Liquid</a></li>
55
- <li><a href="#html" id="markdown-toc-html">HTML</a></li>
56
- </ul>
57
- </li>
58
- </ul>
59
-
60
- <h2 id="markdown">Markdown</h2>
61
-
62
- <h3 id="wrong-ways">wrong ways</h3>
63
-
64
- <h2 id="kramdown">Kramdown</h2>
65
-
66
- <!-- comment -->
67
-
68
- <h2 id="liquid">Liquid</h2>
69
-
70
- <h2 id="html">HTML</h2>
71
-
72
- <!-- comment -->
73
-
74
-
75
- <footer class="site-footer">
76
-
77
- <h2 id="site-nav">Site Navigation</h2>
78
- <table>
79
- <tr>
80
- <td><a href="./">Home</a></td>
81
- <td><a href="readme">README File</a></td>
82
- <td><a href="install">Install</a></td>
83
- <td><a href="update">Update</a></td>
84
- <td><a href="uninstall">Uninstall</a></td>
85
- <td><a href="code">Full Code</a></td>
86
- <td><a href="simple">Simple Code</td>
87
- <td><a href="bundler">Bundler</a></td>
88
- </tr>
89
- </table>
90
- <br/>
91
- <hr/>
92
- <span class="site-footer-owner"><a href="http://github.com/bag3318/RPSG" target="_blank">RPSG</a> is maintained by <a href="http://github.com/bag3318" target="_blank">bag3318</a>.</span><span><strong><a href="http://github.com/bag3318/RPSG" target="_blank">Source Code</a></strong></span>
93
-
94
- </footer>
95
- </section>
96
-
97
-
98
- </body>
99
- </html>
@@ -1,92 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en-us">
3
- <head>
4
- <meta charset="UTF-8"/>
5
- <title>How to Uninstall - RPSG</title>
6
- <meta name="description" content="A Ruby Programmed Rock Paper Scissors Game"/>
7
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
8
- <meta name="theme-color" content="#157878"/>
9
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css' />
10
- <link rel="stylesheet" href="/assets/css/style.css?v=a05748f4c68340abcebe6fa7337ffcf4443a0aec"/>
11
- <script src="assets/js/pace.min.js"></script>
12
-
13
- <link rel="apple-touch-icon" sizes="180x180" href="assets/favicons/apple-touch-icon.png"/>
14
- <link rel="icon" type="image/png" sizes="32x32" href="assets/favicons/favicon-32x32.png"/>
15
- <link rel="icon" type="image/png" sizes="16x16" href="assets/favicons/favicon-16x16.png"/>
16
- <link rel="manifest" href="assets/favicons/manifest.json"/>
17
- <link rel="mask-icon" href="assets/favicons/safari-pinned-tab.svg" color="#5bbad5"/>
18
- <!--
19
- <meta name="theme-color" content="#ffffff">
20
- -->
21
- </head>
22
- <body>
23
-
24
- <section class="page-header">
25
- <h1 class="project-name">Rock Paper Scissors Game</h1>
26
- <h2 class="project-tagline">A Ruby Programmed Rock Paper Scissors Game</h2>
27
-
28
- <a href="http://github.com/bag3318/RPSG" class="btn" target="_blank">View on GitHub</a>
29
- <a href="http://github.com/bag3318/RPSG/issues" target="_blank" class="btn">Report a Bug</a>
30
-
31
-
32
- <a href="http://github.com/bag3318/RPSG/zipball/gh-pages" class="btn">Download .zip</a>
33
- <a href="http://github.com/bag3318/RPSG/tarball/gh-pages" class="btn">Download .tar.gz</a>
34
-
35
- <br/>
36
-
37
- <a href="#site-nav" class="btn">Site Navigation</a>
38
-
39
-
40
- <a href="./" class="btn">Home</a>
41
-
42
- </section>
43
- <section class="main-content">
44
-
45
- <h1 id="how-to-uninstall">How to Uninstall</h1>
46
-
47
- <ul id="markdown-toc">
48
- <li><a href="#how-to-uninstall" id="markdown-toc-how-to-uninstall">How to Uninstall</a> <ul>
49
- <li><a href="#mac-osxwindows" id="markdown-toc-mac-osxwindows">Mac (OSX)/Windows</a></li>
50
- </ul>
51
- </li>
52
- </ul>
53
-
54
- <blockquote>
55
- <p>This guide will show you how to quickly uninstall <code class="highlighter-rouge">RPSG</code></p>
56
- </blockquote>
57
-
58
- <h2 id="mac-osxwindows">Mac (OSX)/Windows</h2>
59
-
60
- <ol>
61
- <li>Open <code class="highlighter-rouge">Command Prompt</code>/<code class="highlighter-rouge">Terminal</code> (depending on OS)</li>
62
- <li>Type in <code class="highlighter-rouge">gem uninstall rpsg</code></li>
63
- <li>Hit <kbd>Enter</kbd>/<kbd>Return</kbd> (depending on OS)</li>
64
- <li>Confirm Uninstallation</li>
65
- </ol>
66
-
67
-
68
- <footer class="site-footer">
69
-
70
- <h2 id="site-nav">Site Navigation</h2>
71
- <table>
72
- <tr>
73
- <td><a href="./">Home</a></td>
74
- <td><a href="readme">README File</a></td>
75
- <td><a href="install">Install</a></td>
76
- <td><a href="update">Update</a></td>
77
- <td><a href="uninstall">Uninstall</a></td>
78
- <td><a href="code">Full Code</a></td>
79
- <td><a href="simple">Simple Code</td>
80
- <td><a href="bundler">Bundler</a></td>
81
- </tr>
82
- </table>
83
- <br/>
84
- <hr/>
85
- <span class="site-footer-owner"><a href="http://github.com/bag3318/RPSG" target="_blank">RPSG</a> is maintained by <a href="http://github.com/bag3318" target="_blank">bag3318</a>.</span><span><strong><a href="http://github.com/bag3318/RPSG" target="_blank">Source Code</a></strong></span>
86
-
87
- </footer>
88
- </section>
89
-
90
-
91
- </body>
92
- </html>
@@ -1,92 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en-us">
3
- <head>
4
- <meta charset="UTF-8"/>
5
- <title>How to Update - RPSG</title>
6
- <meta name="description" content="A Ruby Programmed Rock Paper Scissors Game"/>
7
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
8
- <meta name="theme-color" content="#157878"/>
9
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css' />
10
- <link rel="stylesheet" href="/assets/css/style.css?v=a05748f4c68340abcebe6fa7337ffcf4443a0aec"/>
11
- <script src="assets/js/pace.min.js"></script>
12
-
13
- <link rel="apple-touch-icon" sizes="180x180" href="assets/favicons/apple-touch-icon.png"/>
14
- <link rel="icon" type="image/png" sizes="32x32" href="assets/favicons/favicon-32x32.png"/>
15
- <link rel="icon" type="image/png" sizes="16x16" href="assets/favicons/favicon-16x16.png"/>
16
- <link rel="manifest" href="assets/favicons/manifest.json"/>
17
- <link rel="mask-icon" href="assets/favicons/safari-pinned-tab.svg" color="#5bbad5"/>
18
- <!--
19
- <meta name="theme-color" content="#ffffff">
20
- -->
21
- </head>
22
- <body>
23
-
24
- <section class="page-header">
25
- <h1 class="project-name">Rock Paper Scissors Game</h1>
26
- <h2 class="project-tagline">A Ruby Programmed Rock Paper Scissors Game</h2>
27
-
28
- <a href="http://github.com/bag3318/RPSG" class="btn" target="_blank">View on GitHub</a>
29
- <a href="http://github.com/bag3318/RPSG/issues" target="_blank" class="btn">Report a Bug</a>
30
-
31
-
32
- <a href="http://github.com/bag3318/RPSG/zipball/gh-pages" class="btn">Download .zip</a>
33
- <a href="http://github.com/bag3318/RPSG/tarball/gh-pages" class="btn">Download .tar.gz</a>
34
-
35
- <br/>
36
-
37
- <a href="#site-nav" class="btn">Site Navigation</a>
38
-
39
-
40
- <a href="./" class="btn">Home</a>
41
-
42
- </section>
43
- <section class="main-content">
44
-
45
- <h1 id="update-guide">Update Guide</h1>
46
-
47
- <ul id="markdown-toc">
48
- <li><a href="#update-guide" id="markdown-toc-update-guide">Update Guide</a> <ul>
49
- <li><a href="#mac-osxwindows" id="markdown-toc-mac-osxwindows">Mac (OSX)/Windows</a></li>
50
- </ul>
51
- </li>
52
- </ul>
53
-
54
- <blockquote>
55
- <p>This guide will show you how to easily update RPSG.</p>
56
- </blockquote>
57
-
58
- <h2 id="mac-osxwindows">Mac (OSX)/Windows</h2>
59
-
60
- <ol>
61
- <li>Open <code class="highlighter-rouge">Terminal</code>/<code class="highlighter-rouge">Command Prompt</code> (depending on OS)</li>
62
- <li>Type in the following: <code class="highlighter-rouge">gem update rpsg</code></li>
63
- <li>Hit <kbd>Enter</kbd>/<kbd>Return</kbd> (depending on OS)</li>
64
- </ol>
65
-
66
-
67
-
68
- <footer class="site-footer">
69
-
70
- <h2 id="site-nav">Site Navigation</h2>
71
- <table>
72
- <tr>
73
- <td><a href="./">Home</a></td>
74
- <td><a href="readme">README File</a></td>
75
- <td><a href="install">Install</a></td>
76
- <td><a href="update">Update</a></td>
77
- <td><a href="uninstall">Uninstall</a></td>
78
- <td><a href="code">Full Code</a></td>
79
- <td><a href="simple">Simple Code</td>
80
- <td><a href="bundler">Bundler</a></td>
81
- </tr>
82
- </table>
83
- <br/>
84
- <hr/>
85
- <span class="site-footer-owner"><a href="http://github.com/bag3318/RPSG" target="_blank">RPSG</a> is maintained by <a href="http://github.com/bag3318" target="_blank">bag3318</a>.</span><span><strong><a href="http://github.com/bag3318/RPSG" target="_blank">Source Code</a></strong></span>
86
-
87
- </footer>
88
- </section>
89
-
90
-
91
- </body>
92
- </html>
@@ -1,4 +0,0 @@
1
- ---
2
- ---
3
-
4
- @import 'jekyll-theme-cayman';
@@ -1,9 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <browserconfig>
3
- <msapplication>
4
- <tile>
5
- <square150x150logo src="/mstile-150x150.png"/>
6
- <TileColor>#da532c</TileColor>
7
- </tile>
8
- </msapplication>
9
- </browserconfig>
@@ -1,18 +0,0 @@
1
- {
2
- "name": "",
3
- "icons": [
4
- {
5
- "src": "/android-chrome-192x192.png",
6
- "sizes": "192x192",
7
- "type": "image/png"
8
- },
9
- {
10
- "src": "/android-chrome-256x256.png",
11
- "sizes": "256x256",
12
- "type": "image/png"
13
- }
14
- ],
15
- "theme_color": "#ffffff",
16
- "background_color": "#ffffff",
17
- "display": "standalone"
18
- }
@@ -1,17 +0,0 @@
1
- <?xml version="1.0" standalone="no"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
3
- "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
4
- <svg version="1.0" xmlns="http://www.w3.org/2000/svg"
5
- width="256.000000pt" height="256.000000pt" viewBox="0 0 256.000000 256.000000"
6
- preserveAspectRatio="xMidYMid meet">
7
- <metadata>
8
- Created by potrace 1.11, written by Peter Selinger 2001-2013
9
- </metadata>
10
- <g transform="translate(0.000000,256.000000) scale(0.100000,-0.100000)"
11
- fill="#000000" stroke="none">
12
- <path d="M72 2543 c-19 -9 -41 -32 -53 -54 -18 -37 -19 -70 -19 -1209 0 -1256
13
- -2 -1209 50 -1255 22 -20 38 -20 1214 -23 655 -1 1200 0 1212 2 29 8 61 38 74
14
- 70 7 18 10 416 10 1209 0 1168 0 1182 -20 1215 -40 65 29 62 -1262 62 -1064 0
15
- -1176 -2 -1206 -17z"/>
16
- </g>
17
- </svg>
@@ -1,2 +0,0 @@
1
- /*! pace 1.0.0 */
2
- (function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X=[].slice,Y={}.hasOwnProperty,Z=function(a,b){function c(){this.constructor=a}for(var d in b)Y.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a},$=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1};for(u={catchupTime:100,initialRate:.03,minTime:250,ghostTime:100,maxProgressPerFrame:20,easeFactor:1.25,startOnPageLoad:!0,restartOnPushState:!0,restartOnRequestAfter:500,target:"body",elements:{checkInterval:100,selectors:["body"]},eventLag:{minSamples:10,sampleCount:3,lagThreshold:3},ajax:{trackMethods:["GET"],trackWebSockets:!0,ignoreURLs:[]}},C=function(){var a;return null!=(a="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance.now():void 0)?a:+new Date},E=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,t=window.cancelAnimationFrame||window.mozCancelAnimationFrame,null==E&&(E=function(a){return setTimeout(a,50)},t=function(a){return clearTimeout(a)}),G=function(a){var b,c;return b=C(),(c=function(){var d;return d=C()-b,d>=33?(b=C(),a(d,function(){return E(c)})):setTimeout(c,33-d)})()},F=function(){var a,b,c;return c=arguments[0],b=arguments[1],a=3<=arguments.length?X.call(arguments,2):[],"function"==typeof c[b]?c[b].apply(c,a):c[b]},v=function(){var a,b,c,d,e,f,g;for(b=arguments[0],d=2<=arguments.length?X.call(arguments,1):[],f=0,g=d.length;g>f;f++)if(c=d[f])for(a in c)Y.call(c,a)&&(e=c[a],null!=b[a]&&"object"==typeof b[a]&&null!=e&&"object"==typeof e?v(b[a],e):b[a]=e);return b},q=function(a){var b,c,d,e,f;for(c=b=0,e=0,f=a.length;f>e;e++)d=a[e],c+=Math.abs(d),b++;return c/b},x=function(a,b){var c,d,e;if(null==a&&(a="options"),null==b&&(b=!0),e=document.querySelector("[data-pace-"+a+"]")){if(c=e.getAttribute("data-pace-"+a),!b)return c;try{return JSON.parse(c)}catch(f){return d=f,"undefined"!=typeof console&&null!==console?console.error("Error parsing inline pace options",d):void 0}}},g=function(){function a(){}return a.prototype.on=function(a,b,c,d){var e;return null==d&&(d=!1),null==this.bindings&&(this.bindings={}),null==(e=this.bindings)[a]&&(e[a]=[]),this.bindings[a].push({handler:b,ctx:c,once:d})},a.prototype.once=function(a,b,c){return this.on(a,b,c,!0)},a.prototype.off=function(a,b){var c,d,e;if(null!=(null!=(d=this.bindings)?d[a]:void 0)){if(null==b)return delete this.bindings[a];for(c=0,e=[];c<this.bindings[a].length;)e.push(this.bindings[a][c].handler===b?this.bindings[a].splice(c,1):c++);return e}},a.prototype.trigger=function(){var a,b,c,d,e,f,g,h,i;if(c=arguments[0],a=2<=arguments.length?X.call(arguments,1):[],null!=(g=this.bindings)?g[c]:void 0){for(e=0,i=[];e<this.bindings[c].length;)h=this.bindings[c][e],d=h.handler,b=h.ctx,f=h.once,d.apply(null!=b?b:this,a),i.push(f?this.bindings[c].splice(e,1):e++);return i}},a}(),j=window.Pace||{},window.Pace=j,v(j,g.prototype),D=j.options=v({},u,window.paceOptions,x()),U=["ajax","document","eventLag","elements"],Q=0,S=U.length;S>Q;Q++)K=U[Q],D[K]===!0&&(D[K]=u[K]);i=function(a){function b(){return V=b.__super__.constructor.apply(this,arguments)}return Z(b,a),b}(Error),b=function(){function a(){this.progress=0}return a.prototype.getElement=function(){var a;if(null==this.el){if(a=document.querySelector(D.target),!a)throw new i;this.el=document.createElement("div"),this.el.className="pace pace-active",document.body.className=document.body.className.replace(/pace-done/g,""),document.body.className+=" pace-running",this.el.innerHTML='<div class="pace-progress">\n <div class="pace-progress-inner"></div>\n</div>\n<div class="pace-activity"></div>',null!=a.firstChild?a.insertBefore(this.el,a.firstChild):a.appendChild(this.el)}return this.el},a.prototype.finish=function(){var a;return a=this.getElement(),a.className=a.className.replace("pace-active",""),a.className+=" pace-inactive",document.body.className=document.body.className.replace("pace-running",""),document.body.className+=" pace-done"},a.prototype.update=function(a){return this.progress=a,this.render()},a.prototype.destroy=function(){try{this.getElement().parentNode.removeChild(this.getElement())}catch(a){i=a}return this.el=void 0},a.prototype.render=function(){var a,b,c,d,e,f,g;if(null==document.querySelector(D.target))return!1;for(a=this.getElement(),d="translate3d("+this.progress+"%, 0, 0)",g=["webkitTransform","msTransform","transform"],e=0,f=g.length;f>e;e++)b=g[e],a.children[0].style[b]=d;return(!this.lastRenderedProgress||this.lastRenderedProgress|0!==this.progress|0)&&(a.children[0].setAttribute("data-progress-text",""+(0|this.progress)+"%"),this.progress>=100?c="99":(c=this.progress<10?"0":"",c+=0|this.progress),a.children[0].setAttribute("data-progress",""+c)),this.lastRenderedProgress=this.progress},a.prototype.done=function(){return this.progress>=100},a}(),h=function(){function a(){this.bindings={}}return a.prototype.trigger=function(a,b){var c,d,e,f,g;if(null!=this.bindings[a]){for(f=this.bindings[a],g=[],d=0,e=f.length;e>d;d++)c=f[d],g.push(c.call(this,b));return g}},a.prototype.on=function(a,b){var c;return null==(c=this.bindings)[a]&&(c[a]=[]),this.bindings[a].push(b)},a}(),P=window.XMLHttpRequest,O=window.XDomainRequest,N=window.WebSocket,w=function(a,b){var c,d,e,f;f=[];for(d in b.prototype)try{e=b.prototype[d],f.push(null==a[d]&&"function"!=typeof e?a[d]=e:void 0)}catch(g){c=g}return f},A=[],j.ignore=function(){var a,b,c;return b=arguments[0],a=2<=arguments.length?X.call(arguments,1):[],A.unshift("ignore"),c=b.apply(null,a),A.shift(),c},j.track=function(){var a,b,c;return b=arguments[0],a=2<=arguments.length?X.call(arguments,1):[],A.unshift("track"),c=b.apply(null,a),A.shift(),c},J=function(a){var b;if(null==a&&(a="GET"),"track"===A[0])return"force";if(!A.length&&D.ajax){if("socket"===a&&D.ajax.trackWebSockets)return!0;if(b=a.toUpperCase(),$.call(D.ajax.trackMethods,b)>=0)return!0}return!1},k=function(a){function b(){var a,c=this;b.__super__.constructor.apply(this,arguments),a=function(a){var b;return b=a.open,a.open=function(d,e){return J(d)&&c.trigger("request",{type:d,url:e,request:a}),b.apply(a,arguments)}},window.XMLHttpRequest=function(b){var c;return c=new P(b),a(c),c};try{w(window.XMLHttpRequest,P)}catch(d){}if(null!=O){window.XDomainRequest=function(){var b;return b=new O,a(b),b};try{w(window.XDomainRequest,O)}catch(d){}}if(null!=N&&D.ajax.trackWebSockets){window.WebSocket=function(a,b){var d;return d=null!=b?new N(a,b):new N(a),J("socket")&&c.trigger("request",{type:"socket",url:a,protocols:b,request:d}),d};try{w(window.WebSocket,N)}catch(d){}}}return Z(b,a),b}(h),R=null,y=function(){return null==R&&(R=new k),R},I=function(a){var b,c,d,e;for(e=D.ajax.ignoreURLs,c=0,d=e.length;d>c;c++)if(b=e[c],"string"==typeof b){if(-1!==a.indexOf(b))return!0}else if(b.test(a))return!0;return!1},y().on("request",function(b){var c,d,e,f,g;return f=b.type,e=b.request,g=b.url,I(g)?void 0:j.running||D.restartOnRequestAfter===!1&&"force"!==J(f)?void 0:(d=arguments,c=D.restartOnRequestAfter||0,"boolean"==typeof c&&(c=0),setTimeout(function(){var b,c,g,h,i,k;if(b="socket"===f?e.readyState<2:0<(h=e.readyState)&&4>h){for(j.restart(),i=j.sources,k=[],c=0,g=i.length;g>c;c++){if(K=i[c],K instanceof a){K.watch.apply(K,d);break}k.push(void 0)}return k}},c))}),a=function(){function a(){var a=this;this.elements=[],y().on("request",function(){return a.watch.apply(a,arguments)})}return a.prototype.watch=function(a){var b,c,d,e;return d=a.type,b=a.request,e=a.url,I(e)?void 0:(c="socket"===d?new n(b):new o(b),this.elements.push(c))},a}(),o=function(){function a(a){var b,c,d,e,f,g,h=this;if(this.progress=0,null!=window.ProgressEvent)for(c=null,a.addEventListener("progress",function(a){return h.progress=a.lengthComputable?100*a.loaded/a.total:h.progress+(100-h.progress)/2},!1),g=["load","abort","timeout","error"],d=0,e=g.length;e>d;d++)b=g[d],a.addEventListener(b,function(){return h.progress=100},!1);else f=a.onreadystatechange,a.onreadystatechange=function(){var b;return 0===(b=a.readyState)||4===b?h.progress=100:3===a.readyState&&(h.progress=50),"function"==typeof f?f.apply(null,arguments):void 0}}return a}(),n=function(){function a(a){var b,c,d,e,f=this;for(this.progress=0,e=["error","open"],c=0,d=e.length;d>c;c++)b=e[c],a.addEventListener(b,function(){return f.progress=100},!1)}return a}(),d=function(){function a(a){var b,c,d,f;for(null==a&&(a={}),this.elements=[],null==a.selectors&&(a.selectors=[]),f=a.selectors,c=0,d=f.length;d>c;c++)b=f[c],this.elements.push(new e(b))}return a}(),e=function(){function a(a){this.selector=a,this.progress=0,this.check()}return a.prototype.check=function(){var a=this;return document.querySelector(this.selector)?this.done():setTimeout(function(){return a.check()},D.elements.checkInterval)},a.prototype.done=function(){return this.progress=100},a}(),c=function(){function a(){var a,b,c=this;this.progress=null!=(b=this.states[document.readyState])?b:100,a=document.onreadystatechange,document.onreadystatechange=function(){return null!=c.states[document.readyState]&&(c.progress=c.states[document.readyState]),"function"==typeof a?a.apply(null,arguments):void 0}}return a.prototype.states={loading:0,interactive:50,complete:100},a}(),f=function(){function a(){var a,b,c,d,e,f=this;this.progress=0,a=0,e=[],d=0,c=C(),b=setInterval(function(){var g;return g=C()-c-50,c=C(),e.push(g),e.length>D.eventLag.sampleCount&&e.shift(),a=q(e),++d>=D.eventLag.minSamples&&a<D.eventLag.lagThreshold?(f.progress=100,clearInterval(b)):f.progress=100*(3/(a+3))},50)}return a}(),m=function(){function a(a){this.source=a,this.last=this.sinceLastUpdate=0,this.rate=D.initialRate,this.catchup=0,this.progress=this.lastProgress=0,null!=this.source&&(this.progress=F(this.source,"progress"))}return a.prototype.tick=function(a,b){var c;return null==b&&(b=F(this.source,"progress")),b>=100&&(this.done=!0),b===this.last?this.sinceLastUpdate+=a:(this.sinceLastUpdate&&(this.rate=(b-this.last)/this.sinceLastUpdate),this.catchup=(b-this.progress)/D.catchupTime,this.sinceLastUpdate=0,this.last=b),b>this.progress&&(this.progress+=this.catchup*a),c=1-Math.pow(this.progress/100,D.easeFactor),this.progress+=c*this.rate*a,this.progress=Math.min(this.lastProgress+D.maxProgressPerFrame,this.progress),this.progress=Math.max(0,this.progress),this.progress=Math.min(100,this.progress),this.lastProgress=this.progress,this.progress},a}(),L=null,H=null,r=null,M=null,p=null,s=null,j.running=!1,z=function(){return D.restartOnPushState?j.restart():void 0},null!=window.history.pushState&&(T=window.history.pushState,window.history.pushState=function(){return z(),T.apply(window.history,arguments)}),null!=window.history.replaceState&&(W=window.history.replaceState,window.history.replaceState=function(){return z(),W.apply(window.history,arguments)}),l={ajax:a,elements:d,document:c,eventLag:f},(B=function(){var a,c,d,e,f,g,h,i;for(j.sources=L=[],g=["ajax","elements","document","eventLag"],c=0,e=g.length;e>c;c++)a=g[c],D[a]!==!1&&L.push(new l[a](D[a]));for(i=null!=(h=D.extraSources)?h:[],d=0,f=i.length;f>d;d++)K=i[d],L.push(new K(D));return j.bar=r=new b,H=[],M=new m})(),j.stop=function(){return j.trigger("stop"),j.running=!1,r.destroy(),s=!0,null!=p&&("function"==typeof t&&t(p),p=null),B()},j.restart=function(){return j.trigger("restart"),j.stop(),j.start()},j.go=function(){var a;return j.running=!0,r.render(),a=C(),s=!1,p=G(function(b,c){var d,e,f,g,h,i,k,l,n,o,p,q,t,u,v,w;for(l=100-r.progress,e=p=0,f=!0,i=q=0,u=L.length;u>q;i=++q)for(K=L[i],o=null!=H[i]?H[i]:H[i]=[],h=null!=(w=K.elements)?w:[K],k=t=0,v=h.length;v>t;k=++t)g=h[k],n=null!=o[k]?o[k]:o[k]=new m(g),f&=n.done,n.done||(e++,p+=n.tick(b));return d=p/e,r.update(M.tick(b,d)),r.done()||f||s?(r.update(100),j.trigger("done"),setTimeout(function(){return r.finish(),j.running=!1,j.trigger("hide")},Math.max(D.ghostTime,Math.max(D.minTime-(C()-a),0)))):c()})},j.start=function(a){v(D,a),j.running=!0;try{r.render()}catch(b){i=b}return document.querySelector(".pace")?(j.trigger("start"),j.go()):setTimeout(j.start,50)},"function"==typeof define&&define.amd?define(function(){return j}):"object"==typeof exports?module.exports=j:D.startOnPageLoad&&j.start()}).call(this);
@@ -1,18 +0,0 @@
1
- # encoding: utf-8
2
-
3
- Gem::Specification.new do |s|
4
- s.name = "jekyll-theme-cayman"
5
- s.version = "0.0.4"
6
- s.license = "CC0-1.0"
7
- s.authors = ["Jason Long", "GitHub, Inc."]
8
- s.email = ["opensource+jekyll-theme-cayman@github.com"]
9
- s.homepage = "https://github.com/pages-themes/cayman"
10
- s.summary = "Cayman is a Jekyll theme for GitHub Pages"
11
-
12
- s.files = `git ls-files -z`.split("\x0").select do |f|
13
- f.match(%r{^((_includes|_layouts|_sass|assets)/|(LICENSE|README)((\.(txt|md|markdown)|$)))}i)
14
- end
15
-
16
- s.platform = Gem::Platform::RUBY
17
- s.add_runtime_dependency "jekyll", "~> 3.3"
18
- end
@@ -1,6 +0,0 @@
1
- #!/bin/sh
2
-
3
- set -e
4
-
5
- gem install bundler
6
- bundle install
@@ -1,6 +0,0 @@
1
- #!/bin/sh
2
-
3
- set -e
4
-
5
- bundle exec jekyll build
6
- gem build jekyll-theme-cayman.gemspec
@@ -1,42 +0,0 @@
1
- #!/bin/sh
2
- # Tag and push a release.
3
-
4
- set -e
5
-
6
- # Make sure we're in the project root.
7
-
8
- cd $(dirname "$0")/..
9
-
10
- # Make sure the darn thing works
11
-
12
- bundle update
13
-
14
- # Build a new gem archive.
15
-
16
- rm -rf jekyll-theme-cayman-*.gem
17
- gem build -q jekyll-theme-cayman.gemspec
18
-
19
- # Make sure we're on the master branch.
20
-
21
- (git branch | grep -q 'master') || {
22
- echo "Only release from the master branch."
23
- exit 1
24
- }
25
-
26
- # Figure out what version we're releasing.
27
-
28
- tag=v`ls jekyll-theme-cayman-*.gem | sed 's/^jekyll-theme-cayman-\(.*\)\.gem$/\1/'`
29
-
30
- # Make sure we haven't released this version before.
31
-
32
- git fetch -t origin
33
-
34
- (git tag -l | grep -q "$tag") && {
35
- echo "Whoops, there's already a '${tag}' tag."
36
- exit 1
37
- }
38
-
39
- # Tag it and bag it.
40
-
41
- gem push jekyll-theme-cayman-*.gem && git tag "$tag" &&
42
- git push origin master && git push origin "$tag"
@@ -1,3 +0,0 @@
1
- #!/bin/sh
2
-
3
- bundle exec jekyll serve
Binary file