gravaty 9.0.1 → 10.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +10 -0
  3. data/Gemfile +1 -1
  4. data/ISSUES.md +2 -2
  5. data/README.md +119 -105
  6. data/Rakefile +1 -1
  7. data/acknowledgements.md +2 -2
  8. data/authors.md +2 -2
  9. data/copyright.md +4 -4
  10. data/examples/avatar.rb +1 -1
  11. data/examples/basics.rb +1 -1
  12. data/examples/cacert.pem +142 -77
  13. data/examples/profile.rb +1 -1
  14. data/examples/xmlrpc.rb +3 -3
  15. data/gravaty.gemspec +9 -9
  16. data/html/CHANGELOG.html +19 -6
  17. data/html/COPYING_md.html +7 -6
  18. data/html/Gemfile.html +8 -7
  19. data/html/Gravaty.html +12 -12
  20. data/html/Gravaty/Gravaty.html +121 -121
  21. data/html/Gravaty/ParsableDuckType.html +8 -5
  22. data/html/Gravaty/Parser.html +21 -21
  23. data/html/Gravaty/Parsers.html +7 -4
  24. data/html/Gravaty/Parsers/Avatar.html +12 -12
  25. data/html/Gravaty/Parsers/Callback.html +13 -13
  26. data/html/Gravaty/Parsers/Default.html +21 -21
  27. data/html/Gravaty/Parsers/Force.html +13 -13
  28. data/html/Gravaty/Parsers/Format.html +13 -13
  29. data/html/Gravaty/Parsers/Pixelsize.html +13 -13
  30. data/html/Gravaty/Parsers/Rating.html +13 -13
  31. data/html/Gravaty/Parsers/Secure.html +12 -12
  32. data/html/Gravaty/Parsers/Type.html +13 -13
  33. data/html/Gravaty/Utils.html +9 -9
  34. data/html/Gravaty/Utils/Downloader.html +7 -4
  35. data/html/Gravaty/Utils/Downloader/Downloader.html +7 -4
  36. data/html/Gravaty/Utils/Raisers.html +21 -21
  37. data/html/Gravaty/Utils/Rfc5322.html +7 -4
  38. data/html/Gravaty/Utils/RpcConnector.html +9 -9
  39. data/html/Gravaty/Utils/RpcConnector/RpcConnector.html +29 -26
  40. data/html/ISSUES_md.html +9 -8
  41. data/html/Object.html +17 -4
  42. data/html/README_md.html +18 -18
  43. data/html/Rakefile.html +9 -8
  44. data/html/acknowledgements_md.html +9 -8
  45. data/html/authors_md.html +9 -8
  46. data/html/copyright_md.html +226 -202
  47. data/html/created.rid +55 -56
  48. data/html/css/rdoc.css +35 -6
  49. data/html/examples/cacert_pem.html +47 -25
  50. data/html/index.html +18 -18
  51. data/html/js/darkfish.js +22 -99
  52. data/html/js/navigation.js +4 -40
  53. data/html/js/navigation.js.gz +0 -0
  54. data/html/js/search.js +32 -31
  55. data/html/js/search_index.js +1 -1
  56. data/html/js/search_index.js.gz +0 -0
  57. data/html/js/searcher.js +6 -6
  58. data/html/js/searcher.js.gz +0 -0
  59. data/html/table_of_contents.html +16 -10
  60. data/lib/gravaty.rb +4 -3
  61. data/lib/gravaty/application.rb +4 -5
  62. data/lib/gravaty/constants.rb +1 -1
  63. data/lib/gravaty/locales/en.yml +1 -1
  64. data/lib/gravaty/locales/it.yml +1 -1
  65. data/lib/gravaty/locales/ja.yml +1 -1
  66. data/lib/gravaty/parser.rb +2 -3
  67. data/lib/gravaty/parsers/avatar.rb +2 -3
  68. data/lib/gravaty/parsers/callback.rb +2 -3
  69. data/lib/gravaty/parsers/default.rb +4 -5
  70. data/lib/gravaty/parsers/force.rb +2 -3
  71. data/lib/gravaty/parsers/format.rb +2 -3
  72. data/lib/gravaty/parsers/pixelsize.rb +2 -3
  73. data/lib/gravaty/parsers/rating.rb +2 -3
  74. data/lib/gravaty/parsers/secure.rb +2 -3
  75. data/lib/gravaty/parsers/type.rb +2 -3
  76. data/lib/gravaty/utils/downloader.rb +4 -4
  77. data/lib/gravaty/utils/raisers.rb +3 -5
  78. data/lib/gravaty/utils/rfc5322.rb +1 -1
  79. data/lib/gravaty/utils/rpc_connector.rb +2 -3
  80. data/lib/gravaty/version.rb +2 -2
  81. data/test/gravaty/locales/test_locales.rb +11 -11
  82. data/test/gravaty/parsers/test_avatar.rb +3 -3
  83. data/test/gravaty/parsers/test_callback.rb +3 -3
  84. data/test/gravaty/parsers/test_default.rb +10 -10
  85. data/test/gravaty/parsers/test_force.rb +3 -3
  86. data/test/gravaty/parsers/test_format.rb +6 -6
  87. data/test/gravaty/parsers/test_pixelsize.rb +7 -7
  88. data/test/gravaty/parsers/test_rating.rb +6 -6
  89. data/test/gravaty/parsers/test_secure.rb +3 -3
  90. data/test/gravaty/parsers/test_type.rb +3 -3
  91. data/test/gravaty/test_application.rb +22 -38
  92. data/test/gravaty/test_avatar.rb +15 -29
  93. data/test/gravaty/test_parser.rb +5 -5
  94. data/test/gravaty/test_profile.rb +11 -15
  95. data/test/gravaty/utils/test_downloader.rb +38 -14
  96. data/test/gravaty/utils/test_raisers.rb +5 -6
  97. data/test/gravaty/utils/test_rfc5322.rb +4 -4
  98. data/test/gravaty/utils/test_rpc_connector.rb +10 -13
  99. data/test/test_gravaty.rb +5 -9
  100. data/test/test_helper.rb +1 -1
  101. metadata +26 -28
  102. data/html/gravaty_gemspec.html +0 -169
  103. data/html/js/jquery.js +0 -4
@@ -8,6 +8,7 @@
8
8
  */
9
9
 
10
10
  /* Provide console simulation for firebug-less environments */
11
+ /*
11
12
  if (!("console" in window) || !("firebug" in console)) {
12
13
  var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml",
13
14
  "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
@@ -16,41 +17,35 @@ if (!("console" in window) || !("firebug" in console)) {
16
17
  for (var i = 0; i < names.length; ++i)
17
18
  window.console[names[i]] = function() {};
18
19
  };
19
-
20
-
21
- /**
22
- * Unwrap the first element that matches the given @expr@ from the targets and return them.
23
- */
24
- $.fn.unwrap = function( expr ) {
25
- return this.each( function() {
26
- $(this).parents( expr ).eq( 0 ).after( this ).remove();
27
- });
28
- };
20
+ */
29
21
 
30
22
 
31
23
  function showSource( e ) {
32
24
  var target = e.target;
33
- var codeSections = $(target).
34
- parents('.method-detail').
35
- find('.method-source-code');
36
-
37
- $(target).
38
- parents('.method-detail').
39
- find('.method-source-code').
40
- slideToggle();
25
+ while (!target.classList.contains('method-detail')) {
26
+ target = target.parentNode;
27
+ }
28
+ if (typeof target !== "undefined" && target !== null) {
29
+ target = target.querySelector('.method-source-code');
30
+ }
31
+ if (typeof target !== "undefined" && target !== null) {
32
+ target.classList.toggle('active-menu')
33
+ }
41
34
  };
42
35
 
43
36
  function hookSourceViews() {
44
- $('.method-heading').click( showSource );
37
+ document.querySelectorAll('.method-heading').forEach(function (codeObject) {
38
+ codeObject.addEventListener('click', showSource);
39
+ });
45
40
  };
46
41
 
47
42
  function hookSearch() {
48
- var input = $('#search-field').eq(0);
49
- var result = $('#search-results').eq(0);
50
- $(result).show();
43
+ var input = document.querySelector('#search-field');
44
+ var result = document.querySelector('#search-results');
45
+ result.classList.remove("initially-hidden");
51
46
 
52
- var search_section = $('#search-section').get(0);
53
- $(search_section).show();
47
+ var search_section = document.querySelector('#search-section');
48
+ search_section.classList.remove("initially-hidden");
54
49
 
55
50
  var search = new Search(search_data, input, result);
56
51
 
@@ -77,85 +72,13 @@ function hookSearch() {
77
72
  }
78
73
 
79
74
  search.select = function(result) {
80
- var result_element = result.get(0);
81
- window.location.href = result_element.firstChild.firstChild.href;
75
+ window.location.href = result.firstChild.firstChild.href;
82
76
  }
83
77
 
84
78
  search.scrollIntoView = search.scrollInWindow;
85
79
  };
86
80
 
