prick 0.40.0 → 0.40.1

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: e6f8ea8c479a4482f6b26e33c9e83a0f61ab6078d715a014124c34d11b0ff66a
4
- data.tar.gz: a4fbc9c66bee4866dc51c99068f835ded7c53dbceb4eedc6d5c4df61d3709c2b
3
+ metadata.gz: bed31b32457d15c5393b4b3edfdb2f338e069b058fde44f5fb32677161c6ae08
4
+ data.tar.gz: 0d5a5310477c17b1ef31ff8124b190ea9625fec2e54637f53c8988af229f29ea
5
5
  SHA512:
6
- metadata.gz: 4d3a33f458512e93fc42bf28abf4fff87fbb82c648b657207546a24962f0c9f27356cafd988a7411ab4a969c228155ed6992de781827ee16e7d70e9b711b4574
7
- data.tar.gz: a38e125d8ca682a03a712fd911e89bf9190e5709dfdd5d449607b572e3e1e15e8f1bac3f903d6b8deeae715176203a6265201cd840aaac124c0e1043a991766d
6
+ metadata.gz: 5434d7ba61b03b67756e8ec89dbf2eeec58f17cc87d1f14fe8f7787bf6d448ef8cd3c2bb3ac2df9464ba86128b12ed3d824f1286a36b5d3284043779286b84dc
7
+ data.tar.gz: 8c99d17d014c9e8de628f043ede068c260188af26975da2a136882d84171a862dddd3defdacf697839b723d75c0ae7ca569f0b26323e4063aac7ed2ea222d598
@@ -216,29 +216,6 @@ module Prick
216
216
  alias_method :execute, :execute_system
217
217
  end
218
218
 
219
- class RequireNode < ExecutableNode
220
- def read_source
221
- sql = execute_command
222
- @source_lines = 1 + 1 + sql.count("\n")
223
- ["set search_path to #{schema}, pg_temp", sql.join("\n")]
224
- end
225
-
226
- def execute_command
227
- execute {
228
- Command.inline(Prick.state.bash_environment, path, argv: args)
229
- }
230
- end
231
- end
232
-
233
- class CommandNode < ExecutableNode
234
- protected
235
- def execute_command
236
- execute {
237
- Command.command(Prick.state.bash_environment, command)
238
- }
239
- end
240
- end
241
-
242
219
  # EvalNode executes the command and feeds the output into the database
243
220
  class SysEvalNode < SystemCommandNode
244
221
  alias_method :read_source, :read_cmd
@@ -130,9 +130,6 @@ module Prick
130
130
  command = args.shift
131
131
  klass && command or raise "Illegal number of arguments: #{value}"
132
132
  ModuleNode.new(unit, phase, path, klass, command, args)
133
- when "require"
134
- (path, args = parse_file_entry(unit, dir, value)) or return nil
135
- RequireNode.new(unit, phase, path, args)
136
133
  when "eval"
137
134
  (path, args = parse_file_entry(unit, dir, value)) or return nil
138
135
  EvalNode.new(unit, phase, path, args)
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.40.0"
4
+ VERSION = "0.40.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prick
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.40.0
4
+ version: 0.40.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claus Rasmussen