jekyll-maps 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +5 -0
- data/.rubocop.yml +116 -0
- data/Gemfile +3 -0
- data/LICENSE +21 -0
- data/README.md +2 -0
- data/Rakefile +6 -0
- data/jekyll-maps.gemspec +24 -0
- data/lib/jekyll-maps.rb +7 -0
- data/lib/jekyll-maps/google_map_tag.rb +14 -0
- data/lib/jekyll-maps/version.rb +5 -0
- data/script/bootstrap +3 -0
- metadata +111 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c572c2073327ace5f9a595bbdf0564385d897c9b
|
4
|
+
data.tar.gz: beeab2b6dbcb0b717da716202219b93a7df4ccd0
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 139ed76a5fbf7c4a55763044e1af59b7d7ad00acd0ea58366c73a872ab815f84a814f50095d3a7d1eacbfbb19816c35cb928c9fc9c7cdb9aad5eebf3bd8d966a
|
7
|
+
data.tar.gz: b27288cfa501f18a0a305a343b79dba18c49e9d93b8fd7e3944fcb82aeeed77e4056f92adec7f8c74f2a041101b18aeaaa3592fe54a91c73d343d83d3e330e69
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,116 @@
|
|
1
|
+
---
|
2
|
+
AllCops:
|
3
|
+
TargetRubyVersion: 2.0
|
4
|
+
Include:
|
5
|
+
- lib/**/*.rb
|
6
|
+
- spec/**/*.rb
|
7
|
+
Lint/EndAlignment:
|
8
|
+
Severity: error
|
9
|
+
Lint/UnreachableCode:
|
10
|
+
Severity: error
|
11
|
+
Lint/UselessAccessModifier:
|
12
|
+
Enabled: false
|
13
|
+
Metrics/AbcSize:
|
14
|
+
Max: 20
|
15
|
+
Metrics/ClassLength:
|
16
|
+
Max: 300
|
17
|
+
Exclude:
|
18
|
+
- !ruby/regexp /spec\/.*.rb$/
|
19
|
+
Metrics/CyclomaticComplexity:
|
20
|
+
Max: 8
|
21
|
+
Metrics/LineLength:
|
22
|
+
Max: 90
|
23
|
+
Severity: warning
|
24
|
+
Metrics/MethodLength:
|
25
|
+
Max: 20
|
26
|
+
CountComments: false
|
27
|
+
Severity: error
|
28
|
+
Metrics/ModuleLength:
|
29
|
+
Max: 240
|
30
|
+
Metrics/ParameterLists:
|
31
|
+
Max: 4
|
32
|
+
Metrics/PerceivedComplexity:
|
33
|
+
Max: 8
|
34
|
+
Style/Alias:
|
35
|
+
Enabled: false
|
36
|
+
Style/AlignArray:
|
37
|
+
Enabled: false
|
38
|
+
Style/AlignHash:
|
39
|
+
EnforcedHashRocketStyle: table
|
40
|
+
Style/AlignParameters:
|
41
|
+
EnforcedStyle: with_fixed_indentation
|
42
|
+
Enabled: false
|
43
|
+
Style/AndOr:
|
44
|
+
Severity: error
|
45
|
+
Style/Attr:
|
46
|
+
Enabled: false
|
47
|
+
Style/BracesAroundHashParameters:
|
48
|
+
Enabled: false
|
49
|
+
Style/ClassAndModuleChildren:
|
50
|
+
Enabled: false
|
51
|
+
Style/Documentation:
|
52
|
+
Enabled: false
|
53
|
+
Style/DoubleNegation:
|
54
|
+
Enabled: false
|
55
|
+
Style/EmptyLinesAroundAccessModifier:
|
56
|
+
Enabled: false
|
57
|
+
Style/EmptyLinesAroundModuleBody:
|
58
|
+
Enabled: false
|
59
|
+
Style/ExtraSpacing:
|
60
|
+
AllowForAlignment: true
|
61
|
+
Style/FileName:
|
62
|
+
Enabled: false
|
63
|
+
Style/FirstParameterIndentation:
|
64
|
+
EnforcedStyle: consistent
|
65
|
+
Style/GuardClause:
|
66
|
+
Enabled: false
|
67
|
+
Style/HashSyntax:
|
68
|
+
EnforcedStyle: hash_rockets
|
69
|
+
Severity: error
|
70
|
+
Style/IfUnlessModifier:
|
71
|
+
Enabled: false
|
72
|
+
Style/IndentArray:
|
73
|
+
EnforcedStyle: consistent
|
74
|
+
Style/IndentHash:
|
75
|
+
EnforcedStyle: consistent
|
76
|
+
Style/IndentationWidth:
|
77
|
+
Severity: error
|
78
|
+
Style/ModuleFunction:
|
79
|
+
Enabled: false
|
80
|
+
Style/MultilineMethodCallIndentation:
|
81
|
+
EnforcedStyle: indented
|
82
|
+
Style/MultilineOperationIndentation:
|
83
|
+
EnforcedStyle: indented
|
84
|
+
Style/MultilineTernaryOperator:
|
85
|
+
Severity: error
|
86
|
+
Style/PercentLiteralDelimiters:
|
87
|
+
PreferredDelimiters:
|
88
|
+
"%q": "{}"
|
89
|
+
"%Q": "{}"
|
90
|
+
"%r": "!!"
|
91
|
+
"%s": "()"
|
92
|
+
"%w": "()"
|
93
|
+
"%W": "()"
|
94
|
+
"%x": "()"
|
95
|
+
Style/RedundantReturn:
|
96
|
+
Enabled: false
|
97
|
+
Style/RedundantSelf:
|
98
|
+
Enabled: false
|
99
|
+
Style/RegexpLiteral:
|
100
|
+
EnforcedStyle: percent_r
|
101
|
+
Style/RescueModifier:
|
102
|
+
Enabled: false
|
103
|
+
Style/SignalException:
|
104
|
+
EnforcedStyle: only_raise
|
105
|
+
Style/SingleLineMethods:
|
106
|
+
Enabled: false
|
107
|
+
Style/SpaceAroundOperators:
|
108
|
+
Enabled: false
|
109
|
+
Style/SpaceInsideBrackets:
|
110
|
+
Enabled: false
|
111
|
+
Style/StringLiterals:
|
112
|
+
EnforcedStyle: double_quotes
|
113
|
+
Style/StringLiteralsInInterpolation:
|
114
|
+
EnforcedStyle: double_quotes
|
115
|
+
Style/UnneededCapitalW:
|
116
|
+
Enabled: false
|
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 Anatoliy Yastreb
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
data/Rakefile
ADDED
data/jekyll-maps.gemspec
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "jekyll-maps/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "jekyll-maps"
|
8
|
+
spec.summary = "Jekyll Google Maps integration"
|
9
|
+
spec.description = "Google Maps support in Jekyll blog to easily embed maps with posts' locations"
|
10
|
+
spec.version = Jekyll::Maps::VERSION
|
11
|
+
spec.authors = ["Anatoliy Yastreb"]
|
12
|
+
spec.email = ["anatoliy.yastreb@gmail.com"]
|
13
|
+
|
14
|
+
spec.homepage = "https://github.com/ayastreb/jekyll-google-maps"
|
15
|
+
spec.licenses = ["MIT"]
|
16
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r!^(test|spec|features)/!) }
|
17
|
+
spec.require_paths = ["lib"]
|
18
|
+
|
19
|
+
spec.add_dependency "jekyll", "~> 3.0"
|
20
|
+
|
21
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
22
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
23
|
+
spec.add_development_dependency "rubocop", "~> 0.41"
|
24
|
+
end
|
data/lib/jekyll-maps.rb
ADDED
data/script/bootstrap
ADDED
metadata
ADDED
@@ -0,0 +1,111 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jekyll-maps
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Anatoliy Yastreb
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-07-17 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rubocop
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0.41'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0.41'
|
69
|
+
description: Google Maps support in Jekyll blog to easily embed maps with posts' locations
|
70
|
+
email:
|
71
|
+
- anatoliy.yastreb@gmail.com
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- ".gitignore"
|
77
|
+
- ".rubocop.yml"
|
78
|
+
- Gemfile
|
79
|
+
- LICENSE
|
80
|
+
- README.md
|
81
|
+
- Rakefile
|
82
|
+
- jekyll-maps.gemspec
|
83
|
+
- lib/jekyll-maps.rb
|
84
|
+
- lib/jekyll-maps/google_map_tag.rb
|
85
|
+
- lib/jekyll-maps/version.rb
|
86
|
+
- script/bootstrap
|
87
|
+
homepage: https://github.com/ayastreb/jekyll-google-maps
|
88
|
+
licenses:
|
89
|
+
- MIT
|
90
|
+
metadata: {}
|
91
|
+
post_install_message:
|
92
|
+
rdoc_options: []
|
93
|
+
require_paths:
|
94
|
+
- lib
|
95
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - ">="
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '0'
|
100
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0'
|
105
|
+
requirements: []
|
106
|
+
rubyforge_project:
|
107
|
+
rubygems_version: 2.4.5.1
|
108
|
+
signing_key:
|
109
|
+
specification_version: 4
|
110
|
+
summary: Jekyll Google Maps integration
|
111
|
+
test_files: []
|