gdata 1.1.0 → 1.1.2

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
 
@@ -44,13 +36,13 @@ end
44
36
 
45
37
  spec = Gem::Specification.new do |s|
46
38
  s.platform = Gem::Platform::RUBY
47
- s.author = 'Jeff Fisher'
48
- s.email = 'jfisher@youtube.com'
39
+ s.author = 'Jeff Fisher, Trevor Johns'
40
+ s.email = 'trevorjohns@google.com'
49
41
  s.homepage = 'http://code.google.com/p/gdata-ruby-util'
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.2'
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
@@ -20,7 +20,7 @@ module GData
20
20
 
21
21
  def initialize(options = {})
22
22
  options[:clientlogin_service] ||= 'print'
23
- options[:authsub_scope] ||= 'http://www.google.com/books/feeds/'
23
+ options[:authsub_scope] ||= 'https://www.google.com/books/feeds/'
24
24
  super(options)
25
25
  end
26
26
  end
@@ -23,7 +23,7 @@ module GData
23
23
 
24
24
  def initialize(options = {})
25
25
  options[:clientlogin_service] ||= 'cl'
26
- options[:authsub_scope] ||= 'http://www.google.com/calendar/feeds/'
26
+ options[:authsub_scope] ||= 'https://www.google.com/calendar/feeds/'
27
27
  super(options)
28
28
  end
29
29
 
@@ -20,7 +20,7 @@ module GData
20
20
 
21
21
  def initialize(options = {})
22
22
  options[:clientlogin_service] ||= 'cp'
23
- options[:authsub_scope] ||= 'http://www.google.com/m8/feeds/'
23
+ options[:authsub_scope] ||= 'https://www.google.com/m8/feeds/'
24
24
  super(options)
25
25
  end
26
26
  end
@@ -20,7 +20,7 @@ module GData
20
20
 
21
21
  def initialize(options = {})
22
22
  options[:clientlogin_service] ||= 'writely'
23
- options[:authsub_scope] ||= 'http://docs.google.com/feeds/'
23
+ options[:authsub_scope] ||= 'https://docs.google.com/feeds/'
24
24
  super(options)
25
25
  end
26
26
  end
@@ -20,7 +20,7 @@ module GData
20
20
 
21
21
  def initialize(options = {})
22
22
  options[:clientlogin_service] ||= 'gbase'
23
- options[:authsub_scope] ||= 'http://www.google.com/base/feeds/'
23
+ options[:authsub_scope] ||= 'https://www.google.com/base/feeds/'
24
24
  super(options)
25
25
  end
26
26
  end
@@ -20,7 +20,7 @@ module GData
20
20
 
21
21
  def initialize(options = {})
22
22
  options[:clientlogin_service] ||= 'notebook'
23
- options[:authsub_scope] ||= 'http://www.google.com/notebook/feeds/'
23
+ options[:authsub_scope] ||= 'https://www.google.com/notebook/feeds/'
24
24
  super(options)
25
25
  end
26
26
  end
@@ -20,7 +20,7 @@ module GData
20
20
 
21
21
  def initialize(options = {})
22
22
  options[:clientlogin_service] ||= 'lh2'
23
- options[:authsub_scope] ||= 'http://picasaweb.google.com/data/'
23
+ options[:authsub_scope] ||= 'https://picasaweb.google.com/data/'
24
24
  options[:version] ||= '1'
25
25
  super(options)
26
26
  end
@@ -20,7 +20,7 @@ module GData
20
20
 
21
21
  def initialize(options = {})
22
22
  options[:clientlogin_service] ||= 'wise'
23
- options[:authsub_scope] ||= 'http://spreadsheets.google.com/feeds/'
23
+ options[:authsub_scope] ||= 'https://spreadsheets.google.com/feeds/'
24
24
  super(options)
25
25
  end
26
26
  end
@@ -20,7 +20,7 @@ module GData
20
20
 
21
21
  def initialize(options = {})
22
22
  options[:clientlogin_service] ||= 'sitemaps'
23
- options[:authsub_scope] ||= 'http://www.google.com/webmasters/tools/feeds/'
23
+ options[:authsub_scope] ||= 'https://www.google.com/webmasters/tools/feeds/'
24
24
  super(options)
25
25
  end
26
26
  end
@@ -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,20 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gdata
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ hash: 23
5
+ prerelease:
6
+ segments:
7
+ - 1
8
+ - 1
9
+ - 2
10
+ version: 1.1.2
5
11
  platform: ruby
6
12
  authors:
7
- - Jeff Fisher
13
+ - Jeff Fisher, Trevor Johns
8
14
  autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2009-04-28 00:00:00 -07:00
18
+ date: 2011-03-28 00:00:00 -07:00
13
19
  default_executable:
14
20
  dependencies: []
15
21
 
16
- description: This gem provides a set of wrappers designed to make it easy to work with the Google Data APIs.
17
- email: jfisher@youtube.com
22
+ description: |
23
+ This gem provides a set of wrappers designed to make it easy to work with
24
+ the Google Data APIs.
25
+
26
+ email: trevorjohns@google.com
18
27
  executables: []
19
28
 
20
29
  extensions: []
@@ -69,6 +78,8 @@ files:
69
78
  - test/ts_gdata_http.rb
70
79
  has_rdoc: true
71
80
  homepage: http://code.google.com/p/gdata-ruby-util
81
+ licenses: []
82
+
72
83
  post_install_message:
73
84
  rdoc_options:
74
85
  - --main
@@ -76,23 +87,29 @@ rdoc_options:
76
87
  require_paths:
77
88
  - lib
78
89
  required_ruby_version: !ruby/object:Gem::Requirement
90
+ none: false
79
91
  requirements:
80
92
  - - ">="
81
93
  - !ruby/object:Gem::Version
94
+ hash: 3
95
+ segments:
96
+ - 0
82
97
  version: "0"
83
- version:
84
98
  required_rubygems_version: !ruby/object:Gem::Requirement
99
+ none: false
85
100
  requirements:
86
101
  - - ">="
87
102
  - !ruby/object:Gem::Version
103
+ hash: 3
104
+ segments:
105
+ - 0
88
106
  version: "0"
89
- version:
90
107
  requirements:
91
108
  - none
92
109
  rubyforge_project: gdata
93
- rubygems_version: 1.3.1
110
+ rubygems_version: 1.6.2
94
111
  signing_key:
95
- specification_version: 2
112
+ specification_version: 3
96
113
  summary: Google Data APIs Ruby Utility Library
97
114
  test_files:
98
115
  - test/ts_gdata.rb