mimi-config 1.0.0 → 1.0.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: c11b17f051b8f15e08c1a3fbcfe0ba385949ff4a
4
- data.tar.gz: 1c9eea0c84229415e795cfe45d107500f249250d
3
+ metadata.gz: 84bc566ab0b762d7fb69f99ab280153726885786
4
+ data.tar.gz: 48b248d54c455fa20b5d8ba2a78805c62011b8de
5
5
  SHA512:
6
- metadata.gz: f6774639e0cd68abc8d81b44ede677827f42c933063bd93af2a811bce0dd17596fce9923c42bb235059ec24aaa022cd0f406edb5d98be27da98cc25797243fa2
7
- data.tar.gz: 77b66fe00e50c047ed8314cf9c05cf713114368769b57d252ccd7f928bd243524359700ed2e607159f257b7b1f94083b5d34564c3a388b4399376980f5645a3d
6
+ metadata.gz: d7759e28b1b99a3a787a6cbabb5e41948b151552caa3f93aea73a5a65c22005083eb088289eb0f6d3c38c73fd06776edb89543ae59e927500275e93c90b300c6
7
+ data.tar.gz: b9ac8f36ffd12cdcc143aada06d2e4d7581f1b78244b65b89c285b5384a14fdb8f1135a4b145153e50d281beee88ee2f1003aec7ee2770f335b83fa071aa8fb2
data/Gemfile CHANGED
@@ -3,5 +3,5 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  # Comment out the following gem instructions, if you not using gem sources
6
- gem 'mimi-core', path: '../mimi-core'
6
+ # gem 'mimi-core', path: '../mimi-core'
7
7
 
data/lib/mimi/config.rb CHANGED
@@ -79,7 +79,7 @@ module Mimi
79
79
  # Returns list of missing required params
80
80
  #
81
81
  def missing_params
82
- required_params = manifest.select { |p| p[:required] }.map { |p| p[:name] }
82
+ required_params = manifest.keys.select { |name| manifest.required?(name) }
83
83
  required_params - @params.keys
84
84
  end
85
85
 
@@ -1,5 +1,5 @@
1
1
  module Mimi
2
2
  class Config
3
- VERSION = '1.0.0'.freeze
3
+ VERSION = '1.0.1'.freeze
4
4
  end # class Config
5
5
  end # module Mimi
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mimi-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Kukushkin