synchronised_migration 1.0.1 → 1.0.2.pre.alpha.1
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46137a7221280e53c8a46dffc717f940e94cf02e
|
4
|
+
data.tar.gz: bfacb7b23898da580e100d53eb1fbc0d7b641cdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee2658296ac508f679c42af3e18031ff860aba20f07f9a7f89342ea710565ff6afa477d42007f73dbd265090c9724d60ba34907e6636aa3cbb00efe5a787faad
|
7
|
+
data.tar.gz: fc49da8ca250dd9a5fa0b0769c4c343a60a4cdb95b556bdc7b622b15e4c2df81b2f3286b165c0cdd76ddfd791a3eca3b4b68cbbe89225981694875897dbcf30c
|
@@ -27,7 +27,7 @@ describe SynchronisedMigration::Main do
|
|
27
27
|
method.call *args
|
28
28
|
}
|
29
29
|
|
30
|
-
allow(Bundler).to receive(:
|
30
|
+
allow(Bundler).to receive(:with_original_env).and_call_original
|
31
31
|
|
32
32
|
stub_const(
|
33
33
|
'RedisConfig', double(
|
@@ -47,7 +47,7 @@ describe SynchronisedMigration::Main do
|
|
47
47
|
expect(redis).to have_received(:get).with('migration-failed')
|
48
48
|
expect(redis).to have_received(:set).with('migration-failed', 1)
|
49
49
|
expect(Kernel).to have_received(:system)
|
50
|
-
expect(Bundler).not_to have_received(:
|
50
|
+
expect(Bundler).not_to have_received(:with_original_env)
|
51
51
|
expect(redis).to have_received(:del).with('migration-failed')
|
52
52
|
end
|
53
53
|
end
|
@@ -61,7 +61,7 @@ describe SynchronisedMigration::Main do
|
|
61
61
|
it 'executes it with a clean Bundler environment' do
|
62
62
|
expect(result).to be_success
|
63
63
|
expect(Kernel).to have_received(:system)
|
64
|
-
expect(Bundler).to have_received(:
|
64
|
+
expect(Bundler).to have_received(:with_original_env)
|
65
65
|
end
|
66
66
|
end
|
67
67
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: synchronised_migration
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.1
|
4
|
+
version: 1.0.2.pre.alpha.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alvin Yim
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redlock
|
@@ -103,9 +103,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
103
103
|
version: '0'
|
104
104
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
105
105
|
requirements:
|
106
|
-
- - "
|
106
|
+
- - ">"
|
107
107
|
- !ruby/object:Gem::Version
|
108
|
-
version:
|
108
|
+
version: 1.3.1
|
109
109
|
requirements: []
|
110
110
|
rubyforge_project:
|
111
111
|
rubygems_version: 2.4.5.2
|