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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 860e3bf9557240cfb3fedbb6f81fd927e5e28e9c
4
- data.tar.gz: 72a6de6a1e380aa8771fa0c659ce0223e7c54898
3
+ metadata.gz: fbaab543e7297b4fccd31338707751cf8549e3b9
4
+ data.tar.gz: e6a644616e3330d77fd7ae07b3ba3d2d724218f9
5
5
  SHA512:
6
- metadata.gz: 9458e46d97ee98177be873894c448f01805d1e956b75061535a1fbe8de927e719b0d1e238bddc9b31921412c751c9d200c6abd8a616ae7416568b960a1976729
7
- data.tar.gz: 2750fea1e1147f3e519cb2b46393f4362a50f0f0929afdb6eb6811096224f630145fabdf3b93ccce363eb440322316c09d36527298a94f91e7b5219b3dc459f0
6
+ metadata.gz: 56ef8388b1618a01d86b50a96cac1f9ce3f2c048f2736aec224025c9be5fd0863e4cf44f2b8db2e03f4195deb45f4d0c6da86ced0de897989aa0a845f07d67b3
7
+ data.tar.gz: 6a17867bcbb870022b3de59d975192027fa68de52b96966f69f2737f9c713eb663e5ec4dc2f48799231896c4dcac8603fc7cfd311fc1c66dc75f1cce3d352cbb
data/README.md CHANGED
@@ -1 +1,42 @@
1
- # ActiveadminLatLng
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
@@ -1,3 +1,3 @@
1
1
  module ActiveadminLatlng
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
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.2
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: Description of ActiveadminLatlng.
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: Summary of ActiveadminLatlng.
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