leanback 0.4.2 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.travis.yml +10 -0
- data/Gemfile +5 -6
- data/Gemfile.lock +65 -14
- data/README.md +465 -33
- data/Rakefile +8 -17
- data/VERSION +1 -1
- data/leanback.gemspec +26 -85
- data/lib/leanback.rb +129 -587
- data/spec/leanback_spec.rb +356 -0
- metadata +40 -117
- data/Changelog.rdoc +0 -146
- data/documentation/static/2011/11/20/i-moved-leanback-documentation/index.html +0 -180
- data/documentation/static/2011/11/20/index.html +0 -146
- data/documentation/static/2011/11/index.html +0 -146
- data/documentation/static/2011/index.html +0 -146
- data/documentation/static/2013/06/02/index.html +0 -146
- data/documentation/static/2013/06/02/released-leanback-v0-3-4/index.html +0 -180
- data/documentation/static/2013/06/09/index.html +0 -146
- data/documentation/static/2013/06/09/released-leanback-v0-4-0/index.html +0 -179
- data/documentation/static/2013/06/index.html +0 -158
- data/documentation/static/2013/index.html +0 -158
- data/documentation/static/author/admin/index.html +0 -175
- data/documentation/static/basic-couchdb-operations/index.html +0 -259
- data/documentation/static/category/uncategorized/index.html +0 -170
- data/documentation/static/couchdb-configuration/index.html +0 -189
- data/documentation/static/couchdb-security/index.html +0 -218
- data/documentation/static/count-by-multiple-documents/index.html +0 -221
- data/documentation/static/count-documents-by-key/index.html +0 -177
- data/documentation/static/css/2c-l-fixed.css +0 -1
- data/documentation/static/css/2c-l-fixed.dev.css +0 -62
- data/documentation/static/css/2c-r-fixed.css +0 -1
- data/documentation/static/css/2c-r-fixed.dev.css +0 -60
- data/documentation/static/css/3c-c-fixed.css +0 -1
- data/documentation/static/css/3c-c-fixed.dev.css +0 -84
- data/documentation/static/css/3c-l-fixed.css +0 -1
- data/documentation/static/css/3c-l-fixed.dev.css +0 -61
- data/documentation/static/css/3c-r-fixed.css +0 -1
- data/documentation/static/css/3c-r-fixed.dev.css +0 -62
- data/documentation/static/css/holy-grail-fluid.css +0 -5
- data/documentation/static/css/plugins.css +0 -5
- data/documentation/static/css/print.css +0 -5
- data/documentation/static/css/screen.css +0 -1
- data/documentation/static/design-documents-and-permanent-views/index.html +0 -454
- data/documentation/static/error-handling/index.html +0 -157
- data/documentation/static/find-document-by-multiple-keys/index.html +0 -269
- data/documentation/static/find-documents-by-key/index.html +0 -243
- data/documentation/static/index.html +0 -161
- data/documentation/static/leanback/index.html +0 -130
- data/documentation/static/leanback/installation/index.html +0 -119
- data/documentation/static/setting-the-bind_address-port/index.html +0 -151
- data/documentation/static/style.css +0 -16
- data/spec/admin_party/database_spec.rb +0 -400
- data/spec/no_admin_party/cloudant_spec.rb +0 -365
- data/spec/no_admin_party/database_spec.rb +0 -491
- data/spec/no_admin_party/non_admin_user_spec.rb +0 -67
- data/test/helper.rb +0 -18
- data/test/main.rb +0 -295
- data/test/my_view.json +0 -8
- data/test/my_views.json +0 -8
- data/test/start.json +0 -8
- data/test/test_leanback.rb +0 -319
- data/test/view_age.json +0 -8
data/Changelog.rdoc
DELETED
@@ -1,146 +0,0 @@
|
|
1
|
-
0.4.2
|
2
|
-
November 16, 2013
|
3
|
-
* Optionally return documents and query results as hashmaps with symbolized keys
|
4
|
-
Example:
|
5
|
-
Couchdb.find_by({:database => 'contacts', :email => 'nancy@mail.com'} ,auth_session, symbolize_keys: true))
|
6
|
-
# => [{:_id =>"Nancy", :_rev =>"1-d15a83d2a23b495c19df2595b636ecc8", :firstname =>"Nancy", :lastname =>"Lee",
|
7
|
-
# :phone =>"347-808-3734", :email =>"nancy@mail.com", :gender =>"female"}]
|
8
|
-
And
|
9
|
-
Couchdb.find_by({:database => 'contacts', :email => 'nancy@mail.com'} , auth_session, symbolize_keys: true)
|
10
|
-
|
11
|
-
# => [{:_id=>"Nancy", :_rev=>"1-d15a83d2a23b495c19df2595b636ecc8", :firstname =>"Nancy", :lastname =>"Lee",
|
12
|
-
# :phone =>"347-808-3734", :email =>"nancy@mail.com", :gender =>"female"}]
|
13
|
-
|
14
|
-
This works for view document results and also works for all finders and queries. See documentation for details.
|
15
|
-
|
16
|
-
0.4.1
|
17
|
-
August 23,2013
|
18
|
-
* Changed bind address to require prefix (http:// or https://)
|
19
|
-
Example:
|
20
|
-
Couchdb.address = "http://whisperservers.cloudant.com"
|
21
|
-
See documentation for details
|
22
|
-
|
23
|
-
=0.4.0
|
24
|
-
June 9, 2013
|
25
|
-
* added ability to find documents by multiple keys
|
26
|
-
Example:
|
27
|
-
keys = {:gender => 'male',:age => '34'}
|
28
|
-
Couchdb.find_by_keys({:database => 'friends', :keys => keys})
|
29
|
-
This will return all documents in the friends database with gender = male and age = 34
|
30
|
-
* added the ability to count documents by multiple keys
|
31
|
-
Example:
|
32
|
-
keys = {:gender => 'male',:age => '40'}
|
33
|
-
count = Couchdb.count_by_keys({:database => 'friends', :keys => keys})
|
34
|
-
This will return the number of documents in the friends database with gender = male and age = 40.
|
35
|
-
See documentation for details.
|
36
|
-
|
37
|
-
|
38
|
-
=0.3.4
|
39
|
-
June 2, 2013
|
40
|
-
* added options for manipulating query results, the options available are limit, skip, descending, startkey, endkey
|
41
|
-
Example
|
42
|
-
options = {:skip => 10,:limit => 20}
|
43
|
-
Couchdb.find_by({:database => 'contacts', :gender => 'female'},auth_session, options)
|
44
|
-
This will skip the first 10 results and return the next 20 that match the key :gender => 'female'
|
45
|
-
|
46
|
-
Another example
|
47
|
-
options = {:startkey => "53000", :endkey => "99000",:limit => 20}
|
48
|
-
Couchdb.find_by({:database => 'employees', :salary => ''},auth_session, options)
|
49
|
-
This will return all employees with salary between 53000 and 99000.
|
50
|
-
|
51
|
-
Direct view query:
|
52
|
-
view = { :database => "employees",
|
53
|
-
:design_doc => 'salary_finder',
|
54
|
-
:view => 'find_by_salary'}
|
55
|
-
options = {:startkey => "53000", :endkey => "99000"}
|
56
|
-
Couchdb.find view, auth_session,key=nil, options
|
57
|
-
This will also return all employees with salary between 53000 and 99000.
|
58
|
-
See leanback documentation for details.
|
59
|
-
|
60
|
-
=0.3.3
|
61
|
-
May 26, 2013
|
62
|
-
* Added ability to count the number of documents in a database by a specified key.
|
63
|
-
Example:
|
64
|
-
Couchdb.count({:database => 'contacts', :gender => 'female'},auth_session)
|
65
|
-
# => 8
|
66
|
-
This will count the number of documents with gender = 'female'
|
67
|
-
See leanback documentation for details.
|
68
|
-
|
69
|
-
=0.3.2
|
70
|
-
December 01, 2012
|
71
|
-
* Fixed issues with invalid JSON on CouchDB 1.2.0
|
72
|
-
|
73
|
-
=Leanback 0.3.1
|
74
|
-
December 5,2011
|
75
|
-
* Added ability to change password for non-admin users.
|
76
|
-
|
77
|
-
=Leanback 0.3.0
|
78
|
-
November 20,2011
|
79
|
-
* Added CouchDB Security features: working with admin and non-admin users, authentication, adding security objects to databases. See documentation for details.
|
80
|
-
|
81
|
-
November 9,2011:-
|
82
|
-
* Added support for couchDB configuration API. It's now possible to change/modify/delete any couchDB configuration settings with Leanback. README will soon be updated with details.
|
83
|
-
|
84
|
-
|
85
|
-
November 3, 2011:-
|
86
|
-
* Changed all the syntax for working with documents (creating, editing, updating and deleting documents now use a new syntax) See README for the change. Document::Module has been removed, it's methods are now part of Couchdb::Module.
|
87
|
-
|
88
|
-
|
89
|
-
=Leanback 0.2.7
|
90
|
-
August 4, 2011:-
|
91
|
-
* Added ability to Query a permanent view and create it on the fly from a json file, if it doesn't already exist and then return the values
|
92
|
-
Example:
|
93
|
-
view = {:database => 'contacts',
|
94
|
-
:design_doc => 'my_views',
|
95
|
-
:view => 'get_emails',
|
96
|
-
:json_doc => '/path/to/my_views.json'}
|
97
|
-
|
98
|
-
Couchdb.find_on_fly(view)
|
99
|
-
The above will query the view and add it to the database if it doesn't already exist and still return the values.
|
100
|
-
See README for details
|
101
|
-
|
102
|
-
=Leanback 0.2.6
|
103
|
-
August 3, 2011:-
|
104
|
-
* Added ability to delete documents without having to retrieve the _rev revision number
|
105
|
-
Example:
|
106
|
-
doc = {:database => 'contacts', :doc_id => 'James'}
|
107
|
-
Document.delete doc
|
108
|
-
The above will delete the document with id 'James'. See README for details.
|
109
|
-
|
110
|
-
=Leanback 0.2.5
|
111
|
-
August 2, 2011:-
|
112
|
-
* Added dynamic updates for documents. This makes it easy to update documents without deleting old fields or having to track the _rev number.
|
113
|
-
To update a document now:
|
114
|
-
data = {"age" => "53" }
|
115
|
-
doc = { :database => 'contacts', :doc_id => 'john', :data => data}
|
116
|
-
Document.update doc
|
117
|
-
This will update the document and change the John's age to 53. See README for details
|
118
|
-
|
119
|
-
=Leanback 0.2.4
|
120
|
-
July 20, 2011:-
|
121
|
-
* find_by(database,key) has a bug in version 0.2.3, please use version 0.2.4 instead
|
122
|
-
|
123
|
-
=Leanback 0.2.3
|
124
|
-
July 19, 2011:-
|
125
|
-
* Added better error handling all database operations now raise a CouchdbException when something goes wrong. It's now easy to track exceptions.
|
126
|
-
|
127
|
-
begin
|
128
|
-
Couchdb.create 'contacts'
|
129
|
-
rescue => e
|
130
|
-
puts "Error message: " + e.to_s
|
131
|
-
puts "Error value: " + e.error
|
132
|
-
end
|
133
|
-
# => Error message: CouchDB: Error - file_exists. Reason - The database could not be created, the file already exists.
|
134
|
-
Error value: file_exists
|
135
|
-
|
136
|
-
See README for details
|
137
|
-
|
138
|
-
=Leanback 0.2.2
|
139
|
-
July 13, 2011:-
|
140
|
-
* No need to call add_finder() method directly anymore. find_by() now adds a finder index to the database if one doesn't already exist.
|
141
|
-
Example:
|
142
|
-
The method:
|
143
|
-
Couchdb.find_by( :database => 'contacts', :email => 'nancy@mail.com')
|
144
|
-
will add the finder to the database if one doesn't already exist. No need to call
|
145
|
-
Couchdb.add_finder(:database => 'contacts', :key => 'email')
|
146
|
-
|
@@ -1,180 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="en-US">
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
5
|
-
<title>Welcome to the new site</title>
|
6
|
-
|
7
|
-
<link rel="stylesheet" href="http://www.whisperservers.com/leanback/wp-content/themes/hybrid/style.css" type="text/css" media="all" />
|
8
|
-
<link rel="profile" href="http://gmpg.org/xfn/11" />
|
9
|
-
<link rel="pingback" href="http://www.whisperservers.com/leanback/xmlrpc.php" />
|
10
|
-
|
11
|
-
<meta name="generator" content="WordPress 3.5.1 - really-static 0.5" />
|
12
|
-
<meta name="template" content="Hybrid 1.0" />
|
13
|
-
<meta name="robots" content="index,follow" />
|
14
|
-
<meta name="author" content="admin" />
|
15
|
-
<meta name="copyright" content="Copyright (c) November 2011" />
|
16
|
-
<meta name="revised" content="Monday, November 21st, 2011, 12:29 am" />
|
17
|
-
<meta name="keywords" content="Uncategorized" />
|
18
|
-
<link rel="alternate" type="application/rss+xml" title="Leanback » Feed" href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/feed/" />
|
19
|
-
|
20
|
-
<link rel="alternate" type="application/rss+xml" title="Leanback » Welcome to the new site Comments Feed" href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/2011/11/20/i-moved-leanback-documentation/feed/" />
|
21
|
-
<script type='text/javascript' src='http://www.whisperservers.com/leanback/wp-includes/js/comment-reply.min.js?ver=3.5.1'></script>
|
22
|
-
<script type='text/javascript' src='http://www.whisperservers.com/leanback/wp-includes/js/jquery/jquery.js?ver=1.8.3'></script>
|
23
|
-
<link rel='next' title='Released leanback v0.3.4' href='http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/2013/06/02/released-leanback-v0-3-4/' />
|
24
|
-
<link rel='canonical' href='http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/2011/11/20/i-moved-leanback-documentation/' />
|
25
|
-
|
26
|
-
<link rel="stylesheet" href="http://www.whisperservers.com/leanback/wp-content/plugins/wp-syntax/wp-syntax.css" type="text/css" media="screen" />
|
27
|
-
|
28
|
-
</head>
|
29
|
-
|
30
|
-
<body class="wordpress ltr en_US parent-theme y2013 m06 d09 h16 sunday logged-out singular singular-post singular-post-113 single-113 primary-active secondary-inactive subsidiary-inactive">
|
31
|
-
|
32
|
-
|
33
|
-
<div id="body-container">
|
34
|
-
|
35
|
-
|
36
|
-
<div id="header-container">
|
37
|
-
|
38
|
-
<div id="header">
|
39
|
-
|
40
|
-
<div id="site-title"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/" title="Leanback" rel="home"><span>Leanback</span></a></div>
|
41
|
-
<div id="site-description"><span>Simple Ruby interface to CouchDB</span></div>
|
42
|
-
|
43
|
-
</div><!-- #header -->
|
44
|
-
|
45
|
-
</div><!-- #header-container -->
|
46
|
-
|
47
|
-
|
48
|
-
<div id="container">
|
49
|
-
|
50
|
-
|
51
|
-
<div id="content" class="hfeed content">
|
52
|
-
|
53
|
-
<div class="breadcrumb breadcrumbs"><div class="breadcrumb-trail"><span class="trail-before"><span class="breadcrumb-title">Browse:</span></span> <a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/" title="Leanback" rel="home" class="trail-begin">Home</a> <span class="sep">/</span> <a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/2011/" title="2011">2011</a> <span class="sep">/</span> <a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/2011/11/" title="November 2011">November</a> <span class="sep">/</span> <a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/2011/11/20/" title="November 20, 2011">20</a> <span class="sep">/</span> <span class="trail-end">Welcome to the new site</span></div></div>
|
54
|
-
|
55
|
-
<div id="post-113" class="hentry post publish post-1 odd author-admin category-uncategorized">
|
56
|
-
|
57
|
-
<h1 class="post-title entry-title"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/2011/11/20/i-moved-leanback-documentation/" title="Welcome to the new site" rel="bookmark">Welcome to the new site</a></h1><p class="byline">By <span class="author vcard"><a class="url fn n" href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/author/admin/" title="admin">admin</a></span> on <abbr class="published" title="Sunday, November 20th, 2011, 10:48 pm">November 20, 2011</abbr> </p>
|
58
|
-
<div class="entry-content">
|
59
|
-
<p>This is the new location for Leanback RubyGem’s documentation. I moved it here, to support the release of v0.3.0. </p>
|
60
|
-
<p>A README file format wouldn’t be sufficient anymore. So I decided to move the documentation over here, to make it more accessible.</p>
|
61
|
-
</div><!-- .entry-content -->
|
62
|
-
|
63
|
-
<p class="entry-meta"><span class="category"><span class="before">Posted in </span><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/category/uncategorized/" rel="tag">Uncategorized</a></span> | <a class="comments-link" href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/2011/11/20/i-moved-leanback-documentation/#respond" title="Comment on Welcome to the new site">Leave a response</a></p>
|
64
|
-
</div><!-- .hentry -->
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
<div id="disqus_thread">
|
69
|
-
</div>
|
70
|
-
|
71
|
-
<script type="text/javascript">
|
72
|
-
/* <![CDATA[ */
|
73
|
-
var disqus_url = 'http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/2011/11/20/i-moved-leanback-documentation/';
|
74
|
-
var disqus_identifier = '113 http://www.whisperservers.com/leanback/?p=113';
|
75
|
-
var disqus_container_id = 'disqus_thread';
|
76
|
-
var disqus_domain = 'disqus.com';
|
77
|
-
var disqus_shortname = 'obi-akubue';
|
78
|
-
var disqus_title = "Welcome to the new site";
|
79
|
-
var disqus_config = function () {
|
80
|
-
var config = this; // Access to the config object
|
81
|
-
|
82
|
-
/*
|
83
|
-
All currently supported events:
|
84
|
-
* preData — fires just before we request for initial data
|
85
|
-
* preInit - fires after we get initial data but before we load any dependencies
|
86
|
-
* onInit - fires when all dependencies are resolved but before dtpl template is rendered
|
87
|
-
* afterRender - fires when template is rendered but before we show it
|
88
|
-
* onReady - everything is done
|
89
|
-
*/
|
90
|
-
|
91
|
-
config.callbacks.preData.push(function() {
|
92
|
-
// clear out the container (its filled for SEO/legacy purposes)
|
93
|
-
document.getElementById(disqus_container_id).innerHTML = '';
|
94
|
-
});
|
95
|
-
config.callbacks.onReady.push(function() {
|
96
|
-
// sync comments in the background so we don't block the page
|
97
|
-
DISQUS.request.get('?cf_action=sync_comments&post_id=113');
|
98
|
-
});
|
99
|
-
};
|
100
|
-
var facebookXdReceiverPath = 'http://www.whisperservers.com/leanback/wp-content/plugins/disqus-comment-system/xd_receiver.htm';
|
101
|
-
/* ]]> */
|
102
|
-
</script>
|
103
|
-
|
104
|
-
<script type="text/javascript">
|
105
|
-
/* <![CDATA[ */
|
106
|
-
var DsqLocal = {
|
107
|
-
'trackbacks': [
|
108
|
-
],
|
109
|
-
'trackback_url': "http:\/\/www.whisperservers.com\/leanback\/wp-content\/plugins\/really-static\/static\/2011\/11\/20\/i-moved-leanback-documentation\/trackback\/" };
|
110
|
-
/* ]]> */
|
111
|
-
</script>
|
112
|
-
|
113
|
-
<script type="text/javascript">
|
114
|
-
/* <![CDATA[ */
|
115
|
-
(function() {
|
116
|
-
var dsq = document.createElement('script'); dsq.type = 'text/javascript';
|
117
|
-
dsq.async = true;
|
118
|
-
dsq.src = 'http://' + disqus_shortname + '.' + disqus_domain + '/embed.js?pname=wordpress&pver=2.67';
|
119
|
-
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
120
|
-
})();
|
121
|
-
/* ]]> */
|
122
|
-
</script>
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
<div class="navigation-links">
|
129
|
-
<a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/2013/06/02/released-leanback-v0-3-4/" rel="next"><span class="next">Next »</span></a> </div><!-- .navigation-links -->
|
130
|
-
|
131
|
-
|
132
|
-
</div><!-- .content .hfeed -->
|
133
|
-
|
134
|
-
|
135
|
-
<div id="primary" class="sidebar aside">
|
136
|
-
|
137
|
-
|
138
|
-
<div id="hybrid-nav-menu-3" class="widget nav-menu widget-nav-menu"><div class="widget-wrap widget-inside"><h3 class="widget-title">Leanback</h3><div class="menu-sidebar-container"><ul id="menu-sidebar" class="nav-menu"><li id="menu-item-13" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/leanback/">Leanback</a><ul class="sub-menu"><li id="menu-item-14" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-14"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/leanback/installation/">Install</a></li><li id="menu-item-15" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-15"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/basic-couchdb-operations/">Basic CouchDB Operations</a></li><li id="menu-item-41" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-41"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/find-documents-by-key/">Find documents by key</a></li><li id="menu-item-167" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-167"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/find-document-by-multiple-keys/">Find document by multiple Keys</a></li><li id="menu-item-140" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-140"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/count-documents-by-key/">Count documents by key</a></li><li id="menu-item-175" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-175"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/count-by-multiple-documents/">Count documents by multiple keys</a></li><li id="menu-item-45" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-45"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/design-documents-and-permanent-views/">Working with CouchDB views</a></li><li id="menu-item-67" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-67"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/error-handling/">Error handling</a></li><li id="menu-item-96" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-96"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/couchdb-configuration/">CouchDB Configuration</a></li><li id="menu-item-102" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-102"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/couchdb-security/">CouchDB Security</a></li><li id="menu-item-105" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-105"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/setting-the-bind_address-port/">CouchDB Bind_Address & Port</a></li></ul></li><li id="menu-item-142" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-142"><a href="https://github.com/obi-a/leanback/blob/master/Changelog.rdoc">Changes</a></li><li id="menu-item-78" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-78"><a href="https://github.com/obi-a/leanback">Source Code</a></li></ul></div></div></div>
|
139
|
-
|
140
|
-
</div><!-- #primary .aside -->
|
141
|
-
|
142
|
-
|
143
|
-
</div><!-- #container -->
|
144
|
-
|
145
|
-
<div id="footer-container">
|
146
|
-
|
147
|
-
|
148
|
-
<div id="footer">
|
149
|
-
|
150
|
-
<div class="footer-insert"><p class="copyright">Copyright © 2013 <a href="http://obi-akubue.org">obi-akubue.org</a>.</p></div>
|
151
|
-
</div><!-- #footer -->
|
152
|
-
|
153
|
-
|
154
|
-
</div><!-- #footer-container -->
|
155
|
-
|
156
|
-
</div><!-- #body-container -->
|
157
|
-
|
158
|
-
|
159
|
-
<script type="text/javascript">
|
160
|
-
|
161
|
-
var _gaq = _gaq || [];
|
162
|
-
_gaq.push(['_setAccount', 'UA-20190925-6']);
|
163
|
-
_gaq.push(['_trackPageview']);
|
164
|
-
|
165
|
-
(function() {
|
166
|
-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
167
|
-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
168
|
-
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
|
169
|
-
})();
|
170
|
-
</script>
|
171
|
-
|
172
|
-
<a style='color:transparent;position:absolute;left:-99999px;z-index:-99999' href='http://www.wpdownloadmanager.com/' title='Premium Wordpress Plugin download manager'>Premium Wordpress Plugin</a>
|
173
|
-
<script type='text/javascript' src='http://www.whisperservers.com/leanback/wp-content/themes/hybrid/library/js/drop-downs.js?ver=20110705'></script>
|
174
|
-
|
175
|
-
</body>
|
176
|
-
</html>
|
177
|
-
<!-- Dynamic page generated in 0.371 seconds. -->
|
178
|
-
<!-- Cached page generated by WP-Super-Cache on 2013-06-09 16:29:26 -->
|
179
|
-
|
180
|
-
<!-- super cache -->
|
@@ -1,146 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="en-US">
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
5
|
-
<title>Archive for November 20th, 2011</title>
|
6
|
-
|
7
|
-
<link rel="stylesheet" href="http://www.whisperservers.com/leanback/wp-content/themes/hybrid/style.css" type="text/css" media="all" />
|
8
|
-
<link rel="profile" href="http://gmpg.org/xfn/11" />
|
9
|
-
<link rel="pingback" href="http://www.whisperservers.com/leanback/xmlrpc.php" />
|
10
|
-
|
11
|
-
<meta name="generator" content="WordPress 3.5.1 - really-static 0.5" />
|
12
|
-
<meta name="template" content="Hybrid 1.0" />
|
13
|
-
<meta name="robots" content="index,follow" />
|
14
|
-
<meta name="copyright" content="Copyright (c) 2013" />
|
15
|
-
<link rel="alternate" type="application/rss+xml" title="Leanback » Feed" href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/feed/" />
|
16
|
-
|
17
|
-
<script type='text/javascript' src='http://www.whisperservers.com/leanback/wp-includes/js/jquery/jquery.js?ver=1.8.3'></script>
|
18
|
-
|
19
|
-
<link rel="stylesheet" href="http://www.whisperservers.com/leanback/wp-content/plugins/wp-syntax/wp-syntax.css" type="text/css" media="screen" />
|
20
|
-
|
21
|
-
</head>
|
22
|
-
|
23
|
-
<body class="wordpress ltr en_US parent-theme y2013 m06 d09 h16 sunday logged-out archive date day primary-active secondary-inactive subsidiary-inactive">
|
24
|
-
|
25
|
-
|
26
|
-
<div id="body-container">
|
27
|
-
|
28
|
-
|
29
|
-
<div id="header-container">
|
30
|
-
|
31
|
-
<div id="header">
|
32
|
-
|
33
|
-
<div id="site-title"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/" title="Leanback" rel="home"><span>Leanback</span></a></div>
|
34
|
-
<div id="site-description"><span>Simple Ruby interface to CouchDB</span></div>
|
35
|
-
|
36
|
-
</div><!-- #header -->
|
37
|
-
|
38
|
-
</div><!-- #header-container -->
|
39
|
-
|
40
|
-
|
41
|
-
<div id="container">
|
42
|
-
|
43
|
-
|
44
|
-
<div id="content" class="hfeed content">
|
45
|
-
|
46
|
-
<div class="breadcrumb breadcrumbs"><div class="breadcrumb-trail"><span class="trail-before"><span class="breadcrumb-title">Browse:</span></span> <a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/" title="Leanback" rel="home" class="trail-begin">Home</a> <span class="sep">/</span> <a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/2011/" title="2011">2011</a> <span class="sep">/</span> <a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/2011/11/" title="November">November</a> <span class="sep">/</span> <span class="trail-end">20</span></div></div>
|
47
|
-
|
48
|
-
|
49
|
-
<div class="loop-meta archive-info date-info">
|
50
|
-
<h1 class="loop-title archive-title date-title">Archives by date</h1>
|
51
|
-
|
52
|
-
<div class="loop-description archive-description date-description">
|
53
|
-
<p>
|
54
|
-
You are browsing the site archives by date. </p>
|
55
|
-
</div><!-- .loop-description -->
|
56
|
-
|
57
|
-
</div><!-- .loop-meta -->
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
<div id="post-113" class="hentry post publish post-1 odd author-admin category-uncategorized">
|
62
|
-
|
63
|
-
|
64
|
-
<h2 class="entry-title"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/2011/11/20/i-moved-leanback-documentation/" title="Welcome to the new site" rel="bookmark">Welcome to the new site</a></h2><p class="byline">By <span class="author vcard"><a class="url fn n" href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/author/admin/" title="admin">admin</a></span> on <abbr class="published" title="Sunday, November 20th, 2011, 10:48 pm">November 20, 2011</abbr> </p>
|
65
|
-
<div class="entry-summary">
|
66
|
-
<p>This is the new location for Leanback RubyGem’s documentation. I moved it here, to support the release of v0.3.0. A README file format wouldn’t be sufficient anymore. So I decided to move the documentation over here, to make it more accessible.</p>
|
67
|
-
</div><!-- .entry-summary -->
|
68
|
-
|
69
|
-
<p class="entry-meta"><span class="category"><span class="before">Posted in </span><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/category/uncategorized/" rel="tag">Uncategorized</a></span> | <a class="comments-link" href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/2011/11/20/i-moved-leanback-documentation/#respond" title="Comment on Welcome to the new site">Leave a response</a></p>
|
70
|
-
</div><!-- .hentry -->
|
71
|
-
|
72
|
-
<script type="text/javascript">
|
73
|
-
// <![CDATA[
|
74
|
-
var disqus_shortname = 'obi-akubue';
|
75
|
-
var disqus_domain = 'disqus.com';
|
76
|
-
(function () {
|
77
|
-
var nodes = document.getElementsByTagName('span');
|
78
|
-
for (var i = 0, url; i < nodes.length; i++) {
|
79
|
-
if (nodes[i].className.indexOf('dsq-postid') != -1) {
|
80
|
-
nodes[i].parentNode.setAttribute('data-disqus-identifier', nodes[i].getAttribute('rel'));
|
81
|
-
url = nodes[i].parentNode.href.split('#', 1);
|
82
|
-
if (url.length == 1) { url = url[0]; }
|
83
|
-
else { url = url[1]; }
|
84
|
-
nodes[i].parentNode.href = url + '#disqus_thread';
|
85
|
-
}
|
86
|
-
}
|
87
|
-
var s = document.createElement('script'); s.async = true;
|
88
|
-
s.type = 'text/javascript';
|
89
|
-
s.src = 'http://' + disqus_domain + '/forums/' + disqus_shortname + '/count.js';
|
90
|
-
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
91
|
-
}());
|
92
|
-
//]]>
|
93
|
-
</script>
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
</div><!-- .content .hfeed -->
|
99
|
-
|
100
|
-
|
101
|
-
<div id="primary" class="sidebar aside">
|
102
|
-
|
103
|
-
|
104
|
-
<div id="hybrid-nav-menu-3" class="widget nav-menu widget-nav-menu"><div class="widget-wrap widget-inside"><h3 class="widget-title">Leanback</h3><div class="menu-sidebar-container"><ul id="menu-sidebar" class="nav-menu"><li id="menu-item-13" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-13"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/leanback/">Leanback</a><ul class="sub-menu"><li id="menu-item-14" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-14"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/leanback/installation/">Install</a></li><li id="menu-item-15" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-15"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/basic-couchdb-operations/">Basic CouchDB Operations</a></li><li id="menu-item-41" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-41"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/find-documents-by-key/">Find documents by key</a></li><li id="menu-item-167" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-167"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/find-document-by-multiple-keys/">Find document by multiple Keys</a></li><li id="menu-item-140" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-140"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/count-documents-by-key/">Count documents by key</a></li><li id="menu-item-175" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-175"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/count-by-multiple-documents/">Count documents by multiple keys</a></li><li id="menu-item-45" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-45"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/design-documents-and-permanent-views/">Working with CouchDB views</a></li><li id="menu-item-67" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-67"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/error-handling/">Error handling</a></li><li id="menu-item-96" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-96"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/couchdb-configuration/">CouchDB Configuration</a></li><li id="menu-item-102" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-102"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/couchdb-security/">CouchDB Security</a></li><li id="menu-item-105" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-105"><a href="http://www.whisperservers.com/leanback/wp-content/plugins/really-static/static/setting-the-bind_address-port/">CouchDB Bind_Address & Port</a></li></ul></li><li id="menu-item-142" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-142"><a href="https://github.com/obi-a/leanback/blob/master/Changelog.rdoc">Changes</a></li><li id="menu-item-78" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-78"><a href="https://github.com/obi-a/leanback">Source Code</a></li></ul></div></div></div>
|
105
|
-
|
106
|
-
</div><!-- #primary .aside -->
|
107
|
-
|
108
|
-
|
109
|
-
</div><!-- #container -->
|
110
|
-
|
111
|
-
<div id="footer-container">
|
112
|
-
|
113
|
-
|
114
|
-
<div id="footer">
|
115
|
-
|
116
|
-
<div class="footer-insert"><p class="copyright">Copyright © 2013 <a href="http://obi-akubue.org">obi-akubue.org</a>.</p></div>
|
117
|
-
</div><!-- #footer -->
|
118
|
-
|
119
|
-
|
120
|
-
</div><!-- #footer-container -->
|
121
|
-
|
122
|
-
</div><!-- #body-container -->
|
123
|
-
|
124
|
-
|
125
|
-
<script type="text/javascript">
|
126
|
-
|
127
|
-
var _gaq = _gaq || [];
|
128
|
-
_gaq.push(['_setAccount', 'UA-20190925-6']);
|
129
|
-
_gaq.push(['_trackPageview']);
|
130
|
-
|
131
|
-
(function() {
|
132
|
-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
133
|
-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
134
|
-
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
|
135
|
-
})();
|
136
|
-
</script>
|
137
|
-
|
138
|
-
<a style='color:transparent;position:absolute;left:-99999px;z-index:-99999' href='http://www.wpdownloadmanager.com/' title='Premium Wordpress Plugin download manager'>Premium Wordpress Plugin</a>
|
139
|
-
<script type='text/javascript' src='http://www.whisperservers.com/leanback/wp-content/themes/hybrid/library/js/drop-downs.js?ver=20110705'></script>
|
140
|
-
|
141
|
-
</body>
|
142
|
-
</html>
|
143
|
-
<!-- Dynamic page generated in 0.382 seconds. -->
|
144
|
-
<!-- Cached page generated by WP-Super-Cache on 2013-06-09 16:29:27 -->
|
145
|
-
|
146
|
-
<!-- super cache -->
|