tiny_appstore_connect 0.1.6 → 0.1.7
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 +4 -4
- data/lib/tiny_appstore_connect/models/device.rb +19 -0
- data/lib/tiny_appstore_connect/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 159be4a02efbe33a9b6a40521f7aaa6e0989c13ed511da96a89632488e6cbaca
|
|
4
|
+
data.tar.gz: 21b2aeb13a33ca663d79d5424b757672720b1bc72ffd9f3e8409df642f6f3449
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f7dd5876ff04fa6bf047931092581a87dd7cd2081a6d690697566d3da68070002320cd83cadb2ef25006cb5be5f30be8a980ea630e7368831d8e0d9123bc1bf7
|
|
7
|
+
data.tar.gz: 655f5d2b5597030b48b0604921fdde524a98e11b414cd2ab9a1c3d0f69b369c7131fb651f0a6839773dd91f25ce7df1b6773ed650f3e6a14b3aca79435502660
|
|
@@ -15,6 +15,25 @@ module TinyAppstoreConnect::Model
|
|
|
15
15
|
attr_accessor :udid
|
|
16
16
|
attr_accessor :added_date
|
|
17
17
|
|
|
18
|
+
def device
|
|
19
|
+
return model unless model.nil?
|
|
20
|
+
|
|
21
|
+
case device_class
|
|
22
|
+
when DeviceClass::APPLE_WATCH
|
|
23
|
+
'Apple Watch'
|
|
24
|
+
when DeviceClass::IPAD
|
|
25
|
+
'iPad'
|
|
26
|
+
when DeviceClass::IPHONE
|
|
27
|
+
'iPhone'
|
|
28
|
+
when DeviceClass::IPOD
|
|
29
|
+
'iPod Touch'
|
|
30
|
+
when DeviceClass::APPLE_TV
|
|
31
|
+
'Apple TV'
|
|
32
|
+
when DeviceClass::MAC
|
|
33
|
+
'macOS'
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
|
|
18
37
|
# include
|
|
19
38
|
# attr_accessor :app
|
|
20
39
|
# attr_accessor :app_store_version_submission
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tiny_appstore_connect
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- icyleaf
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-07-
|
|
11
|
+
date: 2022-07-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|