fastlane-plugin-hockey_devices 1.0.0 → 1.0.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: 158172b80d64e79c06e02b8f745ef8c5280da979
4
- data.tar.gz: 9ef275f22dadc72993cb679982a693ee1c233ec6
3
+ metadata.gz: 241107a0708b787ed41062b530cdab91d25237a3
4
+ data.tar.gz: 03ecc0c8ee00592ce92ee4d75976060c283b6a5b
5
5
  SHA512:
6
- metadata.gz: 71a2b25cf0cf580c4534c3617af33b343803ed09df309c5849fd48bf97d705b7d9300cda5f8f6e2b27666bc682ea687169360635fb3166e6ce6bdd1b59cdc512
7
- data.tar.gz: 00def7e169044efa160690a956c4092954333f74d285e7fd5883b63e2731c77f0c0c7f16678fd10d47310601747ca1d519e2c46f5d0bba828b79777130023a06
6
+ metadata.gz: 35b21b2c96758b4f072ca70eb0269bcce813a672bdf7562ea467c17ed60cddc647d688d4c85e31fc112aac2d6c390f3e9b227c1237a5b37bcc0eb57af0342b17
7
+ data.tar.gz: 76293191552cc590772cb38c1e21dcde7e3fc1aefd3fbdaa6eec27a5b0aa0b21c54db0919fba892b92750377cd0787d1b943f8e357e9d2cbd037cd4cd3705d42
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # hockey_devices plugin
2
2
 
3
3
  [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-hockey_devices)
4
+ [![CircleCI](https://circleci.com/gh/viktorasl/fastlane-plugin-hockey_devices.svg?style=svg)](https://circleci.com/gh/viktorasl/fastlane-plugin-hockey_devices)
4
5
 
5
6
  ## Getting Started
6
7
 
@@ -30,9 +30,9 @@ module Fastlane
30
30
  def self.get_devices_hash(devices)
31
31
  devices_hash = {}
32
32
  used_names = {}
33
- for d in devices do
33
+ devices.each do |d|
34
34
  agg_name = d["name"]
35
- if used_names[agg_name] then
35
+ if used_names[agg_name]
36
36
  num = used_names[agg_name] + 1
37
37
  used_names[agg_name] = num
38
38
  agg_name += " (#{num})"
@@ -49,7 +49,7 @@ module Fastlane
49
49
  api_token = values.delete(:api_token)
50
50
 
51
51
  values.delete_if { |k, v| v.nil? }
52
-
52
+
53
53
  response = self.get_devices(api_token, values)
54
54
  case response.status
55
55
  when 200...300
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module HockeyDevices
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-hockey_devices
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Viktoras Laukevičius