utils 0.0.44 → 0.0.45

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -15,7 +15,7 @@ GemHadar do
15
15
  ignore '.*.sw[pon]', 'pkg', 'Gemfile.lock', '.rvmrc', '.AppleDouble'
16
16
  readme 'README.rdoc'
17
17
 
18
- dependency 'tins', '~>0.3.13'
18
+ dependency 'tins'
19
19
  dependency 'term-ansicolor', '~>1.0'
20
20
  dependency 'dslkit', '~>0.2.10'
21
21
  dependency 'pry-editline'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.44
1
+ 0.0.45
data/lib/utils/editor.rb CHANGED
@@ -20,7 +20,8 @@ module Utils
20
20
  filename = to_s
21
21
  end
22
22
  array = linenumber ? [ filename, linenumber ] : [ filename, 1 ]
23
- array.singleton_class.instance_eval do
23
+ array_singletion_class = class << array; self; end
24
+ array_singleton_class.instance_eval do
24
25
  define_method(:filename) { filename }
25
26
  define_method(:linenumber) { linenumber }
26
27
  define_method(:to_s) { [ filename, linenumber ].compact * ':' }
data/lib/utils/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Utils
2
2
  # Utils version
3
- VERSION = '0.0.44'
3
+ VERSION = '0.0.45'
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:
data/utils.gemspec CHANGED
@@ -2,41 +2,41 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "utils"
5
- s.version = "0.0.44"
5
+ s.version = "0.0.45"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Florian Frank"]
9
- s.date = "2012-04-27"
9
+ s.date = "2012-06-02"
10
10
  s.description = "This ruby gem provides some useful command line utilities"
11
11
  s.email = "flori@ping.de"
12
- s.executables = ["untest", "chroot-libs", "edit_wait", "chroot-exec", "number_files", "search", "strip_spaces", "path", "enum", "edit", "git-empty", "classify", "utils-install-config", "xmp", "discover", "sshscreen", "myex", "probe", "errf", "same_files", "utils-utilsrc", "unquarantine_apps", "vacuum_firefox_sqlite", "sedit"]
13
- s.extra_rdoc_files = ["README.rdoc", "lib/utils/config/config_file.rb", "lib/utils/finder.rb", "lib/utils/version.rb", "lib/utils/irb.rb", "lib/utils/find.rb", "lib/utils/config.rb", "lib/utils/editor.rb", "lib/utils/grepper.rb", "lib/utils/file_xt.rb", "lib/utils/md5.rb", "lib/utils/patterns.rb", "lib/utils.rb"]
12
+ s.executables = ["chroot-exec", "chroot-libs", "classify", "discover", "edit", "edit_wait", "enum", "errf", "git-empty", "myex", "number_files", "path", "probe", "same_files", "search", "sedit", "sshscreen", "strip_spaces", "unquarantine_apps", "untest", "utils-install-config", "utils-utilsrc", "vacuum_firefox_sqlite", "xmp"]
13
+ s.extra_rdoc_files = ["README.rdoc", "lib/utils/config/config_file.rb", "lib/utils/config.rb", "lib/utils/editor.rb", "lib/utils/file_xt.rb", "lib/utils/find.rb", "lib/utils/finder.rb", "lib/utils/grepper.rb", "lib/utils/irb.rb", "lib/utils/md5.rb", "lib/utils/patterns.rb", "lib/utils/version.rb", "lib/utils.rb"]
14
14
  s.files = [".gitignore", "COPYING", "Gemfile", "README.rdoc", "Rakefile", "TODO", "VERSION", "bin/chroot-exec", "bin/chroot-libs", "bin/classify", "bin/discover", "bin/edit", "bin/edit_wait", "bin/enum", "bin/errf", "bin/git-empty", "bin/myex", "bin/number_files", "bin/path", "bin/probe", "bin/same_files", "bin/search", "bin/sedit", "bin/sshscreen", "bin/strip_spaces", "bin/unquarantine_apps", "bin/untest", "bin/utils-install-config", "bin/utils-utilsrc", "bin/vacuum_firefox_sqlite", "bin/xmp", "lib/utils.rb", "lib/utils/config.rb", "lib/utils/config/config_file.rb", "lib/utils/config/gdb/asm", "lib/utils/config/gdb/ruby", "lib/utils/config/gdbinit", "lib/utils/config/irbrc", "lib/utils/config/rdebugrc", "lib/utils/config/rvmrc", "lib/utils/config/screenrc", "lib/utils/config/utilsrc", "lib/utils/config/vim/autoload/Align.vim", "lib/utils/config/vim/autoload/AlignMaps.vim", "lib/utils/config/vim/autoload/rails.vim", "lib/utils/config/vim/autoload/rubycomplete.vim", "lib/utils/config/vim/autoload/sqlcomplete.vim", "lib/utils/config/vim/autoload/vimball.vim", "lib/utils/config/vim/colors/flori.vim", "lib/utils/config/vim/compiler/eruby.vim", "lib/utils/config/vim/compiler/ruby.vim", "lib/utils/config/vim/compiler/rubyunit.vim", "lib/utils/config/vim/ftdetect/ragel.vim", "lib/utils/config/vim/ftdetect/ruby.vim", "lib/utils/config/vim/ftplugin/eruby.vim", "lib/utils/config/vim/ftplugin/ruby.vim", "lib/utils/config/vim/ftplugin/xml.vim", "lib/utils/config/vim/indent/IndentAnything_html.vim", "lib/utils/config/vim/indent/eruby.vim", "lib/utils/config/vim/indent/javascript.vim", "lib/utils/config/vim/indent/ruby.vim", "lib/utils/config/vim/plugin/AlignMapsPlugin.vim", "lib/utils/config/vim/plugin/AlignPlugin.vim", "lib/utils/config/vim/plugin/Decho.vim", "lib/utils/config/vim/plugin/IndentAnything.vim", "lib/utils/config/vim/plugin/bufexplorer.vim", "lib/utils/config/vim/plugin/cecutil.vim", "lib/utils/config/vim/plugin/fugitive.vim", "lib/utils/config/vim/plugin/lusty-explorer.vim", "lib/utils/config/vim/plugin/rails.vim", "lib/utils/config/vim/plugin/rubyextra.vim", "lib/utils/config/vim/plugin/surround.vim", "lib/utils/config/vim/plugin/taglist.vim", "lib/utils/config/vim/plugin/test/IndentAnything/test.js", "lib/utils/config/vim/plugin/vimballPlugin.vim", "lib/utils/config/vim/syntax/Decho.vim", "lib/utils/config/vim/syntax/eruby.vim", "lib/utils/config/vim/syntax/javascript.vim", "lib/utils/config/vim/syntax/ragel.vim", "lib/utils/config/vim/syntax/ruby.vim", "lib/utils/config/vimrc", "lib/utils/editor.rb", "lib/utils/file_xt.rb", "lib/utils/find.rb", "lib/utils/finder.rb", "lib/utils/grepper.rb", "lib/utils/irb.rb", "lib/utils/md5.rb", "lib/utils/patterns.rb", "lib/utils/version.rb", "utils.gemspec"]
