nakamura 0.3 → 0.4

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/nakamura/test.rb +5 -1
  2. 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 = "#{Time.now().to_i}_#{rand(1000).to_s}"
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.3'
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: 2011-11-09 00:00:00.000000000Z
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.