space2dot 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/space2dot/version.rb +1 -1
- data/lib/space2dot.rb +2 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d2daf257ae4f91f5983513446579236cfb19dcc
|
4
|
+
data.tar.gz: 229c9abb80809fbad0751fcdcae6e8094ce8eb39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37ca247d3c91346e57e1ff50f7e07737a914b96951a74da33d1628436e084cc4ad0736870e1163822eb6d561a7042162d165082a333cded192a60e9165171fd8
|
7
|
+
data.tar.gz: 87be1920ab73acb9bf6450266fdadbc76ca0ed8d4b1379564352a3c0f429efc70664a9cd2066c5985318fc5b8a007942a2f2a370ac11c44322e0583596bbdedf
|
data/lib/space2dot/version.rb
CHANGED
data/lib/space2dot.rb
CHANGED
@@ -1,9 +1,7 @@
|
|
1
1
|
require 'space2dot/version'
|
2
2
|
|
3
3
|
module Space2dot
|
4
|
-
|
5
|
-
|
6
|
-
argv.length == 1 ? argv[0].strip.gsub(/\s/, '.') : argv.join('.')
|
7
|
-
end
|
4
|
+
def self.convert(argv)
|
5
|
+
argv.length == 1 ? argv[0].strip.gsub(/\s/, '.').insert(0, '.') : argv.join('.').insert(0, '.')
|
8
6
|
end
|
9
7
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: space2dot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sachin21
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|