prima-twig 0.0.28 → 0.0.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/twig-pick-issue +5 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42c4a229d9ade94ac25fd2e4bfd81df3029b2c08
|
4
|
+
data.tar.gz: 40a43638819b7a73449266ed15c789c43b1ac14c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 643b03927caf9d60f6f89a0b6a5d5abf876faccfdb921e361cbf8cd95a422a2260f0f748fcd13c4583b67fc2646957b036bd24d72242279e4122bd815af97cfa
|
7
|
+
data.tar.gz: 93e8dc8504f08b5e861de9d9922b41f89cb31bb212f7e0170a415119f6e795f27ce4ff2a6de640466226e5e18d640ee6bcc38ece9e67b71977d0a4ded698a4df
|
data/bin/twig-pick-issue
CHANGED
@@ -54,9 +54,11 @@ class PickIssue
|
|
54
54
|
branch_name << "-#{issue_number}"
|
55
55
|
branch_name = @prima.clean_branch_name branch_name
|
56
56
|
|
57
|
-
|
58
|
-
|
59
|
-
|
57
|
+
base_branch_name = ask('from which branch?'.cyan) { |q| q.default = 'dev' }
|
58
|
+
|
59
|
+
puts "creo branch con nome #{branch_name} partendo da #{base_branch_name}"
|
60
|
+
@prima.rugged.branches.create(branch_name, base_branch_name)
|
61
|
+
|
60
62
|
@prima.twig.set_branch_property(branch_name, 'issue', issue_number)
|
61
63
|
@prima.twig.set_branch_property(branch_name, 'diff-branch', base_branch)
|
62
64
|
@prima.rugged.checkout(branch_name)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prima-twig
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.30
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matteo Giachino
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-07-
|
13
|
+
date: 2015-07-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: twig
|