jekyll_google_translate 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 63793738bc79e3d5d47d68f4e2b45f332cbac0e154b2afaea864569d69033f6e
4
- data.tar.gz: ca20591a93926b7463bd2c32685eee770508a0d5fcf333ad9f40f50e18f6a8fd
3
+ metadata.gz: 5aff3a70a05bf6e4ff18c1bcd901d18afcaee8d01083e352401e18b22aadb51c
4
+ data.tar.gz: a087a603c265325e311ca0ef1308cf063f01f5c5b25863f13221e24bc1fb299d
5
5
  SHA512:
6
- metadata.gz: 4dcff495fca527f84ea5cf21fc13cf03d8a412edc5720a408249d966116cfb0ed758d796009b3aa07e1aef8571c8c5f7971eeb4381387f1e5f1f2246a8b85156
7
- data.tar.gz: 6a9695a887cf5627f41cdf30385b80107c13afb83e76e77f2a8dfa8b690f85a485b00d19ec51aac455c2db09df64c782189c18d0d9bcafae939fb6455eed8a9e
6
+ metadata.gz: 9fbb18063c2df8ae5bd9c6b30769ac1ca31a1cdf78c88d848f4b1c07136d8a73c77dbf2733cac24c577c9600615d9a9879fdf862c8ac11fe04255f59f483e931
7
+ data.tar.gz: 1f770e998c4f747cca36d26d6ac25d83a66c8d75d73a2dd39e9c44a24e6a0903ec9b46746a0dc46b2b184e2d048b2ca87556e42f9503602f50779aee0635d087
data/.rubocop.yml CHANGED
@@ -8,11 +8,10 @@ require:
8
8
  AllCops:
9
9
  Exclude:
10
10
  - binstub/**/*
11
- - exe/**/*
11
+ - demo/_site/*
12
12
  - vendor/**/*
13
13
  - Gemfile*
14
14
  NewCops: enable
15
- TargetRubyVersion: 3.1.3
16
15
 
17
16
  Gemspec/DeprecatedAttributeAssignment:
18
17
  Enabled: false
@@ -20,6 +19,9 @@ Gemspec/DeprecatedAttributeAssignment:
20
19
  Gemspec/RequireMFA:
21
20
  Enabled: false
22
21
 
22
+ Gemspec/RequiredRubyVersion:
23
+ Enabled: false
24
+
23
25
  Layout/HashAlignment:
24
26
  EnforcedColonStyle: table
25
27
  EnforcedHashRocketStyle: table
@@ -28,28 +30,45 @@ Layout/LineLength:
28
30
  Max: 150
29
31
 
30
32
  Metrics/AbcSize:
31
- Max: 35
33
+ Max: 55
32
34
 
33
35
  Metrics/BlockLength:
34
36
  Exclude:
35
- - jekyll_google_translate.gemspec
37
+ - jekyll_plugin_support.gemspec
36
38
  Max: 30
37
39
 
38
40
  Metrics/CyclomaticComplexity:
39
- Max: 15
41
+ Max: 25
40
42
 
41
43
  Metrics/MethodLength:
42
- Max: 40
43
-
44
- Metrics/ModuleLength:
45
- Enabled: false
44
+ Max: 50
46
45
 
47
46
  Metrics/PerceivedComplexity:
48
- Max: 15
47
+ Max: 25
49
48
 
50
49
  Naming/FileName:
51
50
  Exclude:
52
51
  - Rakefile
52
+ - "*.md"
53
+
54
+ RSpec/ExampleLength:
55
+ Max: 30
56
+
57
+ RSpec/SpecFilePathFormat:
58
+ Enabled: false
59
+ IgnoreMethods: true
60
+
61
+ RSpec/SpecFilePathSuffix:
62
+ Enabled: false
63
+
64
+ RSpec/IndexedLet:
65
+ Enabled: false
66
+
67
+ RSpec/MultipleExpectations:
68
+ Max: 15
69
+
70
+ Style/ClassVars:
71
+ Enabled: false
53
72
 
54
73
  Style/Documentation:
55
74
  Enabled: false
@@ -57,15 +76,8 @@ Style/Documentation:
57
76
  Style/FrozenStringLiteralComment:
58
77
  Enabled: false
59
78
 
79
+ Style/StringConcatenation:
80
+ Enabled: false
81
+
60
82
  Style/TrailingCommaInHashLiteral:
61
83
  EnforcedStyleForMultiline: comma
62
-
63
- RSpec/FilePath:
64
- IgnoreMethods: true
65
- SpecSuffixOnly: true
66
-
67
- RSpec/ExampleLength:
68
- Max: 30
69
-
70
- RSpec/MultipleExpectations:
71
- Max: 15
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.1.1
4
+
5
+ * Made compatible with `jekyll_plugin_support` v1.0.0
6
+
7
+
3
8
  ## 0.1.0
4
9
 
5
10
  * Initial release.
@@ -30,5 +30,5 @@ Gem::Specification.new do |spec|
30
30
  spec.summary = 'Write summary of what the gem is for'
31
31
  spec.version = JekyllGoogleTranslate::VERSION
32
32
  spec.add_dependency 'jekyll', '>= 3.5.0'
33
- spec.add_dependency 'jekyll_plugin_support', '>= 0.7.0'
33
+ spec.add_dependency 'jekyll_plugin_support', '>= 1.0.0'
34
34
  end
@@ -10,7 +10,7 @@ require_relative 'jekyll_google_translate/version'
10
10
  # plugin_loggers:
11
11
  # GoogleTranslateHtml: debug
12
12
  module JekyllGoogleTranslate
13
- class GoogleTranslateHtml < JekyllSupport::JekyllTag
13
+ class GoogleTranslateHtml < ::JekyllSupport::JekyllTag
14
14
  PLUGIN_NAME = 'google_translate_html'.freeze
15
15
  VERSION = JekyllGoogleTranslate::VERSION
16
16
 
@@ -27,6 +27,6 @@ module JekyllGoogleTranslate
27
27
  END_OUTPUT
28
28
  end
29
29
 
30
- JekyllPluginHelper.register(self, PLUGIN_NAME)
30
+ ::JekyllSupport::JekyllPluginHelper.register(self, PLUGIN_NAME)
31
31
  end
32
32
  end
@@ -10,7 +10,7 @@ require_relative 'jekyll_google_translate/version'
10
10
  # plugin_loggers:
11
11
  # GoogleTranslateJavascript: debug
12
12
  module JekyllGoogleTranslate
13
- class GoogleTranslateJavascript < JekyllSupport::JekyllTag
13
+ class GoogleTranslateJavascript < ::JekyllSupport::JekyllTag
14
14
  PLUGIN_NAME = 'google_translate_javascript'.freeze
15
15
  VERSION = JekyllGoogleTranslate::VERSION
16
16
 
@@ -32,6 +32,6 @@ module JekyllGoogleTranslate
32
32
  END_OUTPUT
33
33
  end
34
34
 
35
- JekyllPluginHelper.register(self, PLUGIN_NAME)
35
+ ::JekyllSupport::JekyllPluginHelper.register(self, PLUGIN_NAME)
36
36
  end
37
37
  end
@@ -1,3 +1,3 @@
1
1
  module JekyllGoogleTranslate
2
- VERSION = '0.1.0'.freeze unless defined? VERSION
2
+ VERSION = '0.1.1'.freeze unless defined? VERSION
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll_google_translate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Slinn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-27 00:00:00.000000000 Z
11
+ date: 2024-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.7.0
33
+ version: 1.0.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 0.7.0
40
+ version: 1.0.0
41
41
  description: |
42
42
  Write a longer description of the gem.
43
43
  Use as many lines as you like.
@@ -85,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  - !ruby/object:Gem::Version
86
86
  version: '0'
87
87
  requirements: []
88
- rubygems_version: 3.3.7
88
+ rubygems_version: 3.5.16
89
89
  signing_key:
90
90
  specification_version: 4
91
91
  summary: Write summary of what the gem is for