device-tracker 0.1.0 → 0.2.0
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/device-tracker.gemspec +2 -0
- data/exe/device-tracker +4 -4
- data/lib/device/tracker/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f0bdc0c33a0e543c9539628b3f71df9fbae9865f
|
|
4
|
+
data.tar.gz: 225a51dfa8856ad6207baef4fe71f3a457179d6a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c457ce2d6e69d27b579df7347be83b4e6ced47cbe93c24c6b9341aba610dd6bc022f0755993cb55944b085170361ab5e399cc95b58fc19ce1f1fd7bca67883a6
|
|
7
|
+
data.tar.gz: 493d8244b35570e1a741fc9b8daa8ac43ce68a644fb823e7348ba543f4dfd95435e733dd23544641452a214b89d396d638422bf774b0d6f30d2266bb2d3f9dde
|
data/device-tracker.gemspec
CHANGED
|
@@ -9,6 +9,8 @@ Gem::Specification.new do |spec|
|
|
|
9
9
|
spec.authors = ["James Ruston", "John Crossley"]
|
|
10
10
|
spec.email = ["james.ruston@bbc.com", "john.crossley@bbc.co.uk"]
|
|
11
11
|
|
|
12
|
+
spec.required_ruby_version = '~> 2.0'
|
|
13
|
+
|
|
12
14
|
spec.summary = %q{A web app for managing mobile devices}
|
|
13
15
|
spec.description = %q{
|
|
14
16
|
Keep track of your devices.
|
data/exe/device-tracker
CHANGED
|
@@ -28,7 +28,7 @@ end
|
|
|
28
28
|
|
|
29
29
|
json = File.read(config_path)
|
|
30
30
|
|
|
31
|
-
errors = JSON::Validator.fully_validate('
|
|
31
|
+
errors = JSON::Validator.fully_validate(File.expand_path('../../lib/device/tracker/config-schema.json', __FILE__), json)
|
|
32
32
|
|
|
33
33
|
unless errors.empty?
|
|
34
34
|
puts errors
|
|
@@ -41,10 +41,10 @@ set :database, config["database"]
|
|
|
41
41
|
Pony.options = config["email"]
|
|
42
42
|
set :google_maps_api_key, config["google_maps_api_key"]
|
|
43
43
|
|
|
44
|
-
ActiveRecord::Migrator.migrate('
|
|
44
|
+
ActiveRecord::Migrator.migrate(File.expand_path('../../lib/device/tracker/db/migrate', __FILE__))
|
|
45
45
|
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
require_relative '../lib/device/tracker/dependencies'
|
|
47
|
+
require_relative '../lib/device/tracker/db/seeds'
|
|
48
48
|
|
|
49
49
|
Device::Tracker::Seed.seed(name: 'James Ruston', password: 'password', email: 'james.ruston@bbc.co.uk')
|
|
50
50
|
Device::Tracker.start
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: device-tracker
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Ruston
|
|
@@ -410,9 +410,9 @@ require_paths:
|
|
|
410
410
|
- lib
|
|
411
411
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
412
412
|
requirements:
|
|
413
|
-
- - "
|
|
413
|
+
- - "~>"
|
|
414
414
|
- !ruby/object:Gem::Version
|
|
415
|
-
version: '0'
|
|
415
|
+
version: '2.0'
|
|
416
416
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
417
417
|
requirements:
|
|
418
418
|
- - ">="
|