octopolo 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.markdown +5 -0
- data/Gemfile +2 -0
- data/lib/octopolo/commands/view_pr.rb +7 -0
- data/lib/octopolo/scripts/view_pr.rb +24 -0
- data/lib/octopolo/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 432e910dc903f53748dd91a860fbaee266bc4adf
|
4
|
+
data.tar.gz: b70ac1dd46b538625ef6c2535afc598bc9566860
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0a05cdd533e6a7c0a927cb6ede96fc779556d6e988f4332d79d2ae3617f962418309d9f750581e35f6e6b92f67b76f822db941e9709ea00d8028c8f17170479
|
7
|
+
data.tar.gz: 0ec4e43d17a7f14acb90ad49ca11a8799e74677d94076666270df508f7f20665f276ff5e6dd1d8408a2d1c8af29107069d3a43ff2c779487bc7c64ebe0f7fb6e
|
data/CHANGELOG.markdown
CHANGED
data/Gemfile
CHANGED
@@ -0,0 +1,24 @@
|
|
1
|
+
require_relative "../scripts"
|
2
|
+
require_relative "../pull_request_merger"
|
3
|
+
|
4
|
+
module Octopolo
|
5
|
+
module Scripts
|
6
|
+
class ViewPr
|
7
|
+
include CLIWrapper
|
8
|
+
|
9
|
+
def self.execute
|
10
|
+
new.execute
|
11
|
+
end
|
12
|
+
|
13
|
+
# Public: Perform the script
|
14
|
+
def execute
|
15
|
+
current = GitHub::PullRequest.current
|
16
|
+
|
17
|
+
if current
|
18
|
+
cli.say "Opening Pull Request #{current.number}"
|
19
|
+
cli.open current.pull_request.html_url
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
data/lib/octopolo/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octopolo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patrick Byrne
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2016-05-04 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: gli
|
@@ -225,6 +225,7 @@ files:
|
|
225
225
|
- lib/octopolo/commands/stale_branches.rb
|
226
226
|
- lib/octopolo/commands/sync_branch.rb
|
227
227
|
- lib/octopolo/commands/tag_release.rb
|
228
|
+
- lib/octopolo/commands/view_pr.rb
|
228
229
|
- lib/octopolo/config.rb
|
229
230
|
- lib/octopolo/convenience_wrappers.rb
|
230
231
|
- lib/octopolo/dated_branch_creator.rb
|
@@ -260,6 +261,7 @@ files:
|
|
260
261
|
- lib/octopolo/scripts/stale_branches.rb
|
261
262
|
- lib/octopolo/scripts/sync_branch.rb
|
262
263
|
- lib/octopolo/scripts/tag_release.rb
|
264
|
+
- lib/octopolo/scripts/view_pr.rb
|
263
265
|
- lib/octopolo/semver_tag_scrubber.rb
|
264
266
|
- lib/octopolo/templates/issue_body.erb
|
265
267
|
- lib/octopolo/templates/pull_request_body.erb
|
@@ -332,7 +334,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
332
334
|
version: '0'
|
333
335
|
requirements: []
|
334
336
|
rubyforge_project:
|
335
|
-
rubygems_version: 2.4.
|
337
|
+
rubygems_version: 2.4.8
|
336
338
|
signing_key:
|
337
339
|
specification_version: 4
|
338
340
|
summary: A set of GitHub workflow scripts to provide a smooth development process
|