rethinkdb-cli 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 04066b6b90ac48fce515276e30fc4ee2464f7b2f
4
- data.tar.gz: a27d0b89bda4c8acac3d413bd01e9dbf8748cc90
3
+ metadata.gz: 3a9031086c9dd333a13bb70937100019593217b0
4
+ data.tar.gz: 5eb56ca31695d7226fdf1beed5c2efac97994680
5
5
  SHA512:
6
- metadata.gz: 264b03158045870bcdd39e026e1257072fd8a7480f0989626fc84336352cb27b675e600d1ea4895947d8b5de33bfecc8cea1b5d47956eb19704a8b0c02ed5991
7
- data.tar.gz: 54fb4e746b67ff9a0f5e5f7d06d4a17863f45e4300e9f7b3b8f445c8acbe2e42d4a12bd9120c033b9750460069f8c22b99a69b95650e0e27b4a230ae4e793bc2
6
+ metadata.gz: 6b347b294eb5ab2101ad6008fd53c7ef812e499d2a5e8863354fa7dcc7e2ce6670aac4c5d71cc6981fc1ce35734bf6353d988e28bc7ab6096ffdca98466e4f1b
7
+ data.tar.gz: 497e843e95cbfdd64fa27a379b5d9787841366062a7a73118edef942aadf23517520e716fcc36911ddad0831d3fdc96fe7f84ac2237e60f0ced49f9a3c98dc99
data/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # Rethinkdb Command Line Interface
2
2
 
3
- WIP: A cli for rethinkdb written in ruby. Stay tuned.
3
+ A cli for rethinkdb written in ruby.
4
4
 
5
5
  At moment there a very simply version, to try:
6
6
 
7
- 1. Install the gem
7
+ 1. Install the gem `gem install rethinkdb-cli`
8
8
  2. Run `rethinkdb-cli`
9
- 3. Use `$c` variable to send requests to Rethinkdb server
9
+ 3. Use `r` to access rethinkdb database
10
10
 
11
11
  ## Contributing
12
12
 
data/lib/rethinkdb/cli.rb CHANGED
@@ -6,8 +6,8 @@ module Rethinkdb
6
6
  module Cli
7
7
  def self.start
8
8
  r = RethinkDB::RQL.new
9
- $c = r.connect(:host => 'localhost', :port => 28015).repl
10
- Ripl.start
9
+ c = r.connect(:host => 'localhost', :port => 28015).repl
10
+ Ripl.start :binding => binding
11
11
  end
12
12
  end
13
13
  end
@@ -1,5 +1,5 @@
1
1
  module Rethinkdb
2
2
  module Cli
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rethinkdb-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rocco Galluzzo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-14 00:00:00.000000000 Z
11
+ date: 2014-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rethinkdb