geopolitical 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +3 -0
  3. data/Rakefile +40 -0
  4. data/app/assets/javascripts/geopolitical/application.js +15 -0
  5. data/app/assets/stylesheets/geopolitical/application.css +13 -0
  6. data/app/controllers/geopolitical/cities_controller.rb +22 -0
  7. data/app/controllers/geopolitical/countries_controller.rb +10 -0
  8. data/app/controllers/geopolitical/geopolitical_controller.rb +12 -0
  9. data/app/controllers/geopolitical/hoods_controller.rb +12 -0
  10. data/app/controllers/geopolitical/provinces_controller.rb +16 -0
  11. data/app/helpers/geopolitical/application_helper.rb +4 -0
  12. data/app/models/city.rb +54 -0
  13. data/app/models/country.rb +20 -0
  14. data/app/models/hood.rb +23 -0
  15. data/app/models/province.rb +17 -0
  16. data/app/views/geopolitical/cities/_city.html.haml +7 -0
  17. data/app/views/geopolitical/cities/_form.html.haml +30 -0
  18. data/app/views/geopolitical/cities/edit.html.haml +1 -0
  19. data/app/views/geopolitical/cities/index.html.haml +31 -0
  20. data/app/views/geopolitical/cities/new.html.haml +1 -0
  21. data/app/views/geopolitical/cities/show.html.haml +26 -0
  22. data/app/views/geopolitical/countries/_country.html.haml +11 -0
  23. data/app/views/geopolitical/countries/edit.html.haml +7 -0
  24. data/app/views/geopolitical/countries/index.html.haml +28 -0
  25. data/app/views/geopolitical/countries/new.html.haml +5 -0
  26. data/app/views/geopolitical/countries/show.html.haml +10 -0
  27. data/app/views/geopolitical/geopolitical/index.html.haml +24 -0
  28. data/app/views/geopolitical/provinces/_province.html.haml +7 -0
  29. data/app/views/geopolitical/provinces/edit.html.haml +7 -0
  30. data/app/views/geopolitical/provinces/index.html.haml +18 -0
  31. data/app/views/geopolitical/provinces/new.html.haml +5 -0
  32. data/app/views/geopolitical/provinces/show.html.haml +13 -0
  33. data/config/routes.rb +11 -0
  34. data/lib/geopolitical/engine.rb +7 -0
  35. data/lib/geopolitical/version.rb +3 -0
  36. data/lib/geopolitical.rb +4 -0
  37. data/lib/tasks/geopolitical_tasks.rake +4 -0
  38. metadata +131 -0
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2012 YOURNAME
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,3 @@
1
+ = Geopolitical
2
+
3
+ This project rocks and uses MIT-LICENSE.
data/Rakefile ADDED
@@ -0,0 +1,40 @@
1
+ #!/usr/bin/env rake
2
+ begin
3
+ require 'bundler/setup'
4
+ rescue LoadError
5
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
6
+ end
7
+ begin
8
+ require 'rdoc/task'
9
+ rescue LoadError
10
+ require 'rdoc/rdoc'
11
+ require 'rake/rdoctask'
12
+ RDoc::Task = Rake::RDocTask
13
+ end
14
+
15
+ RDoc::Task.new(:rdoc) do |rdoc|
16
+ rdoc.rdoc_dir = 'rdoc'
17
+ rdoc.title = 'Geopolitical'
18
+ rdoc.options << '--line-numbers'
19
+ rdoc.rdoc_files.include('README.rdoc')
20
+ rdoc.rdoc_files.include('lib/**/*.rb')
21
+ end
22
+
23
+ APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
24
+ load 'rails/tasks/engine.rake'
25
+
26
+
27
+
28
+ Bundler::GemHelper.install_tasks
29
+
30
+ #require 'rake/testtask'
31
+
32
+ #Rake::TestTask.new(:test) do |t|
33
+ # t.libs << 'lib'
34
+ # t.libs << 'test'
35
+ # t.pattern = 'test/**/*_test.rb'
36
+ # t.verbose = false
37
+ #end
38
+
39
+
40
+ #task :default => :test
@@ -0,0 +1,15 @@
1
+ // This is a manifest file that'll be compiled into application.js, which will include all the files
2
+ // listed below.
3
+ //
4
+ // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
+ // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
6
+ //
7
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
+ // the compiled file.
9
+ //
10
+ // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
11
+ // GO AFTER THE REQUIRES BELOW.
12
+ //
13
+ //= require jquery
14
+ //= require jquery_ujs
15
+ //= require_tree .
@@ -0,0 +1,13 @@
1
+ /*
2
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
3
+ * listed below.
4
+ *
5
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
+ * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
7
+ *
8
+ * You're free to add application-wide styles to this file and they'll appear at the top of the
9
+ * compiled file, but it's generally better to create a new file per style scope.
10
+ *
11
+ *= require_self
12
+ *= require_tree .
13
+ */
@@ -0,0 +1,22 @@
1
+ module Geopolitical
2
+ class CitiesController < ApplicationController
3
+ # allow "admin"
4
+ before_filter :load_relatives, :only => [:new, :edit, :create, :update]
5
+
6
+ def collection
7
+ City.ordered.search(params[:search], params[:page]) # @cc.country.cities
8
+ end
9
+
10
+ private
11
+
12
+ def load_marker
13
+ end
14
+
15
+ def load_map
16
+ end
17
+
18
+ def load_relatives
19
+ @provinces = Province.only(:name).map {|e| [e.name,e.id]}
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,10 @@
1
+ module Geopolitical
2
+ class CountriesController < ApplicationController
3
+ inherit_resources
4
+
5
+ def collection
6
+ @countries = Country.ordered.page(params[:page])
7
+ end
8
+
9
+ end
10
+ end
@@ -0,0 +1,12 @@
1
+ module Geopolitical
2
+ class GeopoliticalController < ApplicationController
3
+ # before_filter :require_
4
+
5
+ def index
6
+ @provinces = Province.all
7
+ @cities = City.all
8
+ end
9
+
10
+
11
+ end
12
+ end
@@ -0,0 +1,12 @@
1
+ module Geopolitical
2
+ class HoodsController < ApplicationController
3
+ inherit_resources
4
+ # belongs_to :city
5
+ # respond_to :html, :xml, :json
6
+
7
+ def collection
8
+ @hoods = Hood.ordered.search(params[:search], params[:page])
9
+ end
10
+
11
+ end
12
+ end
@@ -0,0 +1,16 @@
1
+ module Geopolitical
2
+ class ProvincesController < ApplicationController
3
+ inherit_resources
4
+ before_filter :get_relatives, :only => [:new, :edit]
5
+
6
+ def collection
7
+ @provinces = Province.ordered.page(params[:page])
8
+ end
9
+
10
+ private
11
+
12
+ def get_relatives
13
+ @countries = Country.all
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,4 @@
1
+ module Geopolitical
2
+ module ApplicationHelper
3
+ end
4
+ end
@@ -0,0 +1,54 @@
1
+ class City
2
+ include Mongoid::Document
3
+ include Mongoid::Geospatial
4
+
5
+ # include GeoHelper
6
+
7
+ field :slug
8
+ field :name
9
+ field :area
10
+ field :gid, type: Integer
11
+ field :zip, type: Integer
12
+ field :souls, type: Integer
13
+ field :geom, type: Point, spatial: true
14
+
15
+ # index [[ :geom, Mongo::GEO2D ]], min: 200, max: 200
16
+ index :slug
17
+ spatial_index :geom
18
+
19
+ belongs_to :province
20
+ belongs_to :country, index: true
21
+ has_many :hoods
22
+
23
+ before_validation :set_defaults
24
+
25
+ validates :name, :country, presence: true
26
+ validates_uniqueness_of :name, :scope => :province_id
27
+
28
+ index [[:name, 1]]
29
+
30
+ scope :ordered, order_by(:name, 1)
31
+
32
+ def abbr
33
+ province ? province.abbr : country.abbr
34
+ end
35
+
36
+ def set_defaults
37
+ self.country ||= province.try(:country)
38
+ self.slug ||= name.try(:downcase) # don't use slugize
39
+ end
40
+
41
+ def self.search(search, page)
42
+ cities = search ? where(:field => /#{search}/i) : all
43
+ cities.page(page)
44
+ end
45
+
46
+ def self.drop_down
47
+ ordered.map{|c| [c.name, c.id]}
48
+ end
49
+
50
+ def <=> other
51
+ self.name <=> other.name
52
+ end
53
+
54
+ end
@@ -0,0 +1,20 @@
1
+ class Country
2
+ include Mongoid::Document
3
+
4
+ field :gid, type: Integer # geonames id
5
+ field :name, type: String
6
+ field :abbr, type: String
7
+ field :code # optional phone/whatever code
8
+
9
+ has_many :cities
10
+ has_many :provinces
11
+
12
+ validates :abbr, :name, presence: true
13
+
14
+ index [[:name, 1]]
15
+
16
+ scope :ordered, order_by(:name, 1)
17
+
18
+ end
19
+
20
+
@@ -0,0 +1,23 @@
1
+ class Hood
2
+ include Mongoid::Document
3
+ include Mongoid::Timestamps
4
+
5
+ field :name
6
+ field :souls, type: Integer
7
+ field :zip, type: Integer
8
+ field :rank, type: Integer
9
+ field :zip, type: Integer
10
+
11
+ belongs_to :city, index: true
12
+
13
+ validates :name, :city, presence: true
14
+
15
+ def self.search(search, page)
16
+ cities = search ? where(:field => /#{search}/i) : all
17
+ cities.page(page)
18
+ end
19
+
20
+ def to_param
21
+ "#{id}-#{name}"
22
+ end
23
+ end
@@ -0,0 +1,17 @@
1
+ class Province
2
+ include Mongoid::Document
3
+
4
+ field :gid, type: Integer # geonames id
5
+ field :name, type: String
6
+ field :abbr, type: String
7
+
8
+ belongs_to :country
9
+ has_many :cities
10
+
11
+ validates :name, presence: true
12
+
13
+ index [[:name, 1]]
14
+
15
+ scope :ordered, order_by(:name, 1)
16
+
17
+ end
@@ -0,0 +1,7 @@
1
+ .city
2
+ %h4= link_to city.name, city
3
+ %span.gray
4
+ .right
5
+ = link_to "Editar", edit_city_path(city) if admin?
6
+ .right
7
+ .gray= time_ago_in_words city.created_at
@@ -0,0 +1,30 @@
1
+ #mainbody-panel.mainbodypanel-typography-retro
2
+ #mainbodypanel-title.mainbodypanel-alignment-center
3
+ %span.headline
4
+ = @city.new_record? ? "Nova Cidade" : "Editando Cidade"
5
+ .container_16
6
+ .box.white.shadow
7
+ = form_for(@city, :html => {:class => "form"}) do |f|
8
+ .grid_3
9
+ =# hidden_field_tag 'city_geom_xy', @city.ll, :name => "city[xy]", :class => "geom_xy"
10
+ =# hidden_field_tag 'city_geom_y', @city.y, :name => "city[y]", :class => "geom_y"
11
+ =# hidden_field_tag 'city_geom_z', @city.z, :name => "city[z]", :class => "geom_z"
12
+
13
+ .forms_buttons
14
+ .citydata
15
+ .field{"data-role" => "fieldcontain"}
16
+ = f.label :province
17
+ = f.select :province_id, @provinces
18
+ .group
19
+ = f.label :name
20
+ = f.text_field :name, :size => 30
21
+ .group
22
+ = f.label :slug
23
+ = f.text_field :slug, :size => 30
24
+ .field
25
+ = f.label :souls
26
+ = f.text_field :souls, :size => 30
27
+ = save_or_cancel f
28
+ .grid_8
29
+ #map=# gmaps(@map, false, false)
30
+ .clear
@@ -0,0 +1 @@
1
+ = render "form"
@@ -0,0 +1,31 @@
1
+ -#= js "places"
2
+ -# #rt-utility
3
+ -# .inner
4
+ -# - if @markers
5
+ -# = gmaps({"markers" => { "data" => @markers, "options" => { "marker_picture" => "foo", "marker_width" => 22, "marker_length" => 32 }}}, false, false)
6
+ .block
7
+ .top
8
+ %h2 Cidades
9
+ %table{:class => :table}
10
+ %thead
11
+ %tr
12
+ %th{:sort => 'name'} Nome
13
+ %th{:sort => 'province'} Province
14
+ %th{:sort => 'country', :colspan => 2} Pais
15
+ %tbody
16
+ - for city in @cities
17
+ %tr{:class => cycle('par','impar')}
18
+ %td= link_to city.name , city
19
+ %td= city.province.name if city.province
20
+ %td= city.country.name
21
+ %td{:align => 'right'}
22
+ = link_to 'Edit', edit_city_path(city)
23
+ = link_to 'Destroy', city, :confirm => 'Destroy city?', :method => :delete
24
+
25
+ .inner
26
+ .actions-bar
27
+ .actions
28
+ .pagination=# paginate @cidades
29
+ = link_to 'Voltar', "/", :class => 'icon back'
30
+
31
+
@@ -0,0 +1 @@
1
+ = render "form"
@@ -0,0 +1,26 @@
1
+ #showcase-panel.showcasepanel-typography-retro
2
+ #showcasepanel-title.showcasepanel-alignment-center
3
+ %span.headline
4
+ = @city.name
5
+ .container_16
6
+ .box.white
7
+ .grid_2
8
+ = link_to t(:edit), edit_city_path(@city), :class => "icon edit"
9
+
10
+ %p
11
+ = @city.province.name if @city.province
12
+ %p
13
+ = @city.country.name
14
+ %p
15
+ Souls:
16
+ %em= @city.souls
17
+ -# %p= @city.x
18
+ -# %p= @city.y
19
+ .grid_4
20
+ -# - @city.hoods.each do |hood|
21
+ -# %p= link_to hood.name, hood
22
+ .grid_8
23
+ -# .inner= gmaps(@map, false, false)
24
+ = link_to t(:back), cities_path
25
+ .clear
26
+
@@ -0,0 +1,11 @@
1
+ = form_for(@country) do |f|
2
+ = f.error_messages
3
+ %p
4
+ = f.label :name
5
+ = f.text_field :name
6
+ %p
7
+ = f.label :abbr
8
+ = f.text_field :abbr
9
+
10
+ .forms_buttons
11
+ = f.submit(metodo == "post" ? "Gravar" : "Atualizar")
@@ -0,0 +1,7 @@
1
+ %h1 Editing pais
2
+
3
+ = partial "country", :metodo => "put"
4
+
5
+ = link_to 'Show', @country
6
+ |
7
+ = link_to 'Back', countries_path
@@ -0,0 +1,28 @@
1
+ .row
2
+ %h3.title Countries
3
+ =# render "shared/filter"
4
+ .right.links
5
+ = link_to "New Country", new_country_path, :class => "blue nice small button radius"
6
+ .block
7
+ .content
8
+ .inner
9
+ %table.table
10
+ %thead
11
+ %tr
12
+ %th Abbr
13
+ %th Nome
14
+ %th
15
+ %tbody
16
+ - for country in @countries
17
+ %tr
18
+ %td
19
+ =# image_tag country.flag.nano if country.flag?
20
+ = country.abbr
21
+ %td= link_to country.name, country
22
+ %td.last
23
+ =# link_to "Destroy!", country_path(country), :method => :delete
24
+ = link_to "Edit!", edit_country_path(country)
25
+ .pagination
26
+ .clear
27
+
28
+ = paginate @countries
@@ -0,0 +1,5 @@
1
+ %h1 Novo pais
2
+
3
+ = partial "country", :metodo => "post"
4
+
5
+ = link_to 'Voltar', countries_path
@@ -0,0 +1,10 @@
1
+ %p
2
+ %b Nome:
3
+ =h @country.name
4
+ %p
5
+ %b Abbr:
6
+ =h @country.abbr
7
+
8
+ = link_to 'Edit', edit_country_path(@country)
9
+ |
10
+ = link_to 'Back', countries_path
@@ -0,0 +1,24 @@
1
+ .block
2
+ %h3.title Estados
3
+ .right.links
4
+ = link_to "+ Estado", new_province_path, :class => "small blue nice button radius" if admin?
5
+ .content
6
+ .inner
7
+ %ul
8
+ - @provinces.each do |province|
9
+ %li= render province
10
+ %hr
11
+ .pagination
12
+
13
+ .block
14
+ %h3.title Cidades
15
+ .right.links
16
+ = link_to "+ Cidade", new_city_path, :class => "small blue nice button radius" if admin?
17
+ .content
18
+ .inner
19
+ %ul
20
+ - @cities.each do |city|
21
+ %li= render city
22
+ %hr
23
+ .pagination
24
+
@@ -0,0 +1,7 @@
1
+ .province
2
+ %h4= link_to province.name, province
3
+ %span.gray
4
+ .right
5
+ .gray= time_ago_in_words province.created_at
6
+ .right
7
+ = link_to "Editar", edit_province_path(province) if admin?
@@ -0,0 +1,7 @@
1
+ %h1 Editing province
2
+
3
+ = partial "province", :metodo => "put"
4
+
5
+ = link_to 'Show', @province
6
+ |
7
+ = link_to 'Back', provinces_path
@@ -0,0 +1,18 @@
1
+ %table{:class => :table}
2
+ %thead
3
+ %tr
4
+ %th Nome
5
+ %th Sigla
6
+ %th{:colspan => 2} Pais
7
+ %tbody
8
+ - for province in @provinces
9
+ %tr{:class => cycle('par','impar')}
10
+ %td=h province.name
11
+ %td=h province.abbr
12
+ %td=h province.country.name
13
+ %td{:align => 'right'}
14
+ = link_to image_tag('icons/edit.png', :title => 'Editar', :border => 0), edit_province_path(province)
15
+
16
+ //%td= link_to 'Destroy', province, :confirm => 'Are you sure?', :method => :delete
17
+
18
+
@@ -0,0 +1,5 @@
1
+ %h1 Novo Province
2
+
3
+ = partial "province", :metodo => "post"
4
+
5
+ = link_to 'Voltar', provinces_path
@@ -0,0 +1,13 @@
1
+ %p
2
+ %b Pais:
3
+ =h @province.country.name
4
+ %p
5
+ %b Nome:
6
+ =h @province.name
7
+ %p
8
+ %b Sigla:
9
+ =h @province.abbr
10
+
11
+ = link_to 'Edit', edit_province_path(@province)
12
+ |
13
+ = link_to 'Back', provinces_path
data/config/routes.rb ADDED
@@ -0,0 +1,11 @@
1
+ Geopolitical::Engine.routes.draw do
2
+ #Rails.application.routes.draw do
3
+ resources :cities
4
+ resources :provinces
5
+ resources :countries
6
+
7
+ resource :geopolitical
8
+
9
+ root :to => "geopolitical#index"
10
+
11
+ end
@@ -0,0 +1,7 @@
1
+ module Geopolitical
2
+ class Engine < ::Rails::Engine
3
+ isolate_namespace Geopolitical
4
+
5
+
6
+ end
7
+ end
@@ -0,0 +1,3 @@
1
+ module Geopolitical
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,4 @@
1
+ require "geopolitical/engine"
2
+
3
+ module Geopolitical
4
+ end
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :geopolitical do
3
+ # # Task goes here
4
+ # end
metadata ADDED
@@ -0,0 +1,131 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: geopolitical
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Marcos Piccinini
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-05-16 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 3.2.3
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 3.2.3
30
+ - !ruby/object:Gem::Dependency
31
+ name: mongoid
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: mongoid_geospatial
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ description: Geopolitical models for mongoid as a rails engine.
63
+ email:
64
+ - x@nofxx.com
65
+ executables: []
66
+ extensions: []
67
+ extra_rdoc_files: []
68
+ files:
69
+ - app/views/geopolitical/geopolitical/index.html.haml
70
+ - app/views/geopolitical/provinces/show.html.haml
71
+ - app/views/geopolitical/provinces/new.html.haml
72
+ - app/views/geopolitical/provinces/index.html.haml
73
+ - app/views/geopolitical/provinces/edit.html.haml
74
+ - app/views/geopolitical/provinces/_province.html.haml
75
+ - app/views/geopolitical/cities/show.html.haml
76
+ - app/views/geopolitical/cities/new.html.haml
77
+ - app/views/geopolitical/cities/index.html.haml
78
+ - app/views/geopolitical/cities/_city.html.haml
79
+ - app/views/geopolitical/cities/_form.html.haml
80
+ - app/views/geopolitical/cities/edit.html.haml
81
+ - app/views/geopolitical/countries/show.html.haml
82
+ - app/views/geopolitical/countries/new.html.haml
83
+ - app/views/geopolitical/countries/index.html.haml
84
+ - app/views/geopolitical/countries/edit.html.haml
85
+ - app/views/geopolitical/countries/_country.html.haml
86
+ - app/helpers/geopolitical/application_helper.rb
87
+ - app/controllers/geopolitical/geopolitical_controller.rb
88
+ - app/controllers/geopolitical/hoods_controller.rb
89
+ - app/controllers/geopolitical/provinces_controller.rb
90
+ - app/controllers/geopolitical/cities_controller.rb
91
+ - app/controllers/geopolitical/countries_controller.rb
92
+ - app/models/city.rb
93
+ - app/models/hood.rb
94
+ - app/models/country.rb
95
+ - app/models/province.rb
96
+ - app/assets/javascripts/geopolitical/application.js
97
+ - app/assets/stylesheets/geopolitical/application.css
98
+ - config/routes.rb
99
+ - lib/geopolitical/engine.rb
100
+ - lib/geopolitical/version.rb
101
+ - lib/tasks/geopolitical_tasks.rake
102
+ - lib/geopolitical.rb
103
+ - MIT-LICENSE
104
+ - Rakefile
105
+ - README.rdoc
106
+ homepage: http://github.com/nofxx/geopolitical
107
+ licenses: []
108
+ post_install_message:
109
+ rdoc_options: []
110
+ require_paths:
111
+ - lib
112
+ required_ruby_version: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ required_rubygems_version: !ruby/object:Gem::Requirement
119
+ none: false
120
+ requirements:
121
+ - - ! '>='
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ requirements: []
125
+ rubyforge_project:
126
+ rubygems_version: 1.8.23
127
+ signing_key:
128
+ specification_version: 3
129
+ summary: Geopolitical models for mongoid.
130
+ test_files: []
131
+ has_rdoc: