nakamura 0.9 → 0.10

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.
Files changed (2) hide show
  1. data/lib/nakamura/test.rb +2 -1
  2. metadata +7 -7
data/lib/nakamura/test.rb CHANGED
@@ -91,7 +91,8 @@ module SlingTest
91
91
 
92
92
  def wait_for_indexer()
93
93
  magic_content = "#{uniqueness()}_#{rand(1000).to_s}"
94
- path = "~admin/private/wait_for_indexer_#{magic_content}"
94
+ current_user = @s.get_user()
95
+ path = "~#{current_user.name}/private/wait_for_indexer_#{magic_content}"
95
96
  urlpath = @s.url_for(path)
96
97
  res = @s.execute_post(urlpath, {
97
98
  "sling:resourceType" => "sakai/widget-data",
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.9'
4
+ version: '0.10'
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-06-01 00:00:00.000000000 Z
12
+ date: 2012-06-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
@@ -34,15 +34,15 @@ executables: []
34
34
  extensions: []
35
35
  extra_rdoc_files: []
36
36
  files:
37
- - lib/nakamura/test.rb
38
37
  - lib/nakamura/authz.rb
39
- - lib/nakamura/full_group_creator.rb
40
- - lib/nakamura/users.rb
41
38
  - lib/nakamura/contacts.rb
39
+ - lib/nakamura/file.rb
40
+ - lib/nakamura/full_group_creator.rb
42
41
  - lib/nakamura/message.rb
43
42
  - lib/nakamura/osgiconf.rb
44
43
  - lib/nakamura/search.rb
45
- - lib/nakamura/file.rb
44
+ - lib/nakamura/test.rb
45
+ - lib/nakamura/users.rb
46
46
  - lib/nakamura.rb
47
47
  homepage: http://sakaiproject.org
48
48
  licenses: []
@@ -65,7 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - none
67
67
  rubyforge_project:
68
- rubygems_version: 1.8.21
68
+ rubygems_version: 1.8.23
69
69
  signing_key:
70
70
  specification_version: 3
71
71
  summary: Ruby library for interacting with Sakai Nakamura.