v2gpti 1.2.6 → 1.2.7
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.
- checksums.yaml +4 -4
- data/config_template +1 -1
- data/lib/git-pivotal-tracker-integration/command/configuration.rb +5 -0
- data/lib/git-pivotal-tracker-integration/command/deliver.rb +2 -1
- data/lib/git-pivotal-tracker-integration/command/finish.rb +2 -1
- data/lib/git-pivotal-tracker-integration/command/release.rb +2 -1
- 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: fae06f154c2bdeb3ea2006eee82f728db7b5e999
|
|
4
|
+
data.tar.gz: c834154ca3a257d86db0aec1c8c0ad8b13fa1404
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d8ec2619db1c93d85d02428cf2dc6e9e9d5349a286743d8c5aca4b9415dabe4991c1aa0a76ec158b1f1748bb2620c3170768f3d9abe17324f6dcf299a3d283ed
|
|
7
|
+
data.tar.gz: d9aba2e2aacf3d2ea5da7fff16c4abfaaa0aa67658e670f220d5423eeb0929e97e40ed915739b679a5a4e57cd6c1dd2d33f077d62828c76f110a413ef3cd9f0f
|
data/config_template
CHANGED
|
@@ -94,6 +94,11 @@ module GitPivotalTrackerIntegration
|
|
|
94
94
|
project_id
|
|
95
95
|
end
|
|
96
96
|
|
|
97
|
+
def xcode_project_path
|
|
98
|
+
config = self.pconfig
|
|
99
|
+
config["project"]["xcode-project-path"]
|
|
100
|
+
end
|
|
101
|
+
|
|
97
102
|
def platform_name
|
|
98
103
|
config = self.pconfig
|
|
99
104
|
platform_name = config["platform"]["platform-name"].downcase
|
|
@@ -63,7 +63,8 @@ module GitPivotalTrackerIntegration
|
|
|
63
63
|
puts ""
|
|
64
64
|
|
|
65
65
|
if (OS.mac? && @platform.downcase == "ios")
|
|
66
|
-
project_directory =
|
|
66
|
+
project_directory = @configuration.xcode_project_path
|
|
67
|
+
project_directory ||= ((Util::Shell.exec 'find . -name "*.xcodeproj" 2>/dev/null').split /\/(?=[^\/]*$)/)[0]
|
|
67
68
|
|
|
68
69
|
# cd to the project_directory
|
|
69
70
|
Dir.chdir(project_directory)
|
|
@@ -72,7 +72,8 @@ module GitPivotalTrackerIntegration
|
|
|
72
72
|
puts "working_directory:#{working_directory}*"
|
|
73
73
|
|
|
74
74
|
if (OS.mac? && @platform.downcase == 'ios')
|
|
75
|
-
project_directory =
|
|
75
|
+
project_directory = @configuration.xcode_project_path
|
|
76
|
+
project_directory ||= ((Util::Shell.exec 'find . -name "*.xcodeproj" 2>/dev/null').split /\/(?=[^\/]*$)/)[0]
|
|
76
77
|
return if project_directory.nil?
|
|
77
78
|
|
|
78
79
|
# cd to the project_directory
|
|
@@ -75,7 +75,8 @@ module GitPivotalTrackerIntegration
|
|
|
75
75
|
puts ""
|
|
76
76
|
|
|
77
77
|
if (OS.mac? && @platform.downcase == "ios")
|
|
78
|
-
project_directory =
|
|
78
|
+
project_directory = @configuration.xcode_project_path
|
|
79
|
+
project_directory ||= ((Util::Shell.exec 'find . -name "*.xcodeproj" 2>/dev/null').split /\/(?=[^\/]*$)/)[0]
|
|
79
80
|
|
|
80
81
|
# cd to the project_directory
|
|
81
82
|
Dir.chdir(project_directory)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: v2gpti
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jeff Wolski
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2015-
|
|
13
|
+
date: 2015-09-15 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: highline
|