prick 0.20.1 → 0.20.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/exe/prick +4 -4
  3. data/lib/prick/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2abdd6978f9dce4cf9570d2ad5165fef65541ed5e69bd6150086a30b232498a5
4
- data.tar.gz: bb1accf8f541d7197c73b14407401d91d5e3b9475b205bad46bea8851d2825c6
3
+ metadata.gz: d2e1267bf396eabebb1624b55e9e56c187aa687cd8946a5b40a2ab131a1325ab
4
+ data.tar.gz: 574a439204413e074b1a21e4458d097e44d6f4a9cacb225942dea0bd9e6c2150
5
5
  SHA512:
6
- metadata.gz: 951dee9f87d7ba9475bf70512b35d29720a30ec5371e2c03c00575c21a94163f3aa43bf28bfbb6a5fe80e0da63cb1154bd84f29ae671651b7aa54de0e45630e2
7
- data.tar.gz: cc5ef462d6c9ae5e1add6bb9fc53ffc4a6684c64020d24fad39327cd80218f01c031060f7c2e14a125a94caad305c658994e2ea53845f211909a4764a72f8d75
6
+ metadata.gz: cf5bef7facd1ea27f82ec70b458db18ed09025b21482ba3271f209387e2b4ff656ece67679748f98a9c86dd2633f8e66a94dbbcb28917595781ccd6a5ff1b700
7
+ data.tar.gz: 437a136ec48f2e952a76b723529e121a13bebde0879fa4743c1f776680b5fcf5d12d12d09e516e062642089efbe3ddadcc5f9cf36de4aa05969a004f13f6f8b5
data/exe/prick CHANGED
@@ -82,7 +82,7 @@ SPEC = %(
82
82
 
83
83
  Checks file timestamps against the time of the last build and only
84
84
  rebuild affected parts of the project. KIND can be 'nodes', 'allnodes' or
85
- 'batches'
85
+ 'batches' (the default)
86
86
 
87
87
  fox! -- FILE...
88
88
  Load fox file data. Data are reset to their initial state after build
@@ -178,11 +178,11 @@ begin
178
178
  end
179
179
 
180
180
  when :build!
181
- dump = cmd.dump("batches")&.to_sym
181
+ dump = cmd.dump? ? cmd.dump("batches").to_sym : nil
182
182
  Prick::SubCommand.build(database, username, args.expect(0..1), timer: cmd.time?, dump: dump)
183
183
 
184
184
  when :make!
185
- dump = cmd.dump("batches")&.to_sym
185
+ dump = cmd.dump? ? cmd.dump("batches").to_sym : nil
186
186
  Prick::SubCommand.make(database, username, args.expect(0..1), timer: cmd.time?, dump: dump)
187
187
 
188
188
  when :fox!
@@ -222,7 +222,7 @@ begin
222
222
  when :data, :schema, :database
223
223
  raise NotImplementedError
224
224
  else
225
- raise Prick::Error, "Unknown subject: #{subject}"
225
+ raise Prick::Error, "Unknown subject: #{subject.inspect}"
226
226
  end
227
227
 
228
228
  else
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.20.1"
4
+ VERSION = "0.20.2"
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.20.1
4
+ version: 0.20.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claus Rasmussen