gdata4ruby 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +2 -0
- data/lib/gdata4ruby/acl/access_rule.rb +3 -2
- metadata +12 -5
data/CHANGELOG
CHANGED
@@ -77,7 +77,8 @@ module GData4Ruby
|
|
77
77
|
#Deletes the AccessRule
|
78
78
|
def delete
|
79
79
|
if @exists
|
80
|
-
|
80
|
+
@role = 'none'
|
81
|
+
service.send_request(Request.new(:put, @edit_uri, self.to_xml, {"If-Match" => "*", 'Content-Type' => 'application/atom+xml'}))
|
81
82
|
end
|
82
83
|
@exists = false
|
83
84
|
return true
|
@@ -111,7 +112,7 @@ module GData4Ruby
|
|
111
112
|
when "role"
|
112
113
|
ele.attributes['value'] = @role
|
113
114
|
when 'scope'
|
114
|
-
if @user
|
115
|
+
if @user and @user != 'default'
|
115
116
|
ele.attributes['value'] = @user
|
116
117
|
else
|
117
118
|
ele.attributes['type'] = 'default'
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gdata4ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 1
|
8
|
+
- 2
|
9
|
+
version: 0.1.2
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Mike Reich
|
@@ -9,7 +14,7 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date: 2010-
|
17
|
+
date: 2010-05-13 00:00:00 +10:00
|
13
18
|
default_executable:
|
14
19
|
dependencies: []
|
15
20
|
|
@@ -44,18 +49,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
44
49
|
requirements:
|
45
50
|
- - ">="
|
46
51
|
- !ruby/object:Gem::Version
|
52
|
+
segments:
|
53
|
+
- 0
|
47
54
|
version: "0"
|
48
|
-
version:
|
49
55
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
50
56
|
requirements:
|
51
57
|
- - ">="
|
52
58
|
- !ruby/object:Gem::Version
|
59
|
+
segments:
|
60
|
+
- 0
|
53
61
|
version: "0"
|
54
|
-
version:
|
55
62
|
requirements: []
|
56
63
|
|
57
64
|
rubyforge_project: gdata4ruby
|
58
|
-
rubygems_version: 1.3.
|
65
|
+
rubygems_version: 1.3.6
|
59
66
|
signing_key:
|
60
67
|
specification_version: 3
|
61
68
|
summary: A full featured wrapper for interacting with the base Google Data API
|