v2gpti 1.2.6 → 1.2.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b90a5e83325445eca858f8278965aae863982f51
4
- data.tar.gz: ffab9b238386a2c1f624b77140c579c83174fbc0
3
+ metadata.gz: fae06f154c2bdeb3ea2006eee82f728db7b5e999
4
+ data.tar.gz: c834154ca3a257d86db0aec1c8c0ad8b13fa1404
5
5
  SHA512:
6
- metadata.gz: d6878d8eb78a3bbb354fe456c662fd9cbc148a0e76ea14ab1674992dc29a5f9c6d73dab9d416a5d52dd084c15a4aabb7118572ff32429698b151ed82acb6a293
7
- data.tar.gz: cdd703ea85f59b6de749861c65b35ee3ec019a5fe58c6035fa709913bfa77592b237cc744b4d21eae24e866f60721ceca132c175447c18db23037f32baa8f032
6
+ metadata.gz: d8ec2619db1c93d85d02428cf2dc6e9e9d5349a286743d8c5aca4b9415dabe4991c1aa0a76ec158b1f1748bb2620c3170768f3d9abe17324f6dcf299a3d283ed
7
+ data.tar.gz: d9aba2e2aacf3d2ea5da7fff16c4abfaaa0aa67658e670f220d5423eeb0929e97e40ed915739b679a5a4e57cd6c1dd2d33f077d62828c76f110a413ef3cd9f0f
data/config_template CHANGED
@@ -13,4 +13,4 @@ project-id =
13
13
  platform-name =
14
14
 
15
15
  [spec]
16
- spec-path = v2gpti.gemspec
16
+ spec-path =
@@ -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 = ((Util::Shell.exec 'find . -name "*.xcodeproj" 2>/dev/null').split /\/(?=[^\/]*$)/)[0]
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 = ((Util::Shell.exec 'find . -name "*.xcodeproj" 2>/dev/null').split /\/(?=[^\/]*$)/)[0]
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 = ((Util::Shell.exec 'find . -name "*.xcodeproj" 2>/dev/null').split /\/(?=[^\/]*$)/)[0]
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.6
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-08-11 00:00:00.000000000 Z
13
+ date: 2015-09-15 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: highline