prick 0.39.3 → 0.39.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d7284658fc884c598ceaab22482671eaaabfac49a014ad52af9a5e5da266d12f
4
- data.tar.gz: bd7355b17aead0e95d971aa0235d64ebfea45bb0585dbafb2f33db3c70a1eb0f
3
+ metadata.gz: 888a20d35a47374c679c6873745178b8acf04b09456aadcb9fe0e209ca05cc07
4
+ data.tar.gz: e81e47532215e591b649a62a151c677629d1729ac3111f571cf45de602ad235f
5
5
  SHA512:
6
- metadata.gz: 45433be3c8278c556c26be157a8dfd91eae168d6df7d71788ecce7f51a5a710193c24d33043d892a2492016d475e47b33745794c36cfbeae4171f792fa22e4df
7
- data.tar.gz: 28f1e47f5253678b69301b26fc797aafcc88dbe46832441fec670f4f9ec9bbee38c3a0c1f2b35703fd83752f3eb821a6cacc424f2ec7766a1c226cd5055049f4
6
+ metadata.gz: 46c77f63b94c26df5be5eced5a89e7ba3cb9b61e7da731ac59a8ab6355b207da22fda864c0887def0a7c11ec804f4ca6c9dba3b8939b2c5553f2e44633957e53
7
+ data.tar.gz: 954529efb4cb7f3f78ec6d0de8f69f42871ecd739412762f60ab06a7c25ac317e14827815afd9007568f80efe49e6507703c9eaf2fe0d09c54e23495f82aa417
@@ -135,13 +135,6 @@ module Prick
135
135
  analyze
136
136
  end
137
137
 
138
- def undent(s)
139
- s = s[1..] if s[0] == "\n"
140
- s =~ /^(\s*)\S$/m
141
- indent = $1
142
- s.gsub(/^#{indent}/m, "")
143
- end
144
-
145
138
  def bash_environment
146
139
 
147
140
  end
@@ -159,7 +152,7 @@ module Prick
159
152
 
160
153
  puts "### SCRIPT by #{File.basename(__FILE__)}"
161
154
 
162
- puts undent %(
155
+ puts %(
163
156
 
164
157
  ## STACK METHODS - ChatGPT
165
158
 
@@ -178,7 +171,7 @@ module Prick
178
171
  function super() {
179
172
  eval ${super_stack[-1]}
180
173
  }
181
- )
174
+ ).align
182
175
 
183
176
  puts "## ENVIRONMENT METHODS"
184
177
  puts
data/lib/prick/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Prick
4
- VERSION = "0.39.3"
4
+ VERSION = "0.39.4"
5
5
  end
data/lib/prick.rb CHANGED
@@ -3,12 +3,13 @@ require 'prick/version.rb'
3
3
  require 'pg_conn'
4
4
 
5
5
  require 'indented_io'
6
-
7
6
  require 'constrain'
8
- include Constrain
9
-
10
7
  require 'forward_to'
8
+ require 'string-text'
9
+
10
+ include Constrain
11
11
  include ForwardTo
12
+ include String::Text
12
13
 
13
14
  require 'fixture_fox'
14
15
 
data/prick.gemspec CHANGED
@@ -39,6 +39,7 @@ Gem::Specification.new do |spec|
39
39
  spec.add_dependency "pg_graph"
40
40
  spec.add_dependency "shellopts"
41
41
  spec.add_dependency "dsort"
42
+ spec.add_dependency "string-text"
42
43
 
43
44
  spec.add_development_dependency "ruby-prof"
44
45
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prick
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.39.3
4
+ version: 0.39.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claus Rasmussen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-06-05 00:00:00.000000000 Z
11
+ date: 2024-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: semantic
@@ -150,6 +150,20 @@ dependencies:
150
150
  - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: string-text
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
153
167
  - !ruby/object:Gem::Dependency
154
168
  name: ruby-prof
155
169
  requirement: !ruby/object:Gem::Requirement