peppermint 0.1.6 → 0.1.7

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: 28e534602862174173188bb5444978a75a4c37bf52a8a1ae37240c0b7d3f62f2
4
- data.tar.gz: 9706c6c6652cfab2455755ad5c1ccde87ce83cb8f9c6db12a3e1e2a76d6655db
3
+ metadata.gz: 9704dc6072f7d45f814a63659f782d3b775af412a333f48299b7fd48fbe11605
4
+ data.tar.gz: 02b6b8c94240c08bd3de32f171170b2661b42cf78e329367ae79d5084f902d7e
5
5
  SHA512:
6
- metadata.gz: 39525c3489035d86278de71140f614d1029317650f8c760b73c7c47b3e85cdc5fba95fbf5a293b3311a9273b8c9aae664551d3d22a539d6912c0f50e91ecd391
7
- data.tar.gz: 3fceed6b4919745509b46f11d14c037f0978d21d84defb5175b1c3a5742d1e6d0f3e238b84d80b9ae880f7ddddd1e9c18259c243248f797f510bbfc6c20fe83a
6
+ metadata.gz: be98ae10d9f06a1ef11abfc9caf18fd8e32bea78924ed4fba00a3a7c5affbebf87a169ed68545a4e037de52a71adfdb7acb3f4a94b15d95422191e786993f276
7
+ data.tar.gz: 0a710a4bf513a7779c327596fce7dc5f9e1c8e8d407e6fded575e39f4723e4d1268cfbf83b7311846c1b7e94b69f592bee46dc5caaf41b87bb021ef8c7a97169
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.2.2
1
+ 3.3.1
data/.standard.yml CHANGED
@@ -1,3 +1,3 @@
1
1
  # For available configuration options, see:
2
2
  # https://github.com/testdouble/standard
3
- ruby_version: 3.2
3
+ ruby_version: 3.3
data/.yardoc/checksums ADDED
@@ -0,0 +1,6 @@
1
+ lib/peppermint.rb d43723104f95b1eb9d1fed6e8b8609b0a0bb5da0
2
+ lib/peppermint/version.rb 8c30bddb3f716ce5fef95a76349dd4f8a10f9cd6
3
+ lib/peppermint/rake/ruby.rb 2f60aa041a643f64a8b109d821c4c4e20d410dc5
4
+ lib/peppermint/rake/rust.rb aaf5bd1995849e9c8abc53276c4411f83219849f
5
+ lib/peppermint/rake/shared.rb fa0037a1c9450d62b91b8da81c6001cad2b8954d
6
+ lib/peppermint/rake/gwenGPT.rb 81196fa2c3a3c8fe9aa68b6f944a683e7839aae8
data/.yardoc/complete ADDED
File without changes
Binary file
Binary file
Binary file
data/Caddyfile ADDED
@@ -0,0 +1,4 @@
1
+ http://localhost:50000 {
2
+ reverse_proxy /api/* localhost:50001
3
+ reverse_proxy localhost:5173
4
+ }
data/Gemfile CHANGED
@@ -3,16 +3,3 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gemspec
6
-
7
- group :development do
8
- gem "pry-byebug"
9
- gem "rake", "~> 13.0"
10
- gem "rdoc"
11
- gem "rspec"
12
- gem "rubocop", require: false
13
- gem "rubocop-rake", require: false
14
- gem "rubocop-rspec", require: false
15
- gem "solargraph"
16
- gem "standard", "~> 1.3", require: false
17
- gem "yard"
18
- end
data/Gemfile.lock CHANGED
@@ -1,18 +1,18 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- peppermint (0.1.6)
5
- pry-byebug
6
- rake (~> 13.0)
7
- rdoc
8
- rspec
9
- rubocop
10
- rubocop-rake
11
- rubocop-rspec
12
- solargraph
4
+ peppermint (0.1.7)
5
+ pry-byebug (~> 3.10)
6
+ rake (~> 13.1)
7
+ rdoc (~> 6.6)
8
+ rspec (~> 3.12)
9
+ rubocop (~> 1.57)
10
+ rubocop-rake (~> 0.6)
11
+ rubocop-rspec (~> 2.25)
12
+ solargraph (~> 0.50)
13
13
  standard (~> 1.3)
14
- toml-rb
15
- yard
14
+ toml-rb (~> 2.2)
15
+ yard (~> 0.9)
16
16
 
17
17
  GEM
18
18
  remote: https://rubygems.org/
@@ -34,7 +34,7 @@ GEM
34
34
  language_server-protocol (3.17.0.3)
35
35
  lint_roller (1.1.0)
36
36
  method_source (1.0.0)
37
- nokogiri (1.15.5-x86_64-linux)
37
+ nokogiri (1.16.2-x86_64-linux)
38
38
  racc (~> 1.4)
39
39
  parallel (1.24.0)
40
40
  parser (3.2.2.4)
@@ -139,16 +139,6 @@ PLATFORMS
139
139
 
140
140
  DEPENDENCIES
141
141
  peppermint!
142
- pry-byebug
143
- rake (~> 13.0)
144
- rdoc
145
- rspec
146
- rubocop
147
- rubocop-rake
148
- rubocop-rspec
149
- solargraph
150
- standard (~> 1.3)
151
- yard
152
142
 
153
143
  BUNDLED WITH
154
144
  2.4.19
data/README.md CHANGED
@@ -4,21 +4,11 @@ _"A gem of a dev environment."_
4
4
 
5
5
  # Installation
6
6
 
7
- 1. Put this in your `Gemfile`:
8
-
9
7
  ```ruby
10
- group :development do
11
- gem "peppermint", git: "https://github.com/janie314/peppermint"
12
- end
13
- ```
14
-
15
- 2. Run:
16
-
17
- ```bash
18
- bundle
8
+ bundle add peppermint --group development
19
9
  ```
20
10
 
21
- 3. Put one of the following in your `Rakefile` as appropriate.
11
+ 2. Put one of the following in your `Rakefile` as appropriate.
22
12
 
23
13
  ```ruby
24
14
  require "peppermint/rake/ruby"
@@ -30,21 +20,15 @@ or
30
20
  require "peppermint/rake/rust"
31
21
  ```
32
22
 
33
- 4. Pull down config files.
23
+ 3. Pull down config files.
34
24
 
35
25
  ```bash
36
- bundle exec rake update_devel_config
26
+ bundle exec rake peppermint:update
37
27
  ```
38
28
 
39
29
  # Update
40
30
 
41
31
  ```bash
42
32
  bundle update peppermint
43
- bundle exec rake update_devel_config
44
- ```
45
-
46
- # Usage
47
-
48
- ```bash
49
- bundle exec rake --tasks
33
+ bundle exec rake peppermint:update
50
34
  ```
data/Rakefile CHANGED
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "lib/peppermint/rake/ruby"
3
+ require_relative "lib/peppermint/rake/shared"
4
+
4
5
  task default: :fmt
@@ -0,0 +1,214 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: Peppermint::GwenGPT
8
+
9
+ &mdash; Documentation by YARD 0.9.34
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ pathId = "Peppermint::GwenGPT";
19
+ relpath = '../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../_index.html">Index (G)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../Peppermint.html" title="Peppermint (module)">Peppermint</a></span></span>
41
+ &raquo;
42
+ <span class="title">GwenGPT</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Class: Peppermint::GwenGPT
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName">Object</span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next">Peppermint::GwenGPT</li>
78
+
79
+ </ul>
80
+ <a href="#" class="inheritanceTree">show all</a>
81
+
82
+ </dd>
83
+ </dl>
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+ <dl>
96
+ <dt>Defined in:</dt>
97
+ <dd>lib/peppermint/rake/gwenGPT.rb</dd>
98
+ </dl>
99
+
100
+ </div>
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+ <h2>
111
+ Class Method Summary
112
+ <small><a href="#" class="summary_toggle">collapse</a></small>
113
+ </h2>
114
+
115
+ <ul class="summary">
116
+
117
+ <li class="public ">
118
+ <span class="summary_signature">
119
+
120
+ <a href="#lint-class_method" title="lint (class method)">.<strong>lint</strong>(subj, body) &#x21d2; Object </a>
121
+
122
+
123
+
124
+ </span>
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+ <span class="summary_desc"><div class='inline'></div></span>
135
+
136
+ </li>
137
+
138
+
139
+ </ul>
140
+
141
+
142
+
143
+
144
+ <div id="class_method_details" class="method_details_list">
145
+ <h2>Class Method Details</h2>
146
+
147
+
148
+ <div class="method_details first">
149
+ <h3 class="signature first" id="lint-class_method">
150
+
151
+ .<strong>lint</strong>(subj, body) &#x21d2; <tt>Object</tt>
152
+
153
+
154
+
155
+
156
+
157
+ </h3><table class="source_code">
158
+ <tr>
159
+ <td>
160
+ <pre class="lines">
161
+
162
+
163
+ 3
164
+ 4
165
+ 5
166
+ 6
167
+ 7
168
+ 8
169
+ 9
170
+ 10
171
+ 11
172
+ 12
173
+ 13
174
+ 14
175
+ 15
176
+ 16
177
+ 17</pre>
178
+ </td>
179
+ <td>
180
+ <pre class="code"><span class="info file"># File 'lib/peppermint/rake/gwenGPT.rb', line 3</span>
181
+
182
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_lint'>lint</span><span class='lparen'>(</span><span class='id identifier rubyid_subj'>subj</span><span class='comma'>,</span> <span class='id identifier rubyid_body'>body</span><span class='rparen'>)</span>
183
+ <span class='kw'>if</span> <span class='id identifier rubyid_subj'>subj</span><span class='period'>.</span><span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>[[:punct:]]$</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span>
184
+ <span class='lbracket'>[</span><span class='kw'>false</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>cannot end with punctuation</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span>
185
+ <span class='kw'>elsif</span> <span class='id identifier rubyid_subj'>subj</span><span class='period'>.</span><span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^[a-z]</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span>
186
+ <span class='lbracket'>[</span><span class='kw'>false</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>cannot start with lowercase letter</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span>
187
+ <span class='kw'>elsif</span> <span class='id identifier rubyid_subj'>subj</span><span class='period'>.</span><span class='id identifier rubyid_length'>length</span> <span class='op'>&gt;</span> <span class='int'>120</span>
188
+ <span class='lbracket'>[</span><span class='kw'>false</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>subject too long</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span>
189
+ <span class='kw'>elsif</span> <span class='id identifier rubyid_subj'>subj</span><span class='period'>.</span><span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^[[:digit:]]*$</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span>
190
+ <span class='lbracket'>[</span><span class='kw'>false</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>no fastgit</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span>
191
+ <span class='kw'>elsif</span> <span class='id identifier rubyid_body'>body</span><span class='period'>.</span><span class='id identifier rubyid_count'>count</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>\n</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='op'>&gt;</span> <span class='int'>4</span>
192
+ <span class='lbracket'>[</span><span class='kw'>false</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>large body</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span>
193
+ <span class='kw'>else</span>
194
+ <span class='lbracket'>[</span><span class='kw'>true</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>fine</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span>
195
+ <span class='kw'>end</span>
196
+ <span class='kw'>end</span></pre>
197
+ </td>
198
+ </tr>
199
+ </table>
200
+ </div>
201
+
202
+ </div>
203
+
204
+ </div>
205
+
206
+ <div id="footer">
207
+ Generated on Sat Apr 27 11:08:49 2024 by
208
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
209
+ 0.9.34 (ruby-3.3.1).
210
+ </div>
211
+
212
+ </div>
213
+ </body>
214
+ </html>
@@ -0,0 +1,138 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Module: Peppermint
8
+
9
+ &mdash; Documentation by YARD 0.9.34
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ pathId = "Peppermint";
19
+ relpath = '';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="_index.html">Index (P)</a> &raquo;
40
+
41
+
42
+ <span class="title">Peppermint</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Module: Peppermint
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+ <dl>
80
+ <dt>Defined in:</dt>
81
+ <dd>lib/peppermint.rb<span class="defines">,<br />
82
+ lib/peppermint/version.rb,<br /> lib/peppermint/rake/rust.rb,<br /> lib/peppermint/rake/shared.rb,<br /> lib/peppermint/rake/gwenGPT.rb</span>
83
+ </dd>
84
+ </dl>
85
+
86
+ </div>
87
+
88
+ <h2>Defined Under Namespace</h2>
89
+ <p class="children">
90
+
91
+
92
+
93
+
94
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="Peppermint/GwenGPT.html" title="Peppermint::GwenGPT (class)">GwenGPT</a></span>
95
+
96
+
97
+ </p>
98
+
99
+
100
+ <h2>
101
+ Constant Summary
102
+ <small><a href="#" class="constants_summary_toggle">collapse</a></small>
103
+ </h2>
104
+
105
+ <dl class="constants">
106
+
107
+ <dt id="GEM_NAME-constant" class="">GEM_NAME =
108
+
109
+ </dt>
110
+ <dd><pre class="code"><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_basename'>basename</span><span class='lparen'>(</span><span class='id identifier rubyid___dir__'>__dir__</span><span class='rparen'>)</span></pre></dd>
111
+
112
+ <dt id="VERSION-constant" class="">VERSION =
113
+
114
+ </dt>
115
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>0.1.7</span><span class='tstring_end'>&quot;</span></span></pre></dd>
116
+
117
+ </dl>
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+ </div>
129
+
130
+ <div id="footer">
131
+ Generated on Sat Apr 27 11:08:49 2024 by
132
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
133
+ 0.9.34 (ruby-3.3.1).
134
+ </div>
135
+
136
+ </div>
137
+ </body>
138
+ </html>
data/doc/_index.html ADDED
@@ -0,0 +1,122 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Documentation by YARD 0.9.34
8
+
9
+ </title>
10
+
11
+ <link rel="stylesheet" href="css/style.css" type="text/css" />
12
+
13
+ <link rel="stylesheet" href="css/common.css" type="text/css" />
14
+
15
+ <script type="text/javascript">
16
+ pathId = null;
17
+ relpath = '';
18
+ </script>
19
+
20
+
21
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
22
+
23
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
24
+
25
+
26
+ </head>
27
+ <body>
28
+ <div class="nav_wrap">
29
+ <iframe id="nav" src="class_list.html?1"></iframe>
30
+ <div id="resizer"></div>
31
+ </div>
32
+
33
+ <div id="main" tabindex="-1">
34
+ <div id="header">
35
+ <div id="menu">
36
+
37
+ </div>
38
+
39
+ <div id="search">
40
+
41
+ <a class="full_list_link" id="class_list_link"
42
+ href="class_list.html">
43
+
44
+ <svg width="24" height="24">
45
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
46
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
47
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
48
+ </svg>
49
+ </a>
50
+
51
+ </div>
52
+ <div class="clear"></div>
53
+ </div>
54
+
55
+ <div id="content"><h1 class="noborder title">Documentation by YARD 0.9.34</h1>
56
+ <div id="listing">
57
+ <h1 class="alphaindex">Alphabetic Index</h1>
58
+
59
+ <h2>File Listing</h2>
60
+ <ul id="files" class="index_inline_list">
61
+
62
+
63
+ <li class="r1"><a href="index.html" title="README">README</a></li>
64
+
65
+
66
+ </ul>
67
+
68
+ <div class="clear"></div>
69
+ <h2>Namespace Listing A-Z</h2>
70
+
71
+
72
+
73
+
74
+ <table>
75
+ <tr>
76
+ <td valign='top' width="33%">
77
+
78
+
79
+ <ul id="alpha_G" class="alpha">
80
+ <li class="letter">G</li>
81
+ <ul>
82
+
83
+ <li>
84
+ <span class='object_link'><a href="Peppermint/GwenGPT.html" title="Peppermint::GwenGPT (class)">GwenGPT</a></span>
85
+
86
+ <small>(Peppermint)</small>
87
+
88
+ </li>
89
+
90
+ </ul>
91
+ </ul>
92
+
93
+
94
+ <ul id="alpha_P" class="alpha">
95
+ <li class="letter">P</li>
96
+ <ul>
97
+
98
+ <li>
99
+ <span class='object_link'><a href="Peppermint.html" title="Peppermint (module)">Peppermint</a></span>
100
+
101
+ </li>
102
+
103
+ </ul>
104
+ </ul>
105
+
106
+ </td>
107
+ </tr>
108
+ </table>
109
+
110
+ </div>
111
+
112
+ </div>
113
+
114
+ <div id="footer">
115
+ Generated on Sat Apr 27 11:08:49 2024 by
116
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
117
+ 0.9.34 (ruby-3.3.1).
118
+ </div>
119
+
120
+ </div>
121
+ </body>
122
+ </html>