jekyll-openmoji 0.1.3 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/.codeclimate.yml +0 -2
  3. data/.gitlab-ci.yml +36 -58
  4. data/README.md +3 -3
  5. data/jekyll-openmoji.gemspec +3 -3
  6. data/lib/jekyll-openmoji/plugin.rb +0 -1
  7. data/lib/jekyll-openmoji/version.rb +1 -1
  8. metadata +7 -47
  9. data/.rubocop.yml +0 -43
  10. data/.rubocop_todo.yml +0 -25
  11. data/doc/blog/.bundle/config +0 -2
  12. data/doc/blog/404.html +0 -24
  13. data/doc/blog/Activities.md +0 -322
  14. data/doc/blog/Animals-Nature.md +0 -514
  15. data/doc/blog/Component.md +0 -42
  16. data/doc/blog/Extras-Openmoji.md +0 -658
  17. data/doc/blog/Extras-Unicode.md +0 -22
  18. data/doc/blog/Flags.md +0 -1078
  19. data/doc/blog/Food-Drink.md +0 -490
  20. data/doc/blog/Gemfile +0 -7
  21. data/doc/blog/Objects.md +0 -938
  22. data/doc/blog/People-Body.md +0 -6430
  23. data/doc/blog/Smileys-Emotion.md +0 -602
  24. data/doc/blog/Symbols.md +0 -874
  25. data/doc/blog/Travel-Places.md +0 -846
  26. data/doc/blog/_config.yml +0 -16
  27. data/doc/blog/_includes/disqus_comments.html +0 -20
  28. data/doc/blog/_includes/footer.html +0 -32
  29. data/doc/blog/_includes/google-analytics.html +0 -9
  30. data/doc/blog/_includes/head.html +0 -11
  31. data/doc/blog/_includes/header.html +0 -31
  32. data/doc/blog/_includes/social.html +0 -19
  33. data/doc/blog/_layouts/default.html +0 -20
  34. data/doc/blog/_layouts/home.html +0 -38
  35. data/doc/blog/_layouts/page.html +0 -14
  36. data/doc/blog/_layouts/post.html +0 -27
  37. data/doc/blog/_sass/minima-classic.scss +0 -90
  38. data/doc/blog/_sass/minima-solarized-dark.scss +0 -4
  39. data/doc/blog/_sass/minima-solarized.scss +0 -139
  40. data/doc/blog/_sass/minima/_base.scss +0 -269
  41. data/doc/blog/_sass/minima/_layout.scss +0 -300
  42. data/doc/blog/_sass/minima/custom-styles.scss +0 -2
  43. data/doc/blog/_sass/minima/custom-variables.scss +0 -1
  44. data/doc/blog/_sass/minima/initialize.scss +0 -48
  45. data/doc/blog/assets/css/style.scss +0 -5
  46. data/doc/blog/assets/minima-social-icons.svg +0 -41
  47. data/doc/blog/favicon.ico +0 -0
  48. data/doc/blog/index.md +0 -27
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: afebba0f43dfa468dfa3ec0a545feee7adc0ec5170aa1a5563f6431367329b45
4
- data.tar.gz: 8e7245fdf12a524afec27826e73e7ffd675fe3027492f3cacb29579e5fba5d41
3
+ metadata.gz: 12a8e7badebc60c0dea6e410e4db32108819962eb6ba45423373bc799cbb7315
4
+ data.tar.gz: c7849e33a24d1a0761ebd52252fef24e4c98a61e235f77e65e1ac357286ecff4
5
5
  SHA512:
