RubyGems
npm
Organizations
Log in
Sign up
RubyGems
short-url-creator
Versions diffs
0.1.1 → 0.1.2
short-url-creator 0.1.1 → 0.1.2
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/short-url-creator.rb
+1
-1
metadata
+1
-1
data/lib/short-url-creator.rb
CHANGED
@@ -43,7 +43,7 @@ class ShortUrlCreator
43
43
44
44
def generate(count)
45
45
get_short_url(count)
46
-
@short_url
.join
46
+
@short_url
47
47
end
48
48
def get_short_url(count)
49
49
if count > @array_size
metadata
CHANGED
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: short-url-creator
3
3
version: !ruby/object:Gem::Version
4
-
version: 0.1.
1
4
+
version: 0.1.
2
5
5
platform: ruby
6
6
authors: []
7
7