15
15
  s.homepage = "http://github.com/flori/utils"
16
16
  s.rdoc_options = ["--title", "Utils - Some useful command line utilities", "--main", "README.rdoc"]
17
17
  s.require_paths = ["lib"]
18
- s.rubygems_version = "1.8.23"
18
+ s.rubygems_version = "1.8.24"
19
19
  s.summary = "Some useful command line utilities"
20
20
 
21
21
  if s.respond_to? :specification_version then
22
22
  s.specification_version = 3
23
23
 
24
24
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
25
- s.add_development_dependency(%q<gem_hadar>, ["~> 0.1.7"])
26
- s.add_runtime_dependency(%q<tins>, ["~> 0.3.13"])
25
+ s.add_development_dependency(%q<gem_hadar>, ["~> 0.1.8"])
26
+ s.add_runtime_dependency(%q<tins>, [">= 0"])
27
27
  s.add_runtime_dependency(%q<term-ansicolor>, ["~> 1.0"])
28
28
  s.add_runtime_dependency(%q<dslkit>, ["~> 0.2.10"])
29
29
  s.add_runtime_dependency(%q<pry-editline>, [">= 0"])
30
30
  else
31
- s.add_dependency(%q<gem_hadar>, ["~> 0.1.7"])
32
- s.add_dependency(%q<tins>, ["~> 0.3.13"])
31
+ s.add_dependency(%q<gem_hadar>, ["~> 0.1.8"])
32
+ s.add_dependency(%q<tins>, [">= 0"])
33
33
  s.add_dependency(%q<term-ansicolor>, ["~> 1.0"])
34
34
  s.add_dependency(%q<dslkit>, ["~> 0.2.10"])
35
35
  s.add_dependency(%q<pry-editline>, [">= 0"])
36
36
  end
37
37
  else
38
- s.add_dependency(%q<gem_hadar>, ["~> 0.1.7"])
39
- s.add_dependency(%q<tins>, ["~> 0.3.13"])
38
+ s.add_dependency(%q<gem_hadar>, ["~> 0.1.8"])
39
+ s.add_dependency(%q<tins>, [">= 0"])
40
40
  s.add_dependency(%q<term-ansicolor>, ["~> 1.0"])
