disque 0.0.1.alpha

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.
Files changed (8) hide show
  1. checksums.yaml +7 -0
  2. data/.gems +2 -0
  3. data/LICENSE +19 -0
  4. data/README.md +21 -0
  5. data/disque.gemspec +15 -0
  6. data/lib/disque.rb +7 -0
  7. data/makefile +2 -0
  8. metadata +64 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 6753b7f8705cec0eefb2a66dbf7a4fe7db031912
4
+ data.tar.gz: b25be6917de9eff8d7a85a955774d4ef91851541
5
+ SHA512:
6
+ metadata.gz: 301fac4892ef2d456611401f668301c7536a94428e0e0e708bdb4671dc236a3c947ce6b091ebcdf167722944bc08b94f6ecdaa372b9ddbec423e3556fc57e19f
7
+ data.tar.gz: 01141bcf43fe5c08a4325631d2932766ec71910b006f75d9d3a78ee65139ea7913ec4d6226a4b6d2b01f68b29038ed9ff6895f921ac228c08bf8f7a18c42d669
data/.gems ADDED
@@ -0,0 +1,2 @@
1
+ cutest -v 1.2.0
2
+ redic -v 1.4.1
data/LICENSE ADDED
@@ -0,0 +1,19 @@
1
+ Copyright (c) 2015 Michel Martens
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in
11
+ all copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,21 @@
1
+ Disque.rb
2
+ =========
3
+
4
+ Client for Disque, an in-memory, distributed job queue.
5
+
6
+ Status
7
+ ------
8
+
9
+ Disque is expected to be RESP compatible, and that means most Redis
10
+ transport clients will be able to connect to it and run any command.
11
+ This library is thus an imaginary client for Disque, but one that
12
+ should work at least at a very basic level and connect to one node.
13
+
14
+ Installation
15
+ ------------
16
+
17
+ You will be able to install it with RubyGems.
18
+
19
+ ```
20
+ $ gem install disque
21
+ ```
data/disque.gemspec ADDED
@@ -0,0 +1,15 @@
1
+ # encoding: utf-8
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = "disque"
5
+ s.version = "0.0.1.alpha"
6
+ s.summary = "Client for Disque"
7
+ s.description = "Client for Disque"
8
+ s.authors = ["Michel Martens"]
9
+ s.email = ["michel@soveran.com"]
10
+ s.homepage = "https://github.com/soveran/disque.rb"
11
+ s.files = `git ls-files`.split("\n")
12
+ s.license = "MIT"
13
+
14
+ s.add_dependency "redic"
15
+ end
data/lib/disque.rb ADDED
@@ -0,0 +1,7 @@
1
+ require "redic"
2
+
3
+ class Disque
4
+ def initialize(url)
5
+ Redic.new(url)
6
+ end
7
+ end
data/makefile ADDED
@@ -0,0 +1,2 @@
1
+ test:
2
+ RUBYLIB=./lib cutest tests/*.rb
metadata ADDED
@@ -0,0 +1,64 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: disque
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1.alpha
5
+ platform: ruby
6
+ authors:
7
+ - Michel Martens
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-03-16 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: redic
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ description: Client for Disque
28
+ email:
29
+ - michel@soveran.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - .gems
35
+ - LICENSE
36
+ - README.md
37
+ - disque.gemspec
38
+ - lib/disque.rb
39
+ - makefile
40
+ homepage: https://github.com/soveran/disque.rb
41
+ licenses:
42
+ - MIT
43
+ metadata: {}
44
+ post_install_message:
45
+ rdoc_options: []
46
+ require_paths:
47
+ - lib
48
+ required_ruby_version: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - '>='
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
53
+ required_rubygems_version: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - '>'
56
+ - !ruby/object:Gem::Version
57
+ version: 1.3.1
58
+ requirements: []
59
+ rubyforge_project:
60
+ rubygems_version: 2.0.14
61
+ signing_key:
62
+ specification_version: 4
63
+ summary: Client for Disque
64
+ test_files: []