trumpet-trumpet 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +13 -4
- data/VERSION.yml +1 -1
- data/lib/trumpet/listener.rb +3 -2
- data/lib/trumpet/transmitter.rb +1 -1
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -1,7 +1,16 @@
|
|
1
|
-
=
|
1
|
+
= Trumpet
|
2
|
+
This is the official gem for interfacing with with the {Trumpet}[http://trumpet.io] api.
|
2
3
|
|
3
|
-
|
4
|
+
= Get It
|
4
5
|
|
5
|
-
|
6
|
+
Run the following if you haven't already:
|
6
7
|
|
7
|
-
|
8
|
+
gem sources -a http://gems.github.com
|
9
|
+
|
10
|
+
Then Install the gem:
|
11
|
+
|
12
|
+
sudo gem install trumpet-trumpet
|
13
|
+
|
14
|
+
Also, feel free to grab the source:
|
15
|
+
|
16
|
+
git clone git://github.com/trumpet/trumpet.git
|
data/VERSION.yml
CHANGED
data/lib/trumpet/listener.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
module Trumpet
|
2
2
|
class Listener
|
3
3
|
@@attributes = [
|
4
|
+
:id,
|
4
5
|
:receiver_id,
|
5
6
|
:owner_id,
|
6
7
|
:uri,
|
@@ -29,8 +30,8 @@ module Trumpet
|
|
29
30
|
listeners.map { |attributes| Listener.new(attributes) }
|
30
31
|
end
|
31
32
|
|
32
|
-
def
|
33
|
-
!!Trumpet::Request.delete("/listeners/#{@id}")
|
33
|
+
def delete
|
34
|
+
!!Trumpet::Request.delete("/listeners/#{@id}", :parse_response => false)
|
34
35
|
end
|
35
36
|
|
36
37
|
|
data/lib/trumpet/transmitter.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trumpet-trumpet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Taras
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-05-
|
12
|
+
date: 2009-05-06 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|