cp8_cli 6.0.0 → 6.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cp8_cli.gemspec +1 -0
- data/exe/cp8 +3 -3
- data/lib/cp8_cli/commands/ci.rb +9 -0
- data/lib/cp8_cli/commands/open.rb +9 -0
- data/lib/cp8_cli/main.rb +4 -2
- data/lib/cp8_cli/version.rb +1 -1
- metadata +18 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3ff52745a24efe4e1b23b61a30f2b88bd5d9691
|
4
|
+
data.tar.gz: 1ac607e96ed473335468195e39495bc620257938
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae8d41a0bcce0d76d92ecfe57cafc83289477d7364484c775fe5ffcf25ee1d90242d845923e40b0b7a909481226d74ae3c8024e433107fd474771f14b5e62fb7
|
7
|
+
data.tar.gz: 613234213ce6fb3e8f6a5f2c1434ea1eb71af9ae2bd821a27e8c01d6e1f9e0b17495751697a2d96f52ee3a824d713200865dffe8ab9c6e48cb37bfb6109addd5
|
data/cp8_cli.gemspec
CHANGED
@@ -28,6 +28,7 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.add_development_dependency "webmock"
|
29
29
|
spec.add_development_dependency "faraday-conductivity"
|
30
30
|
|
31
|
+
spec.add_dependency "activesupport"
|
31
32
|
spec.add_dependency "colored"
|
32
33
|
spec.add_dependency "highline"
|
33
34
|
spec.add_dependency "hirb"
|
data/exe/cp8
CHANGED
@@ -7,7 +7,7 @@ require "cp8_cli"
|
|
7
7
|
|
8
8
|
module Cp8Cli
|
9
9
|
class App < Thor
|
10
|
-
desc "start [URL|TITLE]", "
|
10
|
+
desc "start [URL|TITLE]", "Picks up existing issue/creates new ad hoc story and checks out branch"
|
11
11
|
def start(name = nil)
|
12
12
|
main.start(name)
|
13
13
|
end
|
@@ -18,7 +18,7 @@ module Cp8Cli
|
|
18
18
|
main.submit(options.to_h.symbolize_keys)
|
19
19
|
end
|
20
20
|
|
21
|
-
desc "open", "Open current
|
21
|
+
desc "open", "Open current associated issue in browser"
|
22
22
|
def open
|
23
23
|
main.open
|
24
24
|
end
|
@@ -28,7 +28,7 @@ module Cp8Cli
|
|
28
28
|
main.ci
|
29
29
|
end
|
30
30
|
|
31
|
-
desc "suggest", "Creates a
|
31
|
+
desc "suggest", "Creates a suggestion branch from new commits, pushes it, opens URL and resets `master` back to `origin/master`."
|
32
32
|
def suggest
|
33
33
|
main.suggest
|
34
34
|
end
|
data/lib/cp8_cli/main.rb
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
require "cp8_cli/version"
|
2
2
|
require "cp8_cli/global_config"
|
3
|
+
require "cp8_cli/commands/ci"
|
4
|
+
require "cp8_cli/commands/open"
|
3
5
|
require "cp8_cli/commands/start"
|
4
6
|
require "cp8_cli/commands/submit"
|
5
7
|
require "cp8_cli/commands/suggest"
|
@@ -16,7 +18,7 @@ module Cp8Cli
|
|
16
18
|
end
|
17
19
|
|
18
20
|
def open
|
19
|
-
|
21
|
+
Commands::Open.new.run
|
20
22
|
end
|
21
23
|
|
22
24
|
def submit(options = {})
|
@@ -24,7 +26,7 @@ module Cp8Cli
|
|
24
26
|
end
|
25
27
|
|
26
28
|
def ci
|
27
|
-
|
29
|
+
Commands::Ci.new.run
|
28
30
|
end
|
29
31
|
|
30
32
|
def suggest
|
data/lib/cp8_cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cp8_cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.0.
|
4
|
+
version: 6.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Balvig
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -122,6 +122,20 @@ dependencies:
|
|
122
122
|
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: activesupport
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
140
|
name: colored
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -307,6 +321,8 @@ files:
|
|
307
321
|
- lib/cp8_cli/branch_name.rb
|
308
322
|
- lib/cp8_cli/ci.rb
|
309
323
|
- lib/cp8_cli/command.rb
|
324
|
+
- lib/cp8_cli/commands/ci.rb
|
325
|
+
- lib/cp8_cli/commands/open.rb
|
310
326
|
- lib/cp8_cli/commands/start.rb
|
311
327
|
- lib/cp8_cli/commands/submit.rb
|
312
328
|
- lib/cp8_cli/commands/suggest.rb
|