mobile_devices 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -0
- data/mobile_devices.gemspec +1 -1
- data/mobile_devices.rb +6 -2
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8482bbd07a8948f8744cd497793e571389a0f34
|
4
|
+
data.tar.gz: 60618c3e0208806cec1ab1eec061979cffcda87d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94ff2ad0a5adeab086f452c2667d1cd41530c7e0037e4b86861a1229138ef7f055309b6a86d6096baa9e70e76b8c9dcd92661fb78c1edfffd395c76dd3a9afbd
|
7
|
+
data.tar.gz: 2d63c0db9c39a3d8b07050426c100d8b442115c09341afd805be6c33e04f8741ed0033a452912c967f703d4e28c9d3f01757e606004763c31ddeb7d94545d9f7
|
data/README.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# RubyGem mobile_devices
|
2
|
+
|
3
|
+
Convert code names into real names using [@rikas/iosdevices](https://github.com/rikas/iosdevices) and data from [@vinuthomas/android-devices](https://github.com/vinuthomas/android-devices).
|
4
|
+
|
5
|
+
```
|
6
|
+
require 'mobile_devices'
|
7
|
+
|
8
|
+
puts MobileDevices.get_name('iPhone6,2')
|
9
|
+
# "iPhone 5s"
|
10
|
+
|
11
|
+
puts MobileDevices.get_name('zerofltespr')
|
12
|
+
# "Galaxy S6"
|
13
|
+
```
|
data/mobile_devices.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'mobile_devices'
|
3
|
-
s.version = '0.1.
|
3
|
+
s.version = '0.1.1'
|
4
4
|
s.licenses = ['MIT']
|
5
5
|
s.summary = "Lookup iOS devices from device type, Android from Build.PRODUCT"
|
6
6
|
s.description = "Turn names like iPhone6,2 and zerofltespr into iPhone 5S and Galaxy S6"
|
data/mobile_devices.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mobile_devices
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Sanford
|
@@ -32,6 +32,7 @@ extra_rdoc_files: []
|
|
32
32
|
files:
|
33
33
|
- ".gitignore"
|
34
34
|
- LICENSE
|
35
|
+
- README.md
|
35
36
|
- data/android-devices-min.json
|
36
37
|
- lib/android.rb
|
37
38
|
- lib/ios.rb
|