wifi_location 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ === 0.0.6 2012-10-06
2
+
3
+ * update documents
4
+
1
5
  === 0.0.5 2012-08-12
2
6
 
3
7
  * show error message on "whereami" if no WiFi towers or Google doesn't recognize
@@ -1,6 +1,6 @@
1
1
  = wifi_location
2
2
 
3
- * http://github.com/shokai/wifi_location
3
+ * http://shokai.github.com/wifi_location
4
4
 
5
5
  == DESCRIPTION:
6
6
 
@@ -14,7 +14,6 @@ Get your location with WiFi Mac Address and GoogleMap.
14
14
 
15
15
  == GET Location:
16
16
 
17
- % which whereami
18
17
  % whereami --help
19
18
  % whereami --dump
20
19
  % open `whereami --map`
data/Rakefile CHANGED
@@ -12,10 +12,10 @@ Hoe.plugin :newgem
12
12
  # Run 'rake -T' to see list of generated tasks (from gem root directory)
13
13
  $hoe = Hoe.spec 'wifi_location' do
14
14
  self.developer 'Sho Hashimoto', 'hashimoto@shokai.org'
15
- self.post_install_message = "!! You can get your location with \"whereami\" command. For more information on wifi_location, see https://rubygems.org/gems/wifi_location"
15
+ self.post_install_message = "!! You can get your location with \"whereami\" command. => http://shokai.github.com/wifi_location"
16
16
  self.rubyforge_name = self.name # TODO this is default value
17
17
  self.extra_deps = [['json','>= 1.5.3'],
18
- ['args_parser', '>= 0.0.2']]
18
+ ['args_parser', '>= 0.1.0', '< 0.2.0']]
19
19
 
20
20
  end
21
21
 
@@ -8,19 +8,19 @@ parser = ArgsParser.parse ARGV do
8
8
  arg :help, 'show help', :alias => :h
9
9
  arg :towers, 'dump WiFi towers'
10
10
  arg :dump, 'dump ALL'
11
- arg :map, 'open Google Map'
11
+ arg :map, 'show Google Map URL'
12
12
  arg :version, 'show version', :alias => :v
13
13
  end
14
14
 
15
15
  if parser.has_option? :help
16
16
  puts parser.help
17
17
  puts "--"
18
- puts "wifi_location v#{WiFiLocation::VERSION} - https://github.com/shokai/wifi_location"
18
+ puts "wifi_location v#{WiFiLocation::VERSION} - http://shokai.github.com/wifi_location"
19
19
  exit
20
20
  end
21
21
 
22
22
  if parser.has_option? :version
23
- puts "wifi_location v#{WiFiLocation::VERSION} - https://github.com/shokai/wifi_location"
23
+ puts "wifi_location v#{WiFiLocation::VERSION} - http://shokai.github.com/wifi_location"
24
24
  exit
25
25
  end
26
26
 
@@ -4,7 +4,7 @@ require 'uri'
4
4
  require 'json'
5
5
 
6
6
  module WiFiLocation
7
- VERSION = '0.0.5'
7
+ VERSION = '0.0.6'
8
8
 
9
9
  def self.wifi_towers
10
10
  case RUBY_PLATFORM
@@ -1,3 +1,4 @@
1
+ require 'bundler/setup'
1
2
  require 'stringio'
2
3
  require 'test/unit'
3
4
  require File.dirname(__FILE__) + '/../lib/wifi_location'
metadata CHANGED
@@ -1,84 +1,113 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: wifi_location
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.6
4
5
  prerelease:
5
- version: 0.0.5
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Sho Hashimoto
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2012-08-12 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2012-10-05 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
16
15
  name: json
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
19
17
  none: false
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
23
21
  version: 1.5.3
24
22
  type: :runtime
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
27
- name: args_parser
28
23
  prerelease: false
29
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 1.5.3
30
+ - !ruby/object:Gem::Dependency
31
+ name: args_parser
32
+ requirement: !ruby/object:Gem::Requirement
30
33
  none: false
31
- requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
34
- version: 0.0.2
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: 0.1.0
38
+ - - <
39
+ - !ruby/object:Gem::Version
40
+ version: 0.2.0
35
41
  type: :runtime
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
38
- name: rdoc
39
42
  prerelease: false
40
- requirement: &id003 !ruby/object:Gem::Requirement
43
+ version_requirements: !ruby/object:Gem::Requirement
44
+ none: false
45
+ requirements:
46
+ - - ! '>='
47
+ - !ruby/object:Gem::Version
48
+ version: 0.1.0
49
+ - - <
50
+ - !ruby/object:Gem::Version
51
+ version: 0.2.0
52
+ - !ruby/object:Gem::Dependency
53
+ name: rdoc
54
+ requirement: !ruby/object:Gem::Requirement
41
55
  none: false
