git-topic 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (7) hide show
  1. data/Gemfile +7 -3
  2. data/Gemfile.lock +2 -0
  3. data/Rakefile +11 -3
  4. data/VERSION +1 -1
  5. data/bin/git-topic +4 -0
  6. data/git-topic.gemspec +22 -7
  7. metadata +81 -14
data/Gemfile CHANGED
@@ -2,9 +2,12 @@
2
2
 
3
3
  source :gemcutter
4
4
 
5
- gem 'activesupport'
6
- gem 'trollop'
7
- gem 'gemcutter'
5
+ gem 'git-topic'
6
+
7
+ group :runtime do
8
+ gem 'activesupport'
9
+ gem 'trollop'
10
+ end
8
11
 
9
12
  group :development do
10
13
  gem 'jeweler'
@@ -12,6 +15,7 @@ group :development do
12
15
  gem 'rspec', '>= 2.0.0.beta.16'
13
16
  gem 'ZenTest'
14
17
  gem 'yard'
18
+ gem 'gemcutter'
15
19
  end
16
20
 
17
21
 
data/Gemfile.lock CHANGED
@@ -7,6 +7,7 @@ GEM
7
7
  gemcutter (0.5.0)
8
8
  json_pure
9
9
  git (1.2.5)
10
+ git-topic (0.1.4)
10
11
  jeweler (1.4.0)
11
12
  gemcutter (>= 0.1.0)
12
13
  git (>= 1.2.5)
@@ -33,6 +34,7 @@ DEPENDENCIES
33
34
  ZenTest
34
35
  activesupport
35
36
  gemcutter
37
+ git-topic
36
38
  jeweler
37
39
  rake
38
40
  rspec (>= 2.0.0.beta.16)
data/Rakefile CHANGED
@@ -44,9 +44,17 @@ begin
44
44
  gem.email = "git-topic@hjdivad.com"
45
45
  gem.homepage = "http://github.com/hjdivad/git-topic"
46
46
  gem.authors = ["David J. Hamilton"]
47
- gem.add_development_dependency "rspec", ">= 1.2.9"
48
- gem.add_development_dependency "yard", ">= 0"
49
- gem.add_development_dependency "cucumber", ">= 0"
47
+
48
+ if File.exists? 'Gemfile'
49
+ require 'bundler'
50
+ bundler = Bundler.load
51
+ bundler.dependencies_for( :runtime ).each do |dep|
52
+ gem.add_dependency dep.name, dep.requirement.to_s
53
+ end
54
+ bundler.dependencies_for( :development ).each do |dep|
55
+ gem.add_development_dependency dep.name, dep.requirement.to_s
56
+ end
57
+ end
50
58
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
51
59
  end
52
60
  Jeweler::GemcutterTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
data/bin/git-topic CHANGED
@@ -1,6 +1,10 @@
1
1
  #!/usr/bin/env ruby
2
2
  # encoding: utf-8
3
3
 
4
+ require 'rubygems'
5
+ require 'bundler'
6
+ Bundler.setup :default, :runtime
7
+
4
8
  require 'trollop'
5
9
  require 'git_topic'
6
10
 
data/git-topic.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{git-topic}
8
- s.version = "0.1.4"
8
+ s.version = "0.1.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["David J. Hamilton"]
@@ -112,18 +112,33 @@ Gem::Specification.new do |s|
112
112
  s.specification_version = 3
113
113
 
114
114
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
115
- s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
115
+ s.add_runtime_dependency(%q<activesupport>, [">= 0"])
116
+ s.add_runtime_dependency(%q<trollop>, [">= 0"])
117
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
118
+ s.add_development_dependency(%q<rake>, [">= 0"])
119
+ s.add_development_dependency(%q<rspec>, [">= 2.0.0.beta.16"])
120
+ s.add_development_dependency(%q<ZenTest>, [">= 0"])
116
121
  s.add_development_dependency(%q<yard>, [">= 0"])
117
- s.add_development_dependency(%q<cucumber>, [">= 0"])
122
+ s.add_development_dependency(%q<gemcutter>, [">= 0"])
118
123
  else
119
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
124
+ s.add_dependency(%q<activesupport>, [">= 0"])
125
+ s.add_dependency(%q<trollop>, [">= 0"])
126
+ s.add_dependency(%q<jeweler>, [">= 0"])
127
+ s.add_dependency(%q<rake>, [">= 0"])
128
+ s.add_dependency(%q<rspec>, [">= 2.0.0.beta.16"])
129
+ s.add_dependency(%q<ZenTest>, [">= 0"])
120
130
  s.add_dependency(%q<yard>, [">= 0"])