87
- function highlightTarget( anchor ) {
88
- console.debug( "Highlighting target '%s'.", anchor );
89
-
90
- $("a[name]").each( function() {
91
- if ( $(this).attr("name") == anchor ) {
92
- if ( !$(this).parent().parent().hasClass('target-section') ) {
93
- console.debug( "Wrapping the target-section" );
94
- $('div.method-detail').unwrap( 'div.target-section' );
95
- $(this).parent().wrap( '<div class="target-section"></div>' );
96
- } else {
97
- console.debug( "Already wrapped." );
98
- }
99
- }
100
- });
101
- };
102
-
103
- function highlightLocationTarget() {
104
- console.debug( "Location hash: %s", window.location.hash );
105
- if ( ! window.location.hash || window.location.hash.length == 0 ) return;
106
-
107
- var anchor = window.location.hash.substring(1);
108
- console.debug( "Found anchor: %s; matching %s", anchor, "a[name=" + anchor + "]" );
109
-
110
- highlightTarget( anchor );
111
- };
112
-
113
- function highlightClickTarget( event ) {
114
- console.debug( "Highlighting click target for event %o", event.target );
115
- try {
116
- var anchor = $(event.target).attr( 'href' ).substring(1);
117
- console.debug( "Found target anchor: %s", anchor );
118
- highlightTarget( anchor );
119
- } catch ( err ) {
120
- console.error( "Exception while highlighting: %o", err );
121
- };
122
- };
123
-
124
- function loadAsync(path, success, prefix) {
125
- $.ajax({
126
- url: prefix + path,
127
- dataType: 'script',
128
- success: success,
129
- cache: true
130
- });
131
- };
132
-
133
- $(document).ready( function() {
81
+ document.addEventListener('DOMContentLoaded', function() {
134
82
  hookSourceViews();
135
- highlightLocationTarget();
136
- $('ul.link-list a').bind( "click", highlightClickTarget );
137
-
138
- var search_scripts_loaded = {
139
- navigation_loaded: false,
140
- search_loaded: false,
141
- search_index_loaded: false,
142
- searcher_loaded: false,
143
- }
144
-
145
- var search_success_function = function(variable) {
146
- return (function (data, status, xhr) {
147
- search_scripts_loaded[variable] = true;
148
-
149
- if (search_scripts_loaded['navigation_loaded'] == true &&
150
- search_scripts_loaded['search_loaded'] == true &&
151
- search_scripts_loaded['search_index_loaded'] == true &&
152
- search_scripts_loaded['searcher_loaded'] == true)
153
- hookSearch();
154
- });
155
- }
156
-
157
- loadAsync('js/navigation.js', search_success_function('navigation_loaded'), rdoc_rel_prefix);
158
- loadAsync('js/search.js', search_success_function('search_loaded'), rdoc_rel_prefix);
159
- loadAsync('js/search_index.js', search_success_function('search_index_loaded'), index_rel_prefix);
160
- loadAsync('js/searcher.js', search_success_function('searcher_loaded'), rdoc_rel_prefix);
83
+ hookSearch();
161
84
  });
@@ -10,10 +10,8 @@ Navigation = new function() {
10
10
  this.initNavigation = function() {
11
11
  var _this = this;
12
12
 
13
- $(document).keydown(function(e) {
13
+ document.addEventListener('keydown', function(e) {
14
14
  _this.onkeydown(e);
15
- }).keyup(function(e) {
16
- _this.onkeyup(e);
17
15
  });
18
16
 
19
17
  this.navigationActive = true;
@@ -21,20 +19,6 @@ Navigation = new function() {
21
19
 
22
20
  this.setNavigationActive = function(state) {
23
21
  this.navigationActive = state;
24
- this.clearMoveTimeout();
25
- }
26
-
27
- this.onkeyup = function(e) {
28
- if (!this.navigationActive) return;
29
-
30
- switch(e.keyCode) {
31
- case 37: //Event.KEY_LEFT:
32
- case 38: //Event.KEY_UP:
33
- case 39: //Event.KEY_RIGHT:
34
- case 40: //Event.KEY_DOWN:
35
- this.clearMoveTimeout();
36
- break;
37
- }
38
22
  }
39
23
 
40
24
  this.onkeydown = function(e) {
@@ -46,7 +30,6 @@ Navigation = new function() {
46
30
  case 38: //Event.KEY_UP:
47
31
  if (e.keyCode == 38 || e.ctrlKey) {
48
32
  if (this.moveUp()) e.preventDefault();
49
- this.startMoveTimeout(false);
50
33
  }
51
34
  break;
52
35
  case 39: //Event.KEY_RIGHT:
@@ -55,33 +38,14 @@ Navigation = new function() {
55
38
  case 40: //Event.KEY_DOWN:
56
39
  if (e.keyCode == 40 || e.ctrlKey) {
57
40
  if (this.moveDown()) e.preventDefault();
58
- this.startMoveTimeout(true);
59
41
  }
60
42
  break;
61
43
  case 13: //Event.KEY_RETURN:
62
- if (this.$current) e.preventDefault();
63
- this.select(this.$current);
44
+ if (this.current) e.preventDefault();
45
+ this.select(this.current);
64
46
  break;
65
47
  }
66
- if (e.ctrlKey && e.shiftKey) this.select(this.$current);
67
- }
68
-
69
- this.clearMoveTimeout = function() {
70
- clearTimeout(this.moveTimeout);
71
- this.moveTimeout = null;
72
- }
73
-
74
- this.startMoveTimeout = function(isDown) {
75
- if (!$.browser.mozilla && !$.browser.opera) return;
76
- if (this.moveTimeout) this.clearMoveTimeout();
77
- var _this = this;
78
-
79
- var go = function() {
80
- if (!_this.moveTimeout) return;
81
- _this[isDown ? 'moveDown' : 'moveUp']();
82
- _this.moveTimeout = setTimeout(go, 100);
83
- }
84
- this.moveTimeout = setTimeout(go, 200);
48
+ if (e.ctrlKey && e.shiftKey) this.select(this.current);
85
49
  }
86
50
 
87
51
  this.moveRight = function() {
Binary file
@@ -1,29 +1,29 @@
1
1
  Search = function(data, input, result) {
2
2
  this.data = data;
3
- this.$input = $(input);
4
- this.$result = $(result);
3
+ this.input = input;
4
+ this.result = result;
5
5
 
6
- this.$current = null;
7
- this.$view = this.$result.parent();
6
+ this.current = null;
7
+ this.view = this.result.parentNode;
8
8
  this.searcher = new Searcher(data.index);
9
9
  this.init();
10
10
  }
11
11
 
12
- Search.prototype = $.extend({}, Navigation, new function() {
12
+ Search.prototype = Object.assign({}, Navigation, new function() {
13
13
  var suid = 1;
14
14
 
15
15
  this.init = function() {
16
16
  var _this = this;
17
17
  var observer = function(e) {
18
- switch(e.originalEvent.keyCode) {
18
+ switch(e.keyCode) {
19
19
  case 38: // Event.KEY_UP
20
20
  case 40: // Event.KEY_DOWN
21
21
  return;
22
22
  }
23
- _this.search(_this.$input[0].value);
23
+ _this.search(_this.input.value);
24
24
  };
25
- this.$input.keyup(observer);
26
- this.$input.click(observer); // mac's clear field
25
+ this.input.addEventListener('keyup', observer);
26
+ this.input.addEventListener('click', observer); // mac's clear field
27
27
 
28
28
  this.searcher.ready(function(results, isLast) {
29
29
  _this.addResults(results, isLast);
@@ -34,7 +34,7 @@ Search.prototype = $.extend({}, Navigation, new function() {
34
34
  }
35
35
 
36
36
  this.search = function(value, selectFirstMatch) {
37
- value = jQuery.trim(value).toLowerCase();
37
+ value = value.trim().toLowerCase();
38
38
  if (value) {
39
39
  this.setNavigationActive(true);
40
40
  } else {
@@ -43,23 +43,23 @@ Search.prototype = $.extend({}, Navigation, new function() {
43
43
 
44
44
  if (value == '') {
45
45
  this.lastQuery = value;
46
- this.$result.empty();
47
- this.$result.attr('aria-expanded', 'false');
46
+ this.result.innerHTML = '';
47
+ this.result.setAttribute('aria-expanded', 'false');
48
48
  this.setNavigationActive(false);
49
49
  } else if (value != this.lastQuery) {
50
50
  this.lastQuery = value;
51
- this.$result.attr('aria-busy', 'true');
52
- this.$result.attr('aria-expanded', 'true');
51
+ this.result.setAttribute('aria-busy', 'true');
52
+ this.result.setAttribute('aria-expanded', 'true');
53
53
  this.firstRun = true;
54
54
  this.searcher.find(value);
55
55
  }
56
56
  }
57
57
 
58
58
  this.addResults = function(results, isLast) {
59
- var target = this.$result.get(0);
59
+ var target = this.result;
60
60
  if (this.firstRun && (results.length > 0 || isLast)) {
61
- this.$current = null;
62
- this.$result.empty();
61
+ this.current = null;
62
+ this.result.innerHTML = '';
63
63
  }
64
64
 
65
65
  for (var i=0, l = results.length; i < l; i++) {
@@ -70,25 +70,26 @@ Search.prototype = $.extend({}, Navigation, new function() {
70
70
 
71
71
  if (this.firstRun && results.length > 0) {
72
72
  this.firstRun = false;
73
- this.$current = $(target.firstChild);
74
- this.$current.addClass('search-selected');
73
+ this.current = target.firstChild;
74
+ this.current.classList.add('search-selected');
75
75
  }
76
- if (jQuery.browser.msie) this.$element[0].className += '';
76
+ //TODO: ECMAScript
77
+ //if (jQuery.browser.msie) this.$element[0].className += '';
77
78
 
78
- if (isLast) this.$result.attr('aria-busy', 'false');
79
+ if (isLast) this.result.setAttribute('aria-busy', 'false');
79
80
  }
80
81
 
81
82
  this.move = function(isDown) {
82
- if (!this.$current) return;
83
- var $next = this.$current[isDown ? 'next' : 'prev']();
84
- if ($next.length) {
85
- this.$current.removeClass('search-selected');
86
- $next.addClass('search-selected');
87
- this.$input.attr('aria-activedescendant', $next.attr('id'));
88
- this.scrollIntoView($next[0], this.$view[0]);
89
- this.$current = $next;
90
- this.$input.val($next[0].firstChild.firstChild.text);
91
- this.$input.select();
83
+ if (!this.current) return;
84
+ var next = isDown ? this.current.nextElementSibling : this.current.previousElementSibling;
85
+ if (next) {
86
+ this.current.classList.remove('search-selected');
87
+ next.classList.add('search-selected');
88
+ this.input.setAttribute('aria-activedescendant', next.getAttribute('id'));
89
+ this.scrollIntoView(next, this.view);
90
+ this.current = next;
91
+ this.input.value = next.firstChild.firstChild.text;
92
+ this.input.select();
92
93
  }
93
94
  return true;
94
95
  }
@@ -1 +1 @@
1
- var search_data = {"index":{"searchIndex":["gravaty","gravaty","parsableducktype","parser","parsers","avatar","callback","default","force","format","pixelsize","rating","secure","type","utils","downloader","downloader","raisers","rfc5322","rpcconnector","rpcconnector","object","<=>()","avatar()","avatar!()","call()","download()","download_file()","gravatize()","json()","json!()","load_yaml_file()","new()","new()","new()","parse()","parse()","parse()","parse()","parse()","parse()","parse()","parse()","parse()","parse()","profile()","profile!()","qrcode()","qrcode!()","raiser_downcase()","raiser_to_i()","reset()","test_parsable_duck_type()","to_json()","to_s()","xmlrpc()","changelog","copying","gemfile","issues","readme","rakefile","acknowledgements","authors","copyright","cacert.pem","gravaty.gemspec"],"longSearchIndex":["gravaty","gravaty::gravaty","gravaty::parsableducktype","gravaty::parser","gravaty::parsers","gravaty::parsers::avatar","gravaty::parsers::callback","gravaty::parsers::default","gravaty::parsers::force","gravaty::parsers::format","gravaty::parsers::pixelsize","gravaty::parsers::rating","gravaty::parsers::secure","gravaty::parsers::type","gravaty::utils","gravaty::utils::downloader","gravaty::utils::downloader::downloader","gravaty::utils::raisers","gravaty::utils::rfc5322","gravaty::utils::rpcconnector","gravaty::utils::rpcconnector::rpcconnector","object","gravaty::gravaty#<=>()","gravaty::gravaty#avatar()","gravaty::gravaty#avatar!()","gravaty::utils::rpcconnector::rpcconnector#call()","gravaty::gravaty#download()","gravaty::utils::downloader::downloader::download_file()","gravaty::gravatize()","gravaty::gravaty#json()","gravaty::gravaty#json!()","object#load_yaml_file()","gravaty::gravaty::new()","gravaty::parser::new()","gravaty::utils::rpcconnector::rpcconnector::new()","gravaty::parser#parse()","gravaty::parsers::avatar#parse()","gravaty::parsers::callback#parse()","gravaty::parsers::default#parse()","gravaty::parsers::force#parse()","gravaty::parsers::format#parse()","gravaty::parsers::pixelsize#parse()","gravaty::parsers::rating#parse()","gravaty::parsers::secure#parse()","gravaty::parsers::type#parse()","gravaty::gravaty#profile()","gravaty::gravaty#profile!()","gravaty::gravaty#qrcode()","gravaty::gravaty#qrcode!()","gravaty::utils::raisers#raiser_downcase()","gravaty::utils::raisers#raiser_to_i()","gravaty::gravaty#reset()","gravaty::parsableducktype#test_parsable_duck_type()","gravaty::gravaty#to_json()","gravaty::gravaty#to_s()","gravaty::gravaty#xmlrpc()","","","","","","","","","","",""],"info":[["Gravaty","","Gravaty.html","","<p>Author &mdash; Marco Bresciani\n<p>Copyright &mdash; Copyright © 2013, 2014, 2015, 2016, 2017, 2018,\n\n<p>2019 Marco Bresciani …\n"],["Gravaty::Gravaty","","Gravaty/Gravaty.html","","<p>This class is a simple API to retrieve an URL with specified options from Gravatar site. It can be used …\n"],["Gravaty::ParsableDuckType","","Gravaty/ParsableDuckType.html","","<p>This module represents the parsable duck type element for testing purposes.\n<p>Author &mdash; Marco Bresciani\n<p>Copyright … &mdash; "],["Gravaty::Parser","","Gravaty/Parser.html","","<p>This class is a simple utility that is used to parse and filter parameters for gravaty.\n<p>Author &mdash; Marco Bresciani …\n"],["Gravaty::Parsers","","Gravaty/Parsers.html","",""],["Gravaty::Parsers::Avatar","","Gravaty/Parsers/Avatar.html","","<p>This class is an implementation of the Parsable duck type that checks for avater or profile URI. The …\n"],["Gravaty::Parsers::Callback","","Gravaty/Parsers/Callback.html","","<p>This class is an implementation of the Parsable duck type that provides the callback name. The only needed …\n"],["Gravaty::Parsers::Default","","Gravaty/Parsers/Default.html","","<p>This class is an implementation of the Parsable duck type that checks the default option. The only needed …\n"],["Gravaty::Parsers::Force","","Gravaty/Parsers/Force.html","","<p>This class is an implementation of the Parsable duck type that checks forces the default value. The only …\n"],["Gravaty::Parsers::Format","","Gravaty/Parsers/Format.html","","<p>This class is an implementation of the Parsable duck type that checks the profile type. The only needed …\n"],["Gravaty::Parsers::Pixelsize","","Gravaty/Parsers/Pixelsize.html","","<p>This class is an implementation of the Parsable duck type that checks the image size. The only needed …\n"],["Gravaty::Parsers::Rating","","Gravaty/Parsers/Rating.html","","<p>This class is an implementation of the Parsable duck type that checks the rating type. The only needed …\n"],["Gravaty::Parsers::Secure","","Gravaty/Parsers/Secure.html","","<p>This class is an implementation of the Parsable duck type that provides the secure or unsecure URI. …\n"],["Gravaty::Parsers::Type","","Gravaty/Parsers/Type.html","","<p>This class is an implementation of the Parsable duck type that checks the avatar type. The only needed …\n"],["Gravaty::Utils","","Gravaty/Utils.html","","<p>This module is a simple collection of useful things and methods that I prefer to keep as DRYer as possible. …\n"],["Gravaty::Utils::Downloader","","Gravaty/Utils/Downloader.html","","<p>This module is a simple wrapper container for Peter R. Marreck&#39;s gist.\n<p>Author &mdash; Jon Maken\n<p>License &mdash; 3-clause …\n"],["Gravaty::Utils::Downloader::Downloader","","Gravaty/Utils/Downloader/Downloader.html","","<p>!/usr/bin/env ruby\n\n<pre>An HTTP/HTTPS/FTP file downloader library/CLI based upon\nMiniPortile&#39;s HTTP implementation. ...</pre>\n"],["Gravaty::Utils::Raisers","","Gravaty/Utils/Raisers.html","","<p>This module contains some utility method to raise errors according to (possibly) common conditions.\n<p>Author … &mdash; "],["Gravaty::Utils::Rfc5322","","Gravaty/Utils/Rfc5322.html","","<p>This module is a simple wrapper container for Peter R. Marreck&#39;s gist.\n<p>Author &mdash; Peter R. Marreck\n<p>Copyright … &mdash; "],["Gravaty::Utils::RpcConnector","","Gravaty/Utils/RpcConnector.html","","<p>This module contains the XML-RPC connector class.\n<p>Author &mdash; Marco Bresciani\n<p>Copyright &mdash; Copyright © 2013, 2014, …\n"],["Gravaty::Utils::RpcConnector::RpcConnector","","Gravaty/Utils/RpcConnector/RpcConnector.html","","<p>Creates a <code>RpcConnector</code> described by the user&#39;s email <code>digest</code> and a <code>password</code>. Throws a <code>ArgumentError</code> …\n"],["Object","","Object.html","",""],["<=>","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-3C-3D-3E","(other_gravaty)",""],["avatar","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-avatar","(args = {})","<p>Returns a string containing the URI of the gravatar associated to internal (provided) email address. …\n"],["avatar!","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-avatar-21","(args = {})","<p>See avatar method. This banged version saves the resulting string as internal state.\n"],["call","Gravaty::Utils::RpcConnector::RpcConnector","Gravaty/Utils/RpcConnector/RpcConnector.html#method-i-call","(a_method = RPC_TEST_METHOD, params = {})",""],["download","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-download","(filename = nil)","<p>Saves a file, with specified <code>filename</code>, that contains the current gravaty configuration. Uses the internal …\n"],["download_file","Gravaty::Utils::Downloader::Downloader","Gravaty/Utils/Downloader/Downloader.html#method-c-download_file","(url, full_path, count = 3)",""],["gravatize","Gravaty","Gravaty.html#method-c-gravatize","(email_address)","<p>Creates a new Gravaty described by the user&#39;s <code>email</code>. Throws a <code>ArgumentError</code> exception if the supplied …\n"],["json","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-json","(args = {})","<p>See profile method. Customized version for JSON-specific requests.\n<p>Usage &mdash; <p><code>a_string = new_gravaty.json</code>\n<p><code>a_string</code> …\n"],["json!","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-json-21","(args = {})","<p>See json method. This banged version saves the resulting string as internal state.\n"],["load_yaml_file","Object","Object.html#method-i-load_yaml_file","(locale)",""],["new","Gravaty::Gravaty","Gravaty/Gravaty.html#method-c-new","(email_address, parser)","<p>Creates a <code>Gravaty</code> object described by the user&#39;s <code>email</code>. Throws an <code>ArgumentError</code> exception if the …\n"],["new","Gravaty::Parser","Gravaty/Parser.html#method-c-new","(args = {})",""],["new","Gravaty::Utils::RpcConnector::RpcConnector","Gravaty/Utils/RpcConnector/RpcConnector.html#method-c-new","(digest, password = nil)",""],["parse","Gravaty::Parser","Gravaty/Parser.html#method-i-parse","(method = nil, value = nil)","<p>Provides the duck type for a generic parsing object.\n"],["parse","Gravaty::Parsers::Avatar","Gravaty/Parsers/Avatar.html#method-i-parse","(value = true)","<p>The parsable duck type interface to every parser usage.\n"],["parse","Gravaty::Parsers::Callback","Gravaty/Parsers/Callback.html#method-i-parse","(value = nil)","<p>The parsable duck type interface to every parser usage.\n"],["parse","Gravaty::Parsers::Default","Gravaty/Parsers/Default.html#method-i-parse","(value = nil)","<p>The parsable duck type interface to every parser usage.\n"],["parse","Gravaty::Parsers::Force","Gravaty/Parsers/Force.html#method-i-parse","(value = false)","<p>The parsable duck type interface to every parser usage.\n"],["parse","Gravaty::Parsers::Format","Gravaty/Parsers/Format.html#method-i-parse","(value = nil)","<p>The parsable duck type interface to every parser usage.\n"],["parse","Gravaty::Parsers::Pixelsize","Gravaty/Parsers/Pixelsize.html#method-i-parse","(value = nil)","<p>The parsable duck type interface to every parser usage.\n"],["parse","Gravaty::Parsers::Rating","Gravaty/Parsers/Rating.html#method-i-parse","(value = nil)","<p>the parsable duck type interface to every parser usage.\n"],["parse","Gravaty::Parsers::Secure","Gravaty/Parsers/Secure.html#method-i-parse","(value = false)","<p>The parsable duck type interface to every parser usage.\n"],["parse","Gravaty::Parsers::Type","Gravaty/Parsers/Type.html#method-i-parse","(value = nil)","<p>The parsable duck type interface to every parser usage.\n"],["profile","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-profile","(args = {})","<p>Returns a string containing the URI of the gravatar profile associated to internal (provided) email address. …\n"],["profile!","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-profile-21","(args = {})","<p>See profile method. This banged version saves the resulting strin as internal state.\n"],["qrcode","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-qrcode","(args = {})","<p>See profile method. Customized version for QRCode-specific requests.\n<p>Usage &mdash; <p><code>a_string = new_gravaty.qrcode</code> …\n"],["qrcode!","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-qrcode-21","(args = {})","<p>See qrcode method. This banged version saves the resulting string as internal state.\n"],["raiser_downcase","Gravaty::Utils::Raisers","Gravaty/Utils/Raisers.html#method-i-raiser_downcase","(name = 'error.value', value = nil, array = nil)","<p>Raises an <code>ArgumentError</code> according to parameters, unless the <code>array</code> contains a downcased <code>value</code>.\n"],["raiser_to_i","Gravaty::Utils::Raisers","Gravaty/Utils/Raisers.html#method-i-raiser_to_i","(name = 'error.value', value = nil, array = nil)","<p>Raises an <code>ArgumentError</code> according to parameters, unless the <code>array</code> contains the number of the <code>value</code>.\n"],["reset","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-reset","()","<p>Restores the original status cleaning up the (possibly) previously saved URIs restoring the default …\n"],["test_parsable_duck_type","Gravaty::ParsableDuckType","Gravaty/ParsableDuckType.html#method-i-test_parsable_duck_type","()","<p>The method that tests the parsable duck type interface and its <code>parse</code> method.\n"],["to_json","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-to_json","()","<p>Returns a JSon object representing the Gravaty object.\n<p>Usage &mdash; <p><code>a_json = new_gravaty.to_json</code>\n\n<p>Returns &mdash; a <code>JSON</code> …\n"],["to_s","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-to_s","()","<p>Returns a string representing the Gravaty object.\n<p>Usage &mdash; <p><code>a_string = new_gravaty.to_s</code>\n\n<p>Returns &mdash; a <code>String</code> containing …\n"],["xmlrpc","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-xmlrpc","(a_method = RPC_TEST_METHOD, password = nil, args = {})","<p>Interfaces with the Gravatar XML-RPC API.\n<p>Usage &mdash; <p>&lt;tt&gt;response = new_gravaty.xmlrpc &#39;grav.test&#39;, …\n\n\n"],["CHANGELOG","","CHANGELOG.html","","<p>Version 9.0.1\n\n<pre>* PATCH updating gem dependencies.\n* KNOWN BUG: https://savannah.nongnu.org/bugs/?39928</pre>\n"],["COPYING","","COPYING_md.html","","<p>GNU GENERAL PUBLIC LICENSE\n<p>Version 3, 29 June 2007\n<p>Copyright (C) 2007 Free Software Foundation, Inc.\nfsf.org ...\n"],["Gemfile","","Gemfile.html","","<p># gravaty # Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Marco Bresciani # # This file is part …\n"],["ISSUES","","ISSUES_md.html","","<p>Gravaty Issues\n<p>Documentation\n<p>See savannah.nongnu.org/projects/gravaty/ or\nrubydoc.info/gems/gravaty/ for ...\n"],["README","","README_md.html","","<p>Gravaty\n<p><img src=\"https://img.shields.io/gem/v/gravaty.svg?style=plastic\">\n<img src=\"https://img.shields.io/gem/dt/gravaty.svg?style=plastic\"> ...\n"],["Rakefile","","Rakefile.html","","<p># gravaty # Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Marco Bresciani # # This file is part …\n"],["acknowledgements","","acknowledgements_md.html","","<p>Acknowledgements\n<p>FSIJ理事会の理事長、新部裕さんの日本語の翻訳。 Japanese translation by\nYutaka Niibe, President of Free Software ...\n"],["authors","","authors_md.html","","<p>Project and gem owned by\n<p><em>Author</em>: Marco Bresciani\n\n<p>Authors list (in appearing order)\n"],["copyright","","copyright_md.html","","<p>Copyright Notes\n<p>2014-04-16 update.\n<p>gravaty\n"],["cacert.pem","","examples/cacert_pem.html","","<p>## ## Bundle of CA Root Certificates ## ## Certificate data from Mozilla as of: Wed Jan 23 04:12:09 2019 …\n"],["gravaty.gemspec","","gravaty_gemspec.html","","<p># gravaty # Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Marco Bresciani # # This file is part …\n"]]}}
1
+ var search_data = {"index":{"searchIndex":["gravaty","gravaty","parsableducktype","parser","parsers","avatar","callback","default","force","format","pixelsize","rating","secure","type","utils","downloader","downloader","raisers","rfc5322","rpcconnector","rpcconnector","object","<=>()","avatar()","avatar!()","call()","download()","download_file()","gravatize()","json()","json!()","load_yaml_file()","new()","new()","new()","parse()","parse()","parse()","parse()","parse()","parse()","parse()","parse()","parse()","parse()","profile()","profile!()","qrcode()","qrcode!()","raiser_downcase()","raiser_to_i()","reset()","test_parsable_duck_type()","to_json()","to_s()","xmlrpc()","changelog","copying","gemfile","issues","readme","rakefile","acknowledgements","authors","copyright","cacert.pem"],"longSearchIndex":["gravaty","gravaty::gravaty","gravaty::parsableducktype","gravaty::parser","gravaty::parsers","gravaty::parsers::avatar","gravaty::parsers::callback","gravaty::parsers::default","gravaty::parsers::force","gravaty::parsers::format","gravaty::parsers::pixelsize","gravaty::parsers::rating","gravaty::parsers::secure","gravaty::parsers::type","gravaty::utils","gravaty::utils::downloader","gravaty::utils::downloader::downloader","gravaty::utils::raisers","gravaty::utils::rfc5322","gravaty::utils::rpcconnector","gravaty::utils::rpcconnector::rpcconnector","object","gravaty::gravaty#<=>()","gravaty::gravaty#avatar()","gravaty::gravaty#avatar!()","gravaty::utils::rpcconnector::rpcconnector#call()","gravaty::gravaty#download()","gravaty::utils::downloader::downloader::download_file()","gravaty::gravatize()","gravaty::gravaty#json()","gravaty::gravaty#json!()","object#load_yaml_file()","gravaty::gravaty::new()","gravaty::parser::new()","gravaty::utils::rpcconnector::rpcconnector::new()","gravaty::parser#parse()","gravaty::parsers::avatar#parse()","gravaty::parsers::callback#parse()","gravaty::parsers::default#parse()","gravaty::parsers::force#parse()","gravaty::parsers::format#parse()","gravaty::parsers::pixelsize#parse()","gravaty::parsers::rating#parse()","gravaty::parsers::secure#parse()","gravaty::parsers::type#parse()","gravaty::gravaty#profile()","gravaty::gravaty#profile!()","gravaty::gravaty#qrcode()","gravaty::gravaty#qrcode!()","gravaty::utils::raisers#raiser_downcase()","gravaty::utils::raisers#raiser_to_i()","gravaty::gravaty#reset()","gravaty::parsableducktype#test_parsable_duck_type()","gravaty::gravaty#to_json()","gravaty::gravaty#to_s()","gravaty::gravaty#xmlrpc()","","","","","","","","","",""],"info":[["Gravaty","","Gravaty.html","","<p>Author &mdash; Marco Bresciani\n<p>Copyright &mdash; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Marco Bresciani …\n"],["Gravaty::Gravaty","","Gravaty/Gravaty.html","","<p>This class is a simple API to retrieve an URL with specified options from Gravatar site. It can be used …\n"],["Gravaty::ParsableDuckType","","Gravaty/ParsableDuckType.html","","<p>This module represents the parsable duck type element for testing purposes.\n<p>Author &mdash; Marco Bresciani\n<p>Copyright … &mdash; "],["Gravaty::Parser","","Gravaty/Parser.html","","<p>This class is a simple utility that is used to parse and filter parameters for gravaty.\n<p>Author &mdash; Marco Bresciani …\n"],["Gravaty::Parsers","","Gravaty/Parsers.html","",""],["Gravaty::Parsers::Avatar","","Gravaty/Parsers/Avatar.html","","<p>This class is an implementation of the Parsable duck type that checks for avater or profile URI. The …\n"],["Gravaty::Parsers::Callback","","Gravaty/Parsers/Callback.html","","<p>This class is an implementation of the Parsable duck type that provides the callback name. The only needed …\n"],["Gravaty::Parsers::Default","","Gravaty/Parsers/Default.html","","<p>This class is an implementation of the Parsable duck type that checks the default option. The only needed …\n"],["Gravaty::Parsers::Force","","Gravaty/Parsers/Force.html","","<p>This class is an implementation of the Parsable duck type that checks forces the default value. The only …\n"],["Gravaty::Parsers::Format","","Gravaty/Parsers/Format.html","","<p>This class is an implementation of the Parsable duck type that checks the profile type. The only needed …\n"],["Gravaty::Parsers::Pixelsize","","Gravaty/Parsers/Pixelsize.html","","<p>This class is an implementation of the Parsable duck type that checks the image size. The only needed …\n"],["Gravaty::Parsers::Rating","","Gravaty/Parsers/Rating.html","","<p>This class is an implementation of the Parsable duck type that checks the rating type. The only needed …\n"],["Gravaty::Parsers::Secure","","Gravaty/Parsers/Secure.html","","<p>This class is an implementation of the Parsable duck type that provides the secure or unsecure URI. …\n"],["Gravaty::Parsers::Type","","Gravaty/Parsers/Type.html","","<p>This class is an implementation of the Parsable duck type that checks the avatar type. The only needed …\n"],["Gravaty::Utils","","Gravaty/Utils.html","","<p>This module is a simple collection of useful things and methods that I prefer to keep as DRYer as possible. …\n"],["Gravaty::Utils::Downloader","","Gravaty/Utils/Downloader.html","","<p>This module is a simple wrapper container for Peter R. Marreck&#39;s gist.\n<p>Author &mdash; Jon Maken\n<p>License &mdash; 3-clause …\n"],["Gravaty::Utils::Downloader::Downloader","","Gravaty/Utils/Downloader/Downloader.html","","<p>!/usr/bin/env ruby\n\n<pre>An HTTP/HTTPS/FTP file downloader library/CLI based upon\nMiniPortile&#39;s HTTP implementation. ...</pre>\n"],["Gravaty::Utils::Raisers","","Gravaty/Utils/Raisers.html","","<p>This module contains some utility method to raise errors according to (possibly) common conditions.\n<p>Author … &mdash; "],["Gravaty::Utils::Rfc5322","","Gravaty/Utils/Rfc5322.html","","<p>This module is a simple wrapper container for Peter R. Marreck&#39;s gist.\n<p>Author &mdash; Peter R. Marreck\n<p>Copyright … &mdash; "],["Gravaty::Utils::RpcConnector","","Gravaty/Utils/RpcConnector.html","","<p>This module contains the XML-RPC connector class.\n<p>Author &mdash; Marco Bresciani\n<p>Copyright &mdash; Copyright © 2013, 2014, …\n"],["Gravaty::Utils::RpcConnector::RpcConnector","","Gravaty/Utils/RpcConnector/RpcConnector.html","","<p>Creates a <code>RpcConnector</code> described by the user&#39;s email <code>digest</code> and a <code>password</code>. Throws a <code>ArgumentError</code> …\n"],["Object","","Object.html","",""],["<=>","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-3C-3D-3E","(other_gravaty)",""],["avatar","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-avatar","(args = {})","<p>Returns a string containing the URI of the gravatar associated to internal (provided) email address. …\n"],["avatar!","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-avatar-21","(args = {})","<p>See avatar method. This banged version saves the resulting string as internal state.\n"],["call","Gravaty::Utils::RpcConnector::RpcConnector","Gravaty/Utils/RpcConnector/RpcConnector.html#method-i-call","(a_method = RPC_TEST_METHOD, params = {})",""],["download","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-download","(filename = nil)","<p>Saves a file, with specified <code>filename</code>, that contains the current gravaty configuration. Uses the internal …\n"],["download_file","Gravaty::Utils::Downloader::Downloader","Gravaty/Utils/Downloader/Downloader.html#method-c-download_file","(url, full_path, count = 3)",""],["gravatize","Gravaty","Gravaty.html#method-c-gravatize","(email_address)","<p>Creates a new Gravaty described by the user&#39;s <code>email</code>. Throws a <code>ArgumentError</code> exception if the supplied …\n"],["json","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-json","(args = {})","<p>See profile method. Customized version for JSON-specific requests.\n<p>Usage &mdash; <p><code>a_string = new_gravaty.json</code>\n<p><code>a_string</code> …\n"],["json!","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-json-21","(args = {})","<p>See json method. This banged version saves the resulting string as internal state.\n"],["load_yaml_file","Object","Object.html#method-i-load_yaml_file","(locale)",""],["new","Gravaty::Gravaty","Gravaty/Gravaty.html#method-c-new","(email_address, parser)","<p>Creates a <code>Gravaty</code> object described by the user&#39;s <code>email</code>. Throws an <code>ArgumentError</code> exception if the …\n"],["new","Gravaty::Parser","Gravaty/Parser.html#method-c-new","(args = {})",""],["new","Gravaty::Utils::RpcConnector::RpcConnector","Gravaty/Utils/RpcConnector/RpcConnector.html#method-c-new","(digest, password = nil)",""],["parse","Gravaty::Parser","Gravaty/Parser.html#method-i-parse","(method = nil, value = nil)","<p>Provides the duck type for a generic parsing object.\n"],["parse","Gravaty::Parsers::Avatar","Gravaty/Parsers/Avatar.html#method-i-parse","(value = true)","<p>The parsable duck type interface to every parser usage.\n"],["parse","Gravaty::Parsers::Callback","Gravaty/Parsers/Callback.html#method-i-parse","(value = nil)","<p>The parsable duck type interface to every parser usage.\n"],["parse","Gravaty::Parsers::Default","Gravaty/Parsers/Default.html#method-i-parse","(value = nil)","<p>The parsable duck type interface to every parser usage.\n"],["parse","Gravaty::Parsers::Force","Gravaty/Parsers/Force.html#method-i-parse","(value = false)","<p>The parsable duck type interface to every parser usage.\n"],["parse","Gravaty::Parsers::Format","Gravaty/Parsers/Format.html#method-i-parse","(value = nil)","<p>The parsable duck type interface to every parser usage.\n"],["parse","Gravaty::Parsers::Pixelsize","Gravaty/Parsers/Pixelsize.html#method-i-parse","(value = nil)","<p>The parsable duck type interface to every parser usage.\n"],["parse","Gravaty::Parsers::Rating","Gravaty/Parsers/Rating.html#method-i-parse","(value = nil)","<p>the parsable duck type interface to every parser usage.\n"],["parse","Gravaty::Parsers::Secure","Gravaty/Parsers/Secure.html#method-i-parse","(value = false)","<p>The parsable duck type interface to every parser usage.\n"],["parse","Gravaty::Parsers::Type","Gravaty/Parsers/Type.html#method-i-parse","(value = nil)","<p>The parsable duck type interface to every parser usage.\n"],["profile","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-profile","(args = {})","<p>Returns a string containing the URI of the gravatar profile associated to internal (provided) email address. …\n"],["profile!","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-profile-21","(args = {})","<p>See profile method. This banged version saves the resulting string as internal state.\n"],["qrcode","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-qrcode","(args = {})","<p>See profile method. Customized version for QRCode-specific requests.\n<p>Usage &mdash; <p><code>a_string = new_gravaty.qrcode</code> …\n"],["qrcode!","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-qrcode-21","(args = {})","<p>See qrcode method. This banged version saves the resulting string as internal state.\n"],["raiser_downcase","Gravaty::Utils::Raisers","Gravaty/Utils/Raisers.html#method-i-raiser_downcase","(name = 'error.value', value = nil, array = nil)","<p>Raises an <code>ArgumentError</code> according to parameters, unless the <code>array</code> contains a downcased <code>value</code>.\n"],["raiser_to_i","Gravaty::Utils::Raisers","Gravaty/Utils/Raisers.html#method-i-raiser_to_i","(name = 'error.value', value = nil, array = nil)","<p>Raises an <code>ArgumentError</code> according to parameters, unless the <code>array</code> contains the number of the <code>value</code>.\n"],["reset","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-reset","()","<p>Restores the original status cleaning up the (possibly) previously saved URIs restoring the default …\n"],["test_parsable_duck_type","Gravaty::ParsableDuckType","Gravaty/ParsableDuckType.html#method-i-test_parsable_duck_type","()","<p>The method that tests the parsable duck type interface and its <code>parse</code> method.\n"],["to_json","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-to_json","()","<p>Returns a JSon object representing the Gravaty object.\n<p>Usage &mdash; <p><code>a_json = new_gravaty.to_json</code>\n\n<p>Returns &mdash; a <code>JSON</code> …\n"],["to_s","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-to_s","()","<p>Returns a string representing the Gravaty object.\n<p>Usage &mdash; <p><code>a_string = new_gravaty.to_s</code>\n\n<p>Returns &mdash; a <code>String</code> containing …\n"],["xmlrpc","Gravaty::Gravaty","Gravaty/Gravaty.html#method-i-xmlrpc","(a_method = RPC_TEST_METHOD, password = nil, args = {})","<p>Interfaces with the Gravatar XML-RPC API.\n<p>Usage &mdash; <p>&lt;tt&gt;response = new_gravaty.xmlrpc &#39;grav.test&#39;, …\n\n\n"],["CHANGELOG","","CHANGELOG.html","","<p>Version 10.0.0\n\n<pre>* MAJOR update from Ruby &#39;~&gt; 2.6&#39; to Ruby &#39;~&gt; 2.7&#39;.\n* MINOR update IntelliJ IDEA (RubyGem) ...</pre>\n"],["COPYING","","COPYING_md.html","","<p>GNU GENERAL PUBLIC LICENSE\n<p>Version 3, 29 June 2007\n<p>Copyright (C) 2007 Free Software Foundation, Inc.\nfsf.org ...\n"],["Gemfile","","Gemfile.html","","<p># gravaty # Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Marco Bresciani # # This file …\n"],["ISSUES","","ISSUES_md.html","","<p>Gravaty Issues\n<p>Documentation\n<p>See savannah.nongnu.org/projects/gravaty/ or\nrubydoc.info/gems/gravaty/ for ...\n"],["README","","README_md.html","","<p>Gravaty\n<p><img src=\"https://img.shields.io/gem/v/gravaty.svg?style=plastic\">\n<img src=\"https://img.shields.io/gem/dt/gravaty.svg?style=plastic\"> ...\n"],["Rakefile","","Rakefile.html","","<p># gravaty # Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 201, 20209 Marco Bresciani # # This file …\n"],["acknowledgements","","acknowledgements_md.html","","<p>Acknowledgements\n<p>FSIJ理事会の理事長、新部裕さんの日本語の翻訳。 Japanese translation by\nYutaka Niibe, President of Free Software ...\n"],["authors","","authors_md.html","","<p>Project and gem owned by\n<p><em>Author</em>: Marco Bresciani\n\n<p>Authors list (in appearing order)\n"],["copyright","","copyright_md.html","","<p>Copyright Notes\n<p>2020-03-09 update.\n<p>gravaty\n"],["cacert.pem","","examples/cacert_pem.html","","<p>## ## Bundle of CA Root Certificates ## ## Certificate data from Mozilla as of: Wed Jan 1 04:12:10 2020 …\n"]]}}
Binary file
@@ -51,20 +51,20 @@ Searcher.prototype = new function() {
51
51
 
52
52
  /* ----- Utilities ------ */
53
53
  function splitQuery(query) {
54
- return jQuery.grep(query.split(/(\s+|::?|\(\)?)/), function(string) {
54
+ return query.split(/(\s+|::?|\(\)?)/).filter(function(string) {
55
55
  return string.match(/\S/);
56
56
  });
57
57
  }
58
58
 
59
59
  function buildRegexps(queries) {
60
- return jQuery.map(queries, function(query) {
60
+ return queries.map(function(query) {
61
61
  return new RegExp(query.replace(/(.)/g, '([$1])([^$1]*?)'), 'i');
62
62
  });
63
63
  }
64
64
 
65
65
  function buildHilighters(queries) {
66
- return jQuery.map(queries, function(query) {
67
- return jQuery.map(query.split(''), function(l, i) {
66
+ return queries.map(function(query) {
67
+ return query.split('').map(function(l, i) {
68
68
  return '\u0001$' + (i*2+1) + '\u0002$' + (i*2+2);
69
69
  }).join('');
70
70
  });
@@ -221,9 +221,9 @@ Searcher.prototype = new function() {
221
221
  }
222
222
 
223
223
  function triggerResults(results, isLast) {
224
- jQuery.each(this.handlers, function(i, fn) {
224
+ this.handlers.forEach(function(fn) {
225
225
  fn.call(this, results, isLast)
226
- })
226
+ });
227
227
  }
228
228
  }
229
229
 
Binary file
@@ -4,15 +4,18 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>Table of Contents - gravaty 9.0.1</title>
7
+ <title>Table of Contents - gravaty 10.0.0</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "./";
11
11
  var index_rel_prefix = "./";
12
12
  </script>
13
13
 
14
- <script src="./js/jquery.js"></script>
15
- <script src="./js/darkfish.js"></script>
14
+ <script src="./js/navigation.js" defer></script>
15
+ <script src="./js/search.js" defer></script>
16
+ <script src="./js/search_index.js" defer></script>
17
+ <script src="./js/searcher.js" defer></script>
18
+ <script src="./js/darkfish.js" defer></script>
16
19
 
17
20
  <link href="./css/fonts.css" rel="stylesheet">
18
21
  <link href="./css/rdoc.css" rel="stylesheet">
@@ -22,7 +25,7 @@
22
25
 
23
26
  <body id="top" class="table-of-contents">
24
27
  <main role="main">
25
- <h1 class="class">Table of Contents - gravaty 9.0.1</h1>
28
+ <h1 class="class">Table of Contents - gravaty 10.0.0</h1>
26
29
 
27
30
 
28
31
 
@@ -34,6 +37,8 @@
34
37
 
35
38
  <ul>
36
39
 
40
+ <li><a href="CHANGELOG.html#label-Version+10.0.0">Version 10.0.0</a>
41
+
37
42
  <li><a href="CHANGELOG.html#label-Version+9.0.1">Version 9.0.1</a>
38
43
 
39
44
  <li><a href="CHANGELOG.html#label-Version+9.0.0">Version 9.0.0</a>
@@ -685,12 +690,13 @@
685
690
 
686
691
  <li><a href="examples/cacert_pem.html#label-"></a>
687
692
 
688
- </ul>
693
+ <li><a href="examples/cacert_pem.html#label-"></a>
689
694
 
690
- </li>
691
-
692
- <li class="file">
693
- <a href="gravaty_gemspec.html">gravaty.gemspec</a>
695
+ <li><a href="examples/cacert_pem.html#label-"></a>
696
+
697
+ <li><a href="examples/cacert_pem.html#label-"></a>
698
+
699
+ </ul>
694
700
 
695
701
  </li>
696
702
 
@@ -991,7 +997,7 @@
991
997
 
992
998
  <footer id="validator-badges" role="contentinfo">
993
999
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
994
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.1.
1000
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
995
1001
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
996
1002
  </footer>
997
1003