activeadmin_latlng 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +42 -1
- data/lib/activeadmin_latlng/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fbaab543e7297b4fccd31338707751cf8549e3b9
|
4
|
+
data.tar.gz: e6a644616e3330d77fd7ae07b3ba3d2d724218f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56ef8388b1618a01d86b50a96cac1f9ce3f2c048f2736aec224025c9be5fd0863e4cf44f2b8db2e03f4195deb45f4d0c6da86ced0de897989aa0a845f07d67b3
|
7
|
+
data.tar.gz: 6a17867bcbb870022b3de59d975192027fa68de52b96966f69f2737f9c713eb663e5ec4dc2f48799231896c4dcac8603fc7cfd311fc1c66dc75f1cce3d352cbb
|
data/README.md
CHANGED
@@ -1 +1,42 @@
|
|
1
|
-
|
1
|
+
Active Admin latitude and longitude plugin
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
## Getting started
|
6
|
+
|
7
|
+
```ruby
|
8
|
+
gem 'activeadmin_latlng'
|
9
|
+
```
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
form do |f|
|
13
|
+
f.inputs do
|
14
|
+
f.input :lat
|
15
|
+
f.input :lng
|
16
|
+
f.latlng lang: :ru
|
17
|
+
end
|
18
|
+
f.actions
|
19
|
+
end
|
20
|
+
```
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
## Settings
|
25
|
+
|
26
|
+
* `lang` - language, `ru` by default
|
27
|
+
|
28
|
+
* `map` - map provider, yandex maps by default
|
29
|
+
|
30
|
+
* `id_lat` and `id_lng` - identificator of latitude and longitude inputs, Moscow coords by default
|
31
|
+
|
32
|
+
* `height` - map height in pixels, 400 by default
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
## Contributors
|
37
|
+
|
38
|
+
Alexey Krylov
|
39
|
+
|
40
|
+
## License
|
41
|
+
|
42
|
+
MIT License. Copyright 2016 Alexey Krylov
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activeadmin_latlng
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexey Krylov
|
@@ -38,7 +38,7 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
-
description:
|
41
|
+
description: Small Active Admin plugin for setting up latitude and longitude.
|
42
42
|
email:
|
43
43
|
- alexey2142@mail.ru
|
44
44
|
executables: []
|
@@ -111,7 +111,7 @@ rubyforge_project:
|
|
111
111
|
rubygems_version: 2.4.5
|
112
112
|
signing_key:
|
113
113
|
specification_version: 4
|
114
|
-
summary:
|
114
|
+
summary: ActiveadminLatlng
|
115
115
|
test_files:
|
116
116
|
- spec/dummy/app/assets/javascripts/application.js
|
117
117
|
- spec/dummy/app/assets/stylesheets/application.css
|