galera_cluster_migrations 1.0.0 → 1.0.1.beta1

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: 1bc341370d48d39e1ebca83c4d827958921b7111
4
- data.tar.gz: 48a1e9f27c5d19d359652db69647a62a0416565c
3
+ metadata.gz: b742293919d9af1dac1091b046645d31c07d689f
4
+ data.tar.gz: 385660a0014a79223009fb1860f61654f1fbacee
5
5
  SHA512:
6
- metadata.gz: ba9b5b5cb6fc36e458280263a296fa242575039c9d9e8f2d35f2c70086af4d5b01ba5a92379be8e4de65fc3515ec46d6ba7d7b6a7c5cd0e349a59e4fc169e060
7
- data.tar.gz: 9ff4efb41bedd16edba5bd8c5feda733aa8a18fdacd982cf69f40a52e3bc74fd65744fff874d09b90565889b2730509c0fac18666e910cc38abb05939276c13d
6
+ metadata.gz: 93ddd2a45939d5ab8dba318f8302c24bad5f57db354c74cc0b79afd6af1ea33e87a00890e5a78b60032f99ad772c6a556267dbd7f47ae42cec93bb25086d6ed2
7
+ data.tar.gz: 6a7ca4f20f4cac93a0bfb3c6fbe1e0bbbc58382f255d6e3ae5935fcd1fc018196e3fe9d315c2f96a6bb7a2e1e7590e1093dfae2ba5b98c4813cb3c221abcf130
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014 Bryan Traywick
1
+ Copyright (c) 2014 Rails Machine
2
2
 
3
3
  MIT License
4
4
 
@@ -15,18 +15,10 @@ module GaleraClusterMigrations
15
15
  end
16
16
 
17
17
  def with_rsu
18
- unless [:development, :test].include?(Rails.env)
19
- execute "SET GLOBAL wsrep_OSU_method=RSU"
20
- execute "SET GLOBAL wsrep_desync=ON"
21
- execute "SET wsrep_on=OFF"
22
- end
23
-
18
+ enable_rsu
24
19
  yield
25
-
26
- unless [:development, :test].include?(Rails.env)
27
- execute "SET GLOBAL wsrep_desync=OFF"
28
- execute "SET GLOBAL wsrep_OSU_method=TOI"
29
- end
20
+ ensure
21
+ enable_toi
30
22
  end
31
23
 
32
24
  def enable_toi
@@ -1,3 +1,3 @@
1
1
  module GaleraClusterMigrations
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1.beta1"
3
3
  end
metadata CHANGED
@@ -1,69 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: galera_cluster_migrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryan Traywick
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-10 00:00:00.000000000 Z
11
+ date: 2014-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 3.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 3.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activerecord
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: 3.0.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: 3.0.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '1.6'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.6'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  description: Rolling Schema Upgrade (RSU) database migrations for MariaDB Galera Cluster.
@@ -73,7 +73,7 @@ executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
- - .gitignore
76
+ - ".gitignore"
77
77
  - Gemfile
78
78
  - LICENSE.txt
79
79
  - README.md
@@ -94,14 +94,14 @@ require_paths:
94
94
  - lib
95
95
  required_ruby_version: !ruby/object:Gem::Requirement
96
96
  requirements:
97
- - - '>='
97
+ - - ">="
98
98
  - !ruby/object:Gem::Version
99
99
  version: '0'
100
100
  required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - '>='
102
+ - - ">"
103
103
  - !ruby/object:Gem::Version
104
- version: '0'
104
+ version: 1.3.1
105
105
  requirements: []
106
106
  rubyforge_project:
107
107
  rubygems_version: 2.2.2