spaceship 0.10.1 → 0.10.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fb00ae1148fa52ea6be4dce962fc595a65a904ad
4
- data.tar.gz: 5c40886f5afe8520c80f6faa7db5b26ada1d37fc
3
+ metadata.gz: 60b6cd06d1fa8dd3585dcd2d64955955bbcd45fb
4
+ data.tar.gz: 90671bb7d4271eb19c15ea0cfc40c1c5d67ede3a
5
5
  SHA512:
6
- metadata.gz: acfbc92f7de0f3c7456ac6679c1212462024f831c176622d44d73b8440cdc292d8aca2b4740dc6b884c94b5d4a08746968f1107821c1af6a890def238a8d54ee
7
- data.tar.gz: 9cb44f031ac0d07d8b0268501f935da5708d2fec07d0a9b180e04c471c3393ee8315e756d6a91d21dfc593e9519982d6aa2456b6909948e320946025202e08b9
6
+ metadata.gz: e316943dabb42077fa7652ec7cb23bcd2c5cd5f577faf572f2bd81f76ae84010282cde9257e857f6fdd21458a38637fb8ede5b54ac2d4fe3030ae100dc79cc00
7
+ data.tar.gz: 6839dc82b078dc5e61b55b66e7445f1c206603093e50436d62aea0e96b9be8022b25ed093ad46e497ada32a715b9a7c220e6ecc952fe675e2a4e41f7b7ea0763
@@ -39,6 +39,7 @@ module Spaceship
39
39
  # 'ipad' - iPad
40
40
  # 'iphone' - iPhone
41
41
  # 'ipod' - iPod
42
+ # 'pc' - Apple TV
42
43
  attr_accessor :device_type
43
44
 
44
45
  attr_mapping({
@@ -213,7 +213,7 @@ module Spaceship
213
213
  if devices.nil? or devices.count == 0
214
214
  if self == Development or self == AdHoc
215
215
  # For Development and AdHoc we usually want all devices by default
216
- devices = Spaceship::Device.all
216
+ devices = Spaceship::Device.all.collect { |d| d.device_type != 'pc' }
217
217
  end
218
218
  end
219
219
 
@@ -13,7 +13,7 @@ module Spaceship
13
13
  # @return (Hash) A hash representing the app name in all languages
14
14
  attr_reader :name
15
15
 
16
- # @return (Hash) A hash representing the keywords in all languages
16
+ # @return (Hash) A hash representing the privacy URL in all languages
17
17
  attr_reader :privacy_url
18
18
 
19
19
  # Categories (e.g. MZGenre.Business)
@@ -100,10 +100,10 @@ module Spaceship
100
100
  # @return (Hash) The changelog
101
101
  attr_reader :release_notes
102
102
 
103
- # @return (Hash) A hash representing the keywords in all languages
103
+ # @return (Hash) A hash representing the support url in all languages
104
104
  attr_reader :support_url
105
105
 
106
- # @return (Hash) A hash representing the keywords in all languages
106
+ # @return (Hash) A hash representing the marketing url in all languages
107
107
  attr_reader :marketing_url
108
108
 
109
109
  # @return (Hash) Represents the screenshots of this app version (read-only)
@@ -112,16 +112,6 @@ module Spaceship
112
112
 
113
113
  # @return (Spaceship::AppVersion) Receive the version that can fully be edited
114
114
  def edit_version
115
- if raw_data['versions'].count == 1
116
- v = raw_data['versions'].last
117
-
118
- # this only applies for the initial version
119
- # no idea why it's sometimes the short code and sometimes the long one
120
- unless ['Prepare for Upload', 'Developer Rejected', 'devRejected', 'Rejected', 'prepareForUpload'].include?(v['state'])
121
- return nil # only live version, user should create a new version
122
- end
123
- end
124
-
125
115
  Spaceship::AppVersion.find(self, self.apple_id, false)
126
116
  end
127
117
 
@@ -1,3 +1,3 @@
1
1
  module Spaceship
2
- VERSION = "0.10.1"
2
+ VERSION = "0.10.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spaceship
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-09-29 00:00:00.000000000 Z
12
+ date: 2015-09-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: credentials_manager