pivotal-github 0.6.9 → 0.6.10
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.
@@ -2,7 +2,7 @@
|
|
2
2
|
class FinishedCommand < Command
|
3
3
|
|
4
4
|
def run!
|
5
|
-
check_finishes unless
|
5
|
+
check_finishes unless force?
|
6
6
|
system cmd
|
7
7
|
end
|
8
8
|
|
@@ -22,7 +22,7 @@ class FinishedCommand < Command
|
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
25
|
-
def
|
26
|
-
options.
|
25
|
+
def force?
|
26
|
+
options.force
|
27
27
|
end
|
28
28
|
end
|
@@ -11,7 +11,7 @@ class StoryMerge < FinishedCommand
|
|
11
11
|
self.options.development = opt
|
12
12
|
end
|
13
13
|
opts.on("-f", "--force", "override unfinished story warning") do |opt|
|
14
|
-
self.options.
|
14
|
+
self.options.force = opt
|
15
15
|
end
|
16
16
|
opts.on_tail("-h", "--help", "this usage guide") do
|
17
17
|
puts opts.to_s; exit 0
|
@@ -7,7 +7,7 @@ class StoryPullRequest < FinishedCommand
|
|
7
7
|
OptionParser.new do |opts|
|
8
8
|
opts.banner = "Usage: git story-pull-request [options]"
|
9
9
|
opts.on("-f", "--force", "override unfinished story warning") do |opt|
|
10
|
-
self.options.
|
10
|
+
self.options.force = opt
|
11
11
|
end
|
12
12
|
opts.on("-s", "--skip", "skip `git story-push`") do |opt|
|
13
13
|
self.options.skip = opt
|
metadata
CHANGED
@@ -1,27 +1,20 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: pivotal-github
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 6
|
8
|
-
- 9
|
9
|
-
version: 0.6.9
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.6.10
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Michael Hartl
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
date: 2013-03-01 00:00:00 -08:00
|
18
|
-
default_executable:
|
12
|
+
date: 2013-03-12 00:00:00.000000000 Z
|
19
13
|
dependencies: []
|
20
|
-
|
21
|
-
|
22
|
-
email:
|
14
|
+
description: Add commands for Pivotal Tracker–GitHub integration
|
15
|
+
email:
|
23
16
|
- michael@michaelhartl.com
|
24
|
-
executables:
|
17
|
+
executables:
|
25
18
|
- git-story-commit
|
26
19
|
- git-story-merge
|
27
20
|
- git-story-pull
|
@@ -29,10 +22,8 @@ executables:
|
|
29
22
|
- git-story-push
|
30
23
|
- story-open
|
31
24
|
extensions: []
|
32
|
-
|
33
25
|
extra_rdoc_files: []
|
34
|
-
|
35
|
-
files:
|
26
|
+
files:
|
36
27
|
- .gitignore
|
37
28
|
- .rspec
|
38
29
|
- Gemfile
|
@@ -66,37 +57,31 @@ files:
|
|
66
57
|
- spec/commands/story_push_spec.rb
|
67
58
|
- spec/options/options_spec.rb
|
68
59
|
- spec/spec_helper.rb
|
69
|
-
has_rdoc: true
|
70
60
|
homepage: https://github.com/mhartl/pivotal-github
|
71
61
|
licenses: []
|
72
|
-
|
73
62
|
post_install_message:
|
74
63
|
rdoc_options: []
|
75
|
-
|
76
|
-
require_paths:
|
64
|
+
require_paths:
|
77
65
|
- lib
|
78
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
requirements:
|
87
|
-
- -
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
|
90
|
-
- 0
|
91
|
-
version: "0"
|
66
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
67
|
+
none: false
|
68
|
+
requirements:
|
69
|
+
- - ! '>='
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '0'
|
72
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
92
78
|
requirements: []
|
93
|
-
|
94
79
|
rubyforge_project:
|
95
|
-
rubygems_version: 1.
|
80
|
+
rubygems_version: 1.8.25
|
96
81
|
signing_key:
|
97
82
|
specification_version: 3
|
98
83
|
summary: See the README for full documentation
|
99
|
-
test_files:
|
84
|
+
test_files:
|
100
85
|
- spec/commands/command_spec.rb
|
101
86
|
- spec/commands/story_commit_spec.rb
|
102
87
|
- spec/commands/story_merge_spec.rb
|