culturecode_stagehand 0.7.3 → 0.7.4

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: 52ea6afe3b8d21f4df0bdea2a78b92d9c013151a
4
- data.tar.gz: 87c189ec7bde9cd9a09c55e338b1179d6fd56a00
3
+ metadata.gz: 418bc046d43d494e0048ac41bd14449d3011d54b
4
+ data.tar.gz: c66d323bfd5cee0d5d1906b1b3cc651802faba11
5
5
  SHA512:
6
- metadata.gz: 6860268a6a3eb5983622b2ddb0020ce472ad7ae73fbe96f3b043370162fd76054c6fe06366b2160b06ecc95c22d149bd065d627f630ab81d7e3140c95b36d10e
7
- data.tar.gz: f18cfc88589e4f566b68a50806a53f87c32ecade90a04fd3c490e74336a253d856fa82aea6314f5e6fd0fb66297cd6a393eec2cc47383580b19afa5c0d035d60
6
+ metadata.gz: ba7618eb96a1f92b3f394fdfb784e2af18ba6368ac6ce01a40ef0de8099a86c94f2beb5a7d74a0c18ebcfb448ceec60278e2a3fc6d514139d5832460c0f96001
7
+ data.tar.gz: 3d9fdf1694447e88871c1a4249bc8efb6c4f0ee7f5abc7db2690dde40eea0ae852ccc6f72e59986ca7c731c3d86b254181ed5306658960952c88b034b5257cc4
@@ -1,3 +1,3 @@
1
1
  module Stagehand
2
- VERSION = "0.7.3"
2
+ VERSION = "0.7.4"
3
3
  end
@@ -17,8 +17,8 @@ namespace :stagehand do
17
17
 
18
18
  desc "Migrate both databases used by stagehand"
19
19
  task :migrate => :environment do
20
- [Rails.configuration.x.stagehand.staging_connection_name,
21
- Rails.configuration.x.stagehand.production_connection_name].each do |connection_name|
20
+ connections = [Stagehand.configuration.staging_connection_name, Stagehand.configuration.production_connection_name]
21
+ connections.compact.uniq.each do |connection_name|
22
22
  puts "Migrating #{connection_name}"
23
23
  Stagehand::Database.with_connection(connection_name) do
24
24
  ActiveRecord::Migrator.migrate('db/migrate')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: culturecode_stagehand
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Jakobsen