6
- metadata.gz: 5fa9821e415757c3e59e16338c119deea7e0db0daec45c9242a29d1b286b4ec796c8e6df7dfeb3a3e0ad68643ba0825bf16bc338fb9e09d7ba08124df754b76a
7
- data.tar.gz: 7fe010eadfe6cd7fbef7186e61df3931ee70a6ea20c961c77a271aad7f3d50a29478dbc7cd76f95f57e912cae595cf8ecac808a985eede26a4850fe887552483
6
+ metadata.gz: 762fa37178a1586a5d595c76efc19bb49ef59b128040d760037132164a62c81be0dbcd61f2ca7963b52a146009e91b0edd9b0b2d9237751c1b6a025f1be8fc81
7
+ data.tar.gz: 1be9e142c40b32bdebe6bcbf6f09e6d8dd38989474ddbd78aadc79685280498a9b2d48897fd54f152c89811875fd5b0c585bf973375af1ad41d5a58502c0133a
@@ -46,8 +46,6 @@ plugins:
46
46
  config:
47
47
  allow_affero_copyleft: true
48
48
  allow_strong_copyleft: true
49
- rubocop:
50
- enabled: true
51
49
 
52
50
  exclude_patterns:
53
51
  - "config/"
@@ -1,7 +1,6 @@
1
1
  # stages of gitlab ci.
2
2
  stages:
3
3
  - test
4
- - deploy
5
4
  - release
6
5
 
7
6
  # default settings for all ci jobs.
@@ -10,21 +9,19 @@ default:
10
9
  cache:
11
10
  paths:
12
11
  - vendor/
13
-
14
12
  # job for testing package against ruby version 2.6
15
13
  # on master branch and send test coverage result to
16
14
  # codeclimate.
17
15
  test main branch:
18
16
  stage: test
19
17
  before_script:
20
- # setup rvm.
18
+ # setup rbenv.
21
19
  - source ~/.bash_profile
22
- # use ruby version 2.6.
23
- - rvm use 2.6
24
- # upgrade bundler to latest version.
25
- - gem install bundler
20
+ # use ruby version 2.7.0 .
21
+ - rbenv global 2.7.0
26
22
  # install dependency gems.
27
- - bundle install --path vendor
23
+ - bundle config set path 'vendor'
24
+ - bundle install
28
25
  # run codeclimate test reporter agent.
29
26
  - cc-test-reporter before-build
30
27
  # run tests.
@@ -37,18 +34,17 @@ test main branch:
37
34
  - master
38
35
 
39
36
  # job for testing package on other branches than master
40
- # and merge requests against 2.6 version.
41
- test ruby 2.6:
37
+ # and merge requests against 2.7.0 version.
38
+ test ruby 2.7.0:
42
39
  stage: test
43
40
  before_script:
44
- # setup rvm.
41
+ # setup rbenv.
45
42
  - source ~/.bash_profile
46
- # use ruby version 2.6.
47
- - rvm use 2.6
48
- # upgrade bundler to latest version.
49
- - gem install bundler
43
+ # use ruby version 2.7.0 .
44
+ - rbenv global 2.7.0
50
45
  # install dependency gems.
51
- - bundle install --path vendor
46
+ - bundle config set path 'vendor'
47
+ - bundle install
52
48
  # run tests.
53
49
  script:
54
50
  - script/test.sh
@@ -58,51 +54,33 @@ test ruby 2.6:
58
54
  except:
59
55
  - master
60
56
 
61
- test ruby 2.5:
62
- stage: test
63
- before_script:
64
- # setup rvm.
65
- - source ~/.bash_profile
66
- # use ruby version 2.5.
67
- - rvm use 2.5
68
- # upgrade bundler to latest version.
69
- - gem install bundler
70
- # install dependency gems.
71
- - bundle install --path vendor
72
- # run tests.
73
- script:
74
- - script/test.sh
75
- except:
76
- - tags
77
-
78
- test ruby 2.4:
57
+ # jobs for testing package against older ruby versions.
58
+ test ruby 2.6.5:
79
59
  stage: test
80
60
  before_script:
81
- # setup rvm.
61
+ # setup rbenv.
82
62
  - source ~/.bash_profile
83
- # use ruby version 2.4.
84
- - rvm use 2.4
85
- # upgrade bundler to latest version.
86
- - gem install bundler
63
+ # use ruby version 2.6.5 .
64
+ - rbenv global 2.6.5
87
65
  # install dependency gems.
88
- - bundle install --path vendor
66
+ - bundle config set path 'vendor'
67
+ - bundle install
89
68
  # run tests.
90
69
  script:
91
70
  - script/test.sh
92
71
  except:
93
72
  - tags
94
73
 
95
- test ruby 2.3:
74
+ test ruby 2.5.7:
96
75
  stage: test
97
76
  before_script:
98
- # setup rvm.
77
+ # setup rbenv.
99
78
  - source ~/.bash_profile
100
- # use ruby version 2.3.
101
- - rvm use 2.3
102
- # upgrade bundler to latest version.
103
- - gem install bundler
79
+ # use ruby version 2.5.7 .
80
+ - rbenv global 2.5.7
104
81
  # install dependency gems.
105
- - bundle install --path vendor
82
+ - bundle config set path 'vendor'
83
+ - bundle install
106
84
  # run tests.
107
85
  script:
108
86
  - script/test.sh
@@ -111,18 +89,17 @@ test ruby 2.3:
111
89
 
112
90
  # release a preview blog for master branch with gitlab pages.
113
91
  pages:
114
- stage: deploy
92
+ stage: release
115
93
  script:
116
- # setup rvm.
94
+ # setup rbenv.
117
95
  - source ~/.bash_profile
118
- # use ruby version 2.6.
119
- - rvm use 2.6
96
+ # use ruby version 2.7.0
97
+ - rbenv global 2.7.0
120
98
  # go to blog folder.
121
99
  - cd doc/blog
122
- # upgrade bundler to latest version.
123
- - gem install bundler
124
- # install dependencies.
125
- - bundle install --path vendor
100
+ # install dependency gems.
101
+ - bundle config set path 'vendor'
102
+ - bundle install
126
103
  # generate site with jekyll.
127
104
  - bundle exec jekyll build --trace --destination ../../public
128
105
  artifacts:
@@ -130,15 +107,16 @@ pages:
130
107
  - public
131
108
  only:
132
109
  - master
110
+ when: manual
133
111
 
134
112
  # deploy gems to rubygems.org whenever a tag is released.
135
113
  release to rubygems:
136
114
  stage: release
137
115
  script:
138
- # setup rvm.
116
+ # setup rbenv.
139
117
  - source ~/.bash_profile
140
- # use ruby version 2.6.
141
- - rvm use 2.6
118
+ # use ruby version 2.7.0
119
+ - rbenv global 2.7.0
142
120
  # create rubygems credential file for auto login.
143
121
  - script/ci_rubygems.sh
144
122
  # extract tag from git log and strip "v".
data/README.md CHANGED
@@ -113,11 +113,11 @@ bundle install
113
113
  In any page or post, use emoji as you would normally, e.g.
114
114
 
115
115
  ```markdown
116
- I give this plugin two :+1:!
116
+ I give this plugin two :thumbs_up:!
117
117
  ```
118
118
 
119
- with this plugin, Jekyll will turn this markdown code `:+1:` into this image:
120
- <img class="emoji" title="+1" alt="👍" src="https://cdn.jsdelivr.net/gh/azadeh-afzar/OpenMoji-Jekyll-Plugin@latest/images/color/svg/1f44d.svg" width="30em" height="30em" margin="0.5em"> .
119
+ with this plugin, Jekyll will turn this markdown code `:thumbs_up:` into this image:
120
+ <img class="emoji" title="thumbs_up" alt="👍️" src="https://cdn.jsdelivr.net/gh/azadeh-afzar/OpenMoji-Jekyll-Plugin@latest/images/color/svg/1f44d-fe0f.svg" width="30em" height="30em" margin="0.5em"> .
121
121
 
122
122
  to see all codes and their emoji images, see preview [**page**][preview].
123
123
 
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.licenses = "GPL-3.0"
20
20
 
