ios-devices 0.2.1 → 0.2.2

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: ad98712c02fd18de48f7f2127636355a04e6bed9
4
- data.tar.gz: 5878e882ec074b1d7ff620c4ead55ce1411d8c81
3
+ metadata.gz: 670b7821cb2b706b9214c022c2c9fc370f79732c
4
+ data.tar.gz: 4204782d088a1a8baed94fb762f2ef1fafda5b1a
5
5
  SHA512:
6
- metadata.gz: b4a7995ae4e1bc2694d171083ce1feaa09689562b9f4f54070eac931dc76fa0f02a32fbff4ddf081f065e118371baf6d8b19951c0f9d6039d5e1b32fdcc26578
7
- data.tar.gz: cfca4f53eeaa74135d0665d699572ff8729d0175529879958dea7b0f5d9c1f7fd636e5896bb46a8242b7b180e27e51ab9bbdf38fb4c18d05aab0eeb6b7498c88
6
+ metadata.gz: 382972b3e4562c97fb6a6d6c826db529f548e0fb999367c96446efc22094e425541c25a88f7b8fb4907a8203688c151786c35e910c7d2237fb1bef794aa816ee
7
+ data.tar.gz: 2cb86fa4cdcc4466cc368082daa4a300b7b0fcc16d763e7b3a7822b69b530ac861e4e3347c6bff90150605015308e3a5b3fc1cbecfdc15c3ee1eb6cca0533a0e
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.2.0
1
+ 2.2.2
data/.travis.yml CHANGED
@@ -3,4 +3,5 @@ rvm:
3
3
  - 2.1.0
4
4
  - 2.1.3
5
5
  - 2.2.0
6
+ - 2.2.2
6
7
  script: bundle exec rspec
data/README.md CHANGED
@@ -28,16 +28,25 @@ Just use the `Ios::Devices.search` method with the Apple string and you should g
28
28
  connection, revision model, etc.
29
29
 
30
30
  ```ruby
31
- Ios::Devices.search('iPhone6,1')
31
+ device = Ios::Devices.search('iPhone6,1')
32
32
  => #<Ios::Devices::Model:0x007fa55ba1a948 @extra=nil, @name="iPhone 5s", @device_type="iPhone6,1">
33
+
34
+ device.name
35
+ => "iPhone 5s"
33
36
 
34
- Ios::Devices.search('iPad2,2')
37
+ device = Ios::Devices.search('iPad2,2')
35
38
  => #<Ios::Devices::Model:0x007fa55b957308 @extra="GSM", @name="iPad 2", @device_type="iPad2,2">
39
+
40
+ device.name
41
+ => "iPad 2"
42
+
43
+ device.extra
44
+ => "GSM"
36
45
  ```
37
46
 
38
47
  ## Contributing
39
48
 
40
- 1. Fork it ( https://github.com/rikas/ios-devices/fork )
49
+ 1. Fork it ( https://github.com/rikas/iosdevices/fork )
41
50
  2. Create your feature branch (`git checkout -b my-new-feature`)
42
51
  3. Commit your changes (`git commit -am 'Add some feature'`)
43
52
  4. Push to the branch (`git push origin my-new-feature`)
data/lib/ios/devices.rb CHANGED
@@ -80,6 +80,10 @@ module Ios
80
80
  Model.new(device_type, 'iPad mini 3', 'Wi-Fi')
81
81
  when 'iPad4,8', 'iPad4,9'
82
82
  Model.new(device_type, 'iPad mini 3')
83
+ when 'iPad5,1'
84
+ Model.new(device_type, 'iPad mini 4', 'Wi-Fi')
85
+ when 'iPad5,2'
86
+ Model.new(device_type, 'iPad mini 4', 'Wi-Fi+LTE')
83
87
  when 'iPad5,3'
84
88
  Model.new(device_type, 'iPad Air 2', 'Wi-Fi')
85
89
  when 'iPad5,4'
@@ -1,5 +1,5 @@
1
1
  module Ios
2
2
  module Devices
3
- VERSION = '0.2.1'
3
+ VERSION = '0.2.2'
4
4
  end
5
5
  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.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo Otero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-06 00:00:00.000000000 Z
11
+ date: 2015-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -110,10 +110,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  version: '0'
111
111
  requirements: []
112
112
  rubyforge_project:
113
- rubygems_version: 2.4.5
113
+ rubygems_version: 2.4.8
114
114
  signing_key:
115
115
  specification_version: 4
116
116
  summary: iOS device model translation from Apple device types.
117
117
  test_files:
118
118
  - spec/ios_devices_spec.rb
119
119
  - spec/spec_helper.rb
120
+ has_rdoc: