prick 0.50.0 → 0.50.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 +4 -4
- data/exe/prick +0 -13
- data/lib/prick/builder/parser.rb +6 -1
- data/lib/prick/subcommand/prick-create.rb +4 -0
- data/lib/prick/version.rb +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 68bb7f33b6d395019f2afa888f6c6c3714fba2b70b0a703501cbce4a558eac95
|
|
4
|
+
data.tar.gz: f5d2592e29c7b82a02f45b90320726f78b485ffb8375992cbabf789508e401a8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '0709281eb8c78ee81987b2028563f420ce138601591d82c0891d90a9e5d14996bf334c456d44edf3d29d768a760ef1885f9a49574469df1fa2194e9b90a51bbc'
|
|
7
|
+
data.tar.gz: f3fea3af273501eef255e5e9c6fe96c2a38e459ae19dd347880f00f1509b7f41733fd1b6c3f435197fe95c0fcb05164d789bb3d8cb75d4b070ad261f01a7c0e2
|
data/exe/prick
CHANGED
|
@@ -1,18 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
2
|
|
|
3
|
-
#require 'bootsnap'
|
|
4
|
-
#begin
|
|
5
|
-
# cache_dir = "/run/user/" + `id -u`.chomp
|
|
6
|
-
# Bootsnap.setup(
|
|
7
|
-
# cache_dir: cache_dir, # Path to your cache
|
|
8
|
-
# development_mode: true, # Current working environment, e.g. RACK_ENV, RAILS_ENV, etc
|
|
9
|
-
# load_path_cache: true, # Optimize the LOAD_PATH with a cache
|
|
10
|
-
# compile_cache_iseq: true, # Compile Ruby code into ISeq cache, breaks coverage reporting.
|
|
11
|
-
# compile_cache_yaml: true # Compile YAML into a cache
|
|
12
|
-
# )
|
|
13
|
-
# # Bootsnap.instrumentation = ->(event, path) { puts "#{event} #{path}" }
|
|
14
|
-
#end
|
|
15
|
-
|
|
16
3
|
require 'shellopts'
|
|
17
4
|
|
|
18
5
|
# Start time of prick. Used in make and build to compute duration of the whole
|
data/lib/prick/builder/parser.rb
CHANGED
|
@@ -235,7 +235,12 @@ module Prick
|
|
|
235
235
|
#
|
|
236
236
|
def expand_filename(dir, filename)
|
|
237
237
|
envs = Prick.state.environments
|
|
238
|
-
|
|
238
|
+
name = Prick.state.environment
|
|
239
|
+
!name.nil? or Prick.error "No environment set"
|
|
240
|
+
!envs.nil? or Prick.error "Can't find environment '#{name}' - " \
|
|
241
|
+
"no #{Prick.state.environment_file || 'environment file'}"
|
|
242
|
+
env = envs[name] or Prick.error "Unknown environment '#{name}' - " \
|
|
243
|
+
"not defined in #{Prick.state.environment_file}"
|
|
239
244
|
bash_vars = Prick.state.bash_environment.dup
|
|
240
245
|
|
|
241
246
|
last = nil
|
|
@@ -25,6 +25,10 @@ module Prick
|
|
|
25
25
|
# Setup prick schema. Used when we rebuild the prick schema without
|
|
26
26
|
# disconnecting users
|
|
27
27
|
def self.build_prick(conn, environment)
|
|
28
|
+
# Make the environment visible to the builder. Needed when there is no
|
|
29
|
+
# state file (eg. in a fresh checkout)
|
|
30
|
+
Prick.state.environment = environment if environment
|
|
31
|
+
|
|
28
32
|
# Create schema
|
|
29
33
|
conn.schema.create("prick")
|
|
30
34
|
|
data/lib/prick/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: prick
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.50.
|
|
4
|
+
version: 0.50.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Claus Rasmussen
|
|
8
|
+
autorequire:
|
|
8
9
|
bindir: exe
|
|
9
10
|
cert_chain: []
|
|
10
|
-
date:
|
|
11
|
+
date: 2026-09-28 00:00:00.000000000 Z
|
|
11
12
|
dependencies:
|
|
12
13
|
- !ruby/object:Gem::Dependency
|
|
13
14
|
name: semantic
|
|
@@ -258,6 +259,7 @@ files:
|
|
|
258
259
|
homepage: http://www.nowhere.com/
|
|
259
260
|
licenses: []
|
|
260
261
|
metadata: {}
|
|
262
|
+
post_install_message:
|
|
261
263
|
rdoc_options: []
|
|
262
264
|
require_paths:
|
|
263
265
|
- lib
|
|
@@ -272,7 +274,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
272
274
|
- !ruby/object:Gem::Version
|
|
273
275
|
version: '0'
|
|
274
276
|
requirements: []
|
|
275
|
-
rubygems_version: 3.
|
|
277
|
+
rubygems_version: 3.3.7
|
|
278
|
+
signing_key:
|
|
276
279
|
specification_version: 4
|
|
277
280
|
summary: A release control and management system for postgresql
|
|
278
281
|
test_files: []
|