21
21
  spec.files = `git ls-files -z`.split("\x0").reject { |f|
22
- f.match(%r!^(images|script|spec)/!)
22
+ f.match(%r!^(doc|images|script|spec)/!)
23
23
  }
24
24
  spec.executables = spec.files.grep(%r!^bin/!) { |f| File.basename(f) }
25
25
  spec.test_files = spec.files.grep(%r!^test/!)
@@ -28,9 +28,9 @@ Gem::Specification.new do |spec|
28
28
  spec.required_ruby_version = ">= 2.3.0"
29
29
 
30
30
  spec.add_dependency "html-pipeline", "~> 2.12"
31
- spec.add_dependency "html-pipeline-negarmoji", "~> 0.1.3"
31
+ spec.add_dependency "html-pipeline-negarmoji", "~> 0.1.5"
32
32
  spec.add_dependency "jekyll", ">= 3.0", "< 5.0"
33
- spec.add_dependency "negarmoji", "~> 0.1.6"
33
+ spec.add_dependency "negarmoji", "~> 0.1.9"
34
34
 
35
35
  spec.add_development_dependency "bundler", "~> 2.0"
36
36
  spec.add_development_dependency "rake", "~> 13.0"
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "jekyll"
4
- require "negarmoji"
5
4
  require "html/pipeline"
6
5
  require "html/pipeline/negarmoji-pipeline"
7
6
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  class Emoji
5
- VERSION = "0.1.3"
5
+ VERSION = "0.1.5"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-openmoji
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mohammad Mahdi Baghbani Pourvahid
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-03 00:00:00.000000000 Z
11
+ date: 2020-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: html-pipeline
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.1.3
33
+ version: 0.1.5
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.1.3
40
+ version: 0.1.5
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: jekyll
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -64,14 +64,14 @@ dependencies:
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: 0.1.6
67
+ version: 0.1.9
68
68
  type: :runtime
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: 0.1.6
74
+ version: 0.1.9
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: bundler
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -158,8 +158,6 @@ files:
158
158
  - ".gitlab/issue_templates/Default.md"
159
159
  - ".gitlab/merge_request_templates/Default.md"
160
160
  - ".rspec"
161
- - ".rubocop.yml"
162
- - ".rubocop_todo.yml"
163
161
  - CHANGELOG.md
164
162
  - CODE_OF_CONDUCT.md
165
163
  - CONTRIBUTING.md
@@ -170,44 +168,6 @@ files:
170
168
  - ROADMAP.md
171
169
  - Rakefile
172
170
  - SUPPORT.md
173
- - doc/blog/.bundle/config
174
- - doc/blog/404.html
175
- - doc/blog/Activities.md
176
- - doc/blog/Animals-Nature.md
177
- - doc/blog/Component.md
178
- - doc/blog/Extras-Openmoji.md
179
- - doc/blog/Extras-Unicode.md
180
- - doc/blog/Flags.md
181
- - doc/blog/Food-Drink.md
182
- - doc/blog/Gemfile
183
- - doc/blog/Objects.md
184
- - doc/blog/People-Body.md
185
- - doc/blog/Smileys-Emotion.md
186
- - doc/blog/Symbols.md
187
- - doc/blog/Travel-Places.md
188
- - doc/blog/_config.yml
189
- - doc/blog/_includes/disqus_comments.html
190
- - doc/blog/_includes/footer.html
191
- - doc/blog/_includes/google-analytics.html
192
- - doc/blog/_includes/head.html
193
- - doc/blog/_includes/header.html
194
- - doc/blog/_includes/social.html
195
- - doc/blog/_layouts/default.html
196
- - doc/blog/_layouts/home.html
197
- - doc/blog/_layouts/page.html
198
- - doc/blog/_layouts/post.html
199
- - doc/blog/_sass/minima-classic.scss
200
- - doc/blog/_sass/minima-solarized-dark.scss
201
- - doc/blog/_sass/minima-solarized.scss
202
- - doc/blog/_sass/minima/_base.scss
203
- - doc/blog/_sass/minima/_layout.scss
204
- - doc/blog/_sass/minima/custom-styles.scss
205
- - doc/blog/_sass/minima/custom-variables.scss
206
- - doc/blog/_sass/minima/initialize.scss
207
- - doc/blog/assets/css/style.scss
208
- - doc/blog/assets/minima-social-icons.svg
209
- - doc/blog/favicon.ico
210
- - doc/blog/index.md
211
171
  - jekyll-openmoji.gemspec
212
172
  - lib/jekyll-openmoji.rb
213
173
  - lib/jekyll-openmoji/plugin.rb
@@ -232,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
232
192
  - !ruby/object:Gem::Version
233
193
  version: '0'
234
194
  requirements: []
235
- rubygems_version: 3.0.3
195
+ rubygems_version: 3.1.2
236
196
  signing_key:
237
197
  specification_version: 4
238
198
  summary: OpenMoji emoji plugin for Jekyll
@@ -1,43 +0,0 @@
1
- inherit_from: .rubocop_todo.yml
2
-
3
- require: rubocop-jekyll
4
-
5
- inherit_gem:
6
- rubocop-jekyll: .rubocop.yml
7
-
8
- AllCops:
9
- TargetRubyVersion: 2.3
10
- Exclude:
11
- - vendor/**/*
12
- - doc/**/*
13
-
14
- Layout/AlignHash:
15
- EnforcedHashRocketStyle: table
16
-
17
- Layout/MultilineMethodCallIndentation:
18
- EnforcedStyle: indented_relative_to_receiver
19
- IndentationWidth: 2
20
-
21
- Metrics/AbcSize:
22
- Max: 30
23
-
24
- Metrics/BlockLength:
25
- Max: 50
26
-
27
- Metrics/LineLength:
28
- Max: 85
29
-
30
- Metrics/MethodLength:
31
- Max: 25
32
-
33
- Style/HashSyntax:
34
- EnforcedStyle: hash_rockets
35
-
36
- Style/MutableConstant:
37
- Enabled: false
38
-
39
- Style/RegexpLiteral:
40
- EnforcedStyle: percent_r
41
-
42
- Style/StringLiterals:
43
- EnforcedStyle: double_quotes
@@ -1,25 +0,0 @@
1
- # This configuration was generated by
2
- # `rubocop --auto-gen-config`
3
- # on 2018-12-06 11:59:49 +0100 using RuboCop version 0.61.1.
4
- # The point is for the user to remove these configuration records
5
- # one by one as the offenses are removed from the code base.
6
- # Note that changes in the inspected code, or installation of new
7
- # versions of RuboCop, may require this file to be generated again.
8
-
9
- # Offense count: 1
10
- # Configuration parameters: CountComments, Max, ExcludedMethods.
11
- # ExcludedMethods: refine
12
- Metrics/BlockLength:
13
- Exclude:
14
- - "spec/jekyll_openmoji_spec.rb"
15
-
16
- # Offense count: 1
17
- # Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
18
- # URISchemes: http, https
19
- Metrics/LineLength:
20
- Exclude:
21
- - "spec/jekyll_openmoji_spec.rb"
22
-
23
- Metrics/AbcSize:
24
- Exclude:
25
- - "lib/jekyll_openmoji/plugin.rb"
@@ -1,2 +0,0 @@
1
- ---
2
- BUNDLE_PATH: "vendor"
@@ -1,24 +0,0 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- <style type="text/css" media="screen">
6
- .container {
7
- margin: 10px auto;
8
- max-width: 600px;
9
- text-align: center;
10
- }
11
- h1 {
12
- margin: 30px 0;
13
- font-size: 4em;
14
- line-height: 1;
15
- letter-spacing: -1px;
16
- }
17
- </style>
18
-
19
- <div class="container">
20
- <h1>404</h1>
21
-
22
- <p><strong>Page not found :(</strong></p>
23
- <p>The requested page could not be found.</p>
24
- </div>