google_apps 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/google_apps/transport.rb +2 -2
  2. metadata +2 -2
@@ -91,7 +91,7 @@ module GoogleApps
91
91
  end
92
92
 
93
93
  urls.each do |url|
94
- download(url, filename + "#{urls.index[url]}")
94
+ download(url, filename + "#{urls.index(url)}")
95
95
  end
96
96
  end
97
97
 
@@ -104,7 +104,7 @@ module GoogleApps
104
104
  @request = Net::HTTP::Get.new uri.path
105
105
  set_headers :user
106
106
 
107
- File.new(filename, "w") do |file|
107
+ File.open(filename, "w") do |file|
108
108
  file.puts request(uri).body
109
109
  end
110
110
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google_apps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-15 00:00:00.000000000 Z
12
+ date: 2012-04-17 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Library for interfacing with Google Apps' Domain and Application APIs
15
15
  email: