geoclue 0.1.0 → 0.1.1
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/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/README.md +21 -0
- data/{bin → exe}/geoclue +0 -0
- data/geoclue.gemspec +1 -2
- data/lib/geoclue/cache.rb +1 -1
- data/lib/geoclue/version.rb +1 -1
- metadata +6 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 66f96002a66f1fbc8136f7efc8b42665446b0acbbf234a6893dc203feb9bd331
|
|
4
|
+
data.tar.gz: 8adb10655b6568b752d0723a77b347d4ffa7fe13eec496c4857e3969819c3feb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: faa415d7aecaf74a0382d756adfc3cfd3d1fbcaf2529282ecb8d5d68fa68bc1fa6e3083163c93ef7ea4fdb699db21f69a24452b4cb90f030e903947a9189e332
|
|
7
|
+
data.tar.gz: 58164e0b9064af2e9160835e0e487cbf0a51dee33fccba7c3250cba423476bcb9b7e2cfaf6e8b63122ac658672ee4df9d53988afb3cef538bb1c3a83be5a9c45
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -40,6 +40,27 @@ Run the executable to get your coordinates
|
|
|
40
40
|
$ geoclue
|
|
41
41
|
42.12345,-83.12345
|
|
42
42
|
|
|
43
|
+
Use the `--help` flag for more details
|
|
44
|
+
|
|
45
|
+
$ geoclue --help
|
|
46
|
+
Usage: geoclue [option flags]
|
|
47
|
+
Running with no options will print comma-separated coordinates.
|
|
48
|
+
|
|
49
|
+
-h --help print this message
|
|
50
|
+
|
|
51
|
+
INFORMATION OPTIONS
|
|
52
|
+
-f --full fetch all location information
|
|
53
|
+
-a --address fetch address information (requires fetching coordinates)
|
|
54
|
+
-c --coordinates fetch your coordinates from GeoClue
|
|
55
|
+
|
|
56
|
+
CONFIGURATION OPTIONS
|
|
57
|
+
-t --timeout [int] set the timeout for each operation
|
|
58
|
+
-n --no-cache don't use the cache
|
|
59
|
+
-d --print-config print out all configuration
|
|
60
|
+
--format [fmt] output format of data in named printf format
|
|
61
|
+
named options include "tab" and "pipe"
|
|
62
|
+
default is "%<key>s: %<val>s\n"
|
|
63
|
+
|
|
43
64
|
## Development
|
|
44
65
|
|
|
45
66
|
I recommend having a D-Bus debugger tool like [d-feet](https://wiki.gnome.org/Apps/DFeet) in order to inspect the service API. This tool relies entirely on the `org.freedesktop.GeoClue2` system service.
|
data/{bin → exe}/geoclue
RENAMED
|
File without changes
|
data/geoclue.gemspec
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
lib = File.expand_path("../lib", __FILE__)
|
|
3
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
3
|
require "geoclue/version"
|
|
@@ -10,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
|
10
9
|
spec.email = ["github@shreve.io"]
|
|
11
10
|
|
|
12
11
|
spec.summary = %q{Access your computer's geographic coordinates}
|
|
13
|
-
spec.description = %q{Use GeoClue to get geographic coordinates for your computer based
|
|
12
|
+
spec.description = %q{Use GeoClue to get geographic coordinates for your computer based soley on your WiFi connection}
|
|
14
13
|
spec.homepage = "https://github.com/shreve/geoclue-ruby"
|
|
15
14
|
spec.license = "MIT"
|
|
16
15
|
|
data/lib/geoclue/cache.rb
CHANGED
data/lib/geoclue/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: geoclue
|
|
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
|
- Jacob Evan Shreve
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-12-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ruby-dbus
|
|
@@ -66,11 +66,12 @@ dependencies:
|
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '5.0'
|
|
69
|
-
description: Use GeoClue to get geographic coordinates for your computer based
|
|
69
|
+
description: Use GeoClue to get geographic coordinates for your computer based soley
|
|
70
70
|
on your WiFi connection
|
|
71
71
|
email:
|
|
72
72
|
- github@shreve.io
|
|
73
|
-
executables:
|
|
73
|
+
executables:
|
|
74
|
+
- geoclue
|
|
74
75
|
extensions: []
|
|
75
76
|
extra_rdoc_files: []
|
|
76
77
|
files:
|
|
@@ -83,8 +84,8 @@ files:
|
|
|
83
84
|
- README.md
|
|
84
85
|
- Rakefile
|
|
85
86
|
- bin/console
|
|
86
|
-
- bin/geoclue
|
|
87
87
|
- bin/setup
|
|
88
|
+
- exe/geoclue
|
|
88
89
|
- geoclue.gemspec
|
|
89
90
|
- lib/geoclue.rb
|
|
90
91
|
- lib/geoclue/cache.rb
|