RubyGems
npm
Organizations
Log in
Sign up
RubyGems
specstar-support-random
Versions diffs
0.0.3 → 0.0.4
specstar-support-random 0.0.3 → 0.0.4
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/specstar/support/random.rb
+1
-1
metadata
+1
-1
data/lib/specstar/support/random.rb
CHANGED
Viewed
@@ -36,7 +36,7 @@ def random_query
36
36
end
37
37
38
38
def random_url(options={})
39
-
uri = if options
.include?
:domain
39
+
uri = if options
[
:domain
]
40
40
URI("#{['http', 'https'].sample}://#{options.delete(:domain)}")
41
41
else
42
42
URI(random_domain)
metadata
CHANGED
Viewed
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: specstar-support-random
3
3
version: !ruby/object:Gem::Version
4
-
version: 0.0.
3
4
+
version: 0.0.
4
5
5
prerelease:
6
6
platform: ruby
7
7
authors: