logica 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b5f69fc7c70bbb40ae01a78fcacfba75da2dcc6a
4
- data.tar.gz: 50da7366dedbbf9324fa1467982cb72b7cc9e15f
3
+ metadata.gz: b4c9280e8e4448dc42677721e0bddcc060b08cd6
4
+ data.tar.gz: 31c517a54e55e0de4458951aa522b256012aaf17
5
5
  SHA512:
6
- metadata.gz: 43687704c5b6da44951eb805e8dd4bb3bb9a374115fb5bab13612373d0cc8b8c3ff5491962db0e419daa7d54211a2d4cf0c3c176ec0e4e9f8d049794e92fa0f3
7
- data.tar.gz: a4ed6aa6082300e43310b04e022d5d61ca12a89aefe80fb8fadd11c174796e27b0bd06e83c0e4a59d9d2a88df85a6a042ba788243e7724dcd2d5b6c105f234cb
6
+ metadata.gz: f02443612042786a7b18213cbf32604e7ed59c55e9520c2565249f4f17b4f25a4a4d7f4556cc5181a97135326195846e19b9de3e2305058b9a57bc4f9a7e3a81
7
+ data.tar.gz: 8d12221ed6c95c05625ddbdcd5ef66e8b1f05cdf3c3b7349eccfd958caf4defaa4dc231cec646e70fddcd05fb93e3c520b96463f35ac39b0a1c0800d496f6020
@@ -6,6 +6,10 @@ All notable changes to this project will be documented in this file. This projec
6
6
 
7
7
  * Your contribution here!
8
8
 
9
+ ## [0.0.3][] (2017-07-02)
10
+
11
+ * Fixed fallback to disjunction in AtLeast compounds
12
+
9
13
  ## [0.0.2][] (2017-06-24)
10
14
 
11
15
  * Fixed detection of some trivial simplifications of compounds
@@ -15,5 +19,6 @@ All notable changes to this project will be documented in this file. This projec
15
19
  * Initial release
16
20
 
17
21
  [Semver]: http://semver.org
18
- [Unreleased]: https://github.com/eugeniobruno/logica/compare/v0.0.2...HEAD
22
+ [Unreleased]: https://github.com/eugeniobruno/logica/compare/v0.0.3...HEAD
23
+ [0.0.3]: https://github.com/eugeniobruno/logica/compare/v0.0.2...v0.0.3
19
24
  [0.0.2]: https://github.com/eugeniobruno/logica/compare/v0.0.1...v0.0.2
@@ -82,7 +82,15 @@ module Logica
82
82
  end
83
83
 
84
84
  def do_method_missing(name, *args, &block)
85
- to_disjunction.do_method_missing(name, *args, &block)
85
+ if respond_to?(name)
86
+ to_disjunction.public_send(name, *args, &block)
87
+ else
88
+ super
89
+ end
90
+ end
91
+
92
+ def do_respond_to_missing?(method_name, include_private = false)
93
+ to_disjunction.respond_to?(method_name) || super
86
94
  end
87
95
  end
88
96
  end
@@ -1,3 +1,3 @@
1
1
  module Logica
2
- VERSION = '0.0.2'.freeze
2
+ VERSION = '0.0.3'.freeze
3
3
  end
@@ -7,7 +7,7 @@ require 'logica/version'
7
7
  Gem::Specification.new do |spec|
8
8
  spec.name = 'logica'
9
9
  spec.version = Logica::VERSION
10
- spec.date = '2017-06-24'
10
+ spec.date = '2017-07-02'
11
11
  spec.authors = ['Eugenio Bruno']
12
12
  spec.email = ['eugeniobruno@gmail.com']
13
13
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logica
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eugenio Bruno
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-24 00:00:00.000000000 Z
11
+ date: 2017-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: openhouse