121
- s.add_dependency(%q<cucumber>, [">= 0"])
131
+ s.add_dependency(%q<gemcutter>, [">= 0"])
122
132
  end
123
133
  else
124
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
134
+ s.add_dependency(%q<activesupport>, [">= 0"])
135
+ s.add_dependency(%q<trollop>, [">= 0"])
136
+ s.add_dependency(%q<jeweler>, [">= 0"])
137
+ s.add_dependency(%q<rake>, [">= 0"])
138
+ s.add_dependency(%q<rspec>, [">= 2.0.0.beta.16"])
139
+ s.add_dependency(%q<ZenTest>, [">= 0"])
125
140
  s.add_dependency(%q<yard>, [">= 0"])
126
- s.add_dependency(%q<cucumber>, [">= 0"])
141
+ s.add_dependency(%q<gemcutter>, [">= 0"])
127
142
  end
128
143
  end
129
144
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 4
9
- version: 0.1.4
8
+ - 5
9
+ version: 0.1.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - David J. Hamilton
@@ -18,23 +18,20 @@ date: 2010-07-13 00:00:00 -07:00
18
18
  default_executable: git-topic
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
- name: rspec
22
- prerelease: false
21
+ name: activesupport
23
22
  requirement: &id001 !ruby/object:Gem::Requirement
24
23
  none: false
25
24
  requirements:
26
25
  - - ">="
27
26
  - !ruby/object:Gem::Version
28
27
  segments:
29
- - 1
30
- - 2
31
- - 9
32
- version: 1.2.9
33
- type: :development
28
+ - 0
29
+ version: "0"
30
+ type: :runtime
31
+ prerelease: false
34
32
  version_requirements: *id001
35
33
  - !ruby/object:Gem::Dependency
36
- name: yard
37
- prerelease: false
34
+ name: trollop
38
35
  requirement: &id002 !ruby/object:Gem::Requirement
39
36
  none: false
40
37
  requirements:
@@ -43,11 +40,11 @@ dependencies:
43
40
  segments:
44
41
  - 0
45
42
  version: "0"
46
- type: :development
43
+ type: :runtime
44
+ prerelease: false
47
45
  version_requirements: *id002
48
46
  - !ruby/object:Gem::Dependency
49
- name: cucumber
50
- prerelease: false
47
+ name: jeweler
51
48
  requirement: &id003 !ruby/object:Gem::Requirement
52
49
  none: false
53
50
  requirements:
@@ -57,7 +54,77 @@ dependencies:
57
54
  - 0
58
55
  version: "0"
59
56
  type: :development
57
+ prerelease: false
60
58
  version_requirements: *id003
59
+ - !ruby/object:Gem::Dependency
60
+ name: rake
61
+ requirement: &id004 !ruby/object:Gem::Requirement
62
+ none: false
63
+ requirements:
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ segments:
67
+ - 0
68
+ version: "0"
69
+ type: :development
70
+ prerelease: false
71
+ version_requirements: *id004
72
+ - !ruby/object:Gem::Dependency
73
+ name: rspec
74
+ requirement: &id005 !ruby/object:Gem::Requirement
75
+ none: false
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ segments:
80
+ - 2
81
+ - 0
82
+ - 0
83
+ - beta
84
+ - 16
85
+ version: 2.0.0.beta.16
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: *id005
89
+ - !ruby/object:Gem::Dependency
90
+ name: ZenTest
91
+ requirement: &id006 !ruby/object:Gem::Requirement
92
+ none: false
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ segments:
97
+ - 0
98
+ version: "0"
99
+ type: :development
100
+ prerelease: false
101
+ version_requirements: *id006
102
+ - !ruby/object:Gem::Dependency
103
+ name: yard
104
+ requirement: &id007 !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ segments:
110
+ - 0
111
+ version: "0"
112
+ type: :development
113
+ prerelease: false
114
+ version_requirements: *id007
115
+ - !ruby/object:Gem::Dependency
116
+ name: gemcutter
117
+ requirement: &id008 !ruby/object:Gem::Requirement
118
+ none: false
119
+ requirements:
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ segments:
123
+ - 0
124
+ version: "0"
125
+ type: :development
126
+ prerelease: false
127
+ version_requirements: *id008
61
128
  description: "\n gem command around reviewed topic branches. Supports workflow of the form:\n\n # alexander:\n git work-on <topic>\n git done\n\n # bismarck:\n git status # notice a review branch\n git review <topic>\n # happy, merge into master, push and cleanup\n git accept\n\n git review <topic2>\n # unhappy\n git reject\n\n # alexander:\n git status # notice rejected topic\n git work-on <topic>\n\n see README.rdoc for more (any) details.\n "
62
129
  email: git-topic@hjdivad.com
63
130
  executables: