nakamura 0.7 → 0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -53,6 +53,7 @@ module SlingUsers
53
53
  })}
54
54
 
55
55
  result = @sling.execute_post(@sling.url_for($GROUP_WORLD_URI), params)
56
+ @sling.switch_user(User.admin_user)
56
57
  if (result.code.to_i > 299)
57
58
  @log.error result.body
58
59
  return nil
@@ -24,8 +24,8 @@ module OSGIConf
24
24
  if ( res.code != "200" )
25
25
  @log.debug(res.body)
26
26
  @log.info(" Unable to update config for #{factoryPid}")
27
- return false
28
27
  end
28
+ return res
29
29
  end
30
30
  end
31
31
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nakamura
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.7'
4
+ version: '0.8'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-01 00:00:00.000000000 Z
12
+ date: 2012-03-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
16
- requirement: &21272880 !ruby/object:Gem::Requirement
16
+ requirement: &11895320 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 1.6.3
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *21272880
24
+ version_requirements: *11895320
25
25
  description: Ruby library for interacting with Sakai Nakamura. Provides convenience
26
26
  methods for adding users and groups and other similar tasks.
27
27
  email: oae-dev@collab.sakaiproject.org