cfa 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cfa/augeas_parser.rb +1 -0
  3. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2a5ddfd0e34f669de02849ae3fcbc4ca3dafb664
4
- data.tar.gz: b4d6d350b7a072b7168a9250454115c206630e53
3
+ metadata.gz: 5c2df2919e42fdffa14bccfe6f20ef8dd8a31bb4
4
+ data.tar.gz: b3c552d45c3c3cb132de98f3ae194d8bd88ce76f
5
5
  SHA512:
6
- metadata.gz: 265417fcbac259f04e42331f29918ebf4e575bc5e8f58d564af944355d12fc4dfd271bae09acb8213fa9cf6b5782189090d1e5f672d39d4b3687d025de9d43d1
7
- data.tar.gz: 6862d7929f54bdf1673dd6f3721481fe7953a7a960b00ddc905254bd5dec4d608eec94ac36f388c959228e13fbe4876267eda2b5df3f661da7fb546262aca120
6
+ metadata.gz: 6305de07946201013df560ddae63102d35702f164594ea5ce4dc340624dc26aadbc382f8e43380e5062b7f72288e42099fad2a8ce4f21d7a83d284c5bca7f7ad
7
+ data.tar.gz: ec2a91cbabd1acccb1ff0bbc371f7ecbde7c641503f32d0c5e4e2e9ff815c63d927347d4a3fe378efad72cfc7ca618c59e92092807900bc0cdda02bb7e747525
@@ -119,6 +119,7 @@ module CFA
119
119
 
120
120
  # @param [String, Matcher]
121
121
  def delete(matcher)
122
+ return if matcher.nil?
122
123
  unless matcher.is_a?(CFA::Matcher)
123
124
  matcher = CFA::Matcher.new(key: matcher)
124
125
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josef Reidinger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-30 00:00:00.000000000 Z
11
+ date: 2017-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-augeas
@@ -58,10 +58,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
58
  version: 1.3.6
59
59
  requirements: []
60
60
  rubyforge_project:
61
- rubygems_version: 2.2.2
61
+ rubygems_version: 2.4.5.1
62
62
  signing_key:
63
63
  specification_version: 4
64
64
  summary: CFA (Config Files API) provides an easy way to create models on top of configuration
65
65
  files
66
66
  test_files: []
67
- has_rdoc: