space2underscore 0.0.3 → 0.0.4

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: a0644386aebad1c8ec50cc390b484780fa58bcb0
4
- data.tar.gz: 9374dcef44d1caf196626d49c7ef580688fa4365
3
+ metadata.gz: b3fad8292b2a2c955cbb68d537fc332db5ea13e9
4
+ data.tar.gz: d71bd1e29ec45e2b02efc220f0d1ccbdab595a05
5
5
  SHA512:
6
- metadata.gz: daf6fcff2983baf9bb1852d2bfdb6bdb5aea90d0889d14577aedddc32a003af5dfa17e53db068179fa8805d9c01bba2c7d82643f336993b111c390d621d4ff82
7
- data.tar.gz: 84b375c8d59736ce67b4d878436383c81ad4c877577720c3b3380114058f2bd9e5bb6b578f2b8115f49e3de755d96d4bd122c154f2e52114006e5032218e3be3
6
+ metadata.gz: 6737cd3d383538fea45e9e3fe67ac0b1c026132f13cd790d4a0420fb79a1e716714db480f9f1dacd78d536912c511c49adba5434d11a6250394464ec8eda0e6a
7
+ data.tar.gz: bf9eab4a34b5fd85b403d114b51ef6c2926c6530a76f4be6a83c8483fd19b0cda22685fcf70dbea3a02892ea7485176a37b8759ca668dc5755f10d76b7926608
@@ -4,7 +4,7 @@ module Space2underscore
4
4
  def self.convert_to_underscore(argv)
5
5
  if argv
6
6
  space_include = argv.gsub(/\s/, '_')
7
- copy_command = `echo #{space_include} | ruby -ne 'print $_.chomp' | pbcopy`
7
+ copy_command = `echo #{space_include} | ruby -pe 'chomp' | pbcopy`
8
8
  return space_include, copy_command
9
9
  else
10
10
  raise "Error! Please enter string"
@@ -1,3 +1,3 @@
1
1
  module Space2underscore
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: space2underscore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - sachin21