utils 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.14
1
+ 0.0.15
data/bin/search CHANGED
@@ -10,9 +10,9 @@ def edit_files(pathes)
10
10
  editor = Utils::Editor.new do |config|
11
11
  config.wait = true
12
12
  end
13
- for (file, linenumber) in pathes.map { |p| p.split(':') }
14
- STDERR.puts "Edit #{file}:#{linenumber}"
15
- editor.edit_linenumber(file, linenumber)
13
+ for path in pathes
14
+ STDERR.puts "Edit #{path}"
15
+ editor.edit(path)
16
16
  end
17
17
  end
18
18
 
@@ -1,6 +1,6 @@
1
1
  module Utils
2
2
  # Utils version
3
- VERSION = '0.0.14'
3
+ VERSION = '0.0.15'
4
4
  VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i } # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{utils}
5
- s.version = "0.0.14"
5
+ s.version = "0.0.15"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = [%q{Florian Frank}]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-08-08 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gem_hadar
16
- requirement: &2152803900 !ruby/object:Gem::Requirement
16
+ requirement: &2160552100 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.0.11
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *2152803900
24
+ version_requirements: *2160552100
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: spruz
27
- requirement: &2152803440 !ruby/object:Gem::Requirement
27
+ requirement: &2160551620 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.2.12
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2152803440
35
+ version_requirements: *2160551620
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: term-ansicolor
38
- requirement: &2152802940 !ruby/object:Gem::Requirement
38
+ requirement: &2160551140 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '1.0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *2152802940
46
+ version_requirements: *2160551140
47
47
  description: This ruby gem provides some useful command line utilities
48
48
  email: flori@ping.de
49
49
  executables: