no-style-please2-plugins 0.6.1 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/enc.rb +2 -1
- data/lib/version/version.rb +1 -1
- metadata +6 -7
- data/gem.gemspec +0 -44
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 729be7c6880999d50f668bc647674a327bf94f3bfa6775479862578358cf16d3
|
4
|
+
data.tar.gz: 2dae3211a7ce7913f274243851f75d7a5fc8307c444ac6175504d5fb890a7165
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad14f9cbaf2e2184d03daae6f988a042622d9c550c8d0b6b358d919a9e1a873cf0b2ecc2de277d4e8038cf0383d0e96648a7226d4cbe39558844b603be09a421
|
7
|
+
data.tar.gz: c330e3af02d3651c3f07bc5bb0957ccca5bc12e0e25ab148338df5f1116305f46540b2cdef2c22f26ca7fabf1d823dbc2b047da4d5f395bdbf242aede53cb0cb
|
data/lib/enc.rb
CHANGED
@@ -85,7 +85,8 @@ module Jekyll
|
|
85
85
|
def get_encrypt_id(content,page)
|
86
86
|
key = EncFilterTool.getKey(content,page)
|
87
87
|
if key != nil && key.length > 0
|
88
|
-
|
88
|
+
enckey = genKey(key).unpack('H*').first
|
89
|
+
return OpenSSL::HMAC.hexdigest("SHA256", "no-style-please2-key-digst-2022-05-21", key.to_s + enckey)[0..32]
|
89
90
|
else
|
90
91
|
return ""
|
91
92
|
end
|
data/lib/version/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: no-style-please2-plugins
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vitock
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -64,7 +64,6 @@ files:
|
|
64
64
|
- LICENSE
|
65
65
|
- README.md
|
66
66
|
- Rakefile
|
67
|
-
- gem.gemspec
|
68
67
|
- lib/enc.rb
|
69
68
|
- lib/ext.rb
|
70
69
|
- lib/no-style-please2-plugins.rb
|
@@ -77,7 +76,7 @@ metadata:
|
|
77
76
|
homepage_uri: https://github.com/vitock/no-style-please2-plugins
|
78
77
|
source_code_uri: https://github.com/vitock/no-style-please2-plugins
|
79
78
|
changelog_uri: https://github.com/vitock/no-style-please2-plugins/blob/main/LICENSE
|
80
|
-
post_install_message:
|
79
|
+
post_install_message:
|
81
80
|
rdoc_options: []
|
82
81
|
require_paths:
|
83
82
|
- lib
|
@@ -92,8 +91,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
91
|
- !ruby/object:Gem::Version
|
93
92
|
version: '0'
|
94
93
|
requirements: []
|
95
|
-
rubygems_version: 3.
|
96
|
-
signing_key:
|
94
|
+
rubygems_version: 3.4.1
|
95
|
+
signing_key:
|
97
96
|
specification_version: 4
|
98
97
|
summary: plugins for jekyll theme no-style-please2
|
99
98
|
test_files: []
|
data/gem.gemspec
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require_relative "lib/version/version"
|
4
|
-
|
5
|
-
Gem::Specification.new do |spec|
|
6
|
-
spec.name = "no-style-please2-plugins"
|
7
|
-
spec.version = NoStylePlease2::VERSION
|
8
|
-
spec.authors = ["vitock"]
|
9
|
-
spec.email = [""]
|
10
|
-
|
11
|
-
spec.summary = "plugins for jekyll theme no-style-please2"
|
12
|
-
spec.description = "plugins for jekyll theme no-style-please2 . "
|
13
|
-
spec.homepage = "https://github.com/vitock/no-style-please2-plugins"
|
14
|
-
spec.required_ruby_version = ">= 2.6.0"
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
spec.metadata["homepage_uri"] = spec.homepage
|
19
|
-
spec.metadata["source_code_uri"] = "https://github.com/vitock/no-style-please2-plugins"
|
20
|
-
spec.metadata["changelog_uri"] = "https://github.com/vitock/no-style-please2-plugins/blob/main/LICENSE"
|
21
|
-
|
22
|
-
# Specify which files should be added to the gem when it is released.
|
23
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
24
|
-
spec.files = Dir.chdir(__dir__) do
|
25
|
-
`git ls-files -z`.split("\x0").reject do |f|
|
26
|
-
(f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
|
27
|
-
end
|
28
|
-
end
|
29
|
-
spec.bindir = "exe"
|
30
|
-
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
31
|
-
spec.require_paths = ["lib"]
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
spec.add_dependency "jekyll", "~>4.0"
|
36
|
-
spec.add_dependency "ltec", "~> 0.1.2"
|
37
|
-
# spec.add_dependency "salsa20", "~> 0.1.3"
|
38
|
-
spec.add_dependency "digest"
|
39
|
-
# Uncomment to register a new dependency of your gem
|
40
|
-
# spec.add_dependency "example-gem", "~> 1.0"
|
41
|
-
|
42
|
-
# For more information and examples about making a new gem, check out our
|
43
|
-
# guide at: https://bundler.io/guides/creating_gem.html
|
44
|
-
end
|