github 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.4.5 2010-10-25
2
+
3
+ * Added "gh admin" - to open the Admin page for this project
4
+
1
5
  == 0.4.4 2010-10-17
2
6
 
3
7
  * Fixed 'create-from-local' to correctly select public/private [scott]
data/Rakefile CHANGED
@@ -4,7 +4,7 @@ require 'rake'
4
4
  begin
5
5
  require 'echoe'
6
6
 
7
- Echoe.new('github', '0.4.4') do |p|
7
+ Echoe.new('github', '0.4.5') do |p|
8
8
  p.rubyforge_name = 'github'
9
9
  p.summary = "The official `github` command line helper for simplifying your GitHub experience."
10
10
  p.description = "The official `github` command line helper for simplifying your GitHub experience."
data/github.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{github}
5
- s.version = "0.4.4"
5
+ s.version = "0.4.5"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Chris Wanstrath, Kevin Ballard, Scott Chacon, Dr Nic Williams"]
9
- s.date = %q{2010-10-17}
9
+ s.date = %q{2010-10-25}
10
10
  s.description = %q{The official `github` command line helper for simplifying your GitHub experience.}
11
11
  s.email = %q{drnicwilliams@gmail.com}
12
12
  s.executables = ["gh", "github"]
@@ -7,6 +7,16 @@ command :home do |user|
7
7
  end
8
8
  end
9
9
 
10
+ desc "Open this repo's Admin panel a web browser."
11
+ command :admin do |user|
12
+ if helper.project
13
+ homepage = helper.homepage_for(user || helper.owner, 'master')
14
+ homepage.gsub!(%r{/tree/master$}, '')
15
+ homepage += "/admin"
16
+ helper.open homepage
17
+ end
18
+ end
19
+
10
20
  desc "Automatically set configuration info, or pass args to specify."
11
21
  usage "github config [my_username] [my_repo_name]"
12
22
  command :config do |user, repo|
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 4
10
- version: 0.4.4
9
+ - 5
10
+ version: 0.4.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chris Wanstrath, Kevin Ballard, Scott Chacon, Dr Nic Williams
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-10-17 00:00:00 -07:00
18
+ date: 2010-10-25 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency