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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 964e1b346ea243d0c641b074684c850af5c47aaf
4
- data.tar.gz: 628f1413c4e3005103bbaedc3cf342a51eebf0b1
3
+ metadata.gz: 0d2daf257ae4f91f5983513446579236cfb19dcc
4
+ data.tar.gz: 229c9abb80809fbad0751fcdcae6e8094ce8eb39
5
5
  SHA512:
6
- metadata.gz: 2948899e37b0c9a4e6235810332449bbba32646e37d6c07aeb023714b288a3effae8828cef6dc8655e26e216c9395ad1188e8d06b4b1358d90e6f3f5304d755a
7
- data.tar.gz: 94f12e9ea8b35e63ff529d395197cb143c6a6ebceb3c2b896d5ae40adb083657cf332dcfb2cf56aca980870aaec073daf5928ad5f76d884e6c53c4d2d0fb40d2
6
+ metadata.gz: 37ca247d3c91346e57e1ff50f7e07737a914b96951a74da33d1628436e084cc4ad0736870e1163822eb6d561a7042162d165082a333cded192a60e9165171fd8
7
+ data.tar.gz: 87be1920ab73acb9bf6450266fdadbc76ca0ed8d4b1379564352a3c0f429efc70664a9cd2066c5985318fc5b8a007942a2f2a370ac11c44322e0583596bbdedf
@@ -1,3 +1,3 @@
1
1
  module Space2dot
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
data/lib/space2dot.rb CHANGED
@@ -1,9 +1,7 @@
1
1
  require 'space2dot/version'
2
2
 
3
3
  module Space2dot
4
- class << self
5
- def convert(argv)
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.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-09 00:00:00.000000000 Z
11
+ date: 2015-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler