ddollar-textmate 0.9.5 → 0.9.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (6) hide show
  1. data/.gitignore +1 -0
  2. data/Rakefile +49 -38
  3. data/VERSION +1 -0
  4. data/bin/textmate +2 -2
  5. data/textmate.gemspec +45 -0
  6. metadata +19 -24
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ pkg/
data/Rakefile CHANGED
@@ -1,46 +1,57 @@
1
1
  require 'rubygems'
2
- require 'rake/gempackagetask'
3
- require 'date'
4
-
5
- GEM = "textmate"
6
- GEM_VERSION = "0.9.5"
7
- AUTHOR = "Yehuda Katz"
8
- EMAIL = "wycats@gmail.com"
9
- HOMEPAGE = "http://yehudakatz.com"
10
- SUMMARY = "Command-line textmate package manager (minor additions by ddollar)"
11
-
12
- spec = Gem::Specification.new do |s|
13
- s.name = GEM
14
- s.version = GEM_VERSION
15
- s.platform = Gem::Platform::RUBY
16
- s.has_rdoc = true
17
- s.extra_rdoc_files = ["README.markdown", "LICENSE"]
18
- s.summary = SUMMARY
19
- s.description = s.summary
20
- s.author = AUTHOR
21
- s.email = EMAIL
22
- s.homepage = HOMEPAGE
23
-
24
- s.add_dependency "thor", ">= 0.9.2"
25
-
26
- s.require_path = 'bin' # Yes, it's a hack, but otherwise gem complains on install
27
- s.autorequire = GEM
28
- s.files = %w(LICENSE README.markdown Rakefile) + Dir.glob("{bin,specs}/**/*")
29
- s.bindir = "bin"
30
- s.executables = %w( textmate )
2
+ require 'rake'
3
+
4
+ begin
5
+ require 'jeweler'
6
+ Jeweler::Tasks.new do |gem|
7
+ gem.name = "textmate"
8
+ gem.summary = %Q{Command-line package manager for textmate}
9
+ gem.description = %Q{TODO: longer description of your gem}
10
+ gem.email = "<ddollar@gmail.com>"
11
+ gem.homepage = "http://github.com/ddollar/textmate"
12
+ gem.authors = ["David Dollar"]
13
+ # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
14
+ end
15
+
16
+ rescue LoadError
17
+ puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
31
18
  end
32
19
 
33
- Rake::GemPackageTask.new(spec) do |pkg|
34
- pkg.gem_spec = spec
20
+ require 'rake/testtask'
21
+ Rake::TestTask.new(:test) do |test|
22
+ test.libs << 'lib' << 'test'
23
+ test.pattern = 'test/**/*_test.rb'
24
+ test.verbose = true
35
25
  end
36
26
 
37
- desc "make a gemspec file"
38
- task :make_spec do
39
- File.open("#{GEM}.gemspec", "w") do |file|
40
- file.puts spec.to_ruby
27
+ begin
28
+ require 'rcov/rcovtask'
29
+ Rcov::RcovTask.new do |test|
30
+ test.libs << 'test'
31
+ test.pattern = 'test/**/*_test.rb'
32
+ test.verbose = true
33
+ end
34
+ rescue LoadError
35
+ task :rcov do
36
+ abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
41
37
  end
42
38
  end
43
39
 
44
- task :install => [:package] do
45
- sh %{sudo gem install pkg/#{GEM}-#{GEM_VERSION} --no-rdoc --no-ri}
46
- end
40
+
41
+
42
+
43
+ task :default => :test
44
+
45
+ require 'rake/rdoctask'
46
+ Rake::RDocTask.new do |rdoc|
47
+ if File.exist?('VERSION')
48
+ version = File.read('VERSION')
49
+ else
50
+ version = ""
51
+ end
52
+
53
+ rdoc.rdoc_dir = 'rdoc'
54
+ rdoc.title = "textmate #{version}"
55
+ rdoc.rdoc_files.include('README*')
56
+ rdoc.rdoc_files.include('lib/**/*.rb')
57
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.9.7
data/bin/textmate CHANGED
@@ -136,8 +136,8 @@ class TextmateInstaller < Thor
136
136
 
137
137
  private
138
138
  def remote_bundle_locations
139
- { :'Macromates Trunk' => {:scm => :svn, :url => 'http://macromates.com/svn/Bundles/trunk/Bundles'},
140
- :'Macromates Review' => {:scm => :svn, :url => 'http://macromates.com/svn/Bundles/trunk/Review/Bundles'},
139
+ { :'Macromates Trunk' => {:scm => :svn, :url => 'http://svn.textmate.org/trunk/Bundles'},
140
+ :'Macromates Review' => {:scm => :svn, :url => 'http://svn.textmate.org/trunk/Review/Bundles'},
141
141
 
142
142
  # :'Bunch of Git Bundles' => {:scm => :git, :url => 'git://NotImplemented'},
143
143
 
data/textmate.gemspec ADDED
@@ -0,0 +1,45 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{textmate}
8
+ s.version = "0.9.7"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["David Dollar"]
12
+ s.date = %q{2009-08-10}
13
+ s.default_executable = %q{textmate}
14
+ s.description = %q{TODO: longer description of your gem}
15
+ s.email = %q{<ddollar@gmail.com>}
16
+ s.executables = ["textmate"]
17
+ s.extra_rdoc_files = [
18
+ "LICENSE",
19
+ "README.markdown"
20
+ ]
21
+ s.files = [
22
+ ".gitignore",
23
+ "LICENSE",
24
+ "README.markdown",
25
+ "Rakefile",
26
+ "VERSION",
27
+ "bin/textmate",
28
+ "textmate.gemspec"
29
+ ]
30
+ s.homepage = %q{http://github.com/ddollar/textmate}
31
+ s.rdoc_options = ["--charset=UTF-8"]
32
+ s.require_paths = ["lib"]
33
+ s.rubygems_version = %q{1.3.5}
34
+ s.summary = %q{Command-line package manager for textmate}
35
+
36
+ if s.respond_to? :specification_version then
37
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
38
+ s.specification_version = 3
39
+
40
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
41
+ else
42
+ end
43
+ else
44
+ end
45
+ end
metadata CHANGED
@@ -1,48 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ddollar-textmate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5
4
+ version: 0.9.7
5
5
  platform: ruby
6
6
  authors:
7
- - Yehuda Katz
8
- autorequire: textmate
7
+ - David Dollar
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-15 00:00:00 -07:00
12
+ date: 2009-08-10 00:00:00 -07:00
13
13
  default_executable: textmate
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: thor
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: 0.9.2
24
- version:
25
- description: Command-line textmate package manager (minor additions by ddollar)
26
- email: wycats@gmail.com
14
+ dependencies: []
15
+
16
+ description: "TODO: longer description of your gem"
17
+ email: <ddollar@gmail.com>
27
18
  executables:
28
19
  - textmate
29
20
  extensions: []
30
21
 
31
22
  extra_rdoc_files:
32
- - README.markdown
33
23
  - LICENSE
24
+ - README.markdown
34
25
  files:
26
+ - .gitignore
35
27
  - LICENSE
36
28
  - README.markdown
37
29
  - Rakefile
30
+ - VERSION
38
31
  - bin/textmate
32
+ - textmate.gemspec
39
33
  has_rdoc: false
40
- homepage: http://yehudakatz.com
34
+ homepage: http://github.com/ddollar/textmate
35
+ licenses:
41
36
  post_install_message:
42
- rdoc_options: []
43
-
37
+ rdoc_options:
38
+ - --charset=UTF-8
44
39
  require_paths:
45
- - bin
40
+ - lib
46
41
  required_ruby_version: !ruby/object:Gem::Requirement
47
42
  requirements:
48
43
  - - ">="
@@ -58,9 +53,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
53
  requirements: []
59
54
 
60
55
  rubyforge_project:
61
- rubygems_version: 1.2.0
56
+ rubygems_version: 1.3.5
62
57
  signing_key:
63
58
  specification_version: 3
64
- summary: Command-line textmate package manager (minor additions by ddollar)
59
+ summary: Command-line package manager for textmate
65
60
  test_files: []
66
61