nakamura 0.3 → 0.4
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.
- data/lib/nakamura/test.rb +5 -1
- metadata +2 -2
data/lib/nakamura/test.rb
CHANGED
|
@@ -70,8 +70,12 @@ module SlingTest
|
|
|
70
70
|
return g
|
|
71
71
|
end
|
|
72
72
|
|
|
73
|
+
def uniqueness()
|
|
74
|
+
Time.now.to_f.to_s.gsub(".", "")
|
|
75
|
+
end
|
|
76
|
+
|
|
73
77
|
def wait_for_indexer()
|
|
74
|
-
magic_content = "#{
|
|
78
|
+
magic_content = "#{uniqueness()}_#{rand(1000).to_s}"
|
|
75
79
|
filename = "wait_for_indexer_#{magic_content}"
|
|
76
80
|
|
|
77
81
|
fm = SlingFile::FileManager.new(@s)
|
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.
|
|
4
|
+
version: '0.4'
|
|
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:
|
|
12
|
+
date: 2012-01-05 00:00:00.000000000Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: Ruby library for interacting with Sakai Nakamura. Provides convenience
|
|
15
15
|
methods for adding users and groups and other similar tasks.
|