ruby-mpfi 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.
- data/History.txt +4 -0
- data/Manifest.txt +0 -4
- data/README.rdoc +21 -25
- data/Rakefile +2 -1
- data/ext/mpfi/ruby_mpfi.c +242 -102
- data/ext/mpfi_complex/mpfi/ruby_mpfi_complex.c +34 -14
- data/ext/mpfi_matrix/mpfi/func_mpfi_matrix.c +2 -86
- data/ext/mpfi_matrix/mpfi/func_mpfi_matrix.h +0 -6
- data/ext/mpfi_matrix/mpfi/ruby_mpfi_matrix.c +99 -35
- data/lib/mpfi/version.rb +1 -3
- data/ruby-mpfi.gemspec +8 -5
- data/spec/mpfi/mpfi_math_functions_spec.rb +2 -2
- metadata +14 -7
- data/ext/mpfi/make_c_source.rb +0 -115
- data/ext/mpfi/yasnippet_mpfi.el +0 -44
- data/ext/mpfi_matrix/mpfi/func_ruby_mpfi_complex.h +0 -35
- data/ext/mpfi_matrix/mpfi/ruby_mpfi_complex.h +0 -15
data/History.txt
CHANGED
data/Manifest.txt
CHANGED
@@ -6,11 +6,9 @@ Rakefile
|
|
6
6
|
ext/mpfi/extconf.rb
|
7
7
|
ext/mpfi/func_mpfi_extention.c
|
8
8
|
ext/mpfi/func_mpfi_extention.h
|
9
|
-
ext/mpfi/make_c_source.rb
|
10
9
|
ext/mpfi/ruby_mpfi.c
|
11
10
|
ext/mpfi/ruby_mpfi.h
|
12
11
|
ext/mpfi/ruby_mpfr.h
|
13
|
-
ext/mpfi/yasnippet_mpfi.el
|
14
12
|
ext/mpfi_complex/mpfi/extconf.rb
|
15
13
|
ext/mpfi_complex/mpfi/func_mpfi_extention.h
|
16
14
|
ext/mpfi_complex/mpfi/func_ruby_mpfi_complex.c
|
@@ -24,9 +22,7 @@ ext/mpfi_matrix/mpfi/func_mpfi_extention.h
|
|
24
22
|
ext/mpfi_matrix/mpfi/func_mpfi_matrix.c
|
25
23
|
ext/mpfi_matrix/mpfi/func_mpfi_matrix.h
|
26
24
|
ext/mpfi_matrix/mpfi/func_mpfr_matrix.h
|
27
|
-
ext/mpfi_matrix/mpfi/func_ruby_mpfi_complex.h
|
28
25
|
ext/mpfi_matrix/mpfi/ruby_mpfi.h
|
29
|
-
ext/mpfi_matrix/mpfi/ruby_mpfi_complex.h
|
30
26
|
ext/mpfi_matrix/mpfi/ruby_mpfi_matrix.c
|
31
27
|
ext/mpfi_matrix/mpfi/ruby_mpfi_matrix.h
|
32
28
|
ext/mpfi_matrix/mpfi/ruby_mpfr.h
|
data/README.rdoc
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
= ruby-mpfi
|
2
2
|
|
3
|
-
* http://
|
3
|
+
* http://rubyforge.org/projects/ruby-mpfr/
|
4
|
+
* http://gemcutter.org/gems/ruby-mpfi/
|
4
5
|
|
5
6
|
== DESCRIPTION:
|
6
7
|
|
@@ -14,35 +15,30 @@ FIX (describe your package)
|
|
14
15
|
|
15
16
|
FIX (code sample of usage)
|
16
17
|
|
17
|
-
==
|
18
|
+
== Requirements:
|
18
19
|
|
19
|
-
*
|
20
|
+
* MPFR
|
21
|
+
* MPFI
|
22
|
+
* ruby-mpfr
|
20
23
|
|
21
|
-
==
|
24
|
+
== Install:
|
22
25
|
|
23
|
-
|
26
|
+
$ sudo gem install ruby-mpfi
|
24
27
|
|
25
|
-
==
|
28
|
+
== License:
|
26
29
|
|
27
|
-
|
30
|
+
ruby-mpfi
|
31
|
+
Copyright (C) 2009 Takayuki YAMAGUCHI
|
28
32
|
|
29
|
-
|
33
|
+
This program is free software; you can redistribute it and/or modify it under
|
34
|
+
the terms of the GNU Lesser General Public License as published by the Free
|
35
|
+
Software Foundation; either version 3 of the License, or (at your option) any
|
36
|
+
later version.
|
30
37
|
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
36
|
-
permit persons to whom the Software is furnished to do so, subject to
|
37
|
-
the following conditions:
|
38
|
+
This program is distributed in the hope that it will be useful, but WITHOUT
|
39
|
+
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
40
|
+
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
|
41
|
+
details.
|
38
42
|
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
43
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
44
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
45
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
46
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
47
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
48
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
43
|
+
You should have received a copy of the GNU General Public License along with
|
44
|
+
this program. If not, see <http://www.gnu.org/licenses/>.
|
data/Rakefile
CHANGED
@@ -14,8 +14,9 @@ $hoe = Hoe.spec 'ruby-mpfi' do
|
|
14
14
|
self.developer 'Takayuki YAMAGUCHI', 'd@ytak.info'
|
15
15
|
self.post_install_message = 'PostInstall.txt' # TODO remove if post-install message not required
|
16
16
|
self.rubyforge_name = self.name # TODO this is default value
|
17
|
-
|
17
|
+
self.extra_deps = [['ruby-mpfr','>= 0.0.4']]
|
18
18
|
self.spec_extras[:extensions] = ["ext/mpfi/extconf.rb", "ext/mpfi_complex/mpfi/extconf.rb", "ext/mpfi_matrix/mpfi/extconf.rb"]
|
19
|
+
self.extra_rdoc_files << 'README.rdoc'
|
19
20
|
end
|
20
21
|
|
21
22
|
require 'newgem/tasks'
|