gdata 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -26,15 +26,7 @@ end
26
26
  task :prepdoc do
27
27
  all_doc_files = FileList.new('doc/**/*')
28
28
  all_doc_files.each do |file|
29
- system "svn add #{file}"
30
- end
31
- doc_files = FileList.new('doc/**/*.html')
32
- doc_files.each do |file|
33
- system "svn propset svn:mime-type 'text/html' #{file}"
34
- end
35
- css_files = FileList.new('doc/**/*.css')
36
- css_files.each do |file|
37
- system "svn propset svn:mime-type 'text/css' #{file}"
29
+ system "hg add #{file}"
38
30
  end
39
31
  end
40
32
 
@@ -50,7 +42,7 @@ spec = Gem::Specification.new do |s|
50
42
  s.summary = "Google Data APIs Ruby Utility Library"
51
43
  s.rubyforge_project = 'gdata'
52
44
  s.name = 'gdata'
53
- s.version = '1.1.0'
45
+ s.version = '1.1.1'
54
46
  s.requirements << 'none'
55
47
  s.require_path = 'lib'
56
48
  s.test_files = FileList['test/ts_gdata.rb']
@@ -86,7 +86,7 @@ module GData
86
86
  when 401, 403
87
87
  raise AuthorizationError.new(response)
88
88
  when 400
89
- raise BadRequestError, response.body
89
+ raise BadRequestError.new(response)
90
90
  when 409
91
91
  raise VersionConflictError.new(response)
92
92
  when 500
@@ -62,7 +62,7 @@ module GData
62
62
  wrapped_entry = "--#{@boundary}\r\n"
63
63
  wrapped_entry += "Content-Type: application/atom+xml\r\n\r\n"
64
64
  wrapped_entry += entry
65
- wrapped_entry += "--#{@boundary}\r\n"
65
+ wrapped_entry += "\r\n--#{@boundary}\r\n"
66
66
  wrapped_entry += "Content-Type: #{file_mime_type}\r\n\r\n"
67
67
  return MimeBodyString.new(wrapped_entry)
68
68
  end
@@ -92,4 +92,4 @@ module GData
92
92
  end
93
93
  end
94
94
  end
95
- end
95
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gdata
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Fisher
@@ -9,11 +9,14 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-04-28 00:00:00 -07:00
12
+ date: 2009-11-09 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
16
- description: This gem provides a set of wrappers designed to make it easy to work with the Google Data APIs.
16
+ description: |
17
+ This gem provides a set of wrappers designed to make it easy to work with
18
+ the Google Data APIs.
19
+
17
20
  email: jfisher@youtube.com
18
21
  executables: []
19
22
 
@@ -60,7 +63,6 @@ files:
60
63
  - test/tc_gdata_client_youtube.rb
61
64
  - test/tc_gdata_http_mime_body.rb
62
65
  - test/tc_gdata_http_request.rb
63
- - test/test_config.yml.example
64
66
  - test/test_helper.rb
65
67
  - test/testimage.jpg
66
68
  - test/ts_gdata.rb
@@ -69,6 +71,8 @@ files:
69
71
  - test/ts_gdata_http.rb
70
72
  has_rdoc: true
71
73
  homepage: http://code.google.com/p/gdata-ruby-util
74
+ licenses: []
75
+
72
76
  post_install_message:
73
77
  rdoc_options:
74
78
  - --main
@@ -90,9 +94,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
94
  requirements:
91
95
  - none
92
96
  rubyforge_project: gdata
93
- rubygems_version: 1.3.1
97
+ rubygems_version: 1.3.5
94
98
  signing_key:
95
- specification_version: 2
99
+ specification_version: 3
96
100
  summary: Google Data APIs Ruby Utility Library
97
101
  test_files:
98
102
  - test/ts_gdata.rb
@@ -1,7 +0,0 @@
1
- ---
2
- username: myaccount
3
- password: mypassword
4
- # uncomment to test authsub
5
- #authsub_token: someauthsubtoken
6
- # uncomment to test secure authsub
7
- #authsub_private_key: /path/to/private/key