peppermint 0.1.8 → 0.1.10

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: a6009680e190c414214c3576a0ad907fd364672f00f25353f611cde249f84764
4
- data.tar.gz: 42287fcb94245460625a6db8a54035359ec095c34a3fb14a688c4f5caf7982cf
3
+ metadata.gz: 143ea683f1bec491dcd5c21bdcace0db1d9ee796c5914e7d4c19b0cb5698195c
4
+ data.tar.gz: c676b2344ec4fffea25620ab60834c21e31cbe0820134086333c2f8142576e01
5
5
  SHA512:
6
- metadata.gz: ca2ebc05de532510e3e292a29abc5e7e7a1cb6eb30eb9a2be513cfba0e370b954ab7d77630002197ba0e83bd3065536eb1bb600d08427d6352e62c0bcb1a71ab
7
- data.tar.gz: 3656b52adbadf5dbdbb6010bba08467bc775e971bc0da9be4dc7af5c907d362b6a8d0bd4a0bc8c68ddce4bca462f3f8b38dce95064fb2aea7cdf2cfad8542d95
6
+ metadata.gz: 7cd9c4bb64b6aaa24fd9aac7c01de730026df6dd733bfd5a79e93f44912b8512bdb694427417439addba8dc49cf2172026ee67abe37e118a2878a86da7e28097
7
+ data.tar.gz: dee367a6d07a7d368f0fef4e3cbcf2151346dbae5fd6b8f3c79c5e82eb46a50318cfd90173fa781aa23975c877055125f5833192cd423644ba118175d841c902
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- peppermint (0.1.8)
4
+ peppermint (0.1.10)
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/README.md CHANGED
@@ -10,7 +10,7 @@ _"A gem of a dev environment."_
10
10
  bundle add peppermint --group development
11
11
  ```
12
12
 
13
- 2. Put the following in your `Rakefile` as appropriate.
13
+ 2. Put the following in your `Rakefile`:
14
14
 
15
15
  ```ruby
16
16
  require "peppermint/rake"
@@ -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' \\) \
@@ -32,15 +33,15 @@ end
32
33
  desc "update those dev config files...."
33
34
  task :"peppermint:update" do
34
35
  [".solargraph.yml", ".rubocop.yml", ".standard.yml", ".rspec", ".ruby-version"].each do |filename|
35
- FileUtils.cp (File.expand_path File.join __dir__, "..", "..", "..", filename), Dir.pwd
36
+ FileUtils.cp (File.expand_path File.join __dir__, "..", "..", filename), Dir.pwd
36
37
  end
37
38
  if File.file? "package.json"
38
- FileUtils.cp (File.expand_path File.join __dir__, "..", "..", "..", "Caddyfile"), Dir.pwd
39
+ FileUtils.cp (File.expand_path File.join __dir__, "..", "..", "Caddyfile"), Dir.pwd
39
40
  end
40
41
  end
41
42
 
42
43
  desc "format this repo"
43
- task fmt: [:deps, :deno_fmt, :"ruby:fmt", :"rust:fmt", :"go:fmt", :"zig:fmt"]
44
+ task fmt: [:"peppermint:deps", :deno_fmt, :"ruby:fmt", :"rust:fmt", :"go:fmt", :"zig:fmt"]
44
45
 
45
46
  desc "fix this repo"
46
- task fix: [:deps, :fmt, :"ruby:fix", :"rust:fix", :"go:fix"]
47
+ 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.8"
3
+ VERSION = "0.1.10"
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: peppermint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - "'j'"
@@ -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