space2underscore 0.0.9 → 0.1.0

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: 28265589c2d1a5cb934ad32b8480cc0bfc65bf30
4
- data.tar.gz: c94a175299e09cec20825200af0105a9fb3a7edd
3
+ metadata.gz: 1e9e2c7471e49356ee31babe6b9183833d0c0dde
4
+ data.tar.gz: 91cb86b414769827db5d2758c948dc59d0c4b86b
5
5
  SHA512:
6
- metadata.gz: 83aa8ea1655cb1f08695e5887bafc231bb2f45984f5fec08ae255a8f174c21b532fb5984209824be2792f24d8111939b7fb090abe9cf04d21f8ce00784f78a97
7
- data.tar.gz: 2977ad92aa3cdf66b1103028203b23f87c498d597d7b5d645329e3166405903eaa3da805d8c0ed8005a247b41075e3e68f407590af130fda78d0ebd4b66ecc15
6
+ metadata.gz: c24a9ef81512e37a88aa0c2fca45ff46b73a98305046621037d946d5ddccbe71e0312b6591bcb260a93577e5a3af90ceb3f298bba23eb49982969e389556bde0
7
+ data.tar.gz: 521cb2de34b78d0d88cbcd13e2fbff299d1842943f1e6376e9d2602a5acfa52340dc03c0e85d526c791f32f0117b7bf2f657f2746cb05c6ab642e5a5b236f90d
@@ -1,3 +1,3 @@
1
1
  module Space2underscore
2
- VERSION = '0.0.9'
2
+ VERSION = '0.1.0'
3
3
  end
@@ -2,7 +2,7 @@ require 'space2underscore/version'
2
2
 
3
3
  module Space2underscore
4
4
  def self.convert(argv)
5
- argv.length == 1 ? argv[0].gsub(/\s/, '_') : argv.join('_')
5
+ argv.length == 1 ? argv[0].strip.gsub(/\s/, '_') : argv.join('_')
6
6
  end
7
7
 
8
8
  def self.copy_command(space_include_sentence)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: space2underscore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - sachin21
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-12 00:00:00.000000000 Z
11
+ date: 2014-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  version: '0'
93
93
  requirements: []
94
94
  rubyforge_project:
95
- rubygems_version: 2.0.2
95
+ rubygems_version: 2.2.2
96
96
  signing_key:
97
97
  specification_version: 4
98
98
  summary: Convert to underscore the space