dropio 1.0.6 → 1.0.7

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.
data/History.rdoc CHANGED
@@ -1,4 +1,4 @@
1
- === 1.0.1 - 1.0.6 / 2009-10-08
1
+ === 1.0.1 - 1.0.6=7 / 2009-10-08
2
2
 
3
3
  * Final button ups.
4
4
  * Addition of pingback urls and convert to parameters.
data/dropio.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{dropio}
5
- s.version = "1.0.6"
5
+ s.version = "1.0.7"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Jake Good"]
@@ -1,7 +1,7 @@
1
1
  class Dropio::Comment < Dropio::Resource
2
2
 
3
3
  attr_accessor :id, :contents, :created_at, :asset
4
-
4
+
5
5
  # Saves the comment back to drop.io
6
6
  def save
7
7
  Dropio::Resource.client.update_comment(self)
@@ -1,11 +1,6 @@
1
1
  class Dropio::Subscription < Dropio::Resource
2
2
  attr_accessor :id, :username, :message, :type, :drop
3
3
 
4
- # Fetches a single Subscription
5
- def self.find(id)
6
- Dropio::Resource.client.subscription(id)
7
- end
8
-
9
4
  # Destroys the given subscription. Admin +token+ required
10
5
  def destroy!(token)
11
6
  Dropio::Resource.client.delete_subscription(self,token)
data/lib/dropio.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Dropio
2
- VERSION = '1.0.6'
2
+ VERSION = '1.0.7'
3
3
 
4
4
  class MissingResourceError < Exception; end
5
5
  class AuthorizationError < Exception; end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dropio
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Good