mate 1.1.1.2 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.1.2
1
+ 1.1.2
data/bin/tm CHANGED
@@ -2,10 +2,9 @@
2
2
 
3
3
  require 'mate'
4
4
 
5
- mate = (IO.popen('which -a mate', &:readlines).map(&:strip) - [__FILE__]).first
6
-
7
5
  if !ARGV.empty? && ARGV.all?(&File.method(:exist?)) && ARGV.any?(&File.method(:directory?))
8
6
  Mate::Tmproj.new(ARGV).open
9
7
  else
8
+ mate = (IO.popen('which -a mate', &:readlines).map(&:strip) - [__FILE__]).first
10
9
  system mate, *ARGV
11
10
  end
@@ -14,7 +14,7 @@ module Mate
14
14
  @file_pattern = ["#{DOUBLE_ASTERISK_R}.+\\.(?:#{BINARY_EXTENSIONS.flatten.join('|')})"]
15
15
  @folder_pattern = ["#{DOUBLE_ASTERISK_R}.git"]
16
16
 
17
- add(dir, Pathname(`git config --get core.excludesfile`.strip))
17
+ add(dir, Pathname(`git config --get core.excludesfile`.strip).expand_path)
18
18
 
19
19
  dir.find do |path|
20
20
  Find.prune if ignore?(path)
data/mate.gemspec CHANGED
@@ -5,13 +5,12 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{mate}
8
- s.version = "1.1.1.2"
8
+ s.version = "1.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Ivan Kuchin"]
12
- s.date = %q{2010-12-15}
13
- s.default_executable = %q{tm}
14
- s.executables = ["tm"]
11
+ s.authors = [%q{Ivan Kuchin}]
12
+ s.date = %q{2011-09-19}
13
+ s.executables = [%q{tm}]
15
14
  s.extra_rdoc_files = [
16
15
  "LICENSE.txt",
17
16
  "README.markdown"
@@ -29,13 +28,12 @@ Gem::Specification.new do |s|
29
28
  "mate.gemspec"
30
29
  ]
31
30
  s.homepage = %q{http://github.com/toy/mate}
32
- s.licenses = ["MIT"]
33
- s.require_paths = ["lib"]
34
- s.rubygems_version = %q{1.3.7}
31
+ s.licenses = [%q{MIT}]
32
+ s.require_paths = [%q{lib}]
33
+ s.rubygems_version = %q{1.8.8}
35
34
  s.summary = %q{TextMate project builder using git ignores for exclusions}
36
35
 
37
36
  if s.respond_to? :specification_version then
38
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
39
37
  s.specification_version = 3
40
38
 
41
39
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mate
3
3
  version: !ruby/object:Gem::Version
4
- hash: 87
5
- prerelease: false
4
+ hash: 23
5
+ prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 1
10
9
  - 2
11
- version: 1.1.1.2
10
+ version: 1.1.2
12
11
  platform: ruby
13
12
  authors:
14
13
  - Ivan Kuchin
@@ -16,8 +15,7 @@ autorequire:
16
15
  bindir: bin
17
16
  cert_chain: []
18
17
 
19
- date: 2010-12-15 00:00:00 +03:00
20
- default_executable: tm
18
+ date: 2011-09-19 00:00:00 Z
21
19
  dependencies:
22
20
  - !ruby/object:Gem::Dependency
23
21
  name: plist
@@ -83,7 +81,6 @@ files:
83
81
  - lib/mate/tmproj.rb
84
82
  - lib/mate/tmproj/ignores.rb
85
83
  - mate.gemspec
86
- has_rdoc: true
87
84
  homepage: http://github.com/toy/mate
88
85
  licenses:
89
86
  - MIT
@@ -113,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
110
  requirements: []
114
111
 
115
112
  rubyforge_project:
116
- rubygems_version: 1.3.7
113
+ rubygems_version: 1.8.8
117
114
  signing_key:
118
115
  specification_version: 3
119
116
  summary: TextMate project builder using git ignores for exclusions