diff --git a/README.md b/README.md
index 7936cdf..dd2c055 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# Nyaplot
[](https://travis-ci.org/domitry/nyaplot)
-[](http://badge.fury.io/rb/nyaplot)
+[](https://badge.fury.io/rb/nyaplot)

@@ -8,20 +8,20 @@ Nyaplot is an interactive plots generator for Ruby users. Its goal is to make it
Nyaplot is a compound word from 'Nya' and 'plot.' The word 'Nya' comes from an onomatopoeia of cat's meow in Japanese.
-This software has been developed as a product in Google Summer of Code 2014 (GSoC2014). Visit the [website]((http://sciruby.com/blog/)) or [mailing list](https://groups.google.com/forum/#!forum/sciruby-dev) of SciRuby to see the progress of this project.
+This software has been developed as a product in Google Summer of Code 2014 (GSoC2014). Visit the [website]((https://sciruby.com/blog/)) or [mailing list](https://groups.google.com/forum/#!forum/sciruby-dev) of SciRuby to see the progress of this project.
**Attention: Nyaplotjs was banned by rawgit.js and nyaplot v0.1.3 was released to fix that. Please update your nyaplot and re-excute each notebooks.**
## Demo
+ [Movie demo on YouTube](https://www.youtube.com/watch?v=ZxjqsIluM88)
-+ [Nyaplot Tutorial & Case study](http://nbviewer.ipython.org/github/domitry/nyaplot/blob/master/examples/notebook/Index.ipynb)
++ [Nyaplot Tutorial & Case study](https://nbviewer.ipython.org/github/domitry/nyaplot/blob/master/examples/notebook/Index.ipynb)
Visit [nyaplot-notebooks on GitHub](https://github.com/domitry/nyaplot-notebooks) to see more example.
## Documents
-Documents are [here](http://rubydoc.info/github/domitry/nyaplot/master/frames).
+Documents are [here](https://rubydoc.info/github/domitry/nyaplot/master/frames).
## Extensions
@@ -37,15 +37,15 @@ Its back-end library is [Elegans](https://github.com/domitry/elegans), a 3D plot

-To learn more, see [the notebook](http://nbviewer.ipython.org/github/domitry/Nyaplot/blob/master/examples/notebook/3DPlot.ipynb).
+To learn more, see [the notebook](https://nbviewer.ipython.org/github/domitry/Nyaplot/blob/master/examples/notebook/3DPlot.ipynb).
### Bionya
-Bionya is an extension library for Nyaplot that allows us to create plots for Biology. The main content of Bionya is the circular plot, that is usually used to visualize information of genes like relationship among them. This library is inspired by [circos](http://circos.ca/).
+Bionya is an extension library for Nyaplot that allows us to create plots for Biology. The main content of Bionya is the circular plot, that is usually used to visualize information of genes like relationship among them. This library is inspired by [circos](https://circos.ca/).

-See [this notebook](http://nbviewer.ipython.org/github/domitry/nyaplot/blob/master/examples/notebook/Bionya.ipynb) to learn more.
+See [this notebook](https://nbviewer.ipython.org/github/domitry/nyaplot/blob/master/examples/notebook/Bionya.ipynb) to learn more.
### Mapnya
@@ -53,7 +53,7 @@ Mapnya is an extension library for map visualization.

-See [this notebook](http://nbviewer.ipython.org/github/domitry/nyaplot/blob/master/examples/notebook/Mapnya.ipynb) to learn more.
+See [this notebook](https://nbviewer.ipython.org/github/domitry/nyaplot/blob/master/examples/notebook/Mapnya.ipynb) to learn more.
## Installation
### Install nyaplot
@@ -126,7 +126,7 @@ First, install IPython and its dependencies using [Enthought Canopy](https://www
Then install IRuby by running `gem install iruby`.
-After that, install ZeroMQ from [here](http://zeromq.org/area:download). Be sure to install stable release of the version **3.2.?**.
+After that, install ZeroMQ from [here](https://zeromq.org/area:download). Be sure to install stable release of the version **3.2.?**.
**Attention: install 32bit version of Zeromq even if your Windows is built for 64-bit.**
Add the path to the directory of ZeroMQ binaries (Maybe the path is `Program Files (x86)/ZeroMQ 3.2.4/bin`) to environment variables `PATH`.
@@ -137,12 +137,12 @@ At last, pure IRuby do not work on Windows, so please apply [patches I sent befo
## Acknowledgments
-This software has been developed by [Naoki Nishida](https://github.com/domitry) as a product in Google Summer of Code 2014 (GSoC2014). Visit the [website]((http://sciruby.com/blog/)) or [mailing list](https://groups.google.com/forum/#!forum/sciruby-dev) of SciRuby to see the progress of this project.
+This software has been developed by [Naoki Nishida](https://github.com/domitry) as a product in Google Summer of Code 2014 (GSoC2014). Visit the [website]((https://sciruby.com/blog/)) or [mailing list](https://groups.google.com/forum/#!forum/sciruby-dev) of SciRuby to see the progress of this project.
## Contributing
-1. Fork it ( http://github.com/domitry/nyaplot/fork )
+1. Fork it ( https://github.com/domitry/nyaplot/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
diff --git a/examples/notebook/3DPlot.ipynb b/examples/notebook/3DPlot.ipynb
index 641e61a..e9c0378 100644
--- a/examples/notebook/3DPlot.ipynb
+++ b/examples/notebook/3DPlot.ipynb
@@ -25,7 +25,7 @@
"\n",
"\tvar script = d3.select(\"head\")\n",
"\t .append(\"script\")\n",
- "\t .attr(\"src\", \"http://cdn.rawgit.com/domitry/Nyaplotjs/master/release/nyaplot.js\")\n",
+ "\t .attr(\"src\", \"https://cdn.rawgit.com/domitry/Nyaplotjs/master/release/nyaplot.js\")\n",
"\t .attr(\"async\", true);\n",
"\n",
"\tscript[0][0].onload = script[0][0].onreadystatechange = function(){\n",
@@ -44,7 +44,7 @@
""
],
"text/plain": [
- "\"if(window['d3'] === undefined ||\\n window['Nyaplot'] === undefined){\\n var path = {\\\"d3\\\":\\\"https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min\\\",\\\"downloadable\\\":\\\"https://cdn.rawgit.com/domitry/d3-downloadable/d7e5c003ef85c6056b49cdc31c73e370499734ce/d3-downloadable\\\"};\\n\\n\\n\\n var shim = {\\\"d3\\\":{\\\"exports\\\":\\\"d3\\\"},\\\"downloadable\\\":{\\\"exports\\\":\\\"downloadable\\\"}};\\n\\n require.config({paths: path, shim:shim});\\n\\n\\nrequire(['d3'], function(d3){window['d3']=d3;console.log('finished loading d3');require(['downloadable'], function(downloadable){window['downloadable']=downloadable;console.log('finished loading downloadable');\\n\\n\\tvar script = d3.select(\\\"head\\\")\\n\\t .append(\\\"script\\\")\\n\\t .attr(\\\"src\\\", \\\"http://cdn.rawgit.com/domitry/Nyaplotjs/master/release/nyaplot.js\\\")\\n\\t .attr(\\\"async\\\", true);\\n\\n\\tscript[0][0].onload = script[0][0].onreadystatechange = function(){\\n\\n\\n\\t var event = document.createEvent(\\\"HTMLEvents\\\");\\n\\t event.initEvent(\\\"load_nyaplot\\\",false,false);\\n\\t window.dispatchEvent(event);\\n\\t console.log('Finished loading Nyaplotjs');\\n\\n\\t};\\n\\n\\n});});\\n}\\n\""
+ "\"if(window['d3'] === undefined ||\\n window['Nyaplot'] === undefined){\\n var path = {\\\"d3\\\":\\\"https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min\\\",\\\"downloadable\\\":\\\"https://cdn.rawgit.com/domitry/d3-downloadable/d7e5c003ef85c6056b49cdc31c73e370499734ce/d3-downloadable\\\"};\\n\\n\\n\\n var shim = {\\\"d3\\\":{\\\"exports\\\":\\\"d3\\\"},\\\"downloadable\\\":{\\\"exports\\\":\\\"downloadable\\\"}};\\n\\n require.config({paths: path, shim:shim});\\n\\n\\nrequire(['d3'], function(d3){window['d3']=d3;console.log('finished loading d3');require(['downloadable'], function(downloadable){window['downloadable']=downloadable;console.log('finished loading downloadable');\\n\\n\\tvar script = d3.select(\\\"head\\\")\\n\\t .append(\\\"script\\\")\\n\\t .attr(\\\"src\\\", \\\"https://cdn.rawgit.com/domitry/Nyaplotjs/master/release/nyaplot.js\\\")\\n\\t .attr(\\\"async\\\", true);\\n\\n\\tscript[0][0].onload = script[0][0].onreadystatechange = function(){\\n\\n\\n\\t var event = document.createEvent(\\\"HTMLEvents\\\");\\n\\t event.initEvent(\\\"load_nyaplot\\\",false,false);\\n\\t window.dispatchEvent(event);\\n\\t console.log('Finished loading Nyaplotjs');\\n\\n\\t};\\n\\n\\n});});\\n}\\n\""
]
},
"execution_count": 1,
@@ -56,7 +56,7 @@
"text/html": [
""
],
"text/plain": [
- "\"if(window['d3'] === undefined ||\\n window['Nyaplot'] === undefined){\\n var path = {\\\"d3\\\":\\\"https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min\\\",\\\"downloadable\\\":\\\"https://cdn.rawgit.com/domitry/d3-downloadable/d7e5c003ef85c6056b49cdc31c73e370499734ce/d3-downloadable\\\",\\\"THREE\\\":\\\"http://cdnjs.cloudflare.com/ajax/libs/three.js/r66/three.min\\\",\\\"Elegans\\\":\\\"https://cdn.rawgit.com/domitry/elegans/d81a728f62edaeeb67261516a272438fb39fa80a/release/elegans\\\"};\\n\\n\\n\\n var shim = {\\\"d3\\\":{\\\"exports\\\":\\\"d3\\\"},\\\"downloadable\\\":{\\\"exports\\\":\\\"downloadable\\\"},\\\"THREE\\\":{\\\"exports\\\":\\\"THREE\\\"},\\\"Elegans\\\":{\\\"exports\\\":\\\"Elegans\\\"}};\\n\\n require.config({paths: path, shim:shim});\\n\\n\\nrequire(['d3'], function(d3){window['d3']=d3;console.log('finished loading d3');require(['downloadable'], function(downloadable){window['downloadable']=downloadable;console.log('finished loading downloadable');require(['THREE'], function(THREE){window['THREE']=THREE;console.log('finished loading THREE');require(['Elegans'], function(Elegans){window['Elegans']=Elegans;console.log('finished loading Elegans');\\n\\n\\tvar script = d3.select(\\\"head\\\")\\n\\t .append(\\\"script\\\")\\n\\t .attr(\\\"src\\\", \\\"http://cdn.rawgit.com/domitry/Nyaplotjs/master/release/nyaplot.js\\\")\\n\\t .attr(\\\"async\\\", true);\\n\\n\\tscript[0][0].onload = script[0][0].onreadystatechange = function(){\\n\\n\\n\\t var event = document.createEvent(\\\"HTMLEvents\\\");\\n\\t event.initEvent(\\\"load_nyaplot\\\",false,false);\\n\\t window.dispatchEvent(event);\\n\\t console.log('Finished loading Nyaplotjs');\\n\\n\\t};\\n\\n\\n});});});});\\n}\\n\""
+ "\"if(window['d3'] === undefined ||\\n window['Nyaplot'] === undefined){\\n var path = {\\\"d3\\\":\\\"https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min\\\",\\\"downloadable\\\":\\\"https://cdn.rawgit.com/domitry/d3-downloadable/d7e5c003ef85c6056b49cdc31c73e370499734ce/d3-downloadable\\\",\\\"THREE\\\":\\\"https://cdnjs.cloudflare.com/ajax/libs/three.js/r66/three.min\\\",\\\"Elegans\\\":\\\"https://cdn.rawgit.com/domitry/elegans/d81a728f62edaeeb67261516a272438fb39fa80a/release/elegans\\\"};\\n\\n\\n\\n var shim = {\\\"d3\\\":{\\\"exports\\\":\\\"d3\\\"},\\\"downloadable\\\":{\\\"exports\\\":\\\"downloadable\\\"},\\\"THREE\\\":{\\\"exports\\\":\\\"THREE\\\"},\\\"Elegans\\\":{\\\"exports\\\":\\\"Elegans\\\"}};\\n\\n require.config({paths: path, shim:shim});\\n\\n\\nrequire(['d3'], function(d3){window['d3']=d3;console.log('finished loading d3');require(['downloadable'], function(downloadable){window['downloadable']=downloadable;console.log('finished loading downloadable');require(['THREE'], function(THREE){window['THREE']=THREE;console.log('finished loading THREE');require(['Elegans'], function(Elegans){window['Elegans']=Elegans;console.log('finished loading Elegans');\\n\\n\\tvar script = d3.select(\\\"head\\\")\\n\\t .append(\\\"script\\\")\\n\\t .attr(\\\"src\\\", \\\"https://cdn.rawgit.com/domitry/Nyaplotjs/master/release/nyaplot.js\\\")\\n\\t .attr(\\\"async\\\", true);\\n\\n\\tscript[0][0].onload = script[0][0].onreadystatechange = function(){\\n\\n\\n\\t var event = document.createEvent(\\\"HTMLEvents\\\");\\n\\t event.initEvent(\\\"load_nyaplot\\\",false,false);\\n\\t window.dispatchEvent(event);\\n\\t console.log('Finished loading Nyaplotjs');\\n\\n\\t};\\n\\n\\n});});});});\\n}\\n\""
]
},
"execution_count": 1,
diff --git a/examples/notebook/Bionya.ipynb b/examples/notebook/Bionya.ipynb
index 824094d..b70b3ea 100644
--- a/examples/notebook/Bionya.ipynb
+++ b/examples/notebook/Bionya.ipynb
@@ -23,7 +23,7 @@
"html": [
""
],
"text/plain": [
- "\"if(window['d3'] === undefined ||\\n window['Nyaplot'] === undefined){\\n var path = {\\\"d3\\\":\\\"http://d3js.org/d3.v3.min\\\",\\\"downloadable\\\":\\\"http://cdn.rawgit.com/domitry/d3-downloadable/master/d3-downloadable\\\"};\\n\\n\\n\\n var shim = {\\\"d3\\\":{\\\"exports\\\":\\\"d3\\\"},\\\"downloadable\\\":{\\\"exports\\\":\\\"downloadable\\\"}};\\n\\n require.config({paths: path, shim:shim});\\n\\n\\nrequire(['d3'], function(d3){window['d3']=d3;console.log('finished loading d3');require(['downloadable'], function(downloadable){window['downloadable']=downloadable;console.log('finished loading downloadable');\\n\\n\\tvar script = d3.select(\\\"head\\\")\\n\\t .append(\\\"script\\\")\\n\\t .attr(\\\"src\\\", \\\"http://cdn.rawgit.com/domitry/Nyaplotjs/master/release/nyaplot.js\\\")\\n\\t .attr(\\\"async\\\", true);\\n\\n\\tscript[0][0].onload = script[0][0].onreadystatechange = function(){\\n\\n\\n\\t var event = document.createEvent(\\\"HTMLEvents\\\");\\n\\t event.initEvent(\\\"load_nyaplot\\\",false,false);\\n\\t window.dispatchEvent(event);\\n\\t console.log('Finished loading Nyaplotjs');\\n\\n\\t};\\n\\n\\n});});\\n}\\n\""
+ "\"if(window['d3'] === undefined ||\\n window['Nyaplot'] === undefined){\\n var path = {\\\"d3\\\":\\\"https://d3js.org/d3.v3.min\\\",\\\"downloadable\\\":\\\"https://cdn.rawgit.com/domitry/d3-downloadable/master/d3-downloadable\\\"};\\n\\n\\n\\n var shim = {\\\"d3\\\":{\\\"exports\\\":\\\"d3\\\"},\\\"downloadable\\\":{\\\"exports\\\":\\\"downloadable\\\"}};\\n\\n require.config({paths: path, shim:shim});\\n\\n\\nrequire(['d3'], function(d3){window['d3']=d3;console.log('finished loading d3');require(['downloadable'], function(downloadable){window['downloadable']=downloadable;console.log('finished loading downloadable');\\n\\n\\tvar script = d3.select(\\\"head\\\")\\n\\t .append(\\\"script\\\")\\n\\t .attr(\\\"src\\\", \\\"https://cdn.rawgit.com/domitry/Nyaplotjs/master/release/nyaplot.js\\\")\\n\\t .attr(\\\"async\\\", true);\\n\\n\\tscript[0][0].onload = script[0][0].onreadystatechange = function(){\\n\\n\\n\\t var event = document.createEvent(\\\"HTMLEvents\\\");\\n\\t event.initEvent(\\\"load_nyaplot\\\",false,false);\\n\\t window.dispatchEvent(event);\\n\\t console.log('Finished loading Nyaplotjs');\\n\\n\\t};\\n\\n\\n});});\\n}\\n\""
]
},
"execution_count": 1,
diff --git a/examples/notebook/Introduction.ipynb b/examples/notebook/Introduction.ipynb
index b3d42ce..1fe3080 100644
--- a/examples/notebook/Introduction.ipynb
+++ b/examples/notebook/Introduction.ipynb
@@ -26,7 +26,7 @@
"text/html": [
""
],
"text/plain": [
- "\"if(window['d3'] === undefined ||\\n window['Nyaplot'] === undefined){\\n var path = {\\\"d3\\\":\\\"http://d3js.org/d3.v3.min\\\",\\\"downloadable\\\":\\\"http://cdn.rawgit.com/domitry/d3-downloadable/master/d3-downloadable\\\"};\\n\\n\\n\\n var shim = {\\\"d3\\\":{\\\"exports\\\":\\\"d3\\\"},\\\"downloadable\\\":{\\\"exports\\\":\\\"downloadable\\\"}};\\n\\n require.config({paths: path, shim:shim});\\n\\n\\nrequire(['d3'], function(d3){window['d3']=d3;console.log('finished loading d3');require(['downloadable'], function(downloadable){window['downloadable']=downloadable;console.log('finished loading downloadable');\\n\\n\\tvar script = d3.select(\\\"head\\\")\\n\\t .append(\\\"script\\\")\\n\\t .attr(\\\"src\\\", \\\"http://cdn.rawgit.com/domitry/Nyaplotjs/master/release/nyaplot.js\\\")\\n\\t .attr(\\\"async\\\", true);\\n\\n\\tscript[0][0].onload = script[0][0].onreadystatechange = function(){\\n\\n\\n\\t var event = document.createEvent(\\\"HTMLEvents\\\");\\n\\t event.initEvent(\\\"load_nyaplot\\\",false,false);\\n\\t window.dispatchEvent(event);\\n\\t console.log('Finished loading Nyaplotjs');\\n\\n\\t};\\n\\n\\n});});\\n}\\n\""
+ "\"if(window['d3'] === undefined ||\\n window['Nyaplot'] === undefined){\\n var path = {\\\"d3\\\":\\\"https://d3js.org/d3.v3.min\\\",\\\"downloadable\\\":\\\"https://cdn.rawgit.com/domitry/d3-downloadable/master/d3-downloadable\\\"};\\n\\n\\n\\n var shim = {\\\"d3\\\":{\\\"exports\\\":\\\"d3\\\"},\\\"downloadable\\\":{\\\"exports\\\":\\\"downloadable\\\"}};\\n\\n require.config({paths: path, shim:shim});\\n\\n\\nrequire(['d3'], function(d3){window['d3']=d3;console.log('finished loading d3');require(['downloadable'], function(downloadable){window['downloadable']=downloadable;console.log('finished loading downloadable');\\n\\n\\tvar script = d3.select(\\\"head\\\")\\n\\t .append(\\\"script\\\")\\n\\t .attr(\\\"src\\\", \\\"https://cdn.rawgit.com/domitry/Nyaplotjs/master/release/nyaplot.js\\\")\\n\\t .attr(\\\"async\\\", true);\\n\\n\\tscript[0][0].onload = script[0][0].onreadystatechange = function(){\\n\\n\\n\\t var event = document.createEvent(\\\"HTMLEvents\\\");\\n\\t event.initEvent(\\\"load_nyaplot\\\",false,false);\\n\\t window.dispatchEvent(event);\\n\\t console.log('Finished loading Nyaplotjs');\\n\\n\\t};\\n\\n\\n});});\\n}\\n\""
]
},
"execution_count": 1,
diff --git a/examples/notebook/Mapnya2.ipynb b/examples/notebook/Mapnya2.ipynb
index c85d8a8..0e60b56 100644
--- a/examples/notebook/Mapnya2.ipynb
+++ b/examples/notebook/Mapnya2.ipynb
@@ -23,7 +23,7 @@
"html": [
"
+
diff --git a/lib/bionya/js/release/bionya.js b/lib/bionya/js/release/bionya.js
index 5ef02b1..625006d 100644
--- a/lib/bionya/js/release/bionya.js
+++ b/lib/bionya/js/release/bionya.js
@@ -7,7 +7,7 @@
/**
* @license almond 0.2.9 Copyright (c) 2011-2014, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
- * see: http://github.com/jrburke/almond for details
+ * see: https://github.com/jrburke/almond for details
*/
//Going sloppy to avoid 'use strict' string cost, but strict practices should
//be followed.
@@ -380,7 +380,7 @@ var requirejs, require, define;
} else {
//Using a non-zero value because of concern for what old browsers
//do, and latest browsers "upgrade" to 4 if lower value is used:
- //http://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html#dom-windowtimers-settimeout:
+ //https://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html#dom-windowtimers-settimeout:
//If want a value immediately, use require('id') instead -- something
//that works in almond on the global level, but not guaranteed and
//unlikely to work in other AMD implementations.
diff --git a/lib/bionya/js/release/bionya.min.js b/lib/bionya/js/release/bionya.min.js
index a9be166..5b04252 100644
--- a/lib/bionya/js/release/bionya.min.js
+++ b/lib/bionya/js/release/bionya.min.js
@@ -1,7 +1,7 @@
/**
* @license almond 0.2.9 Copyright (c) 2011-2014, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
- * see: http://github.com/jrburke/almond for details
+ * see: https://github.com/jrburke/almond for details
*/
!function(t,e){var n=e();"undefined"!=typeof define&&define.amd&&define(n),t.Bionya=n}(this,function(){var t,e,n;return function(r){function a(t,e){return v.call(t,e)}function i(t,e){var n,r,a,i,o,s,l,u,c,p,d,f=e&&e.split("/"),h=_.map,g=h&&h["*"]||{};if(t&&"."===t.charAt(0))if(e){for(f=f.slice(0,f.length-1),t=t.split("/"),o=t.length-1,_.nodeIdCompat&&k.test(t[o])&&(t[o]=t[o].replace(k,"")),t=f.concat(t),c=0;c0&&(t.splice(c-1,2),c-=2)}t=t.join("/")}else 0===t.indexOf("./")&&(t=t.substring(2));if((f||g)&&h){for(n=t.split("/"),c=n.length;c>0;c-=1){if(r=n.slice(0,c).join("/"),f)for(p=f.length;p>0;p-=1)if(a=h[f.slice(0,p).join("/")],a&&(a=a[r])){i=a,s=c;break}if(i)break;!l&&g&&g[r]&&(l=g[r],u=c)}!i&&l&&(i=l,s=u),i&&(n.splice(0,s,i),t=n.join("/"))}return t}function o(t,e){return function(){return f.apply(r,b.call(arguments,0).concat([t,e]))}}function s(t){return function(e){return i(e,t)}}function l(t){return function(e){x[t]=e}}function u(t){if(a(m,t)){var e=m[t];delete m[t],y[t]=!0,d.apply(r,e)}if(!a(x,t)&&!a(y,t))throw new Error("No "+t);return x[t]}function c(t){var e,n=t?t.indexOf("!"):-1;return n>-1&&(e=t.substring(0,n),t=t.substring(n+1,t.length)),[e,t]}function p(t){return function(){return _&&_.config&&_.config[t]||{}}}var d,f,h,g,x={},m={},_={},y={},v=Object.prototype.hasOwnProperty,b=[].slice,k=/\.js$/;h=function(t,e){var n,r=c(t),a=r[0];return t=r[1],a&&(a=i(a,e),n=u(a)),a?t=n&&n.normalize?n.normalize(t,s(e)):i(t,e):(t=i(t,e),r=c(t),a=r[0],t=r[1],a&&(n=u(a))),{f:a?a+"!"+t:t,n:t,pr:a,p:n}},g={require:function(t){return o(t)},exports:function(t){var e=x[t];return"undefined"!=typeof e?e:x[t]={}},module:function(t){return{id:t,uri:"",exports:x[t],config:p(t)}}},d=function(t,e,n,i){var s,c,p,d,f,_,v=[],b=typeof n;if(i=i||t,"undefined"===b||"function"===b){for(e=!e.length&&n.length?["require","exports","module"]:e,f=0;f=0?this.outer_thickness:this.inner_thickness},e.prototype.getCenter=function(){return this.center},e.prototype.getRange=function(t){var e,n;return t>0?(e=this.outer_radius+this.outer_thickness*(t-1),n=e+this.outer_thickness):(n=this.inner_radius,e=n-this.inner_thickness),[e,n]},e.prototype.get=function(t,e,n){var r,a;return r=t>0?this.outer_radius+this.outer_thickness*t:this.inner_radius-this.inner_thickness*t*-1,a=this.scales[e](n),{x:r*Math.sin(a),y:-r*Math.cos(a),r:r,theta:a}},e}),n("components/axis",["tools"],function(t){function e(e,n,r){var a=t._,i=t.Manager,o={width:0,height:0,margin:{top:0,bottom:0,left:0,right:0},x_label:"X",y_label:"Y",zoom:!0,zoom_range:[.5,5],rotate_x_label:0,rotate_y_label:0,pane_uuid:null,z_index:0,extra:{}},s={df_id:null,inner_radius:150,outer_radius:170,group_by:null,fill_by:null,axis:null,chord:!1,matrix:null,padding:.05,inner_num:0,outer_num:1,color:["#253494"],text_color:"#fff",text_size:"1em"};arguments.length>2&&(a.extend(o,r),a.extend(s,r.extra),o.extra=s);var l=i.getData(o.extra.df_id),u=l.column(o.extra.group_by),c={},p=o.extra.chord?o.extra.matrix:[],d=function(){if(o.extra.fill_by){var t=l.scale(o.extra.fill_by,o.extra.color),e=a.zip.apply(null,a.map(l.column(o.extra.fill_by),function(e,n){return[n,t(e)]}));return d3.scale.ordinal().domain(e[0]).range(e[1])}return d3.scale.ordinal().range(o.extra.color)}();a.each(u,function(t,e){var n=l.nested_column(e,o.extra.axis);if(c[t]=n,null==o.extra.matrix){p[e]=[];for(var r=0;r3&&n.extend(o,i),this.height_scale=function(){var t=e.getHeight(o.layer);return d3.scale.linear().domain(o.range).range([0,t])}(),this.inner_radius=e.getRange(o.layer)[0],this.model=function(){var n=e.getCenter();return t.append("g").attr("transform","translate("+n.x+","+n.y+")")}(),this.scales=e,this.df=r.getData(a),this.color_scale=d3.scale.ordinal().range(o.color),this.uuid=o.uuid,this.options=o,this}var n=t._,r=t.Manager;return e.prototype.update=function(){var t=this.scales.groups(),e=this;this.options.axis&&!function(){var t=e.height_scale.ticks(5);t.reverse().pop();var n=e.model.append("g").selectAll("g").data(t).enter().append("g");n.append("circle").attr("fill","none").attr("stroke","#000").attr("r",function(t){return e.inner_radius+e.height_scale(t)}),n.append("text").attr("y",function(t){return-1*(e.inner_radius+e.height_scale(t)+4)}).text(function(t){return t})}(),n.each(t,function(t,r){var a=e.df.nested_column(r,e.options.x),i=e.df.nested_column(r,e.options.y),o=function(){var t=e.options.color;if(e.options.fill_by){var r=e.options.fill_by,a=e.df.scale(r,t),i=n.zip.apply(null,n.map(e.df.column(r),function(t,e){return[e,a(t)]}));return d3.scale.ordinal().domain(i[0]).range(i[1])}return d3.scale.ordinal().range(t)}(),s=e.processData(t,a,i,o);e.updateModels(s)})},e.prototype.processData=function(t,e,r,a){var i=this;return n.map(e,function(e,n){var o=i.scales.get(i.options.layer,t,e);return o.height=i.height_scale(r[n]),o.fill=a(n),o})},e.prototype.updateModels=function(t){var e=this.height_scale(0),n=this.inner_radius,r=this.scales.getWidth()*this.options.width;this.model.append("g").selectAll("path").data(t).enter().append("path").attr("d",d3.svg.arc().startAngle(function(t){return t.theta-r/2}).endAngle(function(t){return t.theta+r/2}).innerRadius(n+e).outerRadius(function(t){return n+t.height})).attr("stroke",function(t){return t.fill}).attr("fill",function(t){return t.fill})},e.prototype.getLegend=function(){},e.prototype.checkSelectedData=function(){},e}),n("diagrams/connector",["tools"],function(t){function e(t,e,a,i){var o={color:"#737373",fill_by:null,from:null,to:null,shape:"circle",stroke_width:2,size:100,shape_fill:"#fff",shape_stroke:"#3182bd",shape_stroke_width:2,arc_height:30,layer:0};arguments.length>3&&n.extend(o,i),this.model=function(){var n=e.getCenter();return t.append("g").attr("transform","translate("+n.x+","+n.y+")")}(),this.scales=e,this.df=r.getData(a),this.uuid=o.uuid,this.options=o}var n=t._,r=t.Manager;return e.prototype.update=function(){var t=this.df.column(this.options.from),e=this.df.column(this.options.to),n=this.processData(t,e);this.updateModels(n)},e.prototype.processData=function(t,e){var r=this.scales,a=this.options.layer,i=this.options.arc_height;return n.map(n.zip(t,e),function(t){var e=n.map(t,function(t){var e=t.split(/(.+)\.(.+)/),n=e[1],i=e[2],o=r.get(a,n,i);return{x:o.x,y:o.y}}),o=function(){var t=n.map(["x","y"],function(t){return(e[0][t]+e[1][t])/2}),r=Math.sqrt(t[0]*t[0]+t[1]*t[1]),a=n.map(t,function(t){return t/r});return{x:a[0]*(r-i),y:a[1]*(r-i)}}();return[e[0],o,e[1]]})},e.prototype.updateModels=function(t){var e=(this.scales,this.layer,this.options),r=this.model.selectAll("g").data(t).enter().append("g");r.append("path").attr("d",d3.svg.line().tension(.2).x(function(t){return t.x}).y(function(t){return t.y}).interpolate("cardinal")).attr("fill","none").attr("stroke",e.color).attr("stroke-width",e.stroke_width),r.append("g").selectAll("path").data(n.filter(n.flatten(t),function(t,e){return e%3!=1})).enter().append("path").attr("d",d3.svg.symbol().type(e.shape).size(e.size)).attr("fill",e.shape_fill).attr("stroke",e.shape_stroke).attr("stroke-width",e.shape_stroke_width).attr("transform",function(t){return"translate("+t.x+","+t.y+")"})},e.prototype.getLegend=function(){},e.prototype.checkSelectedData=function(){},e}),n("diagrams/labels",["tools"],function(t){function e(t,e,a,i){var o={color:"#000",fill_by:null,x:null,text:null,stroke_width:4,text_size:"1em",layer:1};arguments.length>3&&n.extend(o,i),this.model=function(){var n=e.getCenter();return t.append("g").attr("transform","translate("+n.x+","+n.y+")")}(),this.scales=e,this.df=r.getData(a),this.uuid=o.uuid,this.options=o}var n=t._,r=t.Manager;return e.prototype.update=function(){var t=this.scales.groups(),e=this;n.each(t,function(t,n){var r=e.df.nested_column(n,e.options.x),a=e.df.nested_column(n,e.options.text),i=e.processData(t,r,a);e.updateModels(i)})},e.prototype.processData=function(t,e,r){var a=this.scales,i=this.options.layer;return n.filter(n.map(n.zip(e,r),function(e){return{theta:a.get(i,t,e[0]).theta,text:e[1]}}),function(t){return null!=t.text&&t.text.length>0})},e.prototype.updateModels=function(t){var e=this.scales,n=this.options.layer,r=this.options,a=e.getRange(n)[0],i=this.model.append("g").selectAll("g").data(t).enter().append("g").attr("transform",function(t){return"rotate("+180*((t.theta-Math.PI/2)/Math.PI)+")"});i.append("text").text(function(t){return t.text}).attr("text-anchor","start").attr("dominant-baseline","middle").attr("fill",r.color).attr("x",a+10).attr("y",0).attr("font-size",r.text_size),i.append("line").attr("x1",a).attr("x2",a+5).attr("y1",0).attr("y2",0).attr("stroke","#000")},e.prototype.getLegend=function(){},e.prototype.checkSelectedData=function(){},e}),n("main",["require","exports","module","components/scale","components/axis","diagrams/arc","diagrams/connector","diagrams/labels"],function(t){var e={};return e.Nya={scale:t("components/scale"),axis:t("components/axis"),diagrams:{arc:t("diagrams/arc"),connector:t("diagrams/connector"),labels:t("diagrams/labels")}},e}),e("main")});
\ No newline at end of file
diff --git a/lib/bionya/js/src/contrib/almond/README.md b/lib/bionya/js/src/contrib/almond/README.md
index bcf4716..65e4a92 100644
--- a/lib/bionya/js/src/contrib/almond/README.md
+++ b/lib/bionya/js/src/contrib/almond/README.md
@@ -1,8 +1,8 @@
#almond
A replacement [AMD](https://github.com/amdjs/amdjs-api/wiki/AMD) loader for
-[RequireJS](http://requirejs.org). It is a smaller "shim" loader, providing the
-minimal AMD API footprint that includes [loader plugin](http://requirejs.org/docs/plugins.html) support.
+[RequireJS](https://requirejs.org). It is a smaller "shim" loader, providing the
+minimal AMD API footprint that includes [loader plugin](https://requirejs.org/docs/plugins.html) support.
## Why
@@ -14,10 +14,10 @@ By including almond in the built file, there is no need for RequireJS.
almond is around **1 kilobyte** when minified with Closure Compiler and gzipped.
Since it can support certain types of loader plugin-optimized resources, it is a great
-fit for a library that wants to use [text templates](http://requirejs.org/docs/api.html#text)
+fit for a library that wants to use [text templates](https://requirejs.org/docs/api.html#text)
or [CoffeeScript](https://github.com/jrburke/require-cs) as part of
their project, but get a tiny download in one file after using the
-[RequireJS Optimizer](http://requirejs.org/docs/optimization.html).
+[RequireJS Optimizer](https://requirejs.org/docs/optimization.html).
If you are building a library, the wrap=true support in the RequireJS optimizer
will wrap the optimized file in a closure, so the define/require AMD API does not
@@ -34,10 +34,10 @@ It is best used for libraries or apps that use AMD and:
* optimize all the modules into one file -- no dynamic code loading.
* all modules have IDs and dependency arrays in their define() calls -- the RequireJS optimizer will take care of this for you.
* only have **one** requirejs.config() or require.config() call.
-* do not use the `var require = {};` style of [passing config](http://requirejs.org/docs/api.html#config).
-* do not use [RequireJS multiversion support/contexts](http://requirejs.org/docs/api.html#multiversion).
+* do not use the `var require = {};` style of [passing config](https://requirejs.org/docs/api.html#config).
+* do not use [RequireJS multiversion support/contexts](https://requirejs.org/docs/api.html#multiversion).
* do not use require.toUrl() or require.nameToUrl().
-* do not use [packages/packagePaths config](http://requirejs.org/docs/api.html#packages). If you need to use packages that have a main property, [volo](https://github.com/volojs/volo) can create an adapter module so that it can work without this config. Use the `amdify add` command to add the dependency to your project.
+* do not use [packages/packagePaths config](https://requirejs.org/docs/api.html#packages). If you need to use packages that have a main property, [volo](https://github.com/volojs/volo) can create an adapter module so that it can work without this config. Use the `amdify add` command to add the dependency to your project.
What is supported:
@@ -46,7 +46,7 @@ What is supported:
* define(), require() and requirejs() calls.
* loader plugins that can inline their resources into optimized files, and
can access those inlined resources synchronously after the optimization pass.
-The [text](http://requirejs.org/docs/api.html#text) and
+The [text](https://requirejs.org/docs/api.html#text) and
[CoffeeScript](https://github.com/jrburke/require-cs) plugins are two such plugins.
@@ -57,16 +57,16 @@ The [text](http://requirejs.org/docs/api.html#text) and
## Usage
-[Download the RequireJS optimizer](http://requirejs.org/docs/download.html#rjs).
+[Download the RequireJS optimizer](https://requirejs.org/docs/download.html#rjs).
[Download the current release of almond.js](https://github.com/jrburke/almond/raw/latest/almond.js).
-Run the optimizer using [Node](http://nodejs.org) (also [works in Java](https://github.com/jrburke/r.js/blob/master/README.md)):
+Run the optimizer using [Node](https://nodejs.org) (also [works in Java](https://github.com/jrburke/r.js/blob/master/README.md)):
node r.js -o baseUrl=. name=path/to/almond include=main out=main-built.js wrap=true
This assumes your project's top-level script file is called main.js and the command
-above is run from the directory containing main.js. If you prefer to use a build.js build profile instead of command line arguments, [this RequireJS optimization section](http://requirejs.org/docs/optimization.html#pitfalls) has info on how to do that.
+above is run from the directory containing main.js. If you prefer to use a build.js build profile instead of command line arguments, [this RequireJS optimization section](https://requirejs.org/docs/optimization.html#pitfalls) has info on how to do that.
wrap=true will add this wrapper around the main-built.js contents (which will be minified by UglifyJS:
@@ -217,5 +217,5 @@ modules from the network.
## Contributing
Almond follows the
-[same contribution model as requirejs](http://requirejs.org/docs/contributing.html)
+[same contribution model as requirejs](https://requirejs.org/docs/contributing.html)
and is considered a sub-project of requirejs.
\ No newline at end of file
diff --git a/lib/bionya/js/src/contrib/almond/almond.js b/lib/bionya/js/src/contrib/almond/almond.js
index c1cd946..af76b6a 100644
--- a/lib/bionya/js/src/contrib/almond/almond.js
+++ b/lib/bionya/js/src/contrib/almond/almond.js
@@ -1,7 +1,7 @@
/**
* @license almond 0.2.9 Copyright (c) 2011-2014, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
- * see: http://github.com/jrburke/almond for details
+ * see: https://github.com/jrburke/almond for details
*/
//Going sloppy to avoid 'use strict' string cost, but strict practices should
//be followed.
@@ -374,7 +374,7 @@ var requirejs, require, define;
} else {
//Using a non-zero value because of concern for what old browsers
//do, and latest browsers "upgrade" to 4 if lower value is used:
- //http://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html#dom-windowtimers-settimeout:
+ //https://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html#dom-windowtimers-settimeout:
//If want a value immediately, use require('id') instead -- something
//that works in almond on the global level, but not guaranteed and
//unlikely to work in other AMD implementations.
diff --git a/lib/bionya/js/src/contrib/almond/package.json b/lib/bionya/js/src/contrib/almond/package.json
index 68b91e2..1bd39dd 100644
--- a/lib/bionya/js/src/contrib/almond/package.json
+++ b/lib/bionya/js/src/contrib/almond/package.json
@@ -2,8 +2,8 @@
"name": "almond",
"description": "A minimal AMD API implementation for use in optimized browser builds.",
"version": "0.2.9",
- "homepage": "http://github.com/jrburke/almond",
- "author": "James Burke (http://github.com/jrburke)",
+ "homepage": "https://github.com/jrburke/almond",
+ "author": "James Burke (https://github.com/jrburke)",
"repository": {
"type": "git",
"url": "git://github.com/jrburke/almond.git"
diff --git a/lib/mapnya/README.md b/lib/mapnya/README.md
index a1245ce..8534b62 100644
--- a/lib/mapnya/README.md
+++ b/lib/mapnya/README.md
@@ -5,8 +5,8 @@ Nyaplot extension library for map visualization

## Demo
-+ [Notebook1](http://nbviewer.ipython.org/github/domitry/nyaplot/blob/master/examples/notebook/Mapnya.ipynb)
-+ [Notebook2](http://nbviewer.ipython.org/github/domitry/nyaplot/blob/master/examples/notebook/Mapnya2.ipynb)
++ [Notebook1](https://nbviewer.ipython.org/github/domitry/nyaplot/blob/master/examples/notebook/Mapnya.ipynb)
++ [Notebook2](https://nbviewer.ipython.org/github/domitry/nyaplot/blob/master/examples/notebook/Mapnya2.ipynb)
## License
* datasets/geo-boundaries-world-110m -- the Open Data Commons Public Domain Dedication and License
diff --git a/lib/mapnya/core.rb b/lib/mapnya/core.rb
index f146f9d..2858ba8 100644
--- a/lib/mapnya/core.rb
+++ b/lib/mapnya/core.rb
@@ -1,5 +1,5 @@
module Nyaplot
add_extension("Mapnya")
- add_additional_library("Mapnya","http://cdn.rawgit.com/domitry/nyaplot/master/lib/mapnya/js/release/mapnya")
+ add_additional_library("Mapnya","https://cdn.rawgit.com/domitry/nyaplot/master/lib/mapnya/js/release/mapnya")
init_iruby if defined? IRuby
end
diff --git a/lib/mapnya/countries.rb b/lib/mapnya/countries.rb
index 653f94d..54ff377 100644
--- a/lib/mapnya/countries.rb
+++ b/lib/mapnya/countries.rb
@@ -1,7 +1,7 @@
module Nyaplot
# The wrapper for countries
# @see https://github.com/mledoze/countries
- # @see http://nbviewer.ipython.org/github/domitry/Nyaplot/blob/master/examples/notebook/Mapnya.ipynb
+ # @see https://nbviewer.ipython.org/github/domitry/Nyaplot/blob/master/examples/notebook/Mapnya.ipynb
class Countries
class << self
path = File.expand_path("../datasets/countries/countries.json", __FILE__)
diff --git a/lib/mapnya/datasets/countries/LICENSE b/lib/mapnya/datasets/countries/LICENSE
index 943b40a..8ef95d0 100644
--- a/lib/mapnya/datasets/countries/LICENSE
+++ b/lib/mapnya/datasets/countries/LICENSE
@@ -1,5 +1,5 @@
This dataset is made available under the Open Database License:
-http://opendatacommons.org/licenses/odbl/1.0/
+https://opendatacommons.org/licenses/odbl/1.0/
Any rights in individual contents of the database are licensed under the Database Contents License:
-http://opendatacommons.org/licenses/dbcl/1.0/
+https://opendatacommons.org/licenses/dbcl/1.0/
diff --git a/lib/mapnya/datasets/countries/README.md b/lib/mapnya/datasets/countries/README.md
index d3aff40..e1a3bbc 100644
--- a/lib/mapnya/datasets/countries/README.md
+++ b/lib/mapnya/datasets/countries/README.md
@@ -125,16 +125,16 @@ See an example for [Germany](https://github.com/mledoze/countries/blob/bb61a1cdd
#### About the relevance factor
To understand the usefulness of the relevance parameter, please read this:
-- http://uxdesign.smashingmagazine.com/2011/11/10/redesigning-the-country-selector/
-- http://baymard.com/labs/country-selector
+- https://uxdesign.smashingmagazine.com/2011/11/10/redesigning-the-country-selector/
+- https://baymard.com/labs/country-selector
## Showcase
Projects using this dataset:
-- [REST Countries](http://restcountries.eu/)
-- [International Telephone Input](http://jackocnr.com/intl-tel-input.html)
+- [REST Countries](https://restcountries.eu/)
+- [International Telephone Input](https://jackocnr.com/intl-tel-input.html)
- [Country Prefix Codes For Go](https://github.com/relops/prefixes)
-- [Ask the NSA](http://askthensa.com/)
+- [Ask the NSA](https://askthensa.com/)
## How to contribute?
Please refer to [CONTRIBUTING](https://github.com/mledoze/countries/blob/master/CONTRIBUTING.md).
@@ -145,13 +145,13 @@ Please refer to [CONTRIBUTING](https://github.com/mledoze/countries/blob/master/
- add missing translations
## Sources
-http://www.currency-iso.org/ for currency codes.
+https://www.currency-iso.org/ for currency codes.
Relevance are inspired by https://github.com/JamieAppleseed/selectToAutocomplete.
Region and subregion are taken from https://github.com/hexorx/countries.
-GeoJSON outlines come from http://thematicmapping.org/downloads/world_borders.php.
+GeoJSON outlines come from https://thematicmapping.org/downloads/world_borders.php.
The rest comes from Wikipedia.
diff --git a/lib/mapnya/datasets/countries/data/abw.svg b/lib/mapnya/datasets/countries/data/abw.svg
index ac8440a..b57e706 100644
--- a/lib/mapnya/datasets/countries/data/abw.svg
+++ b/lib/mapnya/datasets/countries/data/abw.svg
@@ -1,11 +1,11 @@
-
-