carrot-top 0.0.2.alpha → 0.0.3

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 (4) hide show
  1. data/MIT-LICENSE.txt +20 -0
  2. data/README.org +25 -0
  3. data/carrot-top.gemspec +1 -1
  4. metadata +12 -10
data/MIT-LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 Sean Porter.
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.org ADDED
@@ -0,0 +1,25 @@
1
+ * Getting started
2
+ : gem install carrot-top
3
+ * Usage
4
+ : require "carrot-top"
5
+ : rabbitmq_info = CarrotTop.new(:host => "localhost", :port => 55672, :user => "user", :password => "password")
6
+ Various random bits of information that describe the whole system.
7
+ : rabbitmq_info.overview
8
+ A list of all open connections.
9
+ : rabbitmq_info.connections
10
+ A list of all open channels.
11
+ : rabbitmq_info.channels
12
+ A list of all exchanges.
13
+ : rabbitmq_info.exchanges
14
+ A list of all queues.
15
+ : rabbitmq_info.queues
16
+ A list of all bindings.
17
+ : rabbitmq_info.bindings
18
+ A list of all vhosts.
19
+ : rabbitmq_info.vhosts
20
+ A list of all users.
21
+ : rabbitmq_info.users
22
+ A list of all permissions for all users.
23
+ : rabbitmq_info.permissions
24
+ * License
25
+ Carrot-Top is released under the MIT license.
data/carrot-top.gemspec CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "carrot-top"
6
- s.version = "0.0.2.alpha"
6
+ s.version = "0.0.3"
7
7
  s.authors = ["Sean Porter"]
8
8
  s.email = ["portertech@gmail.com"]
9
9
  s.homepage = "https://github.com/portertech/carrot-top"
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carrot-top
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2.alpha
5
- prerelease: 6
4
+ version: 0.0.3
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Sean Porter
@@ -13,7 +13,7 @@ date: 2011-10-15 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
16
- requirement: &70340034362080 !ruby/object:Gem::Requirement
16
+ requirement: &70201798501220 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70340034362080
24
+ version_requirements: *70201798501220
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: minitest
27
- requirement: &70340034360660 !ruby/object:Gem::Requirement
27
+ requirement: &70201798492600 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70340034360660
35
+ version_requirements: *70201798492600
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: webmock
38
- requirement: &70340034358580 !ruby/object:Gem::Requirement
38
+ requirement: &70201798490600 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70340034358580
46
+ version_requirements: *70201798490600
47
47
  description: A Ruby library for querying the RabbitMQ Management API
48
48
  email:
49
49
  - portertech@gmail.com
@@ -53,6 +53,8 @@ extra_rdoc_files: []
53
53
  files:
54
54
  - .gitignore
55
55
  - Gemfile
56
+ - MIT-LICENSE.txt
57
+ - README.org
56
58
  - Rakefile
57
59
  - carrot-top.gemspec
58
60
  - lib/carrot-top.rb
@@ -72,9 +74,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
72
74
  required_rubygems_version: !ruby/object:Gem::Requirement
73
75
  none: false
74
76
  requirements:
75
- - - ! '>'
77
+ - - ! '>='
76
78
  - !ruby/object:Gem::Version
77
- version: 1.3.1
79
+ version: '0'
78
80
  requirements: []
79
81
  rubyforge_project: carrot-top
80
82
  rubygems_version: 1.8.10