spina-admin-conferences 1.3.3 → 1.3.5

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: fa2b8b1274af18cc7e12e10334bdf485b21993dc2d108147fb32ecc401a427bb
4
- data.tar.gz: 92a089aac4a4a99e52d6f2837d2ae7ba8f297994dd940646c8aeace2c0460397
3
+ metadata.gz: 6d9f8009cb9bdcd0eeec7df3f1e62a4725a26a3a0c51d7348085d3f76790c192
4
+ data.tar.gz: 1e2bb088a5c707e8f74bdb6fd70c3b7fc5488579802647f13fd80b386e8e0ff2
5
5
  SHA512:
6
- metadata.gz: e842dbe6a4ddcf77c74e1df2809e84dc85dda7252b2239cbd67fa53644b55c8ebe8eb87986ae4a33a4f4bcba9594c1ace8d7400d20a19c86e0f314024998303f
7
- data.tar.gz: 5a3286da4f42372a7136cb24447dd001b5c48bec7bbb3f0239eef84827ed2f09e7e8269d969f41baa3fd720c1e33cfa4bc189170ec41d398bbe05ed4f9a8065d
6
+ metadata.gz: 256d94724d1c618230ac1a2d8d867e53f200baef09dbd889b47790819ec9dc8dbc96c2864cbadd4785d3fa5833a70db6610b79f99c12b2fad5c3c0702bcda3ac
7
+ data.tar.gz: bf54269a633b2c38f8f37c78b432c85db5b2c4c977f65827b8c9cb5b2087741f192d9947563337cd7e5cc899357aa07b548e3d5df2e19fb89f64913ae715cc12
@@ -1,4 +1,3 @@
1
- //= link_tree ../images
2
1
  //= link spina/admin/conferences/application.js
3
2
  //= link spina/admin/conferences/application.css
4
3
  //= link spina_manifest.js
@@ -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.new(@stale_migrations) if @stale_migrations.any?
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])
@@ -4,7 +4,7 @@ module Spina
4
4
  module Admin
5
5
  module Conferences
6
6
  # Version number.
7
- VERSION = '1.3.3'
7
+ VERSION = '1.3.5'
8
8
  end
9
9
  end
10
10
  end
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.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-24 00:00:00.000000000 Z
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.1.2
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: []