ditto_code 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/dittocode/parse.rb +3 -8
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5549d700221d252487353b5b7b3399979672dc19
4
- data.tar.gz: 2f6f6063f7c9637980ed943ddf3e109118b56e2d
3
+ metadata.gz: d45d548498e69ecad8d759e8aed1e3c17df6765e
4
+ data.tar.gz: 18c3ea1ca196d56fe0ccb2ad177cb0fac9bdedb3
5
5
  SHA512:
6
- metadata.gz: d45c0bc34ba051ae0c40a16e153a66ae271fc9ee085b71839e694bc2578982de4ac65b3ed2b05c73239fcadda0a4b465e7f4cb9caaf6354eafc8ffc9ed3f5023
7
- data.tar.gz: ae585332913884569fa7aa483905462c780dfa01127e98ad7762dc5e93c4ac432ebdcb456b4ed0cf361bf7248ce14b215293be0514cfc629d6b190deedb4ba07
6
+ metadata.gz: 065e4d4bb009ff1e516dbdd193334edbd303e411501d93a7675d79e9d0ca0949cb64d9a4273e79e118c20d2a802d9c3814864920f267c082f7fb1c877658034d
7
+ data.tar.gz: 35e6fc6473fee37d2bd84a0e9e34a39233bba9535bd57b8f9e6e70920244d2cccd4f84294924f9aa20d61e20c49b22d1cfeba974652fa8ca81d184e3b736b143
@@ -6,11 +6,6 @@ module DittoCode
6
6
  require 'rainbow'
7
7
  require 'rainbow/ext/string'
8
8
 
9
- # Say hello ditto
10
- def self.hi
11
- say "Hi man! What's up?"
12
- end
13
-
14
9
  # Initialize the environment
15
10
  def initialize(environment, override, verbose, indent)
16
11
  @env = environment
@@ -106,7 +101,7 @@ module DittoCode
106
101
  end
107
102
 
108
103
  if @verbose || dittos != 0
109
- say "#{dittos} lines ditted on #{@dir_name}#{@file_name}! [ "+"OK".color("64d67f")+" ]"
104
+ say "[ "+"OK".color("64d67f")+" ] #{dittos} lines ditted on #{@dir_name}#{@file_name}!"
110
105
  end
111
106
 
112
107
  closeFile(out_file)
@@ -114,9 +109,9 @@ module DittoCode
114
109
  rescue => e
115
110
 
116
111
  if e.class == Errno::EISDIR
117
- say "[Err] If you wants to use a directory use the option -f [ "+"ERR".color("ed5757")+" ]"
112
+ say "[ "+"ERR".color("ed5757")+" ] If you wants to use a directory use the option -f"
118
113
  else
119
- say "[Err] Oh no! I have an error :( [ "+"ERR".color("ed5757")+" ]"
114
+ say "[ "+"ERR".color("ed5757")+" ] Oh no! I have an error :("
120
115
  end
121
116
 
122
117
  if @verbose
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ditto_code
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Angel M Miguel