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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '028013ab2822f38703a17bc402ec00105d01597d22b402894a52f3623bc3167d'
4
- data.tar.gz: 3bb94998121ab3e1c39986ab330ae87f97d6772845d76c0483e7ba816ab373fd
3
+ metadata.gz: de098ff78939cd58954ca3caecf1e7f6a9c9e9a7701b71b38857822821250086
4
+ data.tar.gz: 1f5fead5d8ca2c27cc3237605ac0281cddfb96455d6ca668d98d77fa28528186
5
5
  SHA512:
6
- metadata.gz: 15ebfc58aa065bbbac22ba6bb689afaff48a3c47cc57dc51d2fa906f210c50000fb24ae8789ac40527c9f06734258aee9f4f2ef86632c855fb479693a687dbb5
7
- data.tar.gz: ae628034075a4346f1bb3d7b01da66c1c5901e5424597b83a64a21869ab8cd37cc394595c2be1e6a3df855e85444e3e8f46d546da4d325f401ab49689c8124ea
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
@@ -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.3'
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.load_file(File.join('config', 'database.yml'))[Rails.env]
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.load_file(File.join('config', 'database.yml'))[Rails.env]
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']
@@ -1,3 +1,3 @@
1
1
  module Closer
2
- VERSION = '0.9.5'
2
+ VERSION = '0.9.6'
3
3
  end
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.5
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: 2019-08-12 00:00:00.000000000 Z
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.3'
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.0.3
161
+ rubygems_version: 3.1.4
162
162
  signing_key:
163
163
  specification_version: 4
164
164
  summary: Cucumber test execution tool