ver 2009.11.28 → 2009.11.29

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,19 @@
1
+ [34796ca | 2009-11-28 15:29:34 UTC] Michael Fellinger <m.fellinger@gmail.com>
2
+
3
+ * Fix tasks and gemspec
4
+
5
+ [f96b0f1 | 2009-11-28 11:37:20 UTC] Michael Fellinger <m.fellinger@gmail.com>
6
+
7
+ * Rescue error when opening non-existing file
8
+
9
+ [0386b04 | 2009-11-28 10:32:43 UTC] Michael Fellinger <m.fellinger@gmail.com>
10
+
11
+ * Update gemspec and related files
12
+
13
+ [e791042 | 2009-11-28 10:31:50 UTC] Michael Fellinger <m.fellinger@gmail.com>
14
+
15
+ * Finally add a README
16
+
1
17
  [401fdfd | 2009-11-28 10:16:04 UTC] Michael Fellinger <m.fellinger@gmail.com>
2
18
 
3
19
  * Make backtrace a bit more colorful
data/MANIFEST CHANGED
@@ -374,10 +374,12 @@ lib/ver/view/list/syntax.rb
374
374
  lib/ver/view/list/theme.rb
375
375
  lib/ver/view/term.rb
376
376
  spec/keymap.rb
377
+ tasks/authors.rake
377
378
  tasks/bacon.rake
378
379
  tasks/changelog.rake
379
380
  tasks/gem.rake
380
381
  tasks/gem_installer.rake
382
+ tasks/gem_setup.rake
381
383
  tasks/grancher.rake
382
384
  tasks/install_dependencies.rake
383
385
  tasks/manifest.rake
@@ -385,5 +387,7 @@ tasks/plist2json.rake
385
387
  tasks/rcov.rake
386
388
  tasks/release.rake
387
389
  tasks/reversion.rake
390
+ tasks/setup.rake
388
391
  tasks/syntax_list.rake
392
+ tasks/ycov.rake
389
393
  ver.gemspec
data/Rakefile CHANGED
@@ -6,6 +6,12 @@ require 'date'
6
6
 
7
7
  PROJECT_SPECS = Dir['spec/**/*.rb']
8
8
  PROJECT_MODULE = 'VER'
9
+ PROJECT_README = 'README.textile'
10
+ PROJECT_VERSION = ENV['VERSION'] || Date.today.strftime('%Y.%m.%d')
11
+
12
+ DEPENDENCIES = {
13
+ 'ffi-tk' => {:version => '2009.11.29'},
14
+ }
9
15
 
10
16
  GEMSPEC = Gem::Specification.new{|s|
11
17
  s.name = 'ver'
@@ -23,6 +29,11 @@ GEMSPEC = Gem::Specification.new{|s|
23
29
  s.executables = ['ver']
24
30
  }
25
31
 
32
+
33
+ DEPENDENCIES.each do |name, options|
34
+ GEMSPEC.add_dependency(name, options[:version])
35
+ end
36
+
26
37
  Dir['tasks/*.rake'].each{|f| import(f) }
27
38
 
28
39
  task :default => [:bacon]
@@ -0,0 +1,21 @@
1
+ # Once git has a fix for the glibc in handling .mailmap and another fix for
2
+ # allowing empty mail address to be mapped in .mailmap we won't have to handle
3
+ # them manually.
4
+
5
+ desc 'Update AUTHORS'
6
+ task :authors do
7
+ authors = Hash.new(0)
8
+
9
+ `git shortlog -nse`.scan(/(\d+)\s(.+)\s<(.*)>$/) do |count, name, email|
10
+ authors[[name, email]] += count.to_i
11
+ end
12
+
13
+ File.open('AUTHORS', 'w+') do |io|
14
+ io.puts "Following persons have contributed to #{GEMSPEC.name}."
15
+ io.puts '(Sorted by number of submitted patches, then alphabetically)'
16
+ io.puts ''
17
+ authors.sort_by{|(n,e),c| [-c, n.downcase] }.each do |(name, email), count|
18
+ io.puts("%6d %s <%s>" % [count, name, email])
19
+ end
20
+ end
21
+ end
data/tasks/bacon.rake CHANGED
@@ -1,49 +1,66 @@
1
1
  desc 'Run all bacon specs with pretty output'
2
- task :bacon => :install_dependencies do
2
+ task :bacon => :setup do
3
3
  require 'open3'
4
4
  require 'scanf'
5
+ require 'matrix'
5
6
 
6
7
  specs = PROJECT_SPECS
7
8
 
8
9
  some_failed = false
9
- total = specs.size
10
+ specs_size = specs.size
10
11
  len = specs.map{|s| s.size }.sort.last
11
- tt = ta = tf = te = 0
12
+ total_tests = total_assertions = total_failures = total_errors = 0
13
+ totals = Vector[0, 0, 0, 0]
12
14
 
13
15
  red, yellow, green = "\e[31m%s\e[0m", "\e[33m%s\e[0m", "\e[32m%s\e[0m"
14
16
  left_format = "%4d/%d: %-#{len + 11}s"
15
17
  spec_format = "%d specifications (%d requirements), %d failures, %d errors"
16
18
 
17
19
  specs.each_with_index do |spec, idx|
18
- print(left_format % [idx + 1, total, spec])
20
+ print(left_format % [idx + 1, specs_size, spec])
19
21
 
20
22
  Open3.popen3(RUBY, spec) do |sin, sout, serr|
21
- out = sout.read
22
- err = serr.read
23
+ out = sout.read.strip
24
+ err = serr.read.strip
23
25
 
24
- ran = false
26
+ # this is conventional, see spec/innate/state/fiber.rb for usage
27
+ if out =~ /^Bacon::Error: (needed .*)/
28
+ puts(yellow % ("%6s %s" % ['', $1]))
29
+ else
30
+ total = nil
25
31
 
26
- out.each_line do |line|
27
- tests, assertions, failures, errors = all = line.scanf(spec_format)
28
- next unless all.any?
29
- ran = true
30
- tt += tests; ta += assertions; tf += failures; te += errors
32
+ out.each_line do |line|
33
+ scanned = line.scanf(spec_format)
31
34
 
32
- if tests == 0 || failures + errors > 0
33
- puts((red % spec_format) % all)
34
- puts out
35
- puts err
36
- else
37
- puts((green % "%6d passed") % tests)
35
+ next unless scanned.size == 4
36
+
37
+ total = Vector[*scanned]
38
+ break
38
39
  end
39
40
 
40
- break
41
- end
41
+ if total
42
+ totals += total
43
+ tests, assertions, failures, errors = total_array = total.to_a
42
44
 
43
- puts(yellow % " skipped") unless ran
45
+ if tests > 0 && failures + errors == 0
46
+ puts((green % "%6d passed") % tests)
47
+ else
48
+ some_failed = true
49
+ puts(red % " failed")
50
+ puts out unless out.empty?
51
+ puts err unless err.empty?
52
+ end
53
+ else
54
+ some_failed = true
55
+ puts(red % " failed")
56
+ puts out unless out.empty?
57
+ puts err unless err.empty?
58
+ end
59
+ end
44
60
  end
45
61
  end
46
62
 
47
- puts(spec_format % [tt, ta, tf, te])
63
+ total_color = some_failed ? red : green
64
+ puts(total_color % (spec_format % totals.to_a))
48
65
  exit 1 if some_failed
49
66
  end
@@ -0,0 +1,113 @@
1
+ task :gem_setup do
2
+ class GemSetup
3
+ def initialize(options = {}, &block)
4
+ @gems = []
5
+ @options = options.dup
6
+ @verbose = @options.delete(:verbose)
7
+
8
+ run(&block)
9
+ end
10
+
11
+ def run(&block)
12
+ return unless block_given?
13
+ instance_eval(&block)
14
+ setup
15
+ end
16
+
17
+ def gem(name, version = nil, options = {})
18
+ if version.respond_to?(:merge!)
19
+ options = version
20
+ else
21
+ options[:version] = version
22
+ end
23
+
24
+ @gems << [name, options]
25
+ end
26
+
27
+ # all gems defined, let's try to load/install them
28
+ def setup
29
+ require 'rubygems'
30
+ require 'rubygems/dependency_installer'
31
+
32
+ @gems.each do |name, options|
33
+ setup_gem(name, options)
34
+ end
35
+ end
36
+
37
+ def setup_gemspec(gemspec)
38
+ gemspec.dependencies.each do |dependency|
39
+ dependency.version_requirements.as_list.each do |version|
40
+ gem(dependency.name, version)
41
+ end
42
+ end
43
+
44
+ setup
45
+ end
46
+
47
+ # First try to activate.
48
+ # If activation fails, try to install and activate again.
49
+ # If the second activation also fails, try to require as it may just as
50
+ # well be in $LOAD_PATH.
51
+ def setup_gem(name, options)
52
+ version = [options[:version]].compact
53
+ lib_name = options[:lib] || name
54
+
55
+ log "activating #{name}"
56
+
57
+ Gem.activate(name, *version)
58
+ rescue Gem::LoadError
59
+ log "activating #{name} failed, try to install"
60
+
61
+ install_gem(name, version, options)
62
+ end
63
+
64
+ # tell rubygems to install a gem
65
+ def install_gem(name, version, options)
66
+ installer = Gem::DependencyInstaller.new(options)
67
+
68
+ temp_argv(options[:extconf]) do
69
+ log "installing #{name}"
70
+ installer.install(name, *version)
71
+ end
72
+
73
+ Gem.activate(name, *version)
74
+
75
+ log "install and final activation successful"
76
+ rescue Gem::GemNotFoundException => ex
77
+ log "installation failed: #{ex}, use normal require"
78
+
79
+ require(options[:lib] || name)
80
+
81
+ log "require successful, cannot verify version though"
82
+ end
83
+
84
+ # prepare ARGV for rubygems installer
85
+ def temp_argv(extconf)
86
+ if extconf ||= @options[:extconf]
87
+ old_argv = ARGV.clone
88
+ ARGV.replace(extconf.split(' '))
89
+ end
90
+
91
+ yield
92
+
93
+ ensure
94
+ ARGV.replace(old_argv) if extconf
95
+ end
96
+
97
+ private
98
+
99
+ def log(msg)
100
+ return unless @verbose
101
+
102
+ if defined?(Log)
103
+ Log.info(msg)
104
+ else
105
+ puts(msg)
106
+ end
107
+ end
108
+
109
+ def rubyforge; 'http://gems.rubyforge.org/' end
110
+ def github; 'http://gems.github.com/' end
111
+ def gemcutter; 'http://gemcutter.org' end
112
+ end
113
+ end
data/tasks/rcov.rake CHANGED
@@ -1,10 +1,9 @@
1
1
  desc 'code coverage'
2
2
  task :rcov => :clean do
3
- specs = PROJECT_SPECS
3
+ specs = Dir['spec/ffi-tk/**/*.rb']
4
4
 
5
5
  # we ignore adapter as this has extensive specs in rack already.
6
- ignore = %w[ gem rack bacon innate/adapter\.rb ]
7
- ignore << 'fiber\.rb' if RUBY_VERSION < '1.9'
6
+ ignore = %w[ gem bacon ]
8
7
 
9
8
  ignored = ignore.join(',')
10
9
 
data/tasks/release.rake CHANGED
@@ -1,12 +1,65 @@
1
- desc 'publish to github'
2
- task :release => [:reversion, :gemspec] do
3
- name, version = GEMSPEC.name, GEMSPEC.version
1
+ namespace :release do
2
+ task :prepare => [:reversion, :authors, :gemspec]
3
+ task :all => ['release:github', 'release:rubyforge', 'release:gemcutter']
4
4
 
5
- sh("git add MANIFEST CHANGELOG #{name}.gemspec lib/#{name}/version.rb")
5
+ desc 'Release on github'
6
+ task :github => :prepare do
7
+ name, version = GEMSPEC.name, GEMSPEC.version
6
8
 
7
- puts "I added the relevant files, you can now run:", ''
8
- puts "git commit -m 'Version #{version}'"
9
- puts "git tag -a -m '#{version}' '#{version}'"
10
- puts "git push"
11
- puts
9
+ sh('git', 'add',
10
+ 'MANIFEST', 'CHANGELOG', 'AUTHORS',
11
+ "#{name}.gemspec",
12
+ "lib/#{name}/version.rb")
13
+
14
+ puts <<-INSTRUCTIONS
15
+ ================================================================================
16
+
17
+ I added the relevant files, you can commit them, tag the commit, and push:
18
+
19
+ git commit -m 'Version #{version}'
20
+ git tag -a -m '#{version}' '#{version}'
21
+ git push
22
+
23
+ ================================================================================
24
+ INSTRUCTIONS
25
+ end
26
+
27
+ desc 'Release on rubyforge'
28
+ task :rubyforge => ['release:prepare', :package] do
29
+ name, version = GEMSPEC.name, GEMSPEC.version
30
+
31
+ pkgs = Dir["pkg/#{name}-#{version}.{tgz,zip}"].map{|file|
32
+ "rubyforge add_file #{name} #{name} '#{version}' '#{file}'"
33
+ }
34
+
35
+ puts <<-INSTRUCTIONS
36
+ ================================================================================
37
+
38
+ To publish to rubyforge do following:
39
+
40
+ rubyforge login
41
+ rubyforge add_release #{name} #{name} '#{version}' pkg/#{name}-#{version}.gem
42
+
43
+ To publish the archives for distro packagers:
44
+
45
+ #{pkgs.join "\n"}
46
+
47
+ ================================================================================
48
+ INSTRUCTIONS
49
+ end
50
+
51
+ desc 'Release on gemcutter'
52
+ task :gemcutter => ['release:prepare', :package] do
53
+ name, version = GEMSPEC.name, GEMSPEC.version
54
+
55
+ puts <<-INSTRUCTIONS
56
+ ================================================================================
57
+
58
+ To publish to gemcutter do following:
59
+
60
+ gem push pkg/#{name}-#{version}.gem
61
+
62
+ ================================================================================
63
+ INSTRUCTIONS
64
+ end
12
65
  end
data/tasks/setup.rake ADDED
@@ -0,0 +1,12 @@
1
+ desc 'install dependencies from gemspec'
2
+ task :setup => [:gem_setup] do
3
+ GemSetup.new :verbose => false do
4
+ DEPENDENCIES.each do |name, options|
5
+ gem(name, options)
6
+ end
7
+
8
+ DEVELOPMENT_DEPENDENCIES.each do |name, options|
9
+ gem(name, options)
10
+ end
11
+ end
12
+ end
data/tasks/ycov.rake ADDED
@@ -0,0 +1,84 @@
1
+ begin
2
+ require 'yard'
3
+
4
+ task 'Show Documentation coverage'
5
+ task :ycov => ['.yardoc'] do
6
+ YARD::Registry.load_yardoc
7
+ code_objects = YARD::Registry.paths.map{|path| YARD::Registry.at(path) }
8
+ code_objects.delete_if{|obj| obj.type == :root }
9
+ without_doc, with_doc = code_objects.partition{|obj| obj.docstring.empty? }
10
+
11
+ documented = with_doc.size
12
+ undocumented = without_doc.size
13
+ total = documented + undocumented
14
+ percentage = (documented / 0.01) / total
15
+
16
+ puts "Documentation coverage is %d/%d (%3.1f%%)" % [documented, total, percentage]
17
+ end
18
+
19
+ task 'ycov-full' => ['.yardoc'] do
20
+ require 'builder'
21
+
22
+ YARD::Registry.load_yardoc
23
+ code_objects = YARD::Registry.paths.map{|path| YARD::Registry.at(path) }
24
+ code_objects.delete_if{|obj| obj.type == :root }
25
+ without_doc, with_doc = code_objects.partition{|obj| obj.docstring.empty? }
26
+
27
+ list_objects = lambda{|body, list|
28
+ body.table(:width => '100%') do |table|
29
+ list.group_by{|obj| obj.type }.
30
+ sort_by{|k,v| k.to_s }.each do |type, objects|
31
+
32
+ table.tr do |tr|
33
+ tr.th(type.to_s, :colspan => 2)
34
+ end
35
+
36
+ objects.sort_by{|obj| obj.path }.each do |obj|
37
+ table.tr do |tr|
38
+ tr.td obj.path
39
+ tr.td "#{obj.file} +#{obj.line}"
40
+ end
41
+ end
42
+ end
43
+ end
44
+ }
45
+
46
+ File.open('ycov.html', 'w+') do |ycov|
47
+ builder = Builder::XmlMarkup.new(:target => ycov, :indent=>2)
48
+ builder.html do |html|
49
+ html.head do |head|
50
+ head.title 'YARD Coverage report'
51
+ end
52
+
53
+ html.body do |body|
54
+ body.h1 'YARD Coverage report'
55
+
56
+ body.h2 "#{without_doc.size} Undocumented objects"
57
+ list_objects[body, without_doc]
58
+
59
+ body.h2 "#{with_doc.size} Documented objects"
60
+ list_objects[body, with_doc]
61
+ end
62
+ end
63
+ end
64
+ end
65
+
66
+ file '.yardoc' => FileList['lib/**/*.rb'] do
67
+ files = ['lib/**/*.rb']
68
+ options = ['--no-output', '--private']
69
+ YARD::CLI::Yardoc.run(*(options + files))
70
+ end
71
+
72
+ desc 'Generate YARD documentation'
73
+ task :yardoc => ['.yardoc'] do
74
+ files = ['lib/**/*.rb']
75
+ options = [
76
+ '--output-dir', 'ydoc',
77
+ '--readme', PROJECT_README,
78
+ '--db', '.yardoc',
79
+ '--private']
80
+ YARD::CLI::Yardoc.run(*(options + files))
81
+ end
82
+ rescue LoadError
83
+ # you'll survive
84
+ end
data/ver.gemspec CHANGED
@@ -2,16 +2,16 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{ver}
5
- s.version = "2009.11.28"
5
+ s.version = "2009.11.29"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Michael 'manveru' Fellinger"]
9
- s.date = %q{2009-11-28}
9
+ s.date = %q{2009-11-29}
10
10
  s.default_executable = %q{ver}
11
11
  s.description = %q{An advanced text editor using tk and bringing world peace.}
12
12
  s.email = %q{m.fellinger@gmail.com}
13
13
  s.executables = ["ver"]
14
- s.files = ["CHANGELOG", "MANIFEST", "README.textile", "Rakefile", "TODO", "bin/ver", "config/detect.rb", "config/keymap/emacs.rb", "config/keymap/vim.rb", "config/preferences/ANTLR.json", "config/preferences/ASP vb.NET.json", "config/preferences/ASP.json", "config/preferences/ActionScript.json", "config/preferences/Active4D.json", "config/preferences/Ada.json", "config/preferences/Ant.json", "config/preferences/Apache.json", "config/preferences/AppleScript.json", "config/preferences/Bison.json", "config/preferences/Blogging.json", "config/preferences/C.json", "config/preferences/CMake.json", "config/preferences/CSS.json", "config/preferences/CTags.json", "config/preferences/CVS.json", "config/preferences/ColdFusion.json", "config/preferences/D.json", "config/preferences/Darcs.json", "config/preferences/Diff.json", "config/preferences/DokuWiki.json", "config/preferences/Doxygen.json", "config/preferences/Dylan.json", "config/preferences/Eiffel.json", "config/preferences/Erlang.json", "config/preferences/Experimental.json", "config/preferences/F-Script.json", "config/preferences/FXScript.json", "config/preferences/FileMerge.json", "config/preferences/Fortran.json", "config/preferences/GTD2.json", "config/preferences/GTDAlt.json", "config/preferences/GetBundle.json", "config/preferences/Gettext.json", "config/preferences/Graphviz.json", "config/preferences/Greasemonkey.json", "config/preferences/Gri.json", "config/preferences/HTML.json", "config/preferences/Haskell.json", "config/preferences/Hotkey.json", "config/preferences/ImageBrowser.json", "config/preferences/Inform.json", "config/preferences/Ini.json", "config/preferences/Installer.json", "config/preferences/Io.json", "config/preferences/JSON.json", "config/preferences/Java.json", "config/preferences/JavaDoc.json", "config/preferences/JavaScript.json", "config/preferences/LaTeX.json", "config/preferences/Lex/Flex.json", "config/preferences/Lighttpd.json", "config/preferences/LilyPond.json", "config/preferences/Lisp.json", "config/preferences/Logo.json", "config/preferences/Logtalk.json", "config/preferences/Lua.json", "config/preferences/MEL.json", "config/preferences/MIPS Assembler.json", "config/preferences/MacPorts.json", "config/preferences/Mail.json", "config/preferences/Make.json", "config/preferences/Markdown.json", "config/preferences/Math.json", "config/preferences/Matlab.json", "config/preferences/Maven.json", "config/preferences/Mediawiki.json", "config/preferences/Mercurial.json", "config/preferences/Modula.json", "config/preferences/MoinMoin.json", "config/preferences/Navigation.json", "config/preferences/Nemerle.json", "config/preferences/OCaml Code Completion.json", "config/preferences/OCaml.json", "config/preferences/ODCompletion.json", "config/preferences/Objective-C.json", "config/preferences/OpenGL.json", "config/preferences/Outlines.json", "config/preferences/Pascal.json", "config/preferences/Perforce.json", "config/preferences/Perl.json", "config/preferences/PmWiki.json", "config/preferences/Postscript.json", "config/preferences/Processing.json", "config/preferences/Prolog.json", "config/preferences/Propel.json", "config/preferences/Python.json", "config/preferences/Quake.json", "config/preferences/R.json", "config/preferences/Ragel.json", "config/preferences/Regular Expressions.json", "config/preferences/Remind.json", "config/preferences/Rez.json", "config/preferences/Ruby.json", "config/preferences/S5 Slide Show.json", "config/preferences/SCons.json", "config/preferences/SQL.json", "config/preferences/SSH Config.json", "config/preferences/SVK.json", "config/preferences/SWIG.json", "config/preferences/SWeave.json", "config/preferences/Scheme.json", "config/preferences/Scilab.json", "config/preferences/Setext.json", "config/preferences/Shell Script.json", "config/preferences/Slate.json", "config/preferences/Source.json", "config/preferences/Subversion.json", "config/preferences/TODO.json", "config/preferences/Tabular.json", "config/preferences/Tcl.json", "config/preferences/TerminalMate.json", "config/preferences/Text.json", "config/preferences/TextMate.json", "config/preferences/Textile.json", "config/preferences/Thrift.json", "config/preferences/Transmit.json", "config/preferences/Twiki.json", "config/preferences/Txt2tags.json", "config/preferences/Vectorscript.json", "config/preferences/XML.json", "config/preferences/Xcode.json", "config/preferences/YAML.json", "config/preferences/iCalendar.json", "config/preferences/iTerm.json", "config/preferences/reStructuredText.json", "config/rc.rb", "config/scratch", "config/syntax/ANTLR.json", "config/syntax/ASP vb.NET.json", "config/syntax/ASP.json", "config/syntax/ActionScript.json", "config/syntax/Active4D Config.json", "config/syntax/Active4D Library.json", "config/syntax/Active4D.json", "config/syntax/Ada.json", "config/syntax/Ant.json", "config/syntax/Apache.json", "config/syntax/AppleScript.json", "config/syntax/BibTeX.json", "config/syntax/Bison.json", "config/syntax/Blog - HTML.json", "config/syntax/Blog - Markdown.json", "config/syntax/Blog - Text.json", "config/syntax/Blog - Textile.json", "config/syntax/C++.json", "config/syntax/C.json", "config/syntax/CMake Listfile.json", "config/syntax/CSS.json", "config/syntax/CSV.json", "config/syntax/ColdFusion.json", "config/syntax/D.json", "config/syntax/Diff.json", "config/syntax/DokuWiki.json", "config/syntax/Doxygen.json", "config/syntax/Dylan.json", "config/syntax/Eiffel.json", "config/syntax/Erlang.json", "config/syntax/F-Script.json", "config/syntax/FXScript.json", "config/syntax/Fortran - Modern.json", "config/syntax/Fortran - Punchcard.json", "config/syntax/GTD.json", "config/syntax/GTDalt.json", "config/syntax/Gettext.json", "config/syntax/Go.json", "config/syntax/Graphviz (DOT).json", "config/syntax/Greasemonkey.json", "config/syntax/Gri.json", "config/syntax/HTML (ASP).json", "config/syntax/HTML (ASP.net).json", "config/syntax/HTML (Active4D).json", "config/syntax/HTML (Erlang).json", "config/syntax/HTML (Tcl).json", "config/syntax/HTML.json", "config/syntax/Haskell.json", "config/syntax/Inform.json", "config/syntax/Ini.json", "config/syntax/Installer Distribution Script.json", "config/syntax/Io.json", "config/syntax/JSON.json", "config/syntax/Java Properties.json", "config/syntax/Java Server Page (JSP).json", "config/syntax/Java.json", "config/syntax/JavaDoc.json", "config/syntax/JavaScript.json", "config/syntax/LaTeX Beamer.json", "config/syntax/LaTeX Log.json", "config/syntax/LaTeX Memoir.json", "config/syntax/LaTeX.json", "config/syntax/Lex-Flex.json", "config/syntax/Lighttpd.json", "config/syntax/LilyPond.json", "config/syntax/Lisp.json", "config/syntax/Literate Haskell.json", "config/syntax/Logo.json", "config/syntax/Logtalk.json", "config/syntax/Lua.json", "config/syntax/MATLAB.json", "config/syntax/MEL.json", "config/syntax/MIPS Assembler.json", "config/syntax/MacPorts Portfile.json", "config/syntax/Mail.json", "config/syntax/Makefile.json", "config/syntax/Markdown.json", "config/syntax/Maven POM.json", "config/syntax/Mediawiki.json", "config/syntax/Modula-3.json", "config/syntax/MoinMoin.json", "config/syntax/MultiMarkdown.json", "config/syntax/Nemerle.json", "config/syntax/OCaml.json", "config/syntax/OCamllex.json", "config/syntax/OCamlyacc.json", "config/syntax/Objective-C++.json", "config/syntax/Objective-C.json", "config/syntax/Octave.json", "config/syntax/OpenGL.json", "config/syntax/PHP.json", "config/syntax/Pascal.json", "config/syntax/Perl.json", "config/syntax/Plain Text.json", "config/syntax/PmWiki.json", "config/syntax/Postscript.json", "config/syntax/Processing.json", "config/syntax/Prolog.json", "config/syntax/Python.json", "config/syntax/Quake Style .cfg.json", "config/syntax/R.json", "config/syntax/Ragel.json", "config/syntax/Rd (R Documentation).json", "config/syntax/Regular Expressions (Oniguruma).json", "config/syntax/Regular Expressions (Python).json", "config/syntax/Release Notes.json", "config/syntax/Remind.json", "config/syntax/Rez.json", "config/syntax/Ruby Sass.json", "config/syntax/Ruby.json", "config/syntax/S5 Slide Show.json", "config/syntax/SQL.json", "config/syntax/SSH Config.json", "config/syntax/SWIG.json", "config/syntax/SWeave.json", "config/syntax/Scheme.json", "config/syntax/Scilab.json", "config/syntax/Setext.json", "config/syntax/Shell Script (Bash).json", "config/syntax/Slate.json", "config/syntax/Strings File.json", "config/syntax/TSV.json", "config/syntax/Tcl.json", "config/syntax/TeX Math.json", "config/syntax/TeX.json", "config/syntax/Textile.json", "config/syntax/Thrift.json", "config/syntax/Twiki.json", "config/syntax/Txt2tags.json", "config/syntax/Vectorscript.json", "config/syntax/XML strict.json", "config/syntax/XML.json", "config/syntax/XSL.json", "config/syntax/YAML.json", "config/syntax/camlp4.json", "config/syntax/iCalendar.json", "config/syntax/mod_perl.json", "config/syntax/reStructuredText.json", "config/syntax/svn-commit.tmp.json", "config/theme/Active4D.json", "config/theme/All Hallow's Eve.json", "config/theme/Amy.json", "config/theme/BBEdit.json", "config/theme/Bespin.json", "config/theme/Blackboard.json", "config/theme/BoysAndGirls01.json", "config/theme/Brilliance Black.json", "config/theme/Brilliance Dull.json", "config/theme/Classic Modified.json", "config/theme/Cobalt.json", "config/theme/Cool Glow.json", "config/theme/Dawn.json", "config/theme/Eiffel.json", "config/theme/Espresso Libre.json", "config/theme/Fluidvision.json", "config/theme/IDLE.json", "config/theme/LAZY.json", "config/theme/Mac Classic.json", "config/theme/MagicWB (Amiga).json", "config/theme/Merbivore Soft.json", "config/theme/Merbivore.json", "config/theme/Monokai.json", "config/theme/Notepad2.json", "config/theme/Pastels on Dark.json", "config/theme/RubyBlue.json", "config/theme/Sin City 2.json", "config/theme/Slate.json", "config/theme/Slush & Poppies.json", "config/theme/SpaceCadet.json", "config/theme/Sunburst.json", "config/theme/Twilight BG FG.json", "config/theme/Twilight.json", "config/theme/Whys Poignant.json", "config/theme/Zenburnesque.json", "config/theme/barf.json", "config/theme/fake.json", "config/theme/happydeluxe.json", "config/theme/iLife 05.json", "config/theme/iPlastic.json", "config/theme/mintBlue Dark.json", "config/theme/mintBlue.json", "config/theme/monoindustrial.json", "config/theme/starlight.json", "config/tutorial", "config/welcome", "help/index.verh", "lib/ver.rb", "lib/ver/entry.rb", "lib/ver/font.rb", "lib/ver/help.rb", "lib/ver/help/describe_key.rb", "lib/ver/help/help_for_help.rb", "lib/ver/hover_completion.rb", "lib/ver/keymap.rb", "lib/ver/layout.rb", "lib/ver/methods.rb", "lib/ver/methods/clipboard.rb", "lib/ver/methods/completion.rb", "lib/ver/methods/control.rb", "lib/ver/methods/ctags.rb", "lib/ver/methods/delete.rb", "lib/ver/methods/help.rb", "lib/ver/methods/insert.rb", "lib/ver/methods/move.rb", "lib/ver/methods/open.rb", "lib/ver/methods/preview.rb", "lib/ver/methods/save.rb", "lib/ver/methods/search.rb", "lib/ver/methods/select.rb", "lib/ver/methods/shortcuts.rb", "lib/ver/methods/views.rb", "lib/ver/mode.rb", "lib/ver/options.rb", "lib/ver/plist.rb", "lib/ver/status.rb", "lib/ver/syntax.rb", "lib/ver/syntax/detector.rb", "lib/ver/syntax/processor.rb", "lib/ver/text.rb", "lib/ver/text/index.rb", "lib/ver/theme.rb", "lib/ver/tooltip.rb", "lib/ver/vendor/binary_search.rb", "lib/ver/vendor/fuzzy_file_finder.rb", "lib/ver/vendor/levenshtein.rb", "lib/ver/vendor/textpow.rb", "lib/ver/view.rb", "lib/ver/view/console.rb", "lib/ver/view/entry.rb", "lib/ver/view/list.rb", "lib/ver/view/list/buffer.rb", "lib/ver/view/list/ex.rb", "lib/ver/view/list/fuzzy_file_finder.rb", "lib/ver/view/list/grep.rb", "lib/ver/view/list/methods.rb", "lib/ver/view/list/syntax.rb", "lib/ver/view/list/theme.rb", "lib/ver/view/term.rb", "spec/keymap.rb", "tasks/bacon.rake", "tasks/changelog.rake", "tasks/gem.rake", "tasks/gem_installer.rake", "tasks/grancher.rake", "tasks/install_dependencies.rake", "tasks/manifest.rake", "tasks/plist2json.rake", "tasks/rcov.rake", "tasks/release.rake", "tasks/reversion.rake", "tasks/syntax_list.rake", "ver.gemspec"]
14
+ s.files = ["CHANGELOG", "MANIFEST", "README.textile", "Rakefile", "TODO", "bin/ver", "config/detect.rb", "config/keymap/emacs.rb", "config/keymap/vim.rb", "config/preferences/ANTLR.json", "config/preferences/ASP vb.NET.json", "config/preferences/ASP.json", "config/preferences/ActionScript.json", "config/preferences/Active4D.json", "config/preferences/Ada.json", "config/preferences/Ant.json", "config/preferences/Apache.json", "config/preferences/AppleScript.json", "config/preferences/Bison.json", "config/preferences/Blogging.json", "config/preferences/C.json", "config/preferences/CMake.json", "config/preferences/CSS.json", "config/preferences/CTags.json", "config/preferences/CVS.json", "config/preferences/ColdFusion.json", "config/preferences/D.json", "config/preferences/Darcs.json", "config/preferences/Diff.json", "config/preferences/DokuWiki.json", "config/preferences/Doxygen.json", "config/preferences/Dylan.json", "config/preferences/Eiffel.json", "config/preferences/Erlang.json", "config/preferences/Experimental.json", "config/preferences/F-Script.json", "config/preferences/FXScript.json", "config/preferences/FileMerge.json", "config/preferences/Fortran.json", "config/preferences/GTD2.json", "config/preferences/GTDAlt.json", "config/preferences/GetBundle.json", "config/preferences/Gettext.json", "config/preferences/Graphviz.json", "config/preferences/Greasemonkey.json", "config/preferences/Gri.json", "config/preferences/HTML.json", "config/preferences/Haskell.json", "config/preferences/Hotkey.json", "config/preferences/ImageBrowser.json", "config/preferences/Inform.json", "config/preferences/Ini.json", "config/preferences/Installer.json", "config/preferences/Io.json", "config/preferences/JSON.json", "config/preferences/Java.json", "config/preferences/JavaDoc.json", "config/preferences/JavaScript.json", "config/preferences/LaTeX.json", "config/preferences/Lex/Flex.json", "config/preferences/Lighttpd.json", "config/preferences/LilyPond.json", "config/preferences/Lisp.json", "config/preferences/Logo.json", "config/preferences/Logtalk.json", "config/preferences/Lua.json", "config/preferences/MEL.json", "config/preferences/MIPS Assembler.json", "config/preferences/MacPorts.json", "config/preferences/Mail.json", "config/preferences/Make.json", "config/preferences/Markdown.json", "config/preferences/Math.json", "config/preferences/Matlab.json", "config/preferences/Maven.json", "config/preferences/Mediawiki.json", "config/preferences/Mercurial.json", "config/preferences/Modula.json", "config/preferences/MoinMoin.json", "config/preferences/Navigation.json", "config/preferences/Nemerle.json", "config/preferences/OCaml Code Completion.json", "config/preferences/OCaml.json", "config/preferences/ODCompletion.json", "config/preferences/Objective-C.json", "config/preferences/OpenGL.json", "config/preferences/Outlines.json", "config/preferences/Pascal.json", "config/preferences/Perforce.json", "config/preferences/Perl.json", "config/preferences/PmWiki.json", "config/preferences/Postscript.json", "config/preferences/Processing.json", "config/preferences/Prolog.json", "config/preferences/Propel.json", "config/preferences/Python.json", "config/preferences/Quake.json", "config/preferences/R.json", "config/preferences/Ragel.json", "config/preferences/Regular Expressions.json", "config/preferences/Remind.json", "config/preferences/Rez.json", "config/preferences/Ruby.json", "config/preferences/S5 Slide Show.json", "config/preferences/SCons.json", "config/preferences/SQL.json", "config/preferences/SSH Config.json", "config/preferences/SVK.json", "config/preferences/SWIG.json", "config/preferences/SWeave.json", "config/preferences/Scheme.json", "config/preferences/Scilab.json", "config/preferences/Setext.json", "config/preferences/Shell Script.json", "config/preferences/Slate.json", "config/preferences/Source.json", "config/preferences/Subversion.json", "config/preferences/TODO.json", "config/preferences/Tabular.json", "config/preferences/Tcl.json", "config/preferences/TerminalMate.json", "config/preferences/Text.json", "config/preferences/TextMate.json", "config/preferences/Textile.json", "config/preferences/Thrift.json", "config/preferences/Transmit.json", "config/preferences/Twiki.json", "config/preferences/Txt2tags.json", "config/preferences/Vectorscript.json", "config/preferences/XML.json", "config/preferences/Xcode.json", "config/preferences/YAML.json", "config/preferences/iCalendar.json", "config/preferences/iTerm.json", "config/preferences/reStructuredText.json", "config/rc.rb", "config/scratch", "config/syntax/ANTLR.json", "config/syntax/ASP vb.NET.json", "config/syntax/ASP.json", "config/syntax/ActionScript.json", "config/syntax/Active4D Config.json", "config/syntax/Active4D Library.json", "config/syntax/Active4D.json", "config/syntax/Ada.json", "config/syntax/Ant.json", "config/syntax/Apache.json", "config/syntax/AppleScript.json", "config/syntax/BibTeX.json", "config/syntax/Bison.json", "config/syntax/Blog - HTML.json", "config/syntax/Blog - Markdown.json", "config/syntax/Blog - Text.json", "config/syntax/Blog - Textile.json", "config/syntax/C++.json", "config/syntax/C.json", "config/syntax/CMake Listfile.json", "config/syntax/CSS.json", "config/syntax/CSV.json", "config/syntax/ColdFusion.json", "config/syntax/D.json", "config/syntax/Diff.json", "config/syntax/DokuWiki.json", "config/syntax/Doxygen.json", "config/syntax/Dylan.json", "config/syntax/Eiffel.json", "config/syntax/Erlang.json", "config/syntax/F-Script.json", "config/syntax/FXScript.json", "config/syntax/Fortran - Modern.json", "config/syntax/Fortran - Punchcard.json", "config/syntax/GTD.json", "config/syntax/GTDalt.json", "config/syntax/Gettext.json", "config/syntax/Go.json", "config/syntax/Graphviz (DOT).json", "config/syntax/Greasemonkey.json", "config/syntax/Gri.json", "config/syntax/HTML (ASP).json", "config/syntax/HTML (ASP.net).json", "config/syntax/HTML (Active4D).json", "config/syntax/HTML (Erlang).json", "config/syntax/HTML (Tcl).json", "config/syntax/HTML.json", "config/syntax/Haskell.json", "config/syntax/Inform.json", "config/syntax/Ini.json", "config/syntax/Installer Distribution Script.json", "config/syntax/Io.json", "config/syntax/JSON.json", "config/syntax/Java Properties.json", "config/syntax/Java Server Page (JSP).json", "config/syntax/Java.json", "config/syntax/JavaDoc.json", "config/syntax/JavaScript.json", "config/syntax/LaTeX Beamer.json", "config/syntax/LaTeX Log.json", "config/syntax/LaTeX Memoir.json", "config/syntax/LaTeX.json", "config/syntax/Lex-Flex.json", "config/syntax/Lighttpd.json", "config/syntax/LilyPond.json", "config/syntax/Lisp.json", "config/syntax/Literate Haskell.json", "config/syntax/Logo.json", "config/syntax/Logtalk.json", "config/syntax/Lua.json", "config/syntax/MATLAB.json", "config/syntax/MEL.json", "config/syntax/MIPS Assembler.json", "config/syntax/MacPorts Portfile.json", "config/syntax/Mail.json", "config/syntax/Makefile.json", "config/syntax/Markdown.json", "config/syntax/Maven POM.json", "config/syntax/Mediawiki.json", "config/syntax/Modula-3.json", "config/syntax/MoinMoin.json", "config/syntax/MultiMarkdown.json", "config/syntax/Nemerle.json", "config/syntax/OCaml.json", "config/syntax/OCamllex.json", "config/syntax/OCamlyacc.json", "config/syntax/Objective-C++.json", "config/syntax/Objective-C.json", "config/syntax/Octave.json", "config/syntax/OpenGL.json", "config/syntax/PHP.json", "config/syntax/Pascal.json", "config/syntax/Perl.json", "config/syntax/Plain Text.json", "config/syntax/PmWiki.json", "config/syntax/Postscript.json", "config/syntax/Processing.json", "config/syntax/Prolog.json", "config/syntax/Python.json", "config/syntax/Quake Style .cfg.json", "config/syntax/R.json", "config/syntax/Ragel.json", "config/syntax/Rd (R Documentation).json", "config/syntax/Regular Expressions (Oniguruma).json", "config/syntax/Regular Expressions (Python).json", "config/syntax/Release Notes.json", "config/syntax/Remind.json", "config/syntax/Rez.json", "config/syntax/Ruby Sass.json", "config/syntax/Ruby.json", "config/syntax/S5 Slide Show.json", "config/syntax/SQL.json", "config/syntax/SSH Config.json", "config/syntax/SWIG.json", "config/syntax/SWeave.json", "config/syntax/Scheme.json", "config/syntax/Scilab.json", "config/syntax/Setext.json", "config/syntax/Shell Script (Bash).json", "config/syntax/Slate.json", "config/syntax/Strings File.json", "config/syntax/TSV.json", "config/syntax/Tcl.json", "config/syntax/TeX Math.json", "config/syntax/TeX.json", "config/syntax/Textile.json", "config/syntax/Thrift.json", "config/syntax/Twiki.json", "config/syntax/Txt2tags.json", "config/syntax/Vectorscript.json", "config/syntax/XML strict.json", "config/syntax/XML.json", "config/syntax/XSL.json", "config/syntax/YAML.json", "config/syntax/camlp4.json", "config/syntax/iCalendar.json", "config/syntax/mod_perl.json", "config/syntax/reStructuredText.json", "config/syntax/svn-commit.tmp.json", "config/theme/Active4D.json", "config/theme/All Hallow's Eve.json", "config/theme/Amy.json", "config/theme/BBEdit.json", "config/theme/Bespin.json", "config/theme/Blackboard.json", "config/theme/BoysAndGirls01.json", "config/theme/Brilliance Black.json", "config/theme/Brilliance Dull.json", "config/theme/Classic Modified.json", "config/theme/Cobalt.json", "config/theme/Cool Glow.json", "config/theme/Dawn.json", "config/theme/Eiffel.json", "config/theme/Espresso Libre.json", "config/theme/Fluidvision.json", "config/theme/IDLE.json", "config/theme/LAZY.json", "config/theme/Mac Classic.json", "config/theme/MagicWB (Amiga).json", "config/theme/Merbivore Soft.json", "config/theme/Merbivore.json", "config/theme/Monokai.json", "config/theme/Notepad2.json", "config/theme/Pastels on Dark.json", "config/theme/RubyBlue.json", "config/theme/Sin City 2.json", "config/theme/Slate.json", "config/theme/Slush & Poppies.json", "config/theme/SpaceCadet.json", "config/theme/Sunburst.json", "config/theme/Twilight BG FG.json", "config/theme/Twilight.json", "config/theme/Whys Poignant.json", "config/theme/Zenburnesque.json", "config/theme/barf.json", "config/theme/fake.json", "config/theme/happydeluxe.json", "config/theme/iLife 05.json", "config/theme/iPlastic.json", "config/theme/mintBlue Dark.json", "config/theme/mintBlue.json", "config/theme/monoindustrial.json", "config/theme/starlight.json", "config/tutorial", "config/welcome", "help/index.verh", "lib/ver.rb", "lib/ver/entry.rb", "lib/ver/font.rb", "lib/ver/help.rb", "lib/ver/help/describe_key.rb", "lib/ver/help/help_for_help.rb", "lib/ver/hover_completion.rb", "lib/ver/keymap.rb", "lib/ver/layout.rb", "lib/ver/methods.rb", "lib/ver/methods/clipboard.rb", "lib/ver/methods/completion.rb", "lib/ver/methods/control.rb", "lib/ver/methods/ctags.rb", "lib/ver/methods/delete.rb", "lib/ver/methods/help.rb", "lib/ver/methods/insert.rb", "lib/ver/methods/move.rb", "lib/ver/methods/open.rb", "lib/ver/methods/preview.rb", "lib/ver/methods/save.rb", "lib/ver/methods/search.rb", "lib/ver/methods/select.rb", "lib/ver/methods/shortcuts.rb", "lib/ver/methods/views.rb", "lib/ver/mode.rb", "lib/ver/options.rb", "lib/ver/plist.rb", "lib/ver/status.rb", "lib/ver/syntax.rb", "lib/ver/syntax/detector.rb", "lib/ver/syntax/processor.rb", "lib/ver/text.rb", "lib/ver/text/index.rb", "lib/ver/theme.rb", "lib/ver/tooltip.rb", "lib/ver/vendor/binary_search.rb", "lib/ver/vendor/fuzzy_file_finder.rb", "lib/ver/vendor/levenshtein.rb", "lib/ver/vendor/textpow.rb", "lib/ver/view.rb", "lib/ver/view/console.rb", "lib/ver/view/entry.rb", "lib/ver/view/list.rb", "lib/ver/view/list/buffer.rb", "lib/ver/view/list/ex.rb", "lib/ver/view/list/fuzzy_file_finder.rb", "lib/ver/view/list/grep.rb", "lib/ver/view/list/methods.rb", "lib/ver/view/list/syntax.rb", "lib/ver/view/list/theme.rb", "lib/ver/view/term.rb", "spec/keymap.rb", "tasks/authors.rake", "tasks/bacon.rake", "tasks/changelog.rake", "tasks/gem.rake", "tasks/gem_installer.rake", "tasks/gem_setup.rake", "tasks/grancher.rake", "tasks/install_dependencies.rake", "tasks/manifest.rake", "tasks/plist2json.rake", "tasks/rcov.rake", "tasks/release.rake", "tasks/reversion.rake", "tasks/setup.rake", "tasks/syntax_list.rake", "tasks/ycov.rake", "ver.gemspec"]
15
15
  s.homepage = %q{http://github.com/manveru/ver}
16
16
  s.require_paths = ["lib"]
17
17
  s.rubygems_version = %q{1.3.5}
@@ -22,8 +22,11 @@ Gem::Specification.new do |s|
22
22
  s.specification_version = 3
23
23
 
24
24
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
25
+ s.add_runtime_dependency(%q<ffi-tk>, ["= 2009.11.29"])
25
26
  else
27
+ s.add_dependency(%q<ffi-tk>, ["= 2009.11.29"])
26
28
  end
27
29
  else
30
+ s.add_dependency(%q<ffi-tk>, ["= 2009.11.29"])
28
31
  end
29
32
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ver
3
3
  version: !ruby/object:Gem::Version
4
- version: 2009.11.28
4
+ version: 2009.11.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael 'manveru' Fellinger
@@ -9,10 +9,19 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-28 00:00:00 +09:00
12
+ date: 2009-11-29 00:00:00 +09:00
13
13
  default_executable: ver
14
- dependencies: []
15
-
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: ffi-tk
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - "="
22
+ - !ruby/object:Gem::Version
23
+ version: 2009.11.29
24
+ version:
16
25
  description: An advanced text editor using tk and bringing world peace.
17
26
  email: m.fellinger@gmail.com
18
27
  executables:
@@ -398,10 +407,12 @@ files:
398
407
  - lib/ver/view/list/theme.rb
399
408
  - lib/ver/view/term.rb
400
409
  - spec/keymap.rb
410
+ - tasks/authors.rake
401
411
  - tasks/bacon.rake
402
412
  - tasks/changelog.rake
403
413
  - tasks/gem.rake
404
414
  - tasks/gem_installer.rake
415
+ - tasks/gem_setup.rake
405
416
  - tasks/grancher.rake
406
417
  - tasks/install_dependencies.rake
407
418
  - tasks/manifest.rake
@@ -409,7 +420,9 @@ files:
409
420
  - tasks/rcov.rake
410
421
  - tasks/release.rake
411
422
  - tasks/reversion.rake
423
+ - tasks/setup.rake
412
424
  - tasks/syntax_list.rake
425
+ - tasks/ycov.rake
413
426
  - ver.gemspec
414
427
  has_rdoc: true
415
428
  homepage: http://github.com/manveru/ver