geo_rails 0.0.6 → 0.0.7

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
  SHA1:
3
- metadata.gz: ed154f0b5470f8ad4107a77a28e042f15e2a2bd8
4
- data.tar.gz: 9ce0efc4a559c6baef01804cd62e9bfab0112457
3
+ metadata.gz: a9da787d536b078c0b9670535ecd168a9d79fd4f
4
+ data.tar.gz: cd111cf308fe8feb124a887044e01913632e7b3e
5
5
  SHA512:
6
- metadata.gz: ffb7de6e1ade6d7f594689490b9a4208b42bb0ef8a959038dff121b5cd444553ddcd02840202e92bb6834b0dd4fd3ec8be83cbd96dc31bb9bced72a2eeb2062b
7
- data.tar.gz: b9e3fde8ac8af8354731e3916e35c00be30920890f15a77101994fe8fe9752beb0788df65fed19f062591636b49a90d83eb58aace37e4ac413c50d97668cfd44
6
+ metadata.gz: 4dd4de49c6a627a4170f8cb08419d830a609023f9cc0bd905fbfc33dbc80a509763e5b5f60e1890804aaebcdff6737ea22e0c3566046d66047c1bd670b9d8bfd
7
+ data.tar.gz: 5088d81995cae6054a3416ca2e0a660fd9c54d54c537f38d744579de0203918f2decebccb5f3ab9cb74e751d5a7a47e77caa629ae3a72205ad2250df2c15ad9b
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ require 'rdoc/task'
8
8
 
9
9
  RDoc::Task.new(:rdoc) do |rdoc|
10
10
  rdoc.rdoc_dir = 'rdoc'
11
- rdoc.title = 'GeoApi'
11
+ rdoc.title = 'GeoRails'
12
12
  rdoc.options << '--line-numbers'
13
13
  rdoc.rdoc_files.include('README.rdoc')
14
14
  rdoc.rdoc_files.include('lib/**/*.rb')
@@ -1,4 +1,4 @@
1
- module GeoApi
1
+ module GeoRails
2
2
  module ApplicationHelper
3
3
  end
4
4
  end
@@ -1,10 +1,10 @@
1
- require 'geo_api/get_geo'
2
- module GeoApi
1
+ require 'geo_rails/get_geo'
2
+ module GeoRails
3
3
  class Engine < ::Rails::Engine
4
- isolate_namespace GeoApi
4
+ isolate_namespace GeoRails
5
5
  initializer 'geo_api.action_view_helpers' do
6
6
  ActiveSupport.on_load :action_view do
7
- include GeoApi::GetGeo
7
+ include GeoRails::GetGeo
8
8
  end
9
9
  end
10
10
  end
@@ -1,4 +1,4 @@
1
- module GeoApi
1
+ module GeoRails
2
2
  module GetGeo
3
3
  def render_geo(url = {})
4
4
  render_url = self.controller_name + "/"
@@ -0,0 +1,3 @@
1
+ module GeoRails
2
+ VERSION = "0.0.7"
3
+ end
data/lib/geo_rails.rb ADDED
@@ -0,0 +1,4 @@
1
+ require "geo_rails/engine"
2
+
3
+ module GeoRails
4
+ end
@@ -1,4 +1,4 @@
1
1
  # desc "Explaining what the task does"
2
- # task :geo_api do
2
+ # task :geo_rails do
3
3
  # # Task goes here
4
4
  # end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geo_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - "末永良太"
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 4.2.6
27
- - !ruby/object:Gem::Dependency
28
- name: sqlite3
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
27
  description: This gem gets geolocation data by using html5 geolocation api
42
28
  email:
43
29
  - suenagaryoutaabc@gmail.com
@@ -49,13 +35,13 @@ files:
49
35
  - Rakefile
50
36
  - app/helpers/geo_api/application_helper.rb
51
37
  - app/views/geo/_get_geo.html.erb
52
- - app/views/layouts/geo_api/application.html.erb
53
- - lib/geo_api.rb
54
- - lib/geo_api/engine.rb
55
- - lib/geo_api/get_geo.rb
56
- - lib/geo_api/version.rb
38
+ - app/views/layouts/geo_rails/application.html.erb
39
+ - lib/geo_rails.rb
40
+ - lib/geo_rails/engine.rb
41
+ - lib/geo_rails/get_geo.rb
42
+ - lib/geo_rails/version.rb
57
43
  - lib/tasks/geo_api_tasks.rake
58
- homepage: https://rubygems.org/profiles/asmsuechan
44
+ homepage: https://github.com/asmsuechan
59
45
  licenses:
60
46
  - MIT
61
47
  metadata: {}
@@ -1,3 +0,0 @@
1
- module GeoApi
2
- VERSION = "0.0.6"
3
- end
data/lib/geo_api.rb DELETED
@@ -1,4 +0,0 @@
1
- require "geo_api/engine"
2
-
3
- module GeoApi
4
- end