41
41
  s.add_dependency(%q<dslkit>, ["~> 0.2.10"])
42
42
  s.add_dependency(%q<pry-editline>, [">= 0"])
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.44
4
+ version: 0.0.45
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-27 00:00:00.000000000 Z
12
+ date: 2012-06-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gem_hadar
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 0.1.7
21
+ version: 0.1.8
22
22
  type: :development
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,23 +26,23 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: 0.1.7
29
+ version: 0.1.8
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: tins
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  none: false
34
34
  requirements:
35
- - - ~>
35
+ - - ! '>='
36
36
  - !ruby/object:Gem::Version
37
- version: 0.3.13
37
+ version: '0'
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - ~>
43
+ - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
- version: 0.3.13
45
+ version: '0'
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: term-ansicolor
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -94,57 +94,45 @@ dependencies:
94
94
  description: This ruby gem provides some useful command line utilities
95
95
  email: flori@ping.de
96
96
  executables:
97
- - untest
97
+ - chroot-exec
98
98
  - chroot-libs
99
+ - classify
100
+ - discover
101
+ - edit
99
102
  - edit_wait
100
- - chroot-exec
101
- - number_files
102
- - search
103
- - strip_spaces
104
- - path
105
103
  - enum
106
- - edit
104
+ - errf
107
105
  - git-empty
108
- - classify
109
- - utils-install-config
110
- - xmp
111
- - discover
112
- - sshscreen
113
106
  - myex
107
+ - number_files
108
+ - path
114
109
  - probe
115
- - errf
116
110
  - same_files
117
- - utils-utilsrc
111
+ - search
112
+ - sedit
113
+ - sshscreen
114
+ - strip_spaces
118
115
  - unquarantine_apps
116
+ - untest
117
+ - utils-install-config
118
+ - utils-utilsrc
119
119
  - vacuum_firefox_sqlite
120
- - sedit
120
+ - xmp
121
121
  extensions: []
122
122
  extra_rdoc_files:
123
123
  - README.rdoc
124
- - !binary |-
125
- bGliL3V0aWxzL2NvbmZpZy9jb25maWdfZmlsZS5yYg==
126
- - !binary |-
127
- bGliL3V0aWxzL2ZpbmRlci5yYg==
128
- - !binary |-
129
- bGliL3V0aWxzL3ZlcnNpb24ucmI=
130
- - !binary |-
131
- bGliL3V0aWxzL2lyYi5yYg==
132
- - !binary |-
133
- bGliL3V0aWxzL2ZpbmQucmI=
134
- - !binary |-
135
- bGliL3V0aWxzL2NvbmZpZy5yYg==
136
- - !binary |-
137
- bGliL3V0aWxzL2VkaXRvci5yYg==
138
- - !binary |-
139
- bGliL3V0aWxzL2dyZXBwZXIucmI=
140
- - !binary |-
141
- bGliL3V0aWxzL2ZpbGVfeHQucmI=
142
- - !binary |-
143
- bGliL3V0aWxzL21kNS5yYg==
144
- - !binary |-
145
- bGliL3V0aWxzL3BhdHRlcm5zLnJi
146
- - !binary |-
147
- bGliL3V0aWxzLnJi
124
+ - lib/utils/config/config_file.rb
125
+ - lib/utils/config.rb
126
+ - lib/utils/editor.rb
127
+ - lib/utils/file_xt.rb
128
+ - lib/utils/find.rb
129
+ - lib/utils/finder.rb
130
+ - lib/utils/grepper.rb
131
+ - lib/utils/irb.rb
132
+ - lib/utils/md5.rb
133
+ - lib/utils/patterns.rb
134
+ - lib/utils/version.rb
135
+ - lib/utils.rb
148
136
  files:
149
137
  - .gitignore
150
138
  - COPYING
@@ -255,7 +243,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
255
243
  version: '0'
256
244
  segments:
257
245
  - 0
258
- hash: 3956618814004661333
246
+ hash: 2805367356714859970
259
247
  required_rubygems_version: !ruby/object:Gem::Requirement
260
248
  none: false
261
249
  requirements:
@@ -264,7 +252,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
264
252
  version: '0'
265
253
  requirements: []
266
254
  rubyforge_project:
267
- rubygems_version: 1.8.23
255
+ rubygems_version: 1.8.24
268
256
  signing_key:
269
257
  specification_version: 3
270
258
  summary: Some useful command line utilities