logicuit 0.1.4 → 0.1.5

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -8
  3. data/lib/logicuit/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7ef81360704b23fe06ebb5c22d0d4c38ebce1eb8da32e7a505e4f021221c72cd
4
- data.tar.gz: 2c28373e690be07f5cb610fedda7cdb128298eba6471bf50ff9eae7790bfc06d
3
+ metadata.gz: 43a3513f7c19e4125cca8f7ea6d242f06eecdf9bc7e48bc4afa11524f0cbce51
4
+ data.tar.gz: 5b301e47822f01ae50798cb40c636e07ef72f2557812451a69fb42327bb48f87
5
5
  SHA512:
6
- metadata.gz: 1ebd743740d8ed0e04bab8524e46281677adae99bfda0a792118e8a3a225a3574538a24096c3ad32549be00acca91c14f9b283b49764971897345a46a32ab2d8
7
- data.tar.gz: d68eeceb3aedcf4dd2e23c51da0deb50523d53bd8bee37e4773c43be0a9bbe98dcb8ca80a6282ae805c9df0f35862703e468c4f8997867798e4cbc49be7c4530
6
+ metadata.gz: 546e6f2dd4b6dbb76bf195da77f756391bccfa1e9606790f54a66131b60acae68f4fe1858b5915c03e8bfb47a96aea630d411db388d286b5fa208f862664301f
7
+ data.tar.gz: 26a33fc73deda4d50bb9bfd70ba9ddeeb13e83d379c0e97f3eacf4a8761f58c55a25f7d72f2267255d4ab437df676a80b4aea5a62424f9b6cf9315519f473270
data/README.md CHANGED
@@ -18,7 +18,7 @@ gem install logicuit
18
18
 
19
19
  ## Usage
20
20
 
21
- This is the code to create a 1-bit CPU:
21
+ This is the code to create a Multiplexer with 2 inputs and 1 output:
22
22
 
23
23
  ```
24
24
  require 'logicuit'
@@ -47,21 +47,17 @@ Logicuit.run(:MY_MUX)
47
47
  you can execute a same circuit by the following as a one-liner:
48
48
 
49
49
  ```
50
- $ ruby -r ./lib/logicuit -e 'Logicuit.run(:mux)'
50
+ ruby -r ./lib/logicuit -e 'Logicuit.run(:mux)'
51
51
  ```
52
52
 
53
53
  you can similarly execute other circuits with the following commands:
54
54
 
55
55
  ```
56
- $ ruby -r ./lib/logicuit -e 'Logicuit.run(:mux)'
56
+ ruby -r ./lib/logicuit -e 'Logicuit.run(:dff)'
57
57
  ```
58
58
 
59
59
  ```
60
- $ ruby -r ./lib/logicuit -e 'Logicuit.run(:dff)'
61
- ```
62
-
63
- ```
64
- $ ruby -r ./lib/logicuit -e 'Logicuit.run(:one_bit_cpu)'
60
+ ruby -r ./lib/logicuit -e 'Logicuit.run(:one_bit_cpu)'
65
61
  ```
66
62
 
67
63
  ## Development
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Logicuit
4
- VERSION = "0.1.4"
4
+ VERSION = "0.1.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logicuit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Koji NAKAMURA