cyclone_lariat 1.0.0.rc8 → 1.0.0.rc9

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
  SHA1:
3
- metadata.gz: 0e810d6b4fc64e4938dfe70579f2bf36a4768bdf
4
- data.tar.gz: 8e8daf9a77166655600b6baccf671276d3c9566f
3
+ metadata.gz: 49347a3eb8840d9a9acb582bb5fd2eae61a91966
4
+ data.tar.gz: 2862a28254fa6283248f512defc4d8b24751c537
5
5
  SHA512:
6
- metadata.gz: 908053b867c1a268b7659e2ee37c8a7f65781f1d80b8dc5c2f3e2b4106f394f0956da67fdb7bc93f676f7fcb6f0d88dc3e6f89496db47f40991b5ea1226b0da6
7
- data.tar.gz: 1d46de69c81d15fc14ee015177047a551e99deecde4d17c59a8c357b5773eab18a26a1faf0ce88898c5b644113e4d1819f680c2cb9fa185d6685a6acdea0654a
6
+ metadata.gz: f2db83d6daf2ddc9827747158561434af508ec56aa9f1d030b83e5a5f5b0343f50b6a3427ef86f956d6cb5b9e85fa775140c4a9a93dc07808cb54eb22832d010
7
+ data.tar.gz: b472263e1fc18f710916179280d8764c23cb9228f08998aecefae6180e8c742284df7234c5120d9fcc47003253975bb1115e57e7869bb118ddf620f9a2950b75
data/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [1.0.0.rc9]
8
+ Changed
9
+ - Added message if migration does not exist
10
+
7
11
  ## [1.0.0.rc8]
8
12
  Changed
9
13
  - Added `before_save` hook to middleware
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cyclone_lariat (1.0.0.rc8)
4
+ cyclone_lariat (1.0.0.rc9)
5
5
  aws-sdk-sns
6
6
  aws-sdk-sqs
7
7
  dry-cli (~> 0.6)
@@ -28,19 +28,19 @@ GEM
28
28
  arel (9.0.0)
29
29
  ast (2.4.2)
30
30
  aws-eventstream (1.2.0)
31
- aws-partitions (1.761.0)
32
- aws-sdk-core (3.172.0)
31
+ aws-partitions (1.790.0)
32
+ aws-sdk-core (3.178.0)
33
33
  aws-eventstream (~> 1, >= 1.0.2)
34
34
  aws-partitions (~> 1, >= 1.651.0)
35
35
  aws-sigv4 (~> 1.5)
36
36
  jmespath (~> 1, >= 1.6.1)
37
- aws-sdk-sns (1.60.0)
38
- aws-sdk-core (~> 3, >= 3.165.0)
37
+ aws-sdk-sns (1.65.0)
38
+ aws-sdk-core (~> 3, >= 3.177.0)
39
39
  aws-sigv4 (~> 1.1)
40
- aws-sdk-sqs (1.55.0)
41
- aws-sdk-core (~> 3, >= 3.165.0)
40
+ aws-sdk-sqs (1.61.0)
41
+ aws-sdk-core (~> 3, >= 3.177.0)
42
42
  aws-sigv4 (~> 1.1)
43
- aws-sigv4 (1.5.2)
43
+ aws-sigv4 (1.6.0)
44
44
  aws-eventstream (~> 1, >= 1.0.2)
45
45
  byebug (11.1.3)
46
46
  coderay (1.1.3)
@@ -11,7 +11,8 @@ module CycloneLariat
11
11
  end
12
12
 
13
13
  def call
14
- alert('No one migration exists') if !Dir.exist?(dir) || Dir.empty?(dir)
14
+ return 'No migration exists' if !Dir.exist?(dir) || Dir.empty?(dir)
15
+
15
16
  output = []
16
17
 
17
18
  migration_paths.each do |path|
@@ -11,6 +11,8 @@ module CycloneLariat
11
11
  end
12
12
 
13
13
  def call(version = nil)
14
+ return 'No migration exists' if !Dir.exist?(dir) || Dir.empty?(dir)
15
+
14
16
  version ||= existed_migrations[-1]
15
17
  output = []
16
18
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CycloneLariat
4
- VERSION = '1.0.0.rc8'
4
+ VERSION = '1.0.0.rc9'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cyclone_lariat
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc8
4
+ version: 1.0.0.rc9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Kudrin
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2023-05-31 00:00:00.000000000 Z
14
+ date: 2023-07-20 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: aws-sdk-sns