prize 0.1.1 → 0.1.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 82411ca26768e8b46a215ffd04d3d91e4948718ccb65aa676ff4191ae8c3366f
4
- data.tar.gz: b5bde5e58dbf8237ce8d781747e55093e63f2001f4548980eab2c5140c982596
3
+ metadata.gz: 616d05ca3fa1605ccbb99cc2913119b69c320e121f88a6d4efe5e5a378fe14e8
4
+ data.tar.gz: 636d08c174fe4475ec6f24cda972c96f38e22946b2c3bd65637273203a2422cd
5
5
  SHA512:
6
- metadata.gz: 0d47a4757e58984d192145a0cc10f0904c6d385e0913be728f2dd637f742f06a708772366fca2e4ed52babb745431734c8dfed8c61f5ee92ba906065499c55a5
7
- data.tar.gz: 8c250766efaca424210ebb3be2e09eb00c64e61d9aecb407538d2f6a30dc53a63647a47aacc0b74de0e422ad7428c0869a67845c1bff21cbedd6fe3c94a394de
6
+ metadata.gz: 3760f983d572d7836967541f269b4481cf5c15511a9c54650e2120af9aa64b285826235abb7e69f72375ae6f077101026e3ddf5061a1f087b9f83c7aaf3ea62b
7
+ data.tar.gz: a617d173fbc6e6fbcc91ae7fccec5daee997fa6b7f9890c2da9306eb5caaf4b48d923829db8f987fc0aa68987715aa4bfe8e22445f1cb790b1dc74ef61fe8ba4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- prize (0.1.1)
4
+ prize (0.1.2)
5
5
  activesupport
6
6
  hiredis (>= 0.6.0)
7
7
  pry (>= 0.12.0)
data/README.md CHANGED
@@ -1,28 +1,37 @@
1
- # prize
1
+ # Prize
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/prize`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
3
+ Simple Redis CLI client with pry loaded
6
4
 
7
5
  ## Installation
8
6
 
9
- Add this line to your application's Gemfile:
10
7
 
11
- ```ruby
12
- gem 'prize'
13
- ```
8
+ Install it yourself as:
14
9
 
15
- And then execute:
10
+ $ gem install prize
16
11
 
17
- $ bundle
12
+ Or:
18
13
 
19
- Or install it yourself as:
20
-
21
- $ gem install prize
14
+ $ sudo gem install prize
22
15
 
23
16
  ## Usage
24
17
 
25
- TODO: Write usage instructions here
18
+ ```
19
+ Commands:
20
+ prize # Simple Redis CLI client with Pry loaded
21
+ prize help [COMMAND] # Describe available commands or one specific command
22
+
23
+ Options:
24
+ -u, [--url=URL] # Server URL, for a TCP connection: `redis://:[password]@[hostname]:[port]/[db]` (password, port and database are optional), for a unix socket connection: `unix://[path to Redis socket]`. This overrides all other options.
25
+ -h, [--host=HOST] # Server hostname (default: 127.0.0.1)
26
+ -p, [--port=N] # Server port (default: 6379)
27
+ -s, --socket, [--path=PATH] # Server socket (overrides hostname and port)
28
+ [--timeout=N] # Timeout in seconds (default: 5.0)
29
+ [--connect-timeout=N] # Timeout for initial connect in seconds (default: same as timeout)
30
+ -a, [--password=PASSWORD] # Password to authenticate against server
31
+ -n, [--db=N] # Database number (default: 0)
32
+ [--replica], [--no-replica] # Whether to use readonly replica nodes in Redis Cluster or not
33
+ [--cluster=CLUSTER] # List of cluster nodes to contact, format: URL1,URL2,URL3...
34
+ ```
26
35
 
27
36
  ## Development
28
37
 
data/lib/prize/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Prize
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
data/prize.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = %{Simple Redis CLI client with pry loaded}
13
13
  spec.description = %{Simple Redis CLI client with pry loaded}
14
- spec.homepage = "https://github.com/lululau/ktct"
14
+ spec.homepage = "https://github.com/lululau/prize"
15
15
  spec.license = "MIT"
16
16
 
17
17
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liu Xiang
@@ -146,7 +146,7 @@ files:
146
146
  - lib/prize/cli.rb
147
147
  - lib/prize/version.rb
148
148
  - prize.gemspec
149
- homepage: https://github.com/lululau/ktct
149
+ homepage: https://github.com/lululau/prize
150
150
  licenses:
151
151
  - MIT
152
152
  metadata: {}