yac 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/git.rb +3 -3
  2. data/yac.gemspec +2 -1
  3. metadata +2 -2
data/lib/git.rb CHANGED
@@ -17,17 +17,17 @@ class Git
17
17
  end
18
18
 
19
19
  def add(file,with_commit = true)
20
- `cd '#@working_path' && git add file`
20
+ `cd '#@working_path' && git add '#{file}'`
21
21
  self.commit("#{clean_name(file)} Added") if with_commit
22
22
  end
23
23
 
24
24
  def edit(file,with_commit = true)
25
- `cd '#@working_path' && git add file`
25
+ `cd '#@working_path' && git add '#{file}'`
26
26
  self.commit("#{clean_name(file)} Updated") if with_commit
27
27
  end
28
28
 
29
29
  def rm(file,with_commit=true)
30
- `cd '#@working_path' && git rm -f file`
30
+ `cd '#@working_path' && git rm -f '#{file}'`
31
31
  self.commit("#{clean_name(file)} Removed") if with_commit
32
32
  end
33
33
 
data/yac.gemspec CHANGED
@@ -1,5 +1,5 @@
1
1
  GEM = "yac"
2
- VER = "1.1.1"
2
+ VER = "1.1.2"
3
3
  DATE = %q{2008-10-28}
4
4
  AUTHOR = "Jinzhu Zhang"
5
5
  EMAIL = "wosmvp@gmail.com"
@@ -17,6 +17,7 @@ Gem::Specification.new do |s|
17
17
  s.author = AUTHOR
18
18
  s.date = DATE
19
19
  s.email = EMAIL
20
+ s.platform = Gem::Platform::RUBY
20
21
  s.homepage = HOMEPAGE
21
22
  s.summary = SUMMARY
22
23
  s.description = s.summary
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yac
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jinzhu Zhang
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  requirements: []
70
70
 
71
71
  rubyforge_project: yac
72
- rubygems_version: 1.3.0
72
+ rubygems_version: 1.3.1
73
73
  signing_key:
74
74
  specification_version: 2
75
75
  summary: "Yet Another Cheat: sexy command line tool for cheat sheet"