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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +23 -14
- data/lib/prize/version.rb +1 -1
- data/prize.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 616d05ca3fa1605ccbb99cc2913119b69c320e121f88a6d4efe5e5a378fe14e8
|
4
|
+
data.tar.gz: 636d08c174fe4475ec6f24cda972c96f38e22946b2c3bd65637273203a2422cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3760f983d572d7836967541f269b4481cf5c15511a9c54650e2120af9aa64b285826235abb7e69f72375ae6f077101026e3ddf5061a1f087b9f83c7aaf3ea62b
|
7
|
+
data.tar.gz: a617d173fbc6e6fbcc91ae7fccec5daee997fa6b7f9890c2da9306eb5caaf4b48d923829db8f987fc0aa68987715aa4bfe8e22445f1cb790b1dc74ef61fe8ba4
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,28 +1,37 @@
|
|
1
|
-
#
|
1
|
+
# Prize
|
2
2
|
|
3
|
-
|
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
|
-
|
12
|
-
gem 'prize'
|
13
|
-
```
|
8
|
+
Install it yourself as:
|
14
9
|
|
15
|
-
|
10
|
+
$ gem install prize
|
16
11
|
|
17
|
-
|
12
|
+
Or:
|
18
13
|
|
19
|
-
|
20
|
-
|
21
|
-
$ gem install prize
|
14
|
+
$ sudo gem install prize
|
22
15
|
|
23
16
|
## Usage
|
24
17
|
|
25
|
-
|
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
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/
|
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.
|
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/
|
149
|
+
homepage: https://github.com/lululau/prize
|
150
150
|
licenses:
|
151
151
|
- MIT
|
152
152
|
metadata: {}
|