more_math 0.1.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +1 -0
- data/.travis.yml +5 -8
- data/Gemfile +1 -5
- data/Rakefile +6 -17
- data/VERSION +1 -1
- data/lib/more_math/version.rb +2 -2
- data/more_math.gemspec +22 -15
- metadata +51 -34
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 506ec000aab541ec6d04633735e3bd1706426e49
|
4
|
+
data.tar.gz: 325cbe4aa310f4c3c2e39f02ac0e42e4323b1afa
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 665bf8a0a1d5f0f41b8c6f6f2e7ea9e6081c878c925af1351c696ed0ec03f90ad759ea777ec6218401c402dc5de85daa6f4ab0e933fabf0e35900fca4b4139b0
|
7
|
+
data.tar.gz: 27b5fafd1185edf060abbf32f5971c33e20c813d6f8e973539e4ce76ca8af8437f575ad6286a9f3f36c719f2f254b12e8fb5373b163d8dbafa8c0e3ca946ef07
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/Rakefile
CHANGED
@@ -10,24 +10,13 @@ GemHadar do
|
|
10
10
|
summary 'Library that provides more mathematics.'
|
11
11
|
description 'Library that provides more mathematical functions/algorithms than standard Ruby.'
|
12
12
|
test_dir 'tests'
|
13
|
-
ignore '.*.sw[pon]', 'pkg', 'Gemfile.lock', 'coverage', '.rvmrc',
|
13
|
+
ignore '.*.sw[pon]', 'pkg', 'Gemfile.lock', 'coverage', '.rvmrc',
|
14
|
+
'.AppleDouble', 'tags'
|
14
15
|
readme 'README.rdoc'
|
15
16
|
title "#{name.camelize} -- More Math in Ruby"
|
16
17
|
|
17
|
-
dependency 'tins', '~>0
|
18
|
-
development_dependency '
|
19
|
-
|
20
|
-
|
21
|
-
libdir = CONFIG["sitelibdir"]
|
22
|
-
file = 'lib/more_math.rb'
|
23
|
-
install(file, libdir, :mode => 0644)
|
24
|
-
mkdir_p subdir = File.join(libdir, 'more_math')
|
25
|
-
for f in Dir['lib/more_math/*.rb']
|
26
|
-
install(f, subdir)
|
27
|
-
end
|
28
|
-
mkdir_p subdir = File.join(libdir, 'more_math', 'constants')
|
29
|
-
for f in Dir['lib/more_math/constants/*.rb']
|
30
|
-
install(f, subdir)
|
31
|
-
end
|
32
|
-
end
|
18
|
+
dependency 'tins', '~>1.0'
|
19
|
+
development_dependency 'rake'
|
20
|
+
development_dependency 'simplecov'
|
21
|
+
development_dependency 'test-unit'
|
33
22
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1
|
1
|
+
0.2.1
|
data/lib/more_math/version.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module MoreMath
|
2
2
|
# MoreMath version
|
3
|
-
VERSION = '0.1
|
4
|
-
VERSION_ARRAY = VERSION.split(
|
3
|
+
VERSION = '0.2.1'
|
4
|
+
VERSION_ARRAY = VERSION.split('.').map(&:to_i) # :nodoc:
|
5
5
|
VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
|
6
6
|
VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
|
7
7
|
VERSION_BUILD = VERSION_ARRAY[2] # :nodoc:
|
data/more_math.gemspec
CHANGED
@@ -1,38 +1,45 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
+
# stub: more_math 0.2.1 ruby lib
|
2
3
|
|
3
4
|
Gem::Specification.new do |s|
|
4
5
|
s.name = "more_math"
|
5
|
-
s.version = "0.1
|
6
|
+
s.version = "0.2.1"
|
6
7
|
|
7
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
9
|
+
s.require_paths = ["lib"]
|
8
10
|
s.authors = ["Florian Frank"]
|
9
|
-
s.date = "
|
11
|
+
s.date = "2015-05-21"
|
10
12
|
s.description = "Library that provides more mathematical functions/algorithms than standard Ruby."
|
11
13
|
s.email = "flori@ping.de"
|
12
|
-
s.extra_rdoc_files = ["README.rdoc", "lib/more_math/cantor_pairing_function.rb", "lib/more_math/constants/functions_constants.rb", "lib/more_math/continued_fraction.rb", "lib/more_math/distributions.rb", "lib/more_math/exceptions.rb", "lib/more_math/functions.rb", "lib/more_math/histogram.rb", "lib/more_math/linear_regression.rb", "lib/more_math/newton_bisection.rb", "lib/more_math/numberify_string_function.rb", "lib/more_math/permutation.rb", "lib/more_math/ranking_common.rb", "lib/more_math/sequence.rb", "lib/more_math/string_numeral.rb", "lib/more_math/subset.rb", "lib/more_math/version.rb"
|
14
|
+
s.extra_rdoc_files = ["README.rdoc", "lib/more_math.rb", "lib/more_math/cantor_pairing_function.rb", "lib/more_math/constants/functions_constants.rb", "lib/more_math/continued_fraction.rb", "lib/more_math/distributions.rb", "lib/more_math/exceptions.rb", "lib/more_math/functions.rb", "lib/more_math/histogram.rb", "lib/more_math/linear_regression.rb", "lib/more_math/newton_bisection.rb", "lib/more_math/numberify_string_function.rb", "lib/more_math/permutation.rb", "lib/more_math/ranking_common.rb", "lib/more_math/sequence.rb", "lib/more_math/string_numeral.rb", "lib/more_math/subset.rb", "lib/more_math/version.rb"]
|
13
15
|
s.files = [".gitignore", ".travis.yml", "CHANGES", "Gemfile", "LICENSE", "README.rdoc", "Rakefile", "VERSION", "lib/more_math.rb", "lib/more_math/cantor_pairing_function.rb", "lib/more_math/constants/functions_constants.rb", "lib/more_math/continued_fraction.rb", "lib/more_math/distributions.rb", "lib/more_math/exceptions.rb", "lib/more_math/functions.rb", "lib/more_math/histogram.rb", "lib/more_math/linear_regression.rb", "lib/more_math/newton_bisection.rb", "lib/more_math/numberify_string_function.rb", "lib/more_math/permutation.rb", "lib/more_math/ranking_common.rb", "lib/more_math/sequence.rb", "lib/more_math/string_numeral.rb", "lib/more_math/subset.rb", "lib/more_math/version.rb", "more_math.gemspec", "tests/cantor_pairing_function_test.rb", "tests/continued_fraction_test.rb", "tests/distribution_test.rb", "tests/functions_test.rb", "tests/histogram_test.rb", "tests/newton_bisection_test.rb", "tests/numberify_string_function_test.rb", "tests/permutation_test.rb", "tests/sequence_test.rb", "tests/string_numeral_test.rb", "tests/subset_test.rb", "tests/test_helper.rb"]
|
14
16
|
s.homepage = "http://flori.github.com/more_math"
|
15
17
|
s.rdoc_options = ["--title", "MoreMath -- More Math in Ruby", "--main", "README.rdoc"]
|
16
|
-
s.
|
17
|
-
s.rubygems_version = "1.8.24"
|
18
|
+
s.rubygems_version = "2.4.6"
|
18
19
|
s.summary = "Library that provides more mathematics."
|
19
20
|
s.test_files = ["tests/cantor_pairing_function_test.rb", "tests/continued_fraction_test.rb", "tests/distribution_test.rb", "tests/functions_test.rb", "tests/histogram_test.rb", "tests/newton_bisection_test.rb", "tests/numberify_string_function_test.rb", "tests/permutation_test.rb", "tests/sequence_test.rb", "tests/string_numeral_test.rb", "tests/subset_test.rb", "tests/test_helper.rb"]
|
20
21
|
|
21
22
|
if s.respond_to? :specification_version then
|
22
|
-
s.specification_version =
|
23
|
+
s.specification_version = 4
|
23
24
|
|
24
25
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
25
|
-
s.add_development_dependency(%q<gem_hadar>, ["~>
|
26
|
-
s.add_development_dependency(%q<
|
27
|
-
s.
|
26
|
+
s.add_development_dependency(%q<gem_hadar>, ["~> 1.2.1"])
|
27
|
+
s.add_development_dependency(%q<rake>, [">= 0"])
|
28
|
+
s.add_development_dependency(%q<simplecov>, [">= 0"])
|
29
|
+
s.add_development_dependency(%q<test-unit>, [">= 0"])
|
30
|
+
s.add_runtime_dependency(%q<tins>, ["~> 1.0"])
|
28
31
|
else
|
29
|
-
s.add_dependency(%q<gem_hadar>, ["~>
|
30
|
-
s.add_dependency(%q<
|
31
|
-
s.add_dependency(%q<
|
32
|
+
s.add_dependency(%q<gem_hadar>, ["~> 1.2.1"])
|
33
|
+
s.add_dependency(%q<rake>, [">= 0"])
|
34
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
35
|
+
s.add_dependency(%q<test-unit>, [">= 0"])
|
36
|
+
s.add_dependency(%q<tins>, ["~> 1.0"])
|
32
37
|
end
|
33
38
|
else
|
34
|
-
s.add_dependency(%q<gem_hadar>, ["~>
|
35
|
-
s.add_dependency(%q<
|
36
|
-
s.add_dependency(%q<
|
39
|
+
s.add_dependency(%q<gem_hadar>, ["~> 1.2.1"])
|
40
|
+
s.add_dependency(%q<rake>, [">= 0"])
|
41
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
42
|
+
s.add_dependency(%q<test-unit>, [">= 0"])
|
43
|
+
s.add_dependency(%q<tins>, ["~> 1.0"])
|
37
44
|
end
|
38
45
|
end
|
metadata
CHANGED
@@ -1,64 +1,85 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: more_math
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
5
|
-
prerelease:
|
4
|
+
version: 0.2.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Florian Frank
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2015-05-21 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: gem_hadar
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- - ~>
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
19
|
+
version: 1.2.1
|
22
20
|
type: :development
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- - ~>
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
26
|
+
version: 1.2.1
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
|
-
name:
|
28
|
+
name: rake
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: simplecov
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: test-unit
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
44
67
|
- !ruby/object:Gem::Version
|
45
68
|
version: '0'
|
46
69
|
- !ruby/object:Gem::Dependency
|
47
70
|
name: tins
|
48
71
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
72
|
requirements:
|
51
|
-
- - ~>
|
73
|
+
- - "~>"
|
52
74
|
- !ruby/object:Gem::Version
|
53
|
-
version: '0
|
75
|
+
version: '1.0'
|
54
76
|
type: :runtime
|
55
77
|
prerelease: false
|
56
78
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
79
|
requirements:
|
59
|
-
- - ~>
|
80
|
+
- - "~>"
|
60
81
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0
|
82
|
+
version: '1.0'
|
62
83
|
description: Library that provides more mathematical functions/algorithms than standard
|
63
84
|
Ruby.
|
64
85
|
email: flori@ping.de
|
@@ -66,6 +87,7 @@ executables: []
|
|
66
87
|
extensions: []
|
67
88
|
extra_rdoc_files:
|
68
89
|
- README.rdoc
|
90
|
+
- lib/more_math.rb
|
69
91
|
- lib/more_math/cantor_pairing_function.rb
|
70
92
|
- lib/more_math/constants/functions_constants.rb
|
71
93
|
- lib/more_math/continued_fraction.rb
|
@@ -82,10 +104,9 @@ extra_rdoc_files:
|
|
82
104
|
- lib/more_math/string_numeral.rb
|
83
105
|
- lib/more_math/subset.rb
|
84
106
|
- lib/more_math/version.rb
|
85
|
-
- lib/more_math.rb
|
86
107
|
files:
|
87
|
-
- .gitignore
|
88
|
-
- .travis.yml
|
108
|
+
- ".gitignore"
|
109
|
+
- ".travis.yml"
|
89
110
|
- CHANGES
|
90
111
|
- Gemfile
|
91
112
|
- LICENSE
|
@@ -124,34 +145,30 @@ files:
|
|
124
145
|
- tests/test_helper.rb
|
125
146
|
homepage: http://flori.github.com/more_math
|
126
147
|
licenses: []
|
148
|
+
metadata: {}
|
127
149
|
post_install_message:
|
128
150
|
rdoc_options:
|
129
|
-
- --title
|
151
|
+
- "--title"
|
130
152
|
- MoreMath -- More Math in Ruby
|
131
|
-
- --main
|
153
|
+
- "--main"
|
132
154
|
- README.rdoc
|
133
155
|
require_paths:
|
134
156
|
- lib
|
135
157
|
required_ruby_version: !ruby/object:Gem::Requirement
|
136
|
-
none: false
|
137
158
|
requirements:
|
138
|
-
- -
|
159
|
+
- - ">="
|
139
160
|
- !ruby/object:Gem::Version
|
140
161
|
version: '0'
|
141
|
-
segments:
|
142
|
-
- 0
|
143
|
-
hash: 654456015096180665
|
144
162
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
163
|
requirements:
|
147
|
-
- -
|
164
|
+
- - ">="
|
148
165
|
- !ruby/object:Gem::Version
|
149
166
|
version: '0'
|
150
167
|
requirements: []
|
151
168
|
rubyforge_project:
|
152
|
-
rubygems_version:
|
169
|
+
rubygems_version: 2.4.6
|
153
170
|
signing_key:
|
154
|
-
specification_version:
|
171
|
+
specification_version: 4
|
155
172
|
summary: Library that provides more mathematics.
|
156
173
|
test_files:
|
157
174
|
- tests/cantor_pairing_function_test.rb
|