spina-admin-conferences 1.3.3 → 1.3.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d9f8009cb9bdcd0eeec7df3f1e62a4725a26a3a0c51d7348085d3f76790c192
|
4
|
+
data.tar.gz: 1e2bb088a5c707e8f74bdb6fd70c3b7fc5488579802647f13fd80b386e8e0ff2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 256d94724d1c618230ac1a2d8d867e53f200baef09dbd889b47790819ec9dc8dbc96c2864cbadd4785d3fa5833a70db6610b79f99c12b2fad5c3c0702bcda3ac
|
7
|
+
data.tar.gz: bf54269a633b2c38f8f37c78b432c85db5b2c4c977f65827b8c9cb5b2087741f192d9947563337cd7e5cc899357aa07b548e3d5df2e19fb89f64913ae715cc12
|
@@ -20,14 +20,12 @@ module Spina
|
|
20
20
|
migration = {}
|
21
21
|
migration[:old] = migration_hash(name)
|
22
22
|
migration[:new] = migration_hash(to)
|
23
|
-
if [migration[:old], migration[:new]].pluck(:file).all?(&:present?)
|
24
|
-
@stale_migrations << migration
|
25
|
-
end
|
23
|
+
@stale_migrations << migration if [migration[:old], migration[:new]].pluck(:file).all?(&:present?)
|
26
24
|
end
|
27
25
|
end
|
28
26
|
|
29
27
|
def raise_on_duplicate_migrations!
|
30
|
-
raise DuplicateMigrationsError
|
28
|
+
raise DuplicateMigrationsError, @stale_migrations if @stale_migrations.any?
|
31
29
|
end
|
32
30
|
|
33
31
|
private
|
@@ -42,7 +40,7 @@ module Spina
|
|
42
40
|
|
43
41
|
private
|
44
42
|
|
45
|
-
MIGRATION_REGEXP = /([0-9]+)_.+\.(spina(_admin)?_conferences).rb
|
43
|
+
MIGRATION_REGEXP = /([0-9]+)_.+\.(spina(_admin)?_conferences).rb$/.freeze
|
46
44
|
|
47
45
|
def generate_message(migration)
|
48
46
|
old_version, old_scope = parse_filename(migration[:old][:file])
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spina-admin-conferences
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Malčić
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: babel-transpiler
|
@@ -539,7 +539,7 @@ homepage: https://jmalcic.github.io/projects/spina-admin-conferences
|
|
539
539
|
licenses:
|
540
540
|
- MIT
|
541
541
|
metadata: {}
|
542
|
-
post_install_message:
|
542
|
+
post_install_message:
|
543
543
|
rdoc_options: []
|
544
544
|
require_paths:
|
545
545
|
- lib
|
@@ -554,8 +554,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
554
554
|
- !ruby/object:Gem::Version
|
555
555
|
version: '0'
|
556
556
|
requirements: []
|
557
|
-
rubygems_version: 3.
|
558
|
-
signing_key:
|
557
|
+
rubygems_version: 3.0.3
|
558
|
+
signing_key:
|
559
559
|
specification_version: 4
|
560
560
|
summary: Conference management plugin for Spina.
|
561
561
|
test_files: []
|