piston 2.0.6 → 2.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -1,3 +1,6 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+
1
4
  Dir["tasks/**/*.rake"].each { |rake| load rake }
2
5
 
3
6
  begin
@@ -18,8 +21,9 @@ begin
18
21
  s.add_runtime_dependency "log4r", ">= 1.0.5"
19
22
  s.add_runtime_dependency "activesupport", ">= 2.0.0"
20
23
  end
24
+ Jeweler::GemcutterTasks.new
21
25
  rescue LoadError
22
- puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
26
+ puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
23
27
  end
24
28
 
25
29
  task :default => :test
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 0
3
- :patch: 6
3
+ :patch: 7
4
4
  :major: 2
@@ -74,7 +74,7 @@ module Piston
74
74
 
75
75
  def delete(deleted)
76
76
  Dir.chdir(path) do
77
- deleted.each { |item| git(:rm, item) }
77
+ deleted.each { |item| git(:rm, "-r", item) }
78
78
  end
79
79
  end
80
80
 
@@ -269,36 +269,6 @@ module Piston
269
269
  end
270
270
  end
271
271
 
272
- def diff
273
- tmpdir = temp_dir_name
274
- begin
275
- logger.info {"Checking out the repository at #{revision.revision}"}
276
- revision = repository.at(:head)
277
- revision.checkout_to(tmpdir)
278
-
279
- excludes = (['.piston.yml'] + exclude_for_diff + revision.exclude_for_diff).uniq.collect {|pattern| "--exclude=#{pattern}"}.join ' '
280
- system("diff -urN #{excludes} '#{tmpdir}' '#{path}'")
281
- ensure
282
- logger.debug {"Removing temporary directory: #{tmpdir}"}
283
- tmpdir.rmtree rescue nil
284
- end
285
- end
286
-
287
- def diff
288
- tmpdir = temp_dir_name
289
- begin
290
- logger.info {"Checking out the repository at #{revision.revision}"}
291
- revision = repository.at(:head)
292
- revision.checkout_to(tmpdir)
293
-
294
- excludes = (['.piston.yml'] + exclude_for_diff + revision.exclude_for_diff).uniq.collect {|pattern| "--exclude=#{pattern}"}.join ' '
295
- system("diff -urN #{excludes} '#{tmpdir}' '#{path}'")
296
- ensure
297
- logger.debug {"Removing temporary directory: #{tmpdir}"}
298
- tmpdir.rmtree rescue nil
299
- end
300
- end
301
-
302
272
  def temp_dir_name
303
273
  path.parent + ".#{path.basename}.tmp"
304
274
  end
data/piston.gemspec CHANGED
@@ -1,12 +1,15 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
1
4
  # -*- encoding: utf-8 -*-
2
5
 
3
6
  Gem::Specification.new do |s|
4
7
  s.name = %q{piston}
5
- s.version = "2.0.6"
8
+ s.version = "2.0.7"
6
9
 
7
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
11
  s.authors = ["Francois Beausoleil"]
9
- s.date = %q{2009-08-01}
12
+ s.date = %q{2009-10-22}
10
13
  s.default_executable = %q{piston}
11
14
  s.description = %q{Piston makes it easy to merge vendor branches into your own repository, without worrying about which revisions were grabbed or not. Piston will also keep your local changes in addition to the remote changes.}
12
15
  s.email = %q{francois@teksol.info}
@@ -109,11 +112,12 @@ Gem::Specification.new do |s|
109
112
  "test/unit/working_copy/test_validate.rb",
110
113
  "tmp/.gitignore"
111
114
  ]
115
+ s.has_rdoc = false
112
116
  s.homepage = %q{http://francois.github.com/piston}
113
117
  s.rdoc_options = ["--charset=UTF-8"]
114
118
  s.require_paths = ["lib"]
115
119
  s.rubyforge_project = %q{piston}
116
- s.rubygems_version = %q{1.3.2}
120
+ s.rubygems_version = %q{1.3.5}
117
121
  s.summary = %q{Ease your vendor branch management worries}
118
122
  s.test_files = [
119
123
  "test/integration_helpers.rb",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: piston
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.6
4
+ version: 2.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francois Beausoleil
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-01 00:00:00 -04:00
12
+ date: 2009-10-22 00:00:00 -04:00
13
13
  default_executable: piston
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -178,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
178
178
  requirements: []
179
179
 
180
180
  rubyforge_project: piston
181
- rubygems_version: 1.3.2
181
+ rubygems_version: 1.3.5
182
182
  signing_key:
183
183
  specification_version: 3
184
184
  summary: Ease your vendor branch management worries