bucky-core 0.9.4 → 0.9.5

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: b538925ad0af273023e4bf5cec8ebdc5ea4b6cb3
4
- data.tar.gz: 60b32a3055197e1e94f4d2c327d3ebee6f5d9570
3
+ metadata.gz: 536f7acfa4c1369457b108064c8cbd444826474d
4
+ data.tar.gz: 89bbbb4d16a9a936e1d5c477716e2689e20efce9
5
5
  SHA512:
6
- metadata.gz: 88839d270a89265a649b8d1d5b51963cc03bc93456b5a532107e914a00e2116202f4cb65e7c9e15f87d9bcd1cb535f2e413587aabe6af855d3f18c598128f7a9
7
- data.tar.gz: 61396fa09407f2e94ef6b0bd62245840ee450a0535c298cd51f8f8aa9d7cf380e1487551d8f04b783adc9f00dd360822348b23c9904717d2a98bb10c15e94740
6
+ metadata.gz: 9a40ce3b626ef266f6d70fd6ca362c8d8a429575f5a5096abdf8e37491edcacd58921cd9bc892ad7038ef265247f58c31e2077e74e11248ceaf8e0d0a384056d
7
+ data.tar.gz: e9b288f27576402d4ff035e743ca6dbc4926f1a197663e0f6ee501b3daf9713005c400fad4443c4ad6ebea5a4e517316947a2c90aef6ea4f11ade80c711bf694
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bucky-core (0.9.2)
4
+ bucky-core (0.9.4)
5
5
  color_echo (~> 3.1)
6
6
  json (~> 2.1)
7
7
  nokogiri (~> 1.8)
@@ -20,25 +20,24 @@ GEM
20
20
  binding_of_caller (0.8.0)
21
21
  debug_inspector (>= 0.0.1)
22
22
  byebug (9.1.0)
23
- childprocess (0.9.0)
24
- ffi (~> 1.0, >= 1.0.11)
23
+ childprocess (1.0.1)
24
+ rake (< 13.0)
25
25
  coderay (1.1.2)
26
26
  color_echo (3.1.1)
27
27
  debug_inspector (0.0.3)
28
28
  diff-lcs (1.3)
29
29
  docile (1.1.5)
30
- ffi (1.10.0)
31
30
  hirb (0.7.3)
32
31
  jaro_winkler (1.5.2)
33
32
  json (2.1.0)
34
33
  method_source (0.9.0)
35
34
  mini_portile2 (2.4.0)
36
- nokogiri (1.10.1)
35
+ nokogiri (1.10.3)
37
36
  mini_portile2 (~> 2.4.0)
38
37
  parallel (1.12.1)
39
38
  parser (2.6.3.0)
40
39
  ast (~> 2.4.0)
41
- power_assert (1.1.3)
40
+ power_assert (1.1.4)
42
41
  pry (0.11.3)
43
42
  coderay (~> 1.1.0)
44
43
  method_source (~> 0.9.0)
@@ -75,8 +74,8 @@ GEM
75
74
  ruby-mysql (2.9.14)
76
75
  ruby-progressbar (1.10.0)
77
76
  rubyzip (1.2.2)
78
- selenium-webdriver (3.141.0)
79
- childprocess (~> 0.5)
77
+ selenium-webdriver (3.142.2)
78
+ childprocess (>= 0.5, < 2.0)
80
79
  rubyzip (~> 1.2, >= 1.2.2)
81
80
  sequel (4.49.0)
82
81
  simplecov (0.15.1)
@@ -88,7 +87,7 @@ GEM
88
87
  hirb
89
88
  simplecov
90
89
  simplecov-html (0.10.2)
91
- test-unit (3.3.0)
90
+ test-unit (3.3.3)
92
91
  power_assert
93
92
  unicode-display_width (1.5.0)
94
93
 
@@ -20,11 +20,14 @@ module Bucky
20
20
  # Read from a file of shallow hierarchy, then overwrite it if there is same key in deep hierarchy
21
21
  file_sort_hierarchy(@@dir).each do |file|
22
22
  file_name = file.split('/').last
23
+ default_config_file = @default_config_dir + '/' + file_name
23
24
  data = load_yaml(file)
24
- default_config_data = load_yaml(@default_config_dir + '/' + file_name)
25
25
  next if data.empty?
26
26
 
27
- data = default_config_data.merge(data)
27
+ if File.exist?(default_config_file)
28
+ default_config_data = load_yaml(default_config_file)
29
+ data = default_config_data.merge(data)
30
+ end
28
31
  @data = @data.merge(data)
29
32
  @resources << file
30
33
  end
data/lib/bucky/version.rb CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Bucky
4
4
  module Version
5
- VERSION = '0.9.4'
5
+ VERSION = '0.9.5'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bucky-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.4
4
+ version: 0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - NaotoKishino