geoclue 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 274f5899e09763cc0f4824b24d12bf4f65b4c92176f117f32aeaa4d3236fe3af
4
- data.tar.gz: 835eba7f05e7f8de523cc8fc8b947ecc1ef90306eb9abe2a0e5d42c33d8fd602
3
+ metadata.gz: 66f96002a66f1fbc8136f7efc8b42665446b0acbbf234a6893dc203feb9bd331
4
+ data.tar.gz: 8adb10655b6568b752d0723a77b347d4ffa7fe13eec496c4857e3969819c3feb
5
5
  SHA512:
6
- metadata.gz: 1586f95753c3af230e65b810137f03470fcbe898aa4b35e10dd3823074ada5a7f7451978f4fa3b3436bb66f83a8b70086dc21f19ef3dd5e2afddc11caea39bf3
7
- data.tar.gz: 4125ccfcebc3cfd00586c54032cc97ce15ab77d6b5534a571128ed82795ec5fb39169a8b761704b74eecee159bed5d2ade0656845ee344f0ef6a607f3870aaf5
6
+ metadata.gz: faa415d7aecaf74a0382d756adfc3cfd3d1fbcaf2529282ecb8d5d68fa68bc1fa6e3083163c93ef7ea4fdb699db21f69a24452b4cb90f030e903947a9189e332
7
+ data.tar.gz: 58164e0b9064af2e9160835e0e487cbf0a51dee33fccba7c3250cba423476bcb9b7e2cfaf6e8b63122ac658672ee4df9d53988afb3cef538bb1c3a83be5a9c45
@@ -2,6 +2,11 @@
2
2
 
3
3
  All notable changes to the project will be documented here.
4
4
 
5
+ ## [0.1.1] - 2019-06-09
6
+
7
+ ### Fixed
8
+ - Properly add bin to bin list to publish
9
+
5
10
  ## [0.1.0] - 2019-06-08
6
11
 
7
12
  Initial implementation
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- geoclue (0.1.0)
4
+ geoclue (0.1.1)
5
5
  ruby-dbus (~> 0.15.0)
6
6
 
7
7
  GEM
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.
File without changes
@@ -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 soely on your WiFi connection}
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
 
@@ -47,7 +47,7 @@ module GeoClue
47
47
  end
48
48
 
49
49
  def recent?
50
- (Time.now - File.mtime(filepath)) < 600
50
+ (Time.now - File.mtime(filepath)) < 900
51
51
  end
52
52
 
53
53
  def full?
@@ -1,3 +1,3 @@
1
1
  module GeoClue
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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.0
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-06-09 00:00:00.000000000 Z
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 soely
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