ios-devices 0.2.6 → 0.2.7

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: 14cab4f32b372c2476f5025e805385caa89c35ce
4
- data.tar.gz: b967dfd636799e8c7a6552129f3f6d4e1dc6edf2
3
+ metadata.gz: 74fd1b34b019151cece2a508d85ea161e7ee2efb
4
+ data.tar.gz: cae6212e9ac87b2a6192faad043d6a20372ee0b0
5
5
  SHA512:
6
- metadata.gz: 60b10f7544fdc19bb992186087c8a82b37b752be92802f1f84308dda41953aea1d742938b6f520d86a6b3b6ab62717f60deba3be9eea1cb65b16182621746068
7
- data.tar.gz: cfc1d5624c92bd5d00050b0637d260077415840c04d864646c47447ea87e96f9e207691123773d8194e406b1bcf3df7b80b0f0efc608062a2feffcc7750a1b07
6
+ metadata.gz: 8fe6169d552e3ac15fecfdf7cf66075893de6c19b83ec27fc583ca7dd5c0b7a697d13f4faa11a368f948b5b5760ded611242af21b347206d8bc515ec9f28b931
7
+ data.tar.gz: 3a1c9688f939755856bbe1261bdfae810ea49d0ef756d69a32afa4959c4dcf3cc8e5331477ad4acd470a2552027d7f621eae32ec0bf2c25038c7ce5d9d16a290
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.4.1
1
+ 2.4.4
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- [![Build Status](https://travis-ci.org/rikas/iosdevices.svg)](https://travis-ci.org/rikas/iosdevices)
1
+ [![Gem Version](https://badge.fury.io/rb/ios-devices.svg)](https://badge.fury.io/rb/ios-devices) [![Build Status](https://travis-ci.org/rikas/iosdevices.svg?branch=master)](https://travis-ci.org/rikas/iosdevices)
2
2
 
3
3
  # Ios::Devices
4
4
 
@@ -30,23 +30,23 @@ connection, revision model, etc.
30
30
  ```ruby
31
31
  device = Ios::Devices.search('iPhone6,1')
32
32
  => #<Ios::Devices::Model:0x007fa55ba1a948 @extra=nil, @name="iPhone 5s", @device_type="iPhone6,1">
33
-
33
+
34
34
  device.name
35
35
  => "iPhone 5s"
36
36
 
37
37
  device = Ios::Devices.search('iPad2,2')
38
38
  => #<Ios::Devices::Model:0x007fa55b957308 @extra="GSM", @name="iPad 2", @device_type="iPad2,2">
39
-
39
+
40
40
  device.name
41
41
  => "iPad 2"
42
-
42
+
43
43
  device.extra
44
44
  => "GSM"
45
45
  ```
46
46
 
47
47
  ## Contributing
48
48
 
49
- 1. Fork it ( https://github.com/rikas/iosdevices/fork )
49
+ 1. Fork it (https://github.com/rikas/iosdevices/fork)
50
50
  2. Create your feature branch (`git checkout -b my-new-feature`)
51
51
  3. Commit your changes (`git commit -am 'Add some feature'`)
52
52
  4. Push to the branch (`git push origin my-new-feature`)
data/lib/ios/devices.rb CHANGED
@@ -58,6 +58,12 @@ module Ios
58
58
  Model.new(device_type, 'iPhone 8 Plus')
59
59
  when 'iPhone10,3', 'iPhone10,6'
60
60
  Model.new(device_type, 'iPhone X')
61
+ when 'iPhone11,2'
62
+ Model.new(device_type, 'iPhone XS')
63
+ when 'iPhone11,6'
64
+ Model.new(device_type, 'iPhone XS Max')
65
+ when 'iPhone11,8'
66
+ Model.new(device_type, 'iPhone XR')
61
67
  when 'iPad1,1'
62
68
  Model.new(device_type, 'iPad')
63
69
  when 'iPad2,1'
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ios
4
4
  module Devices
5
- VERSION = '0.2.6'
5
+ VERSION = '0.2.7'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ios-devices
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo Otero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-09 00:00:00.000000000 Z
11
+ date: 2019-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -77,7 +77,6 @@ extra_rdoc_files: []
77
77
  files:
78
78
  - ".gitignore"
79
79
  - ".rspec"
80
- - ".ruby-gemset"
81
80
  - ".ruby-version"
82
81
  - ".travis.yml"
83
82
  - Gemfile
@@ -110,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
109
  version: '0'
111
110
  requirements: []
112
111
  rubyforge_project:
113
- rubygems_version: 2.6.11
112
+ rubygems_version: 2.6.14.1
114
113
  signing_key:
115
114
  specification_version: 4
116
115
  summary: iOS device model translation from Apple device types.
data/.ruby-gemset DELETED
@@ -1 +0,0 @@
1
- ios-devices