shenzhen 0.12.0 → 0.12.1

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: a25e6cf547a77b7148e488d19c7007fadc90c3ef
4
- data.tar.gz: 6e8c8fb827938d44a1b189be57b74d8693d15a0e
3
+ metadata.gz: c1a21292d93e5d9f84968aa673f6a1de23981f66
4
+ data.tar.gz: faac39ff132a922848cf03d0760ab7f8f543b604
5
5
  SHA512:
6
- metadata.gz: 568b6bbf5e2dc785f2a8e843d5be2aa8e70ff77775055f868d43e4eaecea504dd180db064b6f398ba04c0e68cb8e9cc629b1e54ffc178817424f15249087c889
7
- data.tar.gz: b48f32a2415431156ebd7920a4cbb8d224d96aa86787541f11294b2ef6a1ac884aa6b46b07de5fe37ac299901036178f321923d1cb63f8523c81d230e9d17e8c
6
+ metadata.gz: f3e4f0dd6d6d78be3e9fd14514f4287a6a11f3ce56730cf9bc87b04b14549cdae74c8cd8a808500fac1c8b000406c253af2ea3086f9736efebfc3d7c7112e342
7
+ data.tar.gz: 7eaf374e7e1e0ee295b854d6ab68caa1fc47f9caf874aed112fd973b3701d41a957a4baceff5fab247d59f6bd0c69dbf5acaef31bb301fb0da695ddb7a2df040
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shenzhen (0.12.0)
4
+ shenzhen (0.12.1)
5
5
  aws-sdk (~> 1.0)
6
6
  commander (~> 4.3)
7
7
  dotenv (~> 0.7)
@@ -12,10 +12,11 @@ module Shenzhen::Plugins
12
12
  end
13
13
 
14
14
  def upload_build(ipa, options)
15
- command = "#{@crashlytics_path} #{@api_token} #{@build_secret} -ipaPath #{options[:file]}"
16
- command += " -notesPath #{options[:notes]}" if options[:notes]
15
+ command = "#{@crashlytics_path} #{@api_token} #{@build_secret} -ipaPath '#{options[:file]}'"
16
+ command += " -notesPath '#{options[:notes]}'" if options[:notes]
17
17
  command += " -emails #{options[:emails]}" if options[:emails]
18
18
  command += " -groupAliases #{options[:groups]}" if options[:groups]
19
+ command += " -notifications #{options[:notifications] ? 'YES' : 'NO'}" if options[:notifications]
19
20
 
20
21
  system command
21
22
  end
@@ -34,6 +35,7 @@ command :'distribute:crashlytics' do |c|
34
35
  c.option '-m', '--notes PATH', "Path to release notes file"
35
36
  c.option '-e', '--emails EMAIL1,EMAIL2', "Emails of users for access"
36
37
  c.option '-g', '--groups GROUPS', "Groups for users for access"
38
+ c.option '-n', '--notifications [YES | NO]', "Should send notification email to testers?"
37
39
 
38
40
  c.action do |args, options|
39
41
  determine_file! unless @file = options.file
@@ -53,6 +55,7 @@ command :'distribute:crashlytics' do |c|
53
55
  parameters[:notes] = options.notes if options.notes
54
56
  parameters[:emails] = options.emails if options.emails
55
57
  parameters[:groups] = options.groups if options.groups
58
+ parameters[:notifications] = options.notifications == 'YES' if options.notifications
56
59
 
57
60
  client = Shenzhen::Plugins::Crashlytics::Client.new(@crashlytics_path, @api_token, @build_secret)
58
61
 
@@ -1,3 +1,3 @@
1
1
  module Shenzhen
2
- VERSION = '0.12.0'
2
+ VERSION = '0.12.1'
3
3
  end
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shenzhen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mattt Thompson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-27 00:00:00.000000000 Z
11
+ date: 2015-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander
@@ -228,6 +228,7 @@ files:
228
228
  - ./shenzhen-0.11.0.gem
229
229
  - ./shenzhen-0.11.1.gem
230
230
  - ./shenzhen-0.11.2.gem
231
+ - ./shenzhen-0.12.0.gem
231
232
  - ./shenzhen.gemspec
232
233
  - bin/ipa
233
234
  homepage: http://nomad-cli.com