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 +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/logica/predicates/compounds/at_least.rb +9 -1
- data/lib/logica/version.rb +1 -1
- data/logica.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b4c9280e8e4448dc42677721e0bddcc060b08cd6
|
|
4
|
+
data.tar.gz: 31c517a54e55e0de4458951aa522b256012aaf17
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f02443612042786a7b18213cbf32604e7ed59c55e9520c2565249f4f17b4f25a4a4d7f4556cc5181a97135326195846e19b9de3e2305058b9a57bc4f9a7e3a81
|
|
7
|
+
data.tar.gz: 8d12221ed6c95c05625ddbdcd5ef66e8b1f05cdf3c3b7349eccfd958caf4defaa4dc231cec646e70fddcd05fb93e3c520b96463f35ac39b0a1c0800d496f6020
|
data/CHANGELOG.md
CHANGED
|
@@ -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.
|
|
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
|
-
|
|
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
|
data/lib/logica/version.rb
CHANGED
data/logica.gemspec
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2017-07-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: openhouse
|