brut 0.0.24 → 0.0.25

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: 66debd5e3492d152f6e1284b9d207c288b8ae4369a632a2d66c4a9c79cb32c35
4
- data.tar.gz: 9587bfb3d5baac04b9add2fac1d5da24db0230c985162fde5216f56212d7880c
3
+ metadata.gz: bf68186bd88a531232ff742e646b7a68454620e15e563187d06f6d0ca822bec0
4
+ data.tar.gz: e8f3b2cef4f4997d3bd4bc700552d2744cc06dc52f75426d24dd770a1db628a0
5
5
  SHA512:
6
- metadata.gz: c977cb67e52844a531a0f865a82766fe651d3a310c8875d2e7c5206a1d07443152560323c46b2be42e93284e5d07dc05c44421cf223afd7143c6456f72f03999
7
- data.tar.gz: 86e156145eac29a767b934da1ca0d4f6020971c100ed122963492567788d7ccf82ec9534b570871784abc893d1e98bd5795cd296dd3a3a102eec5e3b6fe11ed2
6
+ metadata.gz: 0d3ebc470ada689e782cb9d58c2c3299b14a84a38a744738fb0e04b527105f0cd81806dbfbc710f9e832d32604507ee5f02e68c77359c6f89c47ba3745276193
7
+ data.tar.gz: f1f7edff9cb3e35b5fc9240cae1c180eba14a06288c2e5f2db5c6032f4714a3f7b87b1ce99e6b294a41b5525061f4837dc6cc8dedbe90a150d985bdb0a76f485
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- brut (0.0.24)
4
+ brut (0.0.25)
5
5
  concurrent-ruby
6
6
  i18n
7
7
  irb
@@ -170,6 +170,9 @@ class Brut::CLI::Apps::DB < Brut::CLI::App
170
170
  if !migrations_dir.exist?
171
171
  err.puts "#{migrations_dir} doesn't exist"
172
172
  return
173
+ elsif Dir[migrations_dir / "*.rb"].empty?
174
+ out.puts "No migrations yet"
175
+ return
173
176
  end
174
177
  Brut.container.sequel_db_handle.extension :pg_array
175
178
 
data/lib/brut/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Brut
2
2
  # @!visibility private
3
- VERSION = "0.0.24"
3
+ VERSION = "0.0.25"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brut
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.24
4
+ version: 0.0.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Bryant Copeland