ruby_abc 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: 41e553c152e6e79972e750684a1ce6c7202d9103
4
- data.tar.gz: 2b25effdbb6f5c8e187d81d238781758a82d8283
3
+ metadata.gz: 6abe5392a1e4a4a1fef29a58dcb779d362a0f56e
4
+ data.tar.gz: 5b0fbd1658b02b68fbf3ef889e15b64a0b28279d
5
5
  SHA512:
6
- metadata.gz: 88642d498b0c7a98833d7aac6a543031713fa59b314a797753b946898372892f58a5de6172305b76b9b1df7fb27b383a5e86841e5622b4a574dbcbc7fcb9f68f
7
- data.tar.gz: 7e9c2fcea279f6b6f0666f2e3b104f6ed89a71346c9a1c26d0a050b91d845f27cf200c82fac5ef850effdcdbfbcec973b6d5357475f9c43ae25ddc58e259bfbe
6
+ metadata.gz: 68a27236404b7971e92f8260e44ad062234d2571ee51d84f2ac8ec58b0295966a21623feac728090497236b50acd1e782e186326f313aea4aa22a27e1324dc7b
7
+ data.tar.gz: 6e309377f139024493249c634c6511e40d13a2cc1ab58fecc600d52d47457ac1021cfe51fe8b0ee382d07c8952e5a31f06f506c1cf2eff2c7f5d9ed347c463ef
data/README.md CHANGED
@@ -11,7 +11,7 @@ Documentation on *abc* can be found on its website:
11
11
 
12
12
  The source code of *abc* is included in this gem,
13
13
  it was cloned on 2017/11/22 from :
14
- [http://people.eecs.berkeley.edu/~alanmi/abc/](http://people.eecs.berkeley.edu/~alanmi/abc/)
14
+ [https://bitbucket.org/alanmi/abc](https://bitbucket.org/alanmi/abc)
15
15
  It is under MIT license.
16
16
 
17
17
 
@@ -22,6 +22,7 @@ The *abc* program is a command line interface: the user issue commands and adjus
22
22
  In order to automate this process, the *ruby_abc* allows to retreive some information on the current logic network in ruby,
23
23
  such as the number of nodes or its logic level. The command adjustment can then be done in ruby instead of manually.
24
24
 
25
+
25
26
  Installation
26
27
  ------------
27
28
 
data/Rakefile CHANGED
@@ -51,7 +51,7 @@ end
51
51
 
52
52
  desc 'Generate html documentation'
53
53
  task :doc do
54
- sh "rdoc --main '#{root_path}/README.md' --title='ruby_abc ruby extension' --output='#{root_path}/doc' #{docsrcfiles}"
54
+ sh "rdoc --main=README.md --title='ruby_abc ruby extension' --output='#{root_path}/doc' #{docsrcfiles}"
55
55
  end
56
56
 
57
57
  desc 'Cleanup build files'
@@ -56,7 +56,7 @@ end
56
56
 
57
57
  optparse.parse!
58
58
 
59
- abort "Missing input file name.\n#{opts}" if options[:inputFileName].nil?
59
+ abort "Missing input file name.\n#{optparse}" if options[:inputFileName].nil?
60
60
 
61
61
  ABC::synthesis(
62
62
  input: options[:inputFileName],
data/ext/extconf.rb CHANGED
@@ -6,20 +6,6 @@ extension_name = 'ruby_abc'
6
6
 
7
7
  abc_path = File.dirname(File.expand_path(__FILE__)) + '/abc'
8
8
 
9
- #abort "Library libpthread was not found" if !have_library('pthread')
10
- #abort "Library libdl was not found" if !have_library('dl')
11
- #abort "Library librt was not found" if !have_library('rt')
12
- #
13
- #unless File.exist?(abc_path + '/libabc.so') then
14
- # wd = Dir.getwd
15
- # Dir.chdir(abc_path)
16
- # unless system("make -j4 ABC_USE_PIC=true OPTFLAGS='-O2' ABC_USE_NO_READLINE=true libabc.so") then
17
- # Dir.chdir(wd)
18
- # abort "Cannot build ABC"
19
- # end
20
- # Dir.chdir(wd)
21
- #end
22
-
23
9
  $CFLAGS += " -I #{abc_path}/src"
24
10
  $CFLAGS += ' ' + `#{abc_path}/arch_flags`
25
11
  $LOCAL_LIBS += " #{abc_path}/libabc.so"
data/lib/ruby_abc.rb CHANGED
@@ -4,7 +4,7 @@ require_relative 'ruby_abc/ruby_abc.so'
4
4
 
5
5
 
6
6
  module ABC
7
- VERSION = '0.0.2'
7
+ VERSION = '0.0.3'
8
8
 
9
9
  ##
10
10
  # call-seq:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_abc
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
  - Théotime Bollengier
@@ -11,7 +11,7 @@ cert_chain: []
11
11
  date: 2017-11-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |-
14
- This is a ruby C extension intended to allow the use of ABC from Ruby.
14
+ ruby_abc is a ruby C extension intended to allow the use of ABC from Ruby.
15
15
  ABC is a system for sequential synthesis and verification, developped at the University of California, Berkeley.
16
16
  ABC website: http://people.eecs.berkeley.edu/~alanmi/abc/
17
17
  email:
@@ -1744,7 +1744,7 @@ files:
1744
1744
  - lib/ruby_abc.rb
1745
1745
  - test/generic_netlist.blif
1746
1746
  - test/test_ruby_abc.rb
1747
- homepage: https://rubygems.org/gems/ruby_abc
1747
+ homepage: http://github.com/TheotimeBollengier/ruby_abc
1748
1748
  licenses:
1749
1749
  - MIT
1750
1750
  metadata: {}
@@ -1767,5 +1767,6 @@ rubyforge_project:
1767
1767
  rubygems_version: 2.6.12
1768
1768
  signing_key:
1769
1769
  specification_version: 4
1770
- summary: A ruby C extension wrapping the Berkeley ABC logic synthesis system.
1770
+ summary: ruby_abc is a ruby C extension wrapping the Berkeley ABC logic synthesis
1771
+ system.
1771
1772
  test_files: []