dekiru 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 118e02daae0f7eea68172f325ac8465830aa9d44eae089dd27244f0ed517b820
4
- data.tar.gz: 13cf2c26e1bed62aad8dc32760e2b4ef071f19d55f080db3bdc2d2c7254927ec
3
+ metadata.gz: 5236c7dec0f57098ef3278eb56f1ba700885cf19acd5a94fa4b0dea97d9ead96
4
+ data.tar.gz: 8e820fb5946bd66d0a81be3c4b5a07343fd41ee2947641be0ae307c1540c9e44
5
5
  SHA512:
6
- metadata.gz: 047e7598645d7dc800b440a3ba85d67d45d1aa482927a8c944fe5cb929afc37d683081b2c2714359b5a16d3ef92abe3b0bb054cbaf37ebdeb77fcb8dba8a5217
7
- data.tar.gz: 5c3c7f2a719bd56ca3c2c4cca1838739235f1d6113734c372193b83e1753811afd3df35abca57740a1afe530f6b8312650bce570b364bd051dc8a5b10de2e435
6
+ metadata.gz: 4ede10e1096b73e97b2c6fb8d21dd7f85a60660df486a9df0716b4a2ea6c0cbca60cc352be45737b7f1a392d18fbf1e50b011c096416d7f5cfb7c931f70126d4
7
+ data.tar.gz: bed88a1ec88187001cff444c441ab91ea5e884665b96fee28610a01e3f52150a5f30b1230b27b073b47deb900fedc341bbe297ac995370dbced8520bcc2d7951
@@ -4,7 +4,7 @@ namespace :db do
4
4
  task check_conflict: :environment do
5
5
  migrations_status =
6
6
  if ActiveRecord::Base.connection.respond_to?(:migration_context)
7
- ActiveRecord::Base.connection.migration_context.migrations_status
7
+ ActiveRecord::Base.connection.migration_context.current_version.zero? ? [] : ActiveRecord::Base.connection.migration_context.migrations_status
8
8
  else
9
9
  paths = ActiveRecord::Tasks::DatabaseTasks.migrations_paths
10
10
  ActiveRecord::Migrator.migrations_status(paths)
@@ -1,3 +1,3 @@
1
1
  module Dekiru
2
- VERSION = '0.5.1'
2
+ VERSION = '0.5.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dekiru
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Akihiro Matsumura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-04 00:00:00.000000000 Z
11
+ date: 2023-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails