jekyll_emoji_tag 0.1.2 → 0.1.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
  SHA256:
3
- metadata.gz: 64d5cea22eb35ac231d709583651d72dba062107523891bad70fe6b75c56620a
4
- data.tar.gz: 751a2a539a60b3bc3343f9ae8a6c54be1d75364ea288a3353ada74e29fc2bcff
3
+ metadata.gz: ddd8729d026118c762fbf96590af45463edd23c3e4d251c7a3fff43855ee8d3a
4
+ data.tar.gz: cd43beae43873489e14694e8f95d992ae1490d91e5ea5a39261fad4a13021a83
5
5
  SHA512:
6
- metadata.gz: 5cdc209c6994b4fed0361014d3937f8210df0f642e2eab8ede4a2bc0db598d8dff2678440415e5abc4102706636945d95e4ca59363572107e043dd4337f8bab7
7
- data.tar.gz: e2ddf7e1370266c7a9ba2d3d8853ee39cd3e981b616e4a6649e4b51f7bc4f6ddd5ee6bc70bc1e31c86d9e4161d1f8db136c2d31954c9f2e4b3f5281b67154bcc
6
+ metadata.gz: c983779ec94aad14427922e797f9a7212208273cd23ac4338d85d3c76ab834a7516d9541655f2b3106b365b9ed191e59c1e726c24c8760651772ae3367c916b5
7
+ data.tar.gz: 961e62a246bfa76d6b150c19c923beb02dd73f4b795451f00771a659764515c771ba06843158bae125f3c7d80ebb02f2a5579834c6521b3b937e26fb19f31c89
data/.rubocop.yml CHANGED
@@ -8,7 +8,7 @@ require:
8
8
  AllCops:
9
9
  Exclude:
10
10
  - binstub/**/*
11
- - binstub/**/*
11
+ - demo/_site/*
12
12
  - vendor/**/*
13
13
  - Gemfile*
14
14
  NewCops: enable
@@ -30,28 +30,45 @@ Layout/LineLength:
30
30
  Max: 150
31
31
 
32
32
  Metrics/AbcSize:
33
- Max: 35
33
+ Max: 55
34
34
 
35
35
  Metrics/BlockLength:
36
36
  Exclude:
37
- - jekyll_emoji_tag.gemspec
37
+ - jekyll_plugin_support.gemspec
38
38
  Max: 30
39
39
 
40
40
  Metrics/CyclomaticComplexity:
41
- Max: 15
41
+ Max: 25
42
42
 
43
43
  Metrics/MethodLength:
44
- Max: 40
45
-
46
- Metrics/ModuleLength:
47
- Enabled: false
44
+ Max: 50
48
45
 
49
46
  Metrics/PerceivedComplexity:
50
- Max: 15
47
+ Max: 25
51
48
 
52
49
  Naming/FileName:
53
50
  Exclude:
54
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
55
72
 
56
73
  Style/Documentation:
57
74
  Enabled: false
@@ -59,15 +76,8 @@ Style/Documentation:
59
76
  Style/FrozenStringLiteralComment:
60
77
  Enabled: false
61
78
 
79
+ Style/StringConcatenation:
80
+ Enabled: false
81
+
62
82
  Style/TrailingCommaInHashLiteral:
63
83
  EnforcedStyleForMultiline: comma
64
-
65
- RSpec/FilePath:
66
- IgnoreMethods: true
67
- SpecSuffixOnly: true
68
-
69
- RSpec/ExampleLength:
70
- Max: 30
71
-
72
- RSpec/MultipleExpectations:
73
- Max: 15
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.1.3 / 2024-07-24
4
+
5
+ * Make compatible with `jekyll_plugin_support` v1.0.0
6
+
7
+
3
8
  ## 0.1.2 / 2024-01-28
4
9
 
5
10
  * Added `clap` (hands), `confounded`, `eggplant`, `grimace`, `halo`, `loudly_crying`,
data/README.md CHANGED
@@ -31,8 +31,8 @@ $ bundle
31
31
  `OPTIONS` are:
32
32
 
33
33
  - `align` - `left`, `right` or `inline` (default is inline)
34
- - `class` - CSS style to add to the generated emoji
35
- - `div` - Wrap the emoji in a <div> instead of a <span>
34
+ - `class` - CSS class to apply to the generated emoji
35
+ - `div` - Wrap the emoji in a &lt;div/> instead of a &lt;span/>
36
36
  - `emoji_and_name` - causes the name of the emoji to be output along with the image (default is false)
37
37
  - `list` - output all emojis (default is false)
38
38
  - `name` - name of emoji (defaults to smiley)
@@ -48,16 +48,33 @@ The names of all supported emojis are:
48
48
  ```text
49
49
  angry
50
50
  boom
51
+ clap
52
+ confounded
53
+ eggplant
54
+ grimace
51
55
  grin
56
+ halo
52
57
  horns
53
58
  kiss
59
+ loudly_cry
60
+ notes
54
61
  open
62
+ please
55
63
  poop
64
+ rolling
56
65
  sad
66
+ sax
57
67
  scream
58
68
  smiley
59
69
  smirk
70
+ sunglasses
71
+ think
60
72
  two_hearts
73
+ wink
74
+ worried
75
+ unamused
76
+ vulcan
77
+ zipper
61
78
  ```
62
79
 
63
80
  ## Example Usage
data/Rakefile CHANGED
File without changes
@@ -30,5 +30,5 @@ Gem::Specification.new do |spec|
30
30
  spec.version = JekyllEmojiTag::VERSION
31
31
 
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
data/lib/emoji.rb CHANGED
@@ -20,7 +20,7 @@ require_relative 'jekyll_emoji_tag/version'
20
20
  # MyTag: debug
21
21
  module JekyllEmojiTag
22
22
  # This class implements the Jekyll emoji functionality
23
- class Emoji < JekyllSupport::JekyllTag
23
+ class Emoji < ::JekyllSupport::JekyllTag
24
24
  PLUGIN_NAME = 'emoji'.freeze
25
25
  VERSION = JekyllEmojiTag::VERSION
26
26
 
@@ -134,6 +134,6 @@ module JekyllEmojiTag
134
134
  END_RESULT
135
135
  end
136
136
 
137
- JekyllPluginHelper.register(self, PLUGIN_NAME)
137
+ ::JekyllSupport::JekyllPluginHelper.register(self, PLUGIN_NAME)
138
138
  end
139
139
  end
@@ -1,3 +1,3 @@
1
1
  module JekyllEmojiTag
2
- VERSION = '0.1.2'.freeze unless defined? VERSION
2
+ VERSION = '0.1.3'.freeze unless defined? VERSION
3
3
  end
File without changes
File without changes
data/spec/spec_helper.rb CHANGED
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll_emoji_tag
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Slinn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-30 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: 'Inserts an emoji
42
42
 
43
43
  '
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  - !ruby/object:Gem::Version
85
85
  version: '0'
86
86
  requirements: []
87
- rubygems_version: 3.3.3
87
+ rubygems_version: 3.5.16
88
88
  signing_key:
89
89
  specification_version: 4
90
90
  summary: Inserts an emoji