scrivito_google_maps_widget 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +9 -4
- data/lib/scrivito_google_maps_widget/version.rb +1 -1
- metadata +6 -35
- data/scrivito/migrate/0_create_google_maps_widget.rb +0 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49d36dad7a5bf708bef633b3ce2cdf953586bc38
|
4
|
+
data.tar.gz: 3fcb4a09a5997ec2bbb97bc801e598880bd8b07a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2f0977371b43ca424f52ee1260f93d6f19730161b08b51ff643b9fcebcea94ed40eb51edec21d114a28500063e61b48e294f932e822d2c15fca9d9cf1011165
|
7
|
+
data.tar.gz: eb647f4739f323595da4c1d7da41ee61161b86c522b2ec14b6fb554a2251fbe28f8ee7a83fe55e89ce77ac8b52acd47d304e410824aae0391107eeb5a8560440
|
data/LICENSE
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright (c) 2009 -
|
1
|
+
Copyright (c) 2009 - 2016 Infopark AG (http://www.infopark.com)
|
2
2
|
|
3
3
|
This software can be used and modified under the LGPL-3.0. Please refer to
|
4
4
|
http://www.gnu.org/licenses/lgpl-3.0.html for the license text.
|
data/README.md
CHANGED
@@ -12,16 +12,21 @@ Add this line to your application's `Gemfile`:
|
|
12
12
|
|
13
13
|
Include the Google Maps Places JavaScript library in your application.html.erb:
|
14
14
|
|
15
|
-
javascript_include_tag('//maps.googleapis.com/maps/api/js?v=3.exp&libraries=places')
|
15
|
+
<%= javascript_include_tag('//maps.googleapis.com/maps/api/js?v=3.exp&libraries=places') %>
|
16
16
|
|
17
|
-
Include the Google Maps Places JavaScript library in your scrivito_dialog.html.erb
|
17
|
+
Include the Google Maps Places JavaScript library in your `scrivito_dialog.html.erb`:
|
18
18
|
|
19
|
-
javascript_include_tag('//maps.googleapis.com/maps/api/js?v=3.exp&libraries=places')
|
19
|
+
<%= javascript_include_tag('//maps.googleapis.com/maps/api/js?v=3.exp&libraries=places') %>
|
20
20
|
|
21
|
-
Also, add this line to your application stylesheet manifest:
|
21
|
+
Also, add this line to your `application.css` stylesheet manifest:
|
22
22
|
|
23
23
|
*= require scrivito_google_maps_widget
|
24
24
|
|
25
|
+
If you use `sass-rails` for your application stylesheet manifest (e.g. `application.scss` or `application.css.scss`) add the following:
|
26
|
+
|
27
|
+
@import "scrivito_google_maps_widget/application";
|
28
|
+
@import "scrivito_google_maps_widget/editing";
|
29
|
+
|
25
30
|
Finally, add this line to your application JavaScript manifest:
|
26
31
|
|
27
32
|
//= require scrivito_google_maps_widget
|
metadata
CHANGED
@@ -1,57 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scrivito_google_maps_widget
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scrivito
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: bundler
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: scrivito_sdk
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
30
16
|
requirements:
|
31
|
-
- - "
|
17
|
+
- - "~>"
|
32
18
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
19
|
+
version: '1.0'
|
34
20
|
type: :runtime
|
35
21
|
prerelease: false
|
36
22
|
version_requirements: !ruby/object:Gem::Requirement
|
37
23
|
requirements:
|
38
|
-
- - "
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rake
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
24
|
+
- - "~>"
|
53
25
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
26
|
+
version: '1.0'
|
55
27
|
description: Scrivito Google Maps Widget.
|
56
28
|
email:
|
57
29
|
- support@scrivito.com
|
@@ -76,7 +48,6 @@ files:
|
|
76
48
|
- lib/scrivito_google_maps_widget.rb
|
77
49
|
- lib/scrivito_google_maps_widget/engine.rb
|
78
50
|
- lib/scrivito_google_maps_widget/version.rb
|
79
|
-
- scrivito/migrate/0_create_google_maps_widget.rb
|
80
51
|
homepage: https://www.scrivito.com
|
81
52
|
licenses:
|
82
53
|
- LGPL-3.0
|
@@ -1,16 +0,0 @@
|
|
1
|
-
class CreateGoogleMapsWidget < ::Scrivito::Migration
|
2
|
-
def up
|
3
|
-
Scrivito::ObjClass.create(
|
4
|
-
name: 'GoogleMapsWidget',
|
5
|
-
type: 'publication',
|
6
|
-
title: 'Google Maps',
|
7
|
-
is_binary: false,
|
8
|
-
attributes: [
|
9
|
-
{
|
10
|
-
name: 'address',
|
11
|
-
type: :string,
|
12
|
-
},
|
13
|
-
]
|
14
|
-
)
|
15
|
-
end
|
16
|
-
end
|