ios_devices_manager 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.rspec +4 -0
- data/.travis.yml +8 -0
- data/CHANGELOG.md +9 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +38 -0
- data/LICENSE +21 -0
- data/README.md +81 -0
- data/Rakefile +7 -0
- data/ios_devices_manager.gemspec +26 -0
- data/lib/ios_devices_manager.rb +79 -77
- data/lib/ios_devices_manager/device.rb +15 -13
- data/lib/ios_devices_manager/version.rb +3 -0
- data/spec/models/device_spec.rb +44 -0
- data/spec/spec_helper.rb +6 -0
- metadata +97 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NTk3NzA1OTFjMzRhYjRlN2NkN2QwM2M3NTc2YTM2Yzc1NDA4ZTBhZg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OWZmY2IwZGU0NGE2ZjY1NmE4MGI3NGY3MTZkYzc5OGMyNWE2YWY2Yg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZTYyOTA3YWFlZTA4NTg4NjY2MDQ0YTFhYTA2MWRiYzE2NjRkMzYyOWY2OGVk
|
10
|
+
MTZmZmEwOTcwMmRjZGNmNmUxZGFjM2E0OTNhMWRiNTIyMGVhNTBiNGE4ZGQw
|
11
|
+
MTU4NTBhNDk4NGRlMDc2ODU1YWE2ZDAyZGU2MGQyODQwYjBiYzg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NzA3ZmE4NDYwZTg0YTBiODY4NGRhZmM0NjM1ZTI3ZjU3ODYyNjc2YTRmZGQw
|
14
|
+
MDM4ODA0ZDNiNDAxZDMxM2VhYzU5YTE3YTc3OTJkZjhhODVhNjVlY2E3ODM5
|
15
|
+
YmQ3MjI5MjAyOTdlNjI5OTQ5YzgxMTUwNzE4NGRmODgxYzE4YTk=
|
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CHANGELOG.md
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
ios_devices_manager (0.0.2)
|
5
|
+
json (~> 1.8, >= 1.8.1)
|
6
|
+
typhoeus (~> 0.6, >= 0.6.9)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
diff-lcs (1.2.5)
|
12
|
+
ethon (0.7.1)
|
13
|
+
ffi (>= 1.3.0)
|
14
|
+
ffi (1.9.3)
|
15
|
+
json (1.8.1)
|
16
|
+
rake (10.3.2)
|
17
|
+
rspec (3.0.0)
|
18
|
+
rspec-core (~> 3.0.0)
|
19
|
+
rspec-expectations (~> 3.0.0)
|
20
|
+
rspec-mocks (~> 3.0.0)
|
21
|
+
rspec-core (3.0.2)
|
22
|
+
rspec-support (~> 3.0.0)
|
23
|
+
rspec-expectations (3.0.2)
|
24
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
25
|
+
rspec-support (~> 3.0.0)
|
26
|
+
rspec-mocks (3.0.2)
|
27
|
+
rspec-support (~> 3.0.0)
|
28
|
+
rspec-support (3.0.2)
|
29
|
+
typhoeus (0.6.9)
|
30
|
+
ethon (>= 0.7.1)
|
31
|
+
|
32
|
+
PLATFORMS
|
33
|
+
ruby
|
34
|
+
|
35
|
+
DEPENDENCIES
|
36
|
+
ios_devices_manager!
|
37
|
+
rake (~> 10.3, >= 10.3.2)
|
38
|
+
rspec (~> 3.0, >= 3.0.0)
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 Stephane Thomas
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,81 @@
|
|
1
|
+
iOS Devices Manager
|
2
|
+
=======
|
3
|
+
|
4
|
+
<a href="http://badge.fury.io/rb/ios_devices_manager"><img src="https://badge.fury.io/rb/ios_devices_manager@2x.png" alt="Gem Version" height="18"></a>
|
5
|
+
[![Build Status](https://travis-ci.org/thomasstephane/ios_devices_manager.svg?branch=master)](https://travis-ci.org/thomasstephane/ios_devices_manager)
|
6
|
+
[![Dependency Status](https://gemnasium.com/thomasstephane/ios_devices_manager.svg)](https://gemnasium.com/thomasstephane/ios_devices_manager)
|
7
|
+
[![Code Climate](https://codeclimate.com/github/thomasstephane/ios_devices_manager.png)](https://codeclimate.com/github/thomasstephane/ios_devices_manager)
|
8
|
+
|
9
|
+
This package contains iOS Devices Manager, a library for getting your iOS device location and send them messages and sound notifications.
|
10
|
+
|
11
|
+
## Installation ##
|
12
|
+
|
13
|
+
### Manually from RubyGems.org ###
|
14
|
+
|
15
|
+
```sh
|
16
|
+
% gem install ios_devices_manager
|
17
|
+
```
|
18
|
+
|
19
|
+
### Or if you are using Bundler or Rails ###
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
# Gemfile
|
23
|
+
gem 'ios_devices_manager'
|
24
|
+
```
|
25
|
+
|
26
|
+
### Building your own gems ###
|
27
|
+
|
28
|
+
```sh
|
29
|
+
% rake build
|
30
|
+
% sudo gem install pkg/ios_devices_manager-x.y.z.gem
|
31
|
+
```
|
32
|
+
|
33
|
+
## Usage ##
|
34
|
+
|
35
|
+
If you are working in Ruby only, require the gem
|
36
|
+
|
37
|
+
```ruby
|
38
|
+
require 'ios_devices_manager'
|
39
|
+
```
|
40
|
+
|
41
|
+
To start, load a new manager
|
42
|
+
```ruby
|
43
|
+
my_manager = IOSDevices::Manager.new(username, password)
|
44
|
+
```
|
45
|
+
|
46
|
+
To view your devices, call:
|
47
|
+
|
48
|
+
```ruby
|
49
|
+
my_manager.devices
|
50
|
+
```
|
51
|
+
|
52
|
+
To send a message, use the following
|
53
|
+
```ruby
|
54
|
+
my_device = my_manager.devices.first
|
55
|
+
my_manager.send(my_device, "Title test", "Message content test")
|
56
|
+
```
|
57
|
+
You can pass ```true``` as a fourth param to trigger a sound with the message
|
58
|
+
|
59
|
+
To send a sound, use the following
|
60
|
+
```ruby
|
61
|
+
my_device = my_manager.devices.first
|
62
|
+
my_manager.play_sound(my_device, "Optional text with sound")
|
63
|
+
```
|
64
|
+
|
65
|
+
## Latest changes ##
|
66
|
+
|
67
|
+
Take a look at the
|
68
|
+
[CHANGELOG](https://github.com/thomasstephane/ios_devices_manager/blob/master/CHANGELOG.md) for details about recent changes to the current version.
|
69
|
+
|
70
|
+
|
71
|
+
## Questions? ##
|
72
|
+
|
73
|
+
Feel free to
|
74
|
+
|
75
|
+
* [create an issue on GitHub](http://github.com/thomasstephane/ios_devices_manager/issues)
|
76
|
+
* [ask a question on StackOverflow](http://stackoverflow.com) (tag with `ios_devices_manager`)
|
77
|
+
* send me a tweet [@thomasstephn](http://twitter.com/thomasstephn)
|
78
|
+
|
79
|
+
## Maintainer ##
|
80
|
+
|
81
|
+
* [Stephane Thomas](https://github.com/thomasstephane) (2014, original author)
|
data/Rakefile
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "ios_devices_manager/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = 'ios_devices_manager'
|
7
|
+
s.version = IOSDevices::VERSION
|
8
|
+
s.date = '2010-07-19'
|
9
|
+
s.summary = %q{Localize your iDevice from your ruby app}
|
10
|
+
s.description = %q{A simple gem to get location data of a given device, send notifications to it}
|
11
|
+
s.authors = ["Stephane Thomas"]
|
12
|
+
s.email = 'thomas.stephn@gmail.com'
|
13
|
+
s.homepage = %q{http://rubygems.org/gems/ios_devices_manager}
|
14
|
+
s.licenses = ['MIT']
|
15
|
+
|
16
|
+
s.files = `git ls-files`.split("\n")
|
17
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
18
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
|
+
s.require_paths = ["lib"]
|
20
|
+
|
21
|
+
s.add_development_dependency 'rake', '~> 10.3' , '>= 10.3.2'
|
22
|
+
s.add_development_dependency 'rspec', '~> 3.0' , '>= 3.0.0'
|
23
|
+
|
24
|
+
s.add_runtime_dependency 'json', '~> 1.8' , '>= 1.8.1'
|
25
|
+
s.add_runtime_dependency 'typhoeus', '~> 0.6' , '>= 0.6.9'
|
26
|
+
end
|
data/lib/ios_devices_manager.rb
CHANGED
@@ -6,99 +6,101 @@ require 'typhoeus'
|
|
6
6
|
require 'uri'
|
7
7
|
require 'ios_devices_manager/device'
|
8
8
|
|
9
|
-
|
9
|
+
module IOSDevices
|
10
|
+
class Manager < OpenStruct
|
10
11
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
INIT_CLIENT = 'initClient'
|
13
|
+
REFRESH_CLIENT = 'refreshClient'
|
14
|
+
SEND_MESSAGE = 'sendMessage'
|
15
|
+
PLAY_SOUND = 'playSound'
|
15
16
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
17
|
+
def initialize username, password
|
18
|
+
super({username: username, devices: []})
|
19
|
+
@username = username
|
20
|
+
@password = password
|
21
|
+
@partition = nil
|
22
|
+
@baseURI = "/fmipservice/device/#{@username}/"
|
22
23
|
|
23
|
-
|
24
|
-
|
25
|
-
|
24
|
+
get_partition
|
25
|
+
get_devices
|
26
|
+
end
|
26
27
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
28
|
+
def send(device, title = '', msg = '', sound = false)
|
29
|
+
options = {
|
30
|
+
'device' => device.id,
|
31
|
+
'subject' => title,
|
32
|
+
'text' => msg,
|
33
|
+
'sound' => sound,
|
34
|
+
'userText' => true
|
35
|
+
}
|
36
|
+
post(SEND_MESSAGE, options)
|
37
|
+
end
|
37
38
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
39
|
+
def play_sound(device, subject = '')
|
40
|
+
options = {
|
41
|
+
'device' => device.id,
|
42
|
+
'subject' => subject
|
43
|
+
}
|
44
|
+
post(PLAY_SOUND, options)
|
45
|
+
end
|
45
46
|
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
47
|
+
def get_devices
|
48
|
+
response = post(INIT_CLIENT)
|
49
|
+
self.devices = parse_devices(response)
|
50
|
+
end
|
50
51
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
52
|
+
def update_devices
|
53
|
+
response = post(REFRESH_CLIENT)
|
54
|
+
self.devices = parse_devices(response)
|
55
|
+
end
|
55
56
|
|
56
|
-
|
57
|
-
|
58
|
-
|
57
|
+
def parse_devices(data)
|
58
|
+
JSON.parse(data.body)['content'].collect { |device| Device.new(device) }
|
59
|
+
end
|
59
60
|
|
60
|
-
|
61
|
+
private
|
61
62
|
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
63
|
+
def get_partition
|
64
|
+
response = post(@initClient)
|
65
|
+
@partition = response.headers['X-Apple-MMe-Host']
|
66
|
+
end
|
66
67
|
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
68
|
+
def post_headers
|
69
|
+
{
|
70
|
+
'Content-Type' => 'application/json; charset=utf-8',
|
71
|
+
'X-Apple-Find-Api-Ver' => '2.0',
|
72
|
+
'X-Apple-Authscheme' => 'UserIdGuest',
|
73
|
+
'X-Apple-Realm-Support' => '1.0',
|
74
|
+
'Accept-Language' => 'en-us',
|
75
|
+
'userAgent' => 'iOS Devices Manager',
|
76
|
+
'Connection' => 'keep-alive'
|
77
|
+
}
|
78
|
+
end
|
78
79
|
|
79
|
-
|
80
|
-
|
80
|
+
def post url, options = nil
|
81
|
+
uri = @partition ? "https://#{@partition}#{@baseURI}#{url}" : "https://fmipmobile.icloud.com#{@baseURI}#{url}"
|
81
82
|
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
83
|
+
unless options.nil?
|
84
|
+
clientContext = {
|
85
|
+
'clientContext' => {
|
86
|
+
'appName' => 'FindMyiPhone',
|
87
|
+
'appVersion' => '2.0.2',
|
88
|
+
'shouldLocate' => false
|
89
|
+
}
|
88
90
|
}
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
91
|
+
body = JSON.generate(clientContext.merge(options))
|
92
|
+
post_with(uri, body)
|
93
|
+
else
|
94
|
+
post_with(uri)
|
95
|
+
end
|
94
96
|
end
|
95
|
-
end
|
96
97
|
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
98
|
+
def post_with(uri, body = nil)
|
99
|
+
if body
|
100
|
+
Typhoeus::Request.post(uri, userpwd: "#{@username}:#{@password}", headers: post_headers, followlocation: true, verbose: true, maxredirs: 10, body: body)
|
101
|
+
else
|
102
|
+
Typhoeus::Request.post(uri, userpwd: "#{@username}:#{@password}", headers: post_headers, followlocation: true, verbose: true, maxredirs: 10)
|
103
|
+
end
|
102
104
|
end
|
103
105
|
end
|
104
106
|
end
|
@@ -1,18 +1,20 @@
|
|
1
1
|
require 'ostruct'
|
2
2
|
|
3
|
-
|
3
|
+
module IOSDevices
|
4
|
+
class Device < OpenStruct
|
4
5
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
6
|
+
def initialize(params)
|
7
|
+
location = params['location']
|
8
|
+
super({
|
9
|
+
id: params['id'],
|
10
|
+
name: params['name'],
|
11
|
+
device_class: params['deviceClass'],
|
12
|
+
display_name: params['deviceDisplayName'],
|
13
|
+
model: params['deviceModel'],
|
14
|
+
latitude: location ? location['latitude'] : nil,
|
15
|
+
longitude: location ? location['longitude'] : nil,
|
16
|
+
time: location ? location['timeStamp'] : nil
|
17
|
+
})
|
18
|
+
end
|
17
19
|
end
|
18
20
|
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
describe IOSDevices::Device do
|
2
|
+
|
3
|
+
let(:device) { IOSDevices::Device.new({
|
4
|
+
'id' => 1,
|
5
|
+
'name' => 'My device',
|
6
|
+
'deviceClass' => 'iPhone',
|
7
|
+
'deviceDisplayName' => 'My iPhone',
|
8
|
+
'deviceModel' => 'Fifth Gen',
|
9
|
+
'location' => { 'latitude' => 37.8,
|
10
|
+
'longitude' => -122.4,
|
11
|
+
'timeStamp' => 1405814750872
|
12
|
+
}
|
13
|
+
})}
|
14
|
+
|
15
|
+
describe "#params" do
|
16
|
+
it 'sets the id' do
|
17
|
+
expect(device.id).to eq(1)
|
18
|
+
end
|
19
|
+
|
20
|
+
it 'sets the name' do
|
21
|
+
expect(device.name).to eq('My device')
|
22
|
+
end
|
23
|
+
|
24
|
+
it 'sets the device class' do
|
25
|
+
expect(device.device_class).to eq('iPhone')
|
26
|
+
end
|
27
|
+
|
28
|
+
it 'sets the display_name' do
|
29
|
+
expect(device.display_name).to eq('My iPhone')
|
30
|
+
end
|
31
|
+
|
32
|
+
it 'sets the latitude' do
|
33
|
+
expect(device.latitude).to eq(37.8)
|
34
|
+
end
|
35
|
+
|
36
|
+
it 'sets the longitude' do
|
37
|
+
expect(device.longitude).to eq(-122.4)
|
38
|
+
end
|
39
|
+
|
40
|
+
it 'sets the time' do
|
41
|
+
expect(device.time).to eq(1405814750872)
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
data/spec/spec_helper.rb
ADDED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ios_devices_manager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephane Thomas
|
@@ -9,7 +9,87 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2010-07-19 00:00:00.000000000 Z
|
12
|
-
dependencies:
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rake
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '10.3'
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 10.3.2
|
23
|
+
type: :development
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '10.3'
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 10.3.2
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: rspec
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ~>
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '3.0'
|
40
|
+
- - ! '>='
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 3.0.0
|
43
|
+
type: :development
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ~>
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '3.0'
|
50
|
+
- - ! '>='
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 3.0.0
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: json
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - ~>
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '1.8'
|
60
|
+
- - ! '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 1.8.1
|
63
|
+
type: :runtime
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '1.8'
|
70
|
+
- - ! '>='
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: 1.8.1
|
73
|
+
- !ruby/object:Gem::Dependency
|
74
|
+
name: typhoeus
|
75
|
+
requirement: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - ~>
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '0.6'
|
80
|
+
- - ! '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.6.9
|
83
|
+
type: :runtime
|
84
|
+
prerelease: false
|
85
|
+
version_requirements: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ~>
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.6'
|
90
|
+
- - ! '>='
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: 0.6.9
|
13
93
|
description: A simple gem to get location data of a given device, send notifications
|
14
94
|
to it
|
15
95
|
email: thomas.stephn@gmail.com
|
@@ -17,8 +97,20 @@ executables: []
|
|
17
97
|
extensions: []
|
18
98
|
extra_rdoc_files: []
|
19
99
|
files:
|
100
|
+
- .rspec
|
101
|
+
- .travis.yml
|
102
|
+
- CHANGELOG.md
|
103
|
+
- Gemfile
|
104
|
+
- Gemfile.lock
|
105
|
+
- LICENSE
|
106
|
+
- README.md
|
107
|
+
- Rakefile
|
108
|
+
- ios_devices_manager.gemspec
|
20
109
|
- lib/ios_devices_manager.rb
|
21
110
|
- lib/ios_devices_manager/device.rb
|
111
|
+
- lib/ios_devices_manager/version.rb
|
112
|
+
- spec/models/device_spec.rb
|
113
|
+
- spec/spec_helper.rb
|
22
114
|
homepage: http://rubygems.org/gems/ios_devices_manager
|
23
115
|
licenses:
|
24
116
|
- MIT
|
@@ -43,4 +135,6 @@ rubygems_version: 2.2.2
|
|
43
135
|
signing_key:
|
44
136
|
specification_version: 4
|
45
137
|
summary: Localize your iDevice from your ruby app
|
46
|
-
test_files:
|
138
|
+
test_files:
|
139
|
+
- spec/models/device_spec.rb
|
140
|
+
- spec/spec_helper.rb
|