integration 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +4 -0
- data/.yardopts +4 -0
- data/CONTRIBUTING.md +61 -0
- data/Gemfile +2 -0
- data/History.txt +5 -0
- data/integration.gemspec +14 -7
- data/lib/integration.rb +124 -500
- data/lib/integration/methods.rb +394 -0
- data/lib/integration/version.rb +1 -1
- data/spec/integration_spec.rb +45 -56
- data/spec/spec_helper.rb +7 -7
- metadata +25 -16
data/spec/spec_helper.rb
CHANGED
@@ -1,16 +1,16 @@
|
|
1
|
-
|
1
|
+
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
|
2
|
+
|
3
|
+
require 'integration'
|
4
|
+
require 'rspec'
|
5
|
+
|
2
6
|
begin
|
3
7
|
require 'simplecov'
|
4
8
|
SimpleCov.start do
|
5
|
-
add_filter
|
6
|
-
add_group
|
9
|
+
add_filter '/spec/'
|
10
|
+
add_group 'Libraries', 'lib'
|
7
11
|
end
|
8
12
|
rescue LoadError
|
9
13
|
end
|
10
|
-
require 'rspec'
|
11
|
-
require 'integration'
|
12
|
-
|
13
|
-
|
14
14
|
|
15
15
|
RSpec.configure do |config|
|
16
16
|
config.expect_with :rspec do |c|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: integration
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Claudio Bustos
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-05-
|
12
|
+
date: 2015-05-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: text-table
|
@@ -26,33 +26,39 @@ dependencies:
|
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '1.2'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
|
-
name:
|
29
|
+
name: bundler
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - "
|
32
|
+
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version:
|
34
|
+
version: 1.3.0
|
35
|
+
- - "<"
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '2.0'
|
35
38
|
type: :development
|
36
39
|
prerelease: false
|
37
40
|
version_requirements: !ruby/object:Gem::Requirement
|
38
41
|
requirements:
|
39
|
-
- - "
|
42
|
+
- - ">="
|
40
43
|
- !ruby/object:Gem::Version
|
41
|
-
version:
|
44
|
+
version: 1.3.0
|
45
|
+
- - "<"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.0'
|
42
48
|
- !ruby/object:Gem::Dependency
|
43
|
-
name:
|
49
|
+
name: rake
|
44
50
|
requirement: !ruby/object:Gem::Requirement
|
45
51
|
requirements:
|
46
52
|
- - "~>"
|
47
53
|
- !ruby/object:Gem::Version
|
48
|
-
version: '
|
54
|
+
version: '10.4'
|
49
55
|
type: :development
|
50
56
|
prerelease: false
|
51
57
|
version_requirements: !ruby/object:Gem::Requirement
|
52
58
|
requirements:
|
53
59
|
- - "~>"
|
54
60
|
- !ruby/object:Gem::Version
|
55
|
-
version: '
|
61
|
+
version: '10.4'
|
56
62
|
- !ruby/object:Gem::Dependency
|
57
63
|
name: rspec
|
58
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,16 +73,17 @@ dependencies:
|
|
67
73
|
- - "~>"
|
68
74
|
- !ruby/object:Gem::Version
|
69
75
|
version: '3.2'
|
70
|
-
description: Numerical integration for Ruby
|
76
|
+
description: Numerical integration for Ruby with a simple interface.
|
71
77
|
email:
|
72
78
|
- clbustos@gmail.com
|
73
|
-
- No Email
|
74
79
|
executables: []
|
75
80
|
extensions: []
|
76
81
|
extra_rdoc_files: []
|
77
82
|
files:
|
78
83
|
- ".gitignore"
|
79
84
|
- ".travis.yml"
|
85
|
+
- ".yardopts"
|
86
|
+
- CONTRIBUTING.md
|
80
87
|
- Gemfile
|
81
88
|
- History.txt
|
82
89
|
- README.md
|
@@ -85,6 +92,7 @@ files:
|
|
85
92
|
- benchmark/speed.rb
|
86
93
|
- integration.gemspec
|
87
94
|
- lib/integration.rb
|
95
|
+
- lib/integration/methods.rb
|
88
96
|
- lib/integration/version.rb
|
89
97
|
- lib/opencl/Makefile
|
90
98
|
- lib/opencl/integration_host.c
|
@@ -92,8 +100,9 @@ files:
|
|
92
100
|
- lib/opencl/unidimensional_kernel.cl
|
93
101
|
- spec/integration_spec.rb
|
94
102
|
- spec/spec_helper.rb
|
95
|
-
homepage:
|
96
|
-
licenses:
|
103
|
+
homepage: http://sciruby.com
|
104
|
+
licenses:
|
105
|
+
- See README.md.
|
97
106
|
metadata: {}
|
98
107
|
post_install_message:
|
99
108
|
rdoc_options: []
|
@@ -103,7 +112,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
103
112
|
requirements:
|
104
113
|
- - ">="
|
105
114
|
- !ruby/object:Gem::Version
|
106
|
-
version:
|
115
|
+
version: 1.9.3
|
107
116
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
108
117
|
requirements:
|
109
118
|
- - ">="
|
@@ -114,7 +123,7 @@ rubyforge_project:
|
|
114
123
|
rubygems_version: 2.4.5
|
115
124
|
signing_key:
|
116
125
|
specification_version: 4
|
117
|
-
summary:
|
126
|
+
summary: Numerical integration for Ruby with a simple interface.
|
118
127
|
test_files:
|
119
128
|
- benchmark/accuracy.rb
|
120
129
|
- benchmark/speed.rb
|