github 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -3,3 +3,4 @@ InstalledFiles
3
3
  pkg
4
4
  *.gem
5
5
  .bundle
6
+ Gemfile.lock
@@ -1,43 +1,42 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- github (0.7.0)
4
+ github (0.7.1)
5
5
  highline (~> 1.5.1)
6
6
  json_pure (~> 1.5.1)
7
- launchy (~> 0.3.7)
7
+ launchy (~> 2.0.2)
8
8
  text-format (= 1.0.0)
9
9
  text-hyphen (= 1.0.0)
10
10
 
11
11
  GEM
12
12
  remote: http://rubygems.org/
13
13
  specs:
14
- activemodel (3.0.5)
15
- activesupport (= 3.0.5)
14
+ activemodel (3.0.12)
15
+ activesupport (= 3.0.12)
16
16
  builder (~> 2.1.2)
17
- i18n (~> 0.4)
18
- activerecord (3.0.5)
19
- activemodel (= 3.0.5)
20
- activesupport (= 3.0.5)
21
- arel (~> 2.0.2)
17
+ i18n (~> 0.5.0)
18
+ activerecord (3.0.12)
19
+ activemodel (= 3.0.12)
20
+ activesupport (= 3.0.12)
21
+ arel (~> 2.0.10)
22
22
  tzinfo (~> 0.3.23)
23
- activesupport (3.0.5)
24
- arel (2.0.9)
23
+ activesupport (3.0.12)
24
+ addressable (2.2.7)
25
+ arel (2.0.10)
25
26
  builder (2.1.2)
26
- configuration (1.3.1)
27
27
  highline (1.5.2)
28
28
  i18n (0.5.0)
29
29
  json_pure (1.5.4)
30
30
  spruz (~> 0.2.8)
31
- launchy (0.3.7)
32
- configuration (>= 0.0.5)
33
- rake (>= 0.8.1)
34
- rake (0.8.7)
35
- rspec (1.3.1)
31
+ launchy (2.0.5)
32
+ addressable (~> 2.2.6)
33
+ rake (0.9.2.2)
34
+ rspec (1.3.2)
36
35
  spruz (0.2.13)
37
36
  text-format (1.0.0)
38
37
  text-hyphen (~> 1.0.0)
39
38
  text-hyphen (1.0.0)
40
- tzinfo (0.3.25)
39
+ tzinfo (0.3.32)
41
40
 
42
41
  PLATFORMS
43
42
  ruby
@@ -1,3 +1,7 @@
1
+ == 0.7.1 2012-03-20
2
+
3
+ * Upgrade launchy [thx @copiousfreetime]
4
+
1
5
  == 0.7.0 2012-03-20
2
6
 
3
7
  * Fixed fork + create-from-local tasks (moved to github v2 API)
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
23
23
  s.add_dependency "text-format", "1.0.0"
24
24
  s.add_dependency "highline", "~> 1.5.1"
25
25
  s.add_dependency "json_pure", "~> 1.5.1"
26
- s.add_dependency "launchy", "~> 0.3.7"
26
+ s.add_dependency "launchy", "~> 2.0.2"
27
27
 
28
28
  s.add_development_dependency "rake"
29
29
  s.add_development_dependency "rspec", "~>1.3.1"
@@ -115,10 +115,10 @@ command :pull do |user, branch|
115
115
  die "Specify a user to pull from" if user.nil?
116
116
  user, branch = user.split("/", 2) if branch.nil?
117
117
 
118
- if !helper.network_members(user, {}).include?(user)
119
- git_exec "#{helper.argv.join(' ')}".strip
120
- return
121
- end
118
+ # if !helper.network_members(user, {}).include?(user)
119
+ # git_exec "#{helper.argv.join(' ')}".strip
120
+ # return
121
+ # end
122
122
 
123
123
  branch ||= 'master'
124
124
  GitHub.invoke(:track, user) unless helper.tracking?(user)
@@ -249,6 +249,7 @@ helper :network_page_for do |user|
249
249
  end
250
250
 
251
251
  helper :network_meta_for do |user|
252
+ p "https://github.com/#{user}/#{project}/network_meta"
252
253
  "https://github.com/#{user}/#{project}/network_meta"
253
254
  end
254
255
 
@@ -272,7 +273,7 @@ end
272
273
 
273
274
  helper :open do |url|
274
275
  has_launchy? proc {
275
- Launchy::Browser.new.visit url
276
+ Launchy.open url
276
277
  }
277
278
  end
278
279
 
@@ -1,3 +1,3 @@
1
1
  module GitHub
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
3
3
  end
@@ -350,8 +350,8 @@ random
350
350
  require 'launchy'
351
351
 
352
352
  @helper.should_receive(:gem).with('launchy')
353
- Launchy::Browser.next_instance.tap do |browser|
354
- browser.should_receive(:run).with(dummy_browser, "http://www.google.com")
353
+ Launchy.tap do |launchy|
354
+ launchy.should_receive(:open).with("http://www.google.com")
355
355
  @helper.open "http://www.google.com"
356
356
  end
357
357
  rescue LoadError
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -16,7 +16,7 @@ date: 2012-03-21 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: text-hyphen
19
- requirement: &70209643793360 !ruby/object:Gem::Requirement
19
+ requirement: &70311392009340 !ruby/object:Gem::Requirement
20
20
  none: false
21
21
  requirements:
22
22
  - - =
@@ -24,10 +24,10 @@ dependencies:
24
24
  version: 1.0.0
25
25
  type: :runtime
26
26
  prerelease: false
27
- version_requirements: *70209643793360
27
+ version_requirements: *70311392009340
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: text-format
30
- requirement: &70209643792860 !ruby/object:Gem::Requirement
30
+ requirement: &70311392008840 !ruby/object:Gem::Requirement
31
31
  none: false
32
32
  requirements:
33
33
  - - =
@@ -35,10 +35,10 @@ dependencies:
35
35
  version: 1.0.0
36
36
  type: :runtime
37
37
  prerelease: false
38
- version_requirements: *70209643792860
38
+ version_requirements: *70311392008840
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: highline
41
- requirement: &70209643792400 !ruby/object:Gem::Requirement
41
+ requirement: &70311392008380 !ruby/object:Gem::Requirement
42
42
  none: false
43
43
  requirements:
44
44
  - - ~>
@@ -46,10 +46,10 @@ dependencies:
46
46
  version: 1.5.1
47
47
  type: :runtime
48
48
  prerelease: false
49
- version_requirements: *70209643792400
49
+ version_requirements: *70311392008380
50
50
  - !ruby/object:Gem::Dependency
51
51
  name: json_pure
52
- requirement: &70209643791940 !ruby/object:Gem::Requirement
52
+ requirement: &70311392024280 !ruby/object:Gem::Requirement
53
53
  none: false
54
54
  requirements:
55
55
  - - ~>
@@ -57,21 +57,21 @@ dependencies:
57
57
  version: 1.5.1
58
58
  type: :runtime
59
59
  prerelease: false
60
- version_requirements: *70209643791940
60
+ version_requirements: *70311392024280
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: launchy
63
- requirement: &70209643791480 !ruby/object:Gem::Requirement
63
+ requirement: &70311392023820 !ruby/object:Gem::Requirement
64
64
  none: false
65
65
  requirements:
66
66
  - - ~>
67
67
  - !ruby/object:Gem::Version
68
- version: 0.3.7
68
+ version: 2.0.2
69
69
  type: :runtime
70
70
  prerelease: false
71
- version_requirements: *70209643791480
71
+ version_requirements: *70311392023820
72
72
  - !ruby/object:Gem::Dependency
73
73
  name: rake
74
- requirement: &70209643807460 !ruby/object:Gem::Requirement
74
+ requirement: &70311392023440 !ruby/object:Gem::Requirement
75
75
  none: false
76
76
  requirements:
77
77
  - - ! '>='
@@ -79,10 +79,10 @@ dependencies:
79
79
  version: '0'
80
80
  type: :development
81
81
  prerelease: false
82
- version_requirements: *70209643807460
82
+ version_requirements: *70311392023440
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rspec
85
- requirement: &70209643806920 !ruby/object:Gem::Requirement
85
+ requirement: &70311392022900 !ruby/object:Gem::Requirement
86
86
  none: false
87
87
  requirements:
88
88
  - - ~>
@@ -90,10 +90,10 @@ dependencies:
90
90
  version: 1.3.1
91
91
  type: :development
92
92
  prerelease: false
93
- version_requirements: *70209643806920
93
+ version_requirements: *70311392022900
94
94
  - !ruby/object:Gem::Dependency
95
95
  name: activerecord
96
- requirement: &70209643806420 !ruby/object:Gem::Requirement
96
+ requirement: &70311392022400 !ruby/object:Gem::Requirement
97
97
  none: false
98
98
  requirements:
99
99
  - - ~>
@@ -101,7 +101,7 @@ dependencies:
101
101
  version: 3.0.0
102
102
  type: :development
103
103
  prerelease: false
104
- version_requirements: *70209643806420
104
+ version_requirements: *70311392022400
105
105
  description: The official `github` command line helper for simplifying your GitHub
106
106
  experience.
107
107
  email:
@@ -172,7 +172,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
172
172
  version: '0'
173
173
  segments:
174
174
  - 0
175
- hash: -244349371876441736
175
+ hash: -2461351142829921132
176
176
  required_rubygems_version: !ruby/object:Gem::Requirement
177
177
  none: false
178
178
  requirements:
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  version: '0'
182
182
  segments:
183
183
  - 0
184
- hash: -244349371876441736
184
+ hash: -2461351142829921132
185
185
  requirements: []
186
186
  rubyforge_project: github
187
187
  rubygems_version: 1.8.17