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 CHANGED
@@ -1,7 +1,16 @@
1
- = trumpet
1
+ = Trumpet
2
+ This is the official gem for interfacing with with the {Trumpet}[http://trumpet.io] api.
2
3
 
3
- Description goes here.
4
+ = Get It
4
5
 
5
- == Copyright
6
+ Run the following if you haven't already:
6
7
 
7
- Copyright (c) 2009 Michael Taras. See LICENSE for details.
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
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 9
2
+ :patch: 10
3
3
  :major: 0
4
4
  :minor: 0
@@ -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 self.delete
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
 
@@ -1,7 +1,7 @@
1
1
  module Trumpet
2
2
  class Transmitter
3
3
  @@attributes = [
4
- :transmitter_id,
4
+ :id,
5
5
  :source_url,
6
6
  :tags,
7
7
  :location_string,
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.9
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-05 00:00:00 -07:00
12
+ date: 2009-05-06 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency