go_geography 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +28 -0
- data/Rakefile +36 -0
- data/app/assets/config/go_geography_manifest.js +0 -0
- data/app/controllers/geography/cities_controller.rb +64 -0
- data/app/controllers/geography/states_controller.rb +61 -0
- data/app/models/application_record.rb +3 -0
- data/app/models/geography.rb +6 -0
- data/app/models/geography/city.rb +20 -0
- data/app/models/geography/state.rb +17 -0
- data/app/views/geography/cities/_collection.html.erb +24 -0
- data/app/views/geography/cities/_form.html.erb +52 -0
- data/app/views/geography/cities/edit.html.erb +9 -0
- data/app/views/geography/cities/index.html.erb +28 -0
- data/app/views/geography/cities/new.html.erb +6 -0
- data/app/views/geography/cities/show.html.erb +43 -0
- data/app/views/geography/states/_collection.html.erb +19 -0
- data/app/views/geography/states/_form.html.erb +27 -0
- data/app/views/geography/states/edit.html.erb +9 -0
- data/app/views/geography/states/index.html.erb +22 -0
- data/app/views/geography/states/new.html.erb +6 -0
- data/app/views/geography/states/show.html.erb +21 -0
- data/config/locales/go_geography/pt-BR.yml +31 -0
- data/config/routes.rb +2 -0
- data/db/migrate/20170508132641_create_cities.rb +15 -0
- data/db/migrate/20170508162034_create_states.rb +10 -0
- data/lib/go_geography.rb +5 -0
- data/lib/go_geography/engine.rb +13 -0
- data/lib/go_geography/version.rb +3 -0
- data/lib/tasks/go_geography_tasks.rake +4 -0
- data/lib/tasks/populate.rake +5621 -0
- metadata +103 -0
metadata
ADDED
@@ -0,0 +1,103 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: go_geography
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- jcottobboni
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-11-05 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 5.1.4
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 5.1.4
|
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
|
+
description: This is an engine who provide a crud for states and city
|
42
|
+
email:
|
43
|
+
- jcottobboni@gmail.com
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- MIT-LICENSE
|
49
|
+
- README.md
|
50
|
+
- Rakefile
|
51
|
+
- app/assets/config/go_geography_manifest.js
|
52
|
+
- app/controllers/geography/cities_controller.rb
|
53
|
+
- app/controllers/geography/states_controller.rb
|
54
|
+
- app/models/application_record.rb
|
55
|
+
- app/models/geography.rb
|
56
|
+
- app/models/geography/city.rb
|
57
|
+
- app/models/geography/state.rb
|
58
|
+
- app/views/geography/cities/_collection.html.erb
|
59
|
+
- app/views/geography/cities/_form.html.erb
|
60
|
+
- app/views/geography/cities/edit.html.erb
|
61
|
+
- app/views/geography/cities/index.html.erb
|
62
|
+
- app/views/geography/cities/new.html.erb
|
63
|
+
- app/views/geography/cities/show.html.erb
|
64
|
+
- app/views/geography/states/_collection.html.erb
|
65
|
+
- app/views/geography/states/_form.html.erb
|
66
|
+
- app/views/geography/states/edit.html.erb
|
67
|
+
- app/views/geography/states/index.html.erb
|
68
|
+
- app/views/geography/states/new.html.erb
|
69
|
+
- app/views/geography/states/show.html.erb
|
70
|
+
- config/locales/go_geography/pt-BR.yml
|
71
|
+
- config/routes.rb
|
72
|
+
- db/migrate/20170508132641_create_cities.rb
|
73
|
+
- db/migrate/20170508162034_create_states.rb
|
74
|
+
- lib/go_geography.rb
|
75
|
+
- lib/go_geography/engine.rb
|
76
|
+
- lib/go_geography/version.rb
|
77
|
+
- lib/tasks/go_geography_tasks.rake
|
78
|
+
- lib/tasks/populate.rake
|
79
|
+
homepage: http://www.google.com
|
80
|
+
licenses:
|
81
|
+
- MIT
|
82
|
+
metadata: {}
|
83
|
+
post_install_message:
|
84
|
+
rdoc_options: []
|
85
|
+
require_paths:
|
86
|
+
- lib
|
87
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - ">="
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '0'
|
92
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
requirements: []
|
98
|
+
rubyforge_project:
|
99
|
+
rubygems_version: 2.6.13
|
100
|
+
signing_key:
|
101
|
+
specification_version: 4
|
102
|
+
summary: Engine for city and states
|
103
|
+
test_files: []
|