yolo 1.3.3 → 1.3.4

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/README.md CHANGED
@@ -1,9 +1,9 @@
1
1
  yolo
2
2
  ====
3
3
 
4
- [![Code Climate](https://codeclimate.com/github/alexefish/yolo.png)](https://codeclimate.com/github/alexefish/yolo)
5
- [![Coverage Status](https://coveralls.io/repos/alexefish/yolo/badge.png?branch=master)](https://coveralls.io/r/alexefish/yolo)
6
- [![Build Status](https://travis-ci.org/alexefish/yolo.png)](https://travis-ci.org/alexefish/yolo)
4
+ [![Coverage Status](https://coveralls.io/repos/alexfish/yolo/badge.png)](https://coveralls.io/r/alexfish/yolo)
5
+ [![Build Status](https://travis-ci.org/alexfish/yolo.png)](https://travis-ci.org/alexefish/yolo)
6
+ [![Gem Version](https://badge.fury.io/rb/yolo.png)](http://badge.fury.io/rb/yolo)
7
7
 
8
8
  yolo is a RubyGem which provides a Ruby interface to Continuous Integration build tools. yolo is currently geared towards the Xcode toolchain and iOS development.
9
9
 
@@ -23,6 +23,7 @@ module Yolo
23
23
  self.format = :junit
24
24
  self.device = "iphone"
25
25
  self.output_dir = "test-reports/calabash"
26
+ super
26
27
  end
27
28
 
28
29
  #
@@ -150,13 +150,12 @@ module Yolo
150
150
  # @param url [String] The URL which the build has been deplyed too
151
151
  # @param password [String] The password required to install the build
152
152
  #
153
- # @return [type] [description]
154
153
  def send_notification(url, password)
155
154
  if url
156
155
  mail_options = {
157
156
  :to => self.mail_to,
158
157
  :ota_url => url,
159
- :subject => "New #{name} build: #{version}",
158
+ :subject => "New #{name} build: #{version} (#{current_branch})",
160
159
  :title => name
161
160
  }
162
161
  mail_options[:ota_password] = password if password
@@ -164,6 +163,15 @@ module Yolo
164
163
  end
165
164
  end
166
165
 
166
+ #
167
+ # The current git branch
168
+ #
169
+ # @return [String] The current git branch
170
+ def current_branch
171
+ git = Yolo::Tools::Git.new
172
+ git.current_branch
173
+ end
174
+
167
175
  #
168
176
  # Initlizes an object from a deployment string
169
177
  # @param string [String] the deployment class name string
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.3.3
4
+ version: 1.3.4
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-11-08 00:00:00.000000000 Z
12
+ date: 2014-01-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: xcodebuild-rb
@@ -159,7 +159,8 @@ files:
159
159
  - spec/tools/ios/xcode_spec.rb
160
160
  - README.md
161
161
  homepage: http://rubygems.org/gems/yolo
162
- licenses: []
162
+ licenses:
163
+ - MIT
163
164
  post_install_message:
164
165
  rdoc_options: []
165
166
  require_paths:
@@ -178,9 +179,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
178
179
  version: '0'
179
180
  requirements: []
180
181
  rubyforge_project:
181
- rubygems_version: 1.8.24
182
+ rubygems_version: 1.8.23
182
183
  signing_key:
183
184
  specification_version: 3
184
185
  summary: YOLO!
185
186
  test_files: []
186
- has_rdoc: