jekyll-discord-visualizer 1.1.3 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 60cbf4f56f9dcd7246d2241259fd4a2915ce0dadda8289b12a8e2c7e1a14f729
4
- data.tar.gz: 2b7a39a2a8a4105d2cfc48133fea798d93bd7c59e1c6d9fa17daccc118a3b4c6
3
+ metadata.gz: c994b5ca3f3ce25906894703b20a2d5eb385fe9bb9f1dff594a2fda5e90161b2
4
+ data.tar.gz: 27af867cfa03dc0eaace4251f332e56887bd0ef7bc55c6c28e036944c14ce635
5
5
  SHA512:
6
- metadata.gz: cd8f366dde9df144b7197c4924a37bec99a72878b6a7dbc278b75e70575eea92fbc67428787bd0caf3897bd926b9967c401bd73a54f9c8be5d365682690afe47
7
- data.tar.gz: c19edf4c7449a9ab5b15524ba9fd817ec738fe919b6fe5c22651608fa948a3a1610fc554ba5c8721f683a0596539363fab8031910b11c3a8388eb753d8cf67a4
6
+ metadata.gz: 489b4ff36c60881bca3d9372ffcd8fe089251e9b130e8f382cb584dc5035e226b09524d8d448a33079610818255a946db8937e5491124e1dcda5c4681cfb8c5b
7
+ data.tar.gz: fa10ab3cc16f548e21d44b289a8e606133c6d1a0b80d3150565c04050b73c448785f1c4a7aa1d0e0284917631cb88fa854f9cb54b38e24f6a825be5f0c56dd3d
data/extconf.rb ADDED
@@ -0,0 +1,9 @@
1
+ File.write("Makefile",
2
+ "install:
3
+ \techo \"Checking node is installed...\"
4
+ \tnode --version
5
+ \techo \"Installing npm dependencies...\"
6
+ \tnpm install
7
+ clean:
8
+ \trm -rf node_modules
9
+ ")
@@ -15,13 +15,11 @@ Gem::Specification.new do |spec|
15
15
  spec.license = "MIT"
16
16
 
17
17
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
- spec.files += ['ext/npm.rb']
19
- spec.require_paths = ["lib","ext"]
18
+ spec.require_paths = ["lib"]
20
19
 
21
- spec.extensions << 'ext/npm.rb'
20
+ spec.extensions = ["extconf.rb"]
22
21
 
23
22
  spec.add_dependency 'jekyll'
24
23
  spec.add_dependency 'open3'
25
24
  spec.add_development_dependency "bundler", "~> 2.1"
26
- spec.add_development_dependency "rake", "~> 10.0"
27
25
  end
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module DiscordVisualizer
3
- VERSION = "1.1.3"
3
+ VERSION = "1.1.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-discord-visualizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Douile
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-05 00:00:00.000000000 Z
11
+ date: 2022-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -52,26 +52,12 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '2.1'
55
- - !ruby/object:Gem::Dependency
56
- name: rake
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '10.0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '10.0'
69
55
  description: jekyll plugin to generate html snippets for embedding Discord messages
70
56
  email:
71
57
  - 25043847+Douile@users.noreply.github.com
72
58
  executables: []
73
59
  extensions:
74
- - ext/npm.rb
60
+ - extconf.rb
75
61
  extra_rdoc_files: []
76
62
  files:
77
63
  - ".github/workflows/gemdeploy.yml"
@@ -80,7 +66,7 @@ files:
80
66
  - Gemfile
81
67
  - LICENSE
82
68
  - Rakefile
83
- - ext/npm.rb
69
+ - extconf.rb
84
70
  - jekyll-discord-visualizer.gemspec
85
71
  - lib/jekyll-discord-visualizer.rb
86
72
  - lib/jekyll-discord-visualizer/version.rb
@@ -94,7 +80,6 @@ post_install_message:
94
80
  rdoc_options: []
95
81
  require_paths:
96
82
  - lib
97
- - ext
98
83
  required_ruby_version: !ruby/object:Gem::Requirement
99
84
  requirements:
100
85
  - - ">="
data/ext/npm.rb DELETED
@@ -1,5 +0,0 @@
1
- require "open3"
2
-
3
- status_list = Open3.pipeline([{"NODE_ENV"=>"production"}, "npm", "ci"], ["node", "--version"])
4
-
5
- raise "Unable to install dependencies, check you have npm and nodejs installed" if status_list.any? { |x| x != 0 }