peppermint 0.1.9 → 0.1.11

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: 31f1531c73926017b56e9e79acd2bd16254121715a6323ec195ebb184c728d82
4
- data.tar.gz: 7bbf4017a00d7e4de3f88b4af1fa24d2a18efdb504bb13edac86ee94f623462b
3
+ metadata.gz: f453d18434225ca79f63687574aa5f18571488fc5220b315380162e788dfd3d7
4
+ data.tar.gz: d69ff41640ba601c2561c4e0f05d72eaec293fb0b94bd1768c983d0f0d9725f2
5
5
  SHA512:
6
- metadata.gz: 31d1995ff49e2af344934cfc1149a03856d8a53a4d40348a1b0989d39c84991396611e4e6404f515bec197a7c55e02793ef99bfd5046fc72bf10d8457a101445
7
- data.tar.gz: 3fda6c0a2049be8a315d942f9c9926ab9a8a2000029f13b25e51c68aeb44379569f269770a99231678238edc481a64abbba3ccfd0b35bb8ebfa27854cb10f493
6
+ metadata.gz: 90a1ee91b775fe737c04adeda4f71899544fd3c93a7e49f8b105dbe249d4a520aefe3456e686d9d4cbf817108dc7a101b37e59f1c776aec743940cfa3413762b
7
+ data.tar.gz: 0ef6dd04ac4a3b0bce2eb2ce6c8144b8616500410dd7e31967ce4305e6ee6771caffab17501eaab7681d9481cd6efb6e0fb60fea8a2e507e9db2e79b73169c66
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- peppermint (0.1.9)
4
+ peppermint (0.1.11)
5
5
  pry-byebug (~> 3.10)
6
6
  rake (~> 13.1)
7
7
  rdoc (~> 6.6)
@@ -11,7 +11,6 @@ PATH
11
11
  rubocop-rspec (~> 2.25)
12
12
  solargraph (~> 0.50)
13
13
  standard (~> 1.3)
14
- toml-rb (~> 2.2)
15
14
  yard (~> 0.9)
16
15
 
17
16
  GEM
@@ -21,7 +20,6 @@ GEM
21
20
  backport (1.2.0)
22
21
  benchmark (0.3.0)
23
22
  byebug (11.1.3)
24
- citrus (3.0.2)
25
23
  coderay (1.1.3)
26
24
  diff-lcs (1.5.0)
27
25
  e2mmap (0.1.0)
@@ -129,8 +127,6 @@ GEM
129
127
  stringio (3.1.0)
130
128
  thor (1.3.0)
131
129
  tilt (2.3.0)
132
- toml-rb (2.2.0)
133
- citrus (~> 3.0, > 3.0)
134
130
  unicode-display_width (2.5.0)
135
131
  yard (0.9.34)
136
132
 
data/biome.json ADDED
@@ -0,0 +1,17 @@
1
+ {
2
+ "css": {
3
+ "formatter": {
4
+ "indentStyle": "space"
5
+ }
6
+ },
7
+ "json": {
8
+ "formatter": {
9
+ "indentStyle": "space"
10
+ }
11
+ },
12
+ "javascript": {
13
+ "formatter": {
14
+ "indentStyle": "space"
15
+ }
16
+ }
17
+ }
@@ -9,6 +9,8 @@ task :"go:fmt" do
9
9
  find . \\( -not -path '*/target/*' \\) \
10
10
  -and \\( -not -path '*/node_modules/*' \\) \
11
11
  -and \\( -not -path '*/dist/*' \\) \
12
+ -and \\( -not -path '*/vendor/*' \\) \
13
+ -and \\( -not -path '*/tmp/*' \\) \
12
14
  -and \\( -not -path '*/doc/*' \\) \
13
15
  -and \\( -name '*.go' \\) \
14
16
  -and -type f | xargs -r go fmt
@@ -25,7 +25,7 @@ task :gwenGPT do
25
25
  .each_slice(3) { |row|
26
26
  if row.length == 3
27
27
  _, msg = Peppermint::GwenGPT.lint(row[1], row[2])
28
- print "%-10s%-40s%-30s\n" % ([row[0], row[1], msg].map { |s| s.strip })
28
+ print "%-10s%-60s%-30s\n" % ([row[0], row[1], msg].map { |s| s.strip })
29
29
  end
30
30
  }
31
31
  end
@@ -1,24 +1,8 @@
1
1
  require "rake"
2
- require "toml-rb"
3
2
 
4
3
  module Peppermint
5
4
  end
6
5
 
7
- desc "development build"
8
- task :"rust:build_dev" do
9
- cargo = TomlRB.load_file("./Cargo.toml")
10
- ENV["PEPPERMINT_VERSION"] = cargo["package"]["version"] + "-" + `git rev-parse --short HEAD`.chop
11
- sh "cargo build"
12
- end
13
-
14
- desc "release build"
15
- task :"rust:build_release" do
16
- cargo = TomlRB.load_file("./Cargo.toml")
17
- ENV["PEPPERMINT_VERSION"] = cargo["package"]["version"] + "-" + `git rev-parse --short HEAD`.chop
18
- sh "cargo build -r"
19
- end
20
-
21
- desc "install dependencies"
22
6
  task :"rust:deps" do
23
7
  sh "command -v cargo || curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh" \
24
8
  if File.file? "Cargo.toml"
@@ -9,6 +9,8 @@ task :"zig:fmt" do
9
9
  find . \\( -not -path '*/target/*' \\) \
10
10
  -and \\( -not -path '*/node_modules/*' \\) \
11
11
  -and \\( -not -path '*/dist/*' \\) \
12
+ -and \\( -not -path '*/vendor/*' \\) \
13
+ -and \\( -not -path '*/tmp/*' \\) \
12
14
  -and \\( -not -path '*/doc/*' \\) \
13
15
  -and \\( -name '*.zig' \\) \
14
16
  -and -type f | xargs -r zig fmt
@@ -10,16 +10,17 @@ module Peppermint
10
10
  end
11
11
 
12
12
  desc "install peppermint dependencies"
13
- task deps: [:"rust:deps"] do
13
+ task "peppermint:deps": [:"rust:deps"] do
14
14
  sh "command -v deno || curl -fsSL https://deno.land/x/install/install.sh | sh"
15
15
  end
16
16
 
17
- # desc "run deno fmt"
18
17
  task :deno_fmt do
19
18
  sh <<~SHELL
20
19
  find . \\( -not -path '*/target/*' \\) \
21
20
  -and \\( -not -path '*/node_modules/*' \\) \
22
21
  -and \\( -not -path '*/dist/*' \\) \
22
+ -and \\( -not -path '*/vendor/*' \\) \
23
+ -and \\( -not -path '*/tmp/*' \\) \
23
24
  -and \\( -not -path '*/doc/*' \\) \
24
25
  -and \\( -name '*.json' -o -name '*.md' -o -name '*.js' \
25
26
  -o -name '*.ts' -o -name '*.jsx' -o -name '*.tsx' \\) \
@@ -31,7 +32,8 @@ end
31
32
 
32
33
  desc "update those dev config files...."
33
34
  task :"peppermint:update" do
34
- [".solargraph.yml", ".rubocop.yml", ".standard.yml", ".rspec", ".ruby-version"].each do |filename|
35
+ [".solargraph.yml", ".rubocop.yml", ".standard.yml", ".rspec", ".ruby-version",
36
+ "biome.json"].each do |filename|
35
37
  FileUtils.cp (File.expand_path File.join __dir__, "..", "..", filename), Dir.pwd
36
38
  end
37
39
  if File.file? "package.json"
@@ -40,7 +42,7 @@ task :"peppermint:update" do
40
42
  end
41
43
 
42
44
  desc "format this repo"
43
- task fmt: [:deps, :deno_fmt, :"ruby:fmt", :"rust:fmt", :"go:fmt", :"zig:fmt"]
45
+ task fmt: [:"peppermint:deps", :deno_fmt, :"ruby:fmt", :"rust:fmt", :"go:fmt", :"zig:fmt"]
44
46
 
45
47
  desc "fix this repo"
46
- task fix: [:deps, :fmt, :"ruby:fix", :"rust:fix", :"go:fix"]
48
+ task fix: [:"peppermint:deps", :fmt, :"ruby:fix", :"rust:fix", :"go:fix"]
@@ -1,4 +1,4 @@
1
1
  module Peppermint
2
2
  GEM_NAME = File.basename(__dir__)
3
- VERSION = "0.1.9"
3
+ VERSION = "0.1.11"
4
4
  end
data/peppermint.gemspec CHANGED
@@ -30,7 +30,6 @@ Gem::Specification.new do |spec|
30
30
  spec.add_dependency "rubocop-rspec", "~> 2.25"
31
31
  spec.add_dependency "solargraph", "~> 0.50"
32
32
  spec.add_dependency "standard", "~> 1.3"
33
- spec.add_dependency "toml-rb", "~> 2.2"
34
33
  spec.add_dependency "yard", "~> 0.9"
35
34
 
36
35
  ### BEGIN: DO NOT EDIT ###
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: peppermint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - "'j'"
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-04-27 00:00:00.000000000 Z
11
+ date: 2024-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry-byebug
@@ -136,20 +136,6 @@ dependencies:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
138
  version: '1.3'
139
- - !ruby/object:Gem::Dependency
140
- name: toml-rb
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - "~>"
144
- - !ruby/object:Gem::Version
145
- version: '2.2'
146
- type: :runtime
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - "~>"
151
- - !ruby/object:Gem::Version
152
- version: '2.2'
153
139
  - !ruby/object:Gem::Dependency
154
140
  name: yard
155
141
  requirement: !ruby/object:Gem::Requirement
@@ -187,6 +173,7 @@ files:
187
173
  - LICENSE
188
174
  - README.md
189
175
  - Rakefile
176
+ - biome.json
190
177
  - doc/Peppermint.html
191
178
  - doc/Peppermint/GwenGPT.html
192
179
  - doc/_index.html
@@ -232,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
232
219
  - !ruby/object:Gem::Version
233
220
  version: '0'
234
221
  requirements: []
235
- rubygems_version: 3.5.9
222
+ rubygems_version: 3.5.11
236
223
  signing_key:
237
224
  specification_version: 4
238
225
  summary: A Gem of a dev environment