jinzhu-grb 0.1.1 → 0.2.0

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 (4) hide show
  1. data/grb.gemspec +4 -5
  2. data/lib/grb.rb +11 -2
  3. data/lib/version.rb +1 -1
  4. metadata +4 -4
data/grb.gemspec CHANGED
@@ -2,28 +2,27 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{grb}
5
- s.version = "0.1.1"
5
+ s.version = "0.2.0"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Jinzhu Zhang"]
9
- s.date = %q{2009-07-14}
9
+ s.date = %q{2009-07-21}
10
10
  s.default_executable = %q{grb}
11
11
  s.description = %q{grb}
12
12
  s.email = %q{wosmvp@gmail.com}
13
13
  s.executables = ["grb"]
14
14
  s.extra_rdoc_files = ["bin/grb", "lib/version.rb", "lib/grb.rb"]
15
15
  s.files = ["bin/grb", "Rakefile", "lib/version.rb", "lib/grb.rb", "Manifest", "grb.gemspec"]
16
- s.has_rdoc = true
17
16
  s.homepage = %q{http://www.zhangjinzhu.com}
18
17
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Grb", "--main", "README.rdoc"]
19
18
  s.require_paths = ["lib"]
20
19
  s.rubyforge_project = %q{grb}
21
- s.rubygems_version = %q{1.3.1}
20
+ s.rubygems_version = %q{1.3.3}
22
21
  s.summary = %q{grb}
23
22
 
24
23
  if s.respond_to? :specification_version then
25
24
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
26
- s.specification_version = 2
25
+ s.specification_version = 3
27
26
 
28
27
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
29
28
  else
data/lib/grb.rb CHANGED
@@ -65,8 +65,17 @@ class Grb
65
65
  "#{GIT} branch --track #{branch} #{origin}/#{branch}"
66
66
  end'
67
67
  ]
68
- }
69
- }
68
+ },
69
+
70
+ :track => {
71
+ :desc => "=> track branch\ngit track `branch` [--explain]",
72
+ :commands => [
73
+ '"#{GIT} fetch #{origin}"',
74
+ '"#{GIT} branch --track #{branch} origin/#{branch}"',
75
+ '"#{GIT} checkout #{branch}"'
76
+ ]
77
+ }
78
+ }
70
79
 
71
80
  def self.parse(opt)
72
81
  if COMMANDS.keys.include?(opt[:command].to_sym)
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Version
2
- VERSION = '0.1.1'
2
+ VERSION = '0.2.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jinzhu-grb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jinzhu Zhang
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-07-14 00:00:00 -07:00
12
+ date: 2009-07-21 00:00:00 -07:00
13
13
  default_executable: grb
14
14
  dependencies: []
15
15
 
@@ -30,7 +30,7 @@ files:
30
30
  - lib/grb.rb
31
31
  - Manifest
32
32
  - grb.gemspec
33
- has_rdoc: true
33
+ has_rdoc: false
34
34
  homepage: http://www.zhangjinzhu.com
35
35
  post_install_message:
36
36
  rdoc_options:
@@ -59,7 +59,7 @@ requirements: []
59
59
  rubyforge_project: grb
60
60
  rubygems_version: 1.2.0
61
61
  signing_key:
62
- specification_version: 2
62
+ specification_version: 3
63
63
  summary: grb
64
64
  test_files: []
65
65