rscribd 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/History.txt +4 -0
  2. data/README.txt +1 -1
  3. data/Rakefile +1 -1
  4. data/lib/scribddoc.rb +3 -0
  5. metadata +3 -3
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 1.0.3 / 2009-7-13
2
+
3
+ * Removed unnecessary post parameters from API calls.
4
+
1
5
  === 1.0.2 / 2009-7-9
2
6
 
3
7
  * Added support for getting information about the API user when no other user
data/README.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  = rscribd
2
2
 
3
- * 1.0.2 (July 9, 2009)
3
+ * 1.0.3 (July 13, 2009)
4
4
 
5
5
  == DESCRIPTION:
6
6
 
data/Rakefile CHANGED
@@ -3,7 +3,7 @@ require 'hoe'
3
3
  require 'spec/rake/spectask'
4
4
 
5
5
  Hoe.spec('rscribd') do |p|
6
- p.version = '1.0.2'
6
+ p.version = '1.0.3'
7
7
  p.rubyforge_name = 'rscribd'
8
8
  p.author = 'Jared Friedman, Tim Morgan'
9
9
  p.email = 'api@scribd.com'
data/lib/scribddoc.rb CHANGED
@@ -144,6 +144,7 @@ module Scribd
144
144
  fields.delete :file
145
145
  fields.delete :type
146
146
  fields.delete :access
147
+ fields.delete :conversion_status
147
148
 
148
149
  changed_attributes = fields.dup # changed_attributes is what we will stick into @attributes once we update remotely
149
150
 
@@ -151,6 +152,8 @@ module Scribd
151
152
  changed_attributes[:owner] ||= API.instance.user
152
153
  fields[:doc_ids] = self.id
153
154
 
155
+ fields.delete :owner
156
+
154
157
  API.instance.send_request('docs.changeSettings', fields)
155
158
 
156
159
  @attributes.update(changed_attributes)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rscribd
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jared Friedman, Tim Morgan
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-07-09 00:00:00 -07:00
12
+ date: 2009-07-13 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -30,7 +30,7 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 2.3.1
33
+ version: 2.3.2
34
34
  version:
35
35
  description: |-
36
36
  This gem provides a simple and powerful library for the Scribd API, allowing you