logix_toolkit 0.1.0 → 0.1.1
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/lib/{logix-toolkit.rb → logix-toolkit/LogixToolkit.rb} +0 -2
- data/lib/logix-toolkit/core/messages.rb +1 -1
- data/lib/logix-toolkit/operations/and.rb +1 -1
- data/lib/logix-toolkit/operations/implication.rb +1 -1
- data/lib/logix-toolkit/operations/or.rb +1 -1
- data/lib/logix_toolkit.rb +3 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca5a7cea2419cfdfc88395aa68498d7e4e554913
|
4
|
+
data.tar.gz: 0af1a6f2c3a2e34b85ad17b7f3eaee119b18c3fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1d91eabae581437567edd0aa5225dcaca226247357496c9204f6f10847400650fefa91bafae0d4406a2835223d044a7ff74b67c6bde3944a068070c16b4bfaf
|
7
|
+
data.tar.gz: 0b7924c4f50930ace698699fbf705f8d90c966852e384a9233d76a2c23ebca248dc440595309dddb788f53add5713f9c6651f8c107715e350c493bbfbffb0b42
|
@@ -18,5 +18,3 @@ require 'logix-toolkit/operations/or'
|
|
18
18
|
require 'logix-toolkit/operations/and'
|
19
19
|
require 'logix-toolkit/operations/implication'
|
20
20
|
|
21
|
-
puts "The gem was successfully required use \"LogixToolkit.help\" to see an intoduction
|
22
|
-
and a tutorial about how you should use the library"
|
@@ -28,7 +28,7 @@ now the usage of the library is fairly simple
|
|
28
28
|
all the logic functions at the moment are simple
|
29
29
|
almost every command you will use here will be .check?
|
30
30
|
but here is the catch everything is used here with a
|
31
|
-
namespace seperator (this thing: \"::\")
|
31
|
+
namespace seperator (it's this thing: \"::\")
|
32
32
|
meaning that if you want to access the AND operation
|
33
33
|
you will type in the following code:
|
34
34
|
LogixToolkit::Operations::And.check? true, false
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'logix-toolkit/core/errors'
|
2
2
|
require 'logix-toolkit/core/boolean_verifier'
|
3
|
-
require 'logix-toolkit'
|
3
|
+
require 'logix-toolkit/LogixToolkit'
|
4
4
|
|
5
5
|
#The "implication" class used to define implication operations (e.g A → B)
|
6
6
|
class LogixToolkit::Operations::Implication
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logix_toolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elian(Shadi) Kamal
|
@@ -14,20 +14,21 @@ dependencies: []
|
|
14
14
|
description: "A boolean algebra tools library for ruby that adds logic functions and
|
15
15
|
operations \n(currently limited to AND, OR, CONDITIONAL operations with multiple
|
16
16
|
parameters)\nmore functionality will be added later.\ninstall via \"gem install
|
17
|
-
|
17
|
+
logix_toolkit\"\nrequire using \"require 'logix_toolkit'\"\nsee usage via the documentation
|
18
18
|
or via typing \"LogixToolkit.help\" in the console\nafter requiring the library"
|
19
19
|
email: shady3300@outlook.com
|
20
20
|
executables: []
|
21
21
|
extensions: []
|
22
22
|
extra_rdoc_files: []
|
23
23
|
files:
|
24
|
-
- lib/logix-toolkit.rb
|
24
|
+
- lib/logix-toolkit/LogixToolkit.rb
|
25
25
|
- lib/logix-toolkit/core/boolean_verifier.rb
|
26
26
|
- lib/logix-toolkit/core/errors.rb
|
27
27
|
- lib/logix-toolkit/core/messages.rb
|
28
28
|
- lib/logix-toolkit/operations/and.rb
|
29
29
|
- lib/logix-toolkit/operations/implication.rb
|
30
30
|
- lib/logix-toolkit/operations/or.rb
|
31
|
+
- lib/logix_toolkit.rb
|
31
32
|
homepage: http://rubygems.org/gems/logixtoolkit
|
32
33
|
licenses:
|
33
34
|
- MIT
|