active_admin_map_index 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +18 -21
- data/README.md +11 -0
- data/active_admin_map_index.gemspec +1 -1
- data/lib/active_admin_map_index/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1897c6727e006aebd56f3ebf69248723bc84dbd8
|
4
|
+
data.tar.gz: 87d3c119649b2318ad1f3fa572162a7574de69ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84a36dec16ec6bc75c0e304fc53731974240ef62869e8682462dc7cf5344cf73a4f9ab177b9a5220d292d42be507f6ceb1fd47ce6c2d38310b3b80932fac6e05
|
7
|
+
data.tar.gz: cf0deedbb32d2928a9082ff3397bdca5bd5d820149b2acc056167a380962940e085b9aba867f9242389b0adac1e85a28a37723522136e530da3a03a26dac7ab4
|
data/Gemfile.lock
CHANGED
@@ -1,22 +1,21 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
active_admin_map_index (0.1.
|
4
|
+
active_admin_map_index (0.1.1)
|
5
5
|
activeadmin
|
6
|
-
mustache-js-rails
|
7
6
|
|
8
7
|
GEM
|
9
8
|
remote: https://rubygems.org/
|
10
9
|
specs:
|
11
|
-
actionpack (5.1.
|
12
|
-
actionview (= 5.1.
|
13
|
-
activesupport (= 5.1.
|
10
|
+
actionpack (5.1.4)
|
11
|
+
actionview (= 5.1.4)
|
12
|
+
activesupport (= 5.1.4)
|
14
13
|
rack (~> 2.0)
|
15
|
-
rack-test (
|
14
|
+
rack-test (>= 0.6.3)
|
16
15
|
rails-dom-testing (~> 2.0)
|
17
16
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
18
|
-
actionview (5.1.
|
19
|
-
activesupport (= 5.1.
|
17
|
+
actionview (5.1.4)
|
18
|
+
activesupport (= 5.1.4)
|
20
19
|
builder (~> 3.1)
|
21
20
|
erubi (~> 1.4)
|
22
21
|
rails-dom-testing (~> 2.0)
|
@@ -33,13 +32,13 @@ GEM
|
|
33
32
|
ransack (~> 1.3)
|
34
33
|
sass (~> 3.1)
|
35
34
|
sprockets (< 4.1)
|
36
|
-
activemodel (5.1.
|
37
|
-
activesupport (= 5.1.
|
38
|
-
activerecord (5.1.
|
39
|
-
activemodel (= 5.1.
|
40
|
-
activesupport (= 5.1.
|
35
|
+
activemodel (5.1.4)
|
36
|
+
activesupport (= 5.1.4)
|
37
|
+
activerecord (5.1.4)
|
38
|
+
activemodel (= 5.1.4)
|
39
|
+
activesupport (= 5.1.4)
|
41
40
|
arel (~> 8.0)
|
42
|
-
activesupport (5.1.
|
41
|
+
activesupport (5.1.4)
|
43
42
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
44
43
|
i18n (~> 0.7)
|
45
44
|
minitest (~> 5.1)
|
@@ -96,23 +95,21 @@ GEM
|
|
96
95
|
method_source (0.9.0)
|
97
96
|
mini_portile2 (2.3.0)
|
98
97
|
minitest (5.10.3)
|
99
|
-
mustache-js-rails (2.0.6)
|
100
|
-
railties (>= 3.1, <= 5.1)
|
101
98
|
nokogiri (1.8.1)
|
102
99
|
mini_portile2 (~> 2.3.0)
|
103
100
|
polyamorous (1.3.1)
|
104
101
|
activerecord (>= 3.0)
|
105
102
|
rack (2.0.3)
|
106
|
-
rack-test (0.
|
107
|
-
rack (>= 1.0)
|
103
|
+
rack-test (0.8.2)
|
104
|
+
rack (>= 1.0, < 3)
|
108
105
|
rails-dom-testing (2.0.3)
|
109
106
|
activesupport (>= 4.2.0)
|
110
107
|
nokogiri (>= 1.6)
|
111
108
|
rails-html-sanitizer (1.0.3)
|
112
109
|
loofah (~> 2.0)
|
113
|
-
railties (5.1.
|
114
|
-
actionpack (= 5.1.
|
115
|
-
activesupport (= 5.1.
|
110
|
+
railties (5.1.4)
|
111
|
+
actionpack (= 5.1.4)
|
112
|
+
activesupport (= 5.1.4)
|
116
113
|
method_source
|
117
114
|
rake (>= 0.8.7)
|
118
115
|
thor (>= 0.18.1, < 2.0)
|
data/README.md
CHANGED
@@ -31,6 +31,17 @@ Add the following to your `app/assets/stylesheets/application.scss`:
|
|
31
31
|
@import "active_admin_map_index"
|
32
32
|
```
|
33
33
|
|
34
|
+
### Installation (Initializer)
|
35
|
+
|
36
|
+
Add the following to your `config/initializers/active_admin_map_index.rb`
|
37
|
+
|
38
|
+
```
|
39
|
+
ActiveAdminMapIndex.configure do |config|
|
40
|
+
config.google_key = 'you_api_key'
|
41
|
+
end
|
42
|
+
```
|
43
|
+
|
44
|
+
Follow these [instructions](https://developers.google.com/maps/documentation/javascript/get-api-key) if you do not have an api key.
|
34
45
|
|
35
46
|
## Usage
|
36
47
|
|
@@ -10,8 +10,8 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["fletch@fzf.me"]
|
11
11
|
|
12
12
|
spec.summary = "Active Admin map view index"
|
13
|
-
spec.description = "Active Admin map view index"
|
14
13
|
spec.license = "MIT"
|
14
|
+
spec.homepage = "https://github.com/fzf/active_admin_map_index"
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
17
17
|
f.match(%r{^(test|spec|features)/})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_admin_map_index
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fletcher Fowler
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activeadmin
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '3.0'
|
69
|
-
description:
|
69
|
+
description:
|
70
70
|
email:
|
71
71
|
- fletch@fzf.me
|
72
72
|
executables: []
|
@@ -92,7 +92,7 @@ files:
|
|
92
92
|
- lib/active_admin_map_index/version.rb
|
93
93
|
- vendor/assets/javascripts/active_admin_map_index.js
|
94
94
|
- vendor/assets/stylesheets/active_admin_map_index.css
|
95
|
-
homepage:
|
95
|
+
homepage: https://github.com/fzf/active_admin_map_index
|
96
96
|
licenses:
|
97
97
|
- MIT
|
98
98
|
metadata: {}
|