closer 0.9.5 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +15 -0
- data/closer.gemspec +1 -1
- data/lib/closer/helpers/snapshots/db_dump.rb +4 -2
- data/lib/closer/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de098ff78939cd58954ca3caecf1e7f6a9c9e9a7701b71b38857822821250086
|
4
|
+
data.tar.gz: 1f5fead5d8ca2c27cc3237605ac0281cddfb96455d6ca668d98d77fa28528186
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df49cc3750e6c47137bd09471f7f2432fe86862ff85d130b72818adf15ba0a938d36e154fa601b5cc6b1c9f88ceb0973c68b0384ce9cf344ecf17fb0154afd81
|
7
|
+
data.tar.gz: 6c0bc695514033e4fb1beda3084ee0f1a4266da046164508b61ddf453ddbf3e83677daa539c4657a0c35c707d37fc3d2f02ff9181898462d3363674cedc011d3
|
data/HISTORY.md
CHANGED
@@ -1,3 +1,18 @@
|
|
1
|
+
# 0.9.6
|
2
|
+
Release Date: 2020-01-11
|
3
|
+
|
4
|
+
### fixed
|
5
|
+
* load database.yml as ERB template
|
6
|
+
|
7
|
+
### Removed
|
8
|
+
* drop support for ruby-2.4
|
9
|
+
|
10
|
+
# 0.9.5
|
11
|
+
Release Date: 2019-08-12
|
12
|
+
|
13
|
+
### Removed
|
14
|
+
* drop support for ruby-2.3
|
15
|
+
|
1
16
|
# Version 0.9.4
|
2
17
|
|
3
18
|
Release Date: 2019-05-09
|
data/closer.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.test_files = spec.files.grep(%r{^(test|spec|features|user_stories)/})
|
18
18
|
spec.require_paths = ["lib"]
|
19
19
|
|
20
|
-
spec.required_ruby_version = '~> 2.
|
20
|
+
spec.required_ruby_version = '~> 2.5'
|
21
21
|
|
22
22
|
spec.add_runtime_dependency 'cucumber', '>= 3.0', '<= 4.0'
|
23
23
|
spec.add_runtime_dependency 'capybara', '>= 3.0'
|
@@ -31,7 +31,8 @@ class DbDump
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def dump_mysql(dump_dir)
|
34
|
-
config = YAML.
|
34
|
+
config = YAML.load(ERB.new(File.read('config/database.yml'), 0, '-').result)[Rails.env]
|
35
|
+
|
35
36
|
host = config['host'] || 'localhost'
|
36
37
|
database = config['database']
|
37
38
|
user = config['username']
|
@@ -44,7 +45,8 @@ class DbDump
|
|
44
45
|
end
|
45
46
|
|
46
47
|
def load_mysql(dump_file)
|
47
|
-
config = YAML.
|
48
|
+
config = YAML.load(ERB.new(File.read('config/database.yml'), 0, '-').result)[Rails.env]
|
49
|
+
|
48
50
|
host = config['host'] || 'localhost'
|
49
51
|
database = config['database']
|
50
52
|
user = config['username']
|
data/lib/closer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: closer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ichy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|
@@ -151,14 +151,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
151
151
|
requirements:
|
152
152
|
- - "~>"
|
153
153
|
- !ruby/object:Gem::Version
|
154
|
-
version: '2.
|
154
|
+
version: '2.5'
|
155
155
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - ">="
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '0'
|
160
160
|
requirements: []
|
161
|
-
rubygems_version: 3.
|
161
|
+
rubygems_version: 3.1.4
|
162
162
|
signing_key:
|
163
163
|
specification_version: 4
|
164
164
|
summary: Cucumber test execution tool
|