42
- requirements:
56
+ requirements:
43
57
  - - ~>
44
- - !ruby/object:Gem::Version
45
- version: "3.10"
58
+ - !ruby/object:Gem::Version
59
+ version: '3.10'
46
60
  type: :development
47
- version_requirements: *id003
48
- - !ruby/object:Gem::Dependency
49
- name: newgem
50
61
  prerelease: false
51
- requirement: &id004 !ruby/object:Gem::Requirement
62
+ version_requirements: !ruby/object:Gem::Requirement
52
63
  none: false
53
- requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
64
+ requirements:
65
+ - - ~>
66
+ - !ruby/object:Gem::Version
67
+ version: '3.10'
68
+ - !ruby/object:Gem::Dependency
69
+ name: newgem
70
+ requirement: !ruby/object:Gem::Requirement
71
+ none: false
72
+ requirements:
73
+ - - ! '>='
74
+ - !ruby/object:Gem::Version
56
75
  version: 1.5.3
57
76
  type: :development
58
- version_requirements: *id004
59
- - !ruby/object:Gem::Dependency
60
- name: hoe
61
77
  prerelease: false
62
- requirement: &id005 !ruby/object:Gem::Requirement
78
+ version_requirements: !ruby/object:Gem::Requirement
63
79
  none: false
64
- requirements:
80
+ requirements:
81
+ - - ! '>='
82
+ - !ruby/object:Gem::Version
83
+ version: 1.5.3
84
+ - !ruby/object:Gem::Dependency
85
+ name: hoe
86
+ requirement: !ruby/object:Gem::Requirement
87
+ none: false
88
+ requirements:
65
89
  - - ~>
66
- - !ruby/object:Gem::Version
67
- version: "3.0"
90
+ - !ruby/object:Gem::Version
91
+ version: '3.1'
68
92
  type: :development
69
- version_requirements: *id005
93
+ prerelease: false
94
+ version_requirements: !ruby/object:Gem::Requirement
95
+ none: false
96
+ requirements:
97
+ - - ~>
98
+ - !ruby/object:Gem::Version
99
+ version: '3.1'
70
100
  description: Get your location with WiFi Mac Address and GoogleMap.
71
- email:
101
+ email:
72
102
  - hashimoto@shokai.org
73
- executables:
103
+ executables:
74
104
  - whereami
75
105
  extensions: []
76
-
77
- extra_rdoc_files:
106
+ extra_rdoc_files:
78
107
  - History.txt
79
108
  - Manifest.txt
80
109
  - README.rdoc
81
- files:
110
+ files:
82
111
  - History.txt
83
112
  - Manifest.txt
84
113
  - README.rdoc
@@ -92,34 +121,36 @@ files:
92
121
  - test/test_helper.rb
93
122
  - test/test_wifi_location.rb
94
123
  - .gemtest
95
- homepage: http://github.com/shokai/wifi_location
124
+ homepage: http://shokai.github.com/wifi_location
96
125
  licenses: []
97
-
98
- post_install_message: "!! You can get your location with \"whereami\" command. For more information on wifi_location, see https://rubygems.org/gems/wifi_location"
99
- rdoc_options:
126
+ post_install_message: ! '!! You can get your location with "whereami" command. =>
127
+ http://shokai.github.com/wifi_location'
128
+ rdoc_options:
100
129
  - --main
101
130
  - README.rdoc
102
- require_paths:
131
+ require_paths:
103
132
  - lib
104
- required_ruby_version: !ruby/object:Gem::Requirement
133
+ required_ruby_version: !ruby/object:Gem::Requirement
105
134
  none: false
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- version: "0"
110
- required_rubygems_version: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ! '>='
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ segments:
140
+ - 0
141
+ hash: -2960075923382320215
142
+ required_rubygems_version: !ruby/object:Gem::Requirement
111
143
  none: false
112
- requirements:
113
- - - ">="
114
- - !ruby/object:Gem::Version
115
- version: "0"
144
+ requirements:
145
+ - - ! '>='
146
+ - !ruby/object:Gem::Version
147
+ version: '0'
116
148
  requirements: []
117
-
118
149
  rubyforge_project: wifi_location
119
- rubygems_version: 1.8.17
150
+ rubygems_version: 1.8.24
120
151
  signing_key:
121
152
  specification_version: 3
122
153
  summary: Get your location with WiFi Mac Address and GoogleMap.
123
- test_files:
154
+ test_files:
124
155
  - test/test_helper.rb
125
156
  - test/test_wifi_location.rb