yolo 1.2.2 → 1.2.3
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.
- data/lib/yolo/history/history.yml +3 -0
- data/lib/yolo/tools/git.rb +12 -8
- metadata +2 -2
data/lib/yolo/tools/git.rb
CHANGED
|
@@ -167,11 +167,13 @@ module Yolo
|
|
|
167
167
|
#
|
|
168
168
|
# @return [String] The last commit hash from the project history
|
|
169
169
|
def yaml_commit
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
170
|
+
commit = ""
|
|
171
|
+
if @yaml
|
|
172
|
+
if @yaml[project_name]
|
|
173
|
+
commit = @yaml[project_name]["commit"]
|
|
174
|
+
end
|
|
174
175
|
end
|
|
176
|
+
commit
|
|
175
177
|
end
|
|
176
178
|
|
|
177
179
|
#
|
|
@@ -179,11 +181,13 @@ module Yolo
|
|
|
179
181
|
#
|
|
180
182
|
# @return [String] The last tag from the project history
|
|
181
183
|
def yaml_tag
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
184
|
+
tag = ""
|
|
185
|
+
if @yaml
|
|
186
|
+
if @yaml[project_name]
|
|
187
|
+
tag = @yaml[project_name]["tag"]
|
|
188
|
+
end
|
|
186
189
|
end
|
|
190
|
+
tag
|
|
187
191
|
end
|
|
188
192
|
|
|
189
193
|
#
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yolo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-05
|
|
12
|
+
date: 2013-06-05 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: xcodebuild-rb
|