modl 0.3.25 → 0.3.26

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: 6dea81884e2aa76c3e7131afd53ab68641622035cf63f21b687b4b2d5003e090
4
- data.tar.gz: 9bfa08742c36d41ca903abe5bd66220e099ad32ef2ebfa12c18a092141dca340
3
+ metadata.gz: edaf87097f3f827795fdeff49c22f3acb3e25ec92acf2bf177ab1af9f881ae9e
4
+ data.tar.gz: da67d0d410dbad33b336daf1bbf424912e6cbca52d5ef939b42908af445d1fad
5
5
  SHA512:
6
- metadata.gz: f039c1b05655c54b66fb635f71b3a7a7a89d2d989e3f196744be3d90077a54b785771ac755120bdadb9849654b2f0c8a7d57195e3716bc09543ea50f804497ad
7
- data.tar.gz: 62306fdd0ecb9bee034d7dd9f3bbb522d33f9a309aab51e976089ba1ea3b6d30be8453edc8d73d16d33d03d9b85627764609a46d9930aa927350791c915d90b0
6
+ metadata.gz: dd2e39df266e049f744a927ef12ffe63dbc2e1aa3af60e82b3c964104c6c85cc1c7822318ef855b7c7cd494d1eea1d04fa628111b2d3506cf5590d906e1f14e2
7
+ data.tar.gz: 7f1c74734687b3d9ab94b9e6757d4fcf435721366b1267d2b2ae4857f8a1636f6f4f9b7e8333aedb46614691a5f8c50a1871470795fba670a366f7d6c0c186fc
@@ -1,3 +1,12 @@
1
+ 0.3.26
2
+ ===
3
+ - Remove `*expect`
4
+ - Fix problem with references in classes.
5
+
6
+ 0.3.25
7
+ ===
8
+ - Update Rake due to security advisory.
9
+
1
10
  0.3.24
2
11
  ===
3
12
  - Use base_tests from the grammar repo.
@@ -75,8 +75,6 @@ module MODL
75
75
  return global.transform_list
76
76
  when '%*allow'
77
77
  return global.allow_list
78
- when '%*expect'
79
- return global.allow_list
80
78
  end
81
79
  end
82
80
  end
@@ -59,7 +59,7 @@ module MODL
59
59
 
60
60
  def merge_content(new_value)
61
61
  @content.each do |k, v|
62
- new_value[k] = v.extract_hash
62
+ new_value[k] = v.extract_hash unless new_value[k]
63
63
  end
64
64
  new_value
65
65
  end
@@ -481,7 +481,6 @@ module MODL
481
481
  @type = 'index' if @key == '?'
482
482
  @type = 'hidden' if @key.start_with? '_'
483
483
  @type = 'allow' if @key.downcase == '*allow'
484
- @type = 'expect' if @key.downcase == '*expect'
485
484
  end
486
485
  end
487
486
 
@@ -24,6 +24,6 @@
24
24
 
25
25
  module MODL
26
26
  module Parser
27
- VERSION = "0.3.25"
27
+ VERSION = "0.3.26"
28
28
  end
29
29
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: modl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.25
4
+ version: 0.3.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Walmsley
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-03 00:00:00.000000000 Z
11
+ date: 2020-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake