dropio 1.7 → 1.7.1

Sign up to get free protection for your applications and to get access to all the features.
data/History.rdoc CHANGED
@@ -1,3 +1,8 @@
1
+ === 1.7 / 2010-02-08
2
+
3
+ * Added 0.5.2 as a requirement for httparty
4
+ * Added debug mode in Dropio::Config
5
+
1
6
  === 1.0.1 - 1.0.6=7 / 2009-10-08
2
7
 
3
8
  * Final button ups.
data/Readme.rdoc CHANGED
@@ -6,6 +6,10 @@ Before using the Dropio library, the application must set an API key. This key
6
6
 
7
7
  Dropio::Config.api_key = "83a05513ddddb73e75c9d8146c115f7fd8e90de6"
8
8
 
9
+ You can also get debug information through STDERR by doing:
10
+
11
+ Dropio::Config.debug = true
12
+
9
13
 
10
14
  == The Drop object
11
15
 
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.7"
5
+ s.version = "1.7.1"
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"]
data/lib/dropio/api.rb CHANGED
@@ -169,8 +169,8 @@ class Dropio::Api
169
169
  self.class.post("/drops/#{drop_name}/subscriptions", :body => { :token => token, :type => "pingback", :url => url}.merge(events))
170
170
  end
171
171
 
172
- def create_email_subscription(drop_name, emails, welcome_message = nil, welcome_subject = nil, welcome_from = nil, message = nil, events = {}, token = nil)
173
- params = {:token => token, :type => "email", :emails => emails, :welcome_from => welcome_from , :welcome_subject => welcome_subject, :welcome_message => welcome_message }.merge(events)
172
+ def create_email_subscription(drop_name, emails, message = nil, welcome_message = nil, welcome_subject = nil, welcome_from = nil, events = {}, token = nil)
173
+ params = {:token => token, :type => "email", :emails => emails, :message => message, :welcome_from => welcome_from , :welcome_subject => welcome_subject, :welcome_message => welcome_message }.merge(events)
174
174
  self.class.post("/drops/#{drop_name}/subscriptions", :body => params)
175
175
  end
176
176
 
data/lib/dropio.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Dropio
2
- VERSION = '1.7'
2
+ VERSION = '1.7.1'
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.7"
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Good