clean_test 1.0.0.rc1 → 1.0.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/clean_test/any.rb +2 -1
- data/lib/clean_test/version.rb +1 -1
- metadata +2 -2
data/lib/clean_test/any.rb
CHANGED
@@ -41,7 +41,7 @@ module Clean #:nodoc:
|
|
41
41
|
# }
|
42
42
|
# }
|
43
43
|
module Any
|
44
|
-
def self.
|
44
|
+
def self.setup_random_seed
|
45
45
|
seed = if ENV['RANDOM_SEED']
|
46
46
|
ENV['RANDOM_SEED'].to_i
|
47
47
|
else
|
@@ -51,6 +51,7 @@ module Clean #:nodoc:
|
|
51
51
|
srand(seed) # set it explicitly
|
52
52
|
puts "Random seed was #{seed}; re-use it via environment variable RANDOM_SEED"
|
53
53
|
end
|
54
|
+
setup_random_seed
|
54
55
|
MAX_RAND = 50000 #:nodoc:
|
55
56
|
|
56
57
|
# Public: Get any number; one that doesn't matter
|
data/lib/clean_test/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clean_test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc2
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -150,7 +150,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
150
150
|
version: '0'
|
151
151
|
segments:
|
152
152
|
- 0
|
153
|
-
hash: -
|
153
|
+
hash: -3311142887121248318
|
154
154
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
155
155
|
none: false
|
156
156
|
requirements:
|