sciruby 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES +4 -0
- data/Gemfile +1 -1
- data/gems.yml +10 -10
- data/lib/sciruby/version.rb +1 -1
- data/sciruby.gemspec +2 -2
- data/scripts/helper.rb +16 -4
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f7bd683282f370896bcd92e6fbe23f38ce50b79
|
4
|
+
data.tar.gz: 6bca1922defd21c5e8f28e7f33ceec1334c7f5f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df207e9de8d4115c65129631fe404eaf355751aa12d89bc6e2de2e415e2df580daee4f7c6af6d53ba745264e2de515568775113951cd05a0ea0b4d37dfb298d8
|
7
|
+
data.tar.gz: e2823175fbb9318028421e10c2564cda53dd0ae27c024b9e1edaa28dece40c22464062f88cabfbfbd21e0e654c0b25dab3f5cf7bcfcc5794ffabff0d9efeeab7
|
data/CHANGES
CHANGED
data/Gemfile
CHANGED
data/gems.yml
CHANGED
@@ -36,11 +36,11 @@ cassowary:
|
|
36
36
|
description: Incremental constraint solver
|
37
37
|
exclude: Native dependencies
|
38
38
|
module: Cassowary
|
39
|
-
classifier:
|
39
|
+
classifier-reborn:
|
40
40
|
category: ai
|
41
41
|
description: Machine learning
|
42
|
-
module:
|
43
|
-
version: "~>
|
42
|
+
module: ClassifierReborn
|
43
|
+
version: "~> 2.0"
|
44
44
|
cmath:
|
45
45
|
category: algebra
|
46
46
|
description: Stdlib cmath module
|
@@ -111,13 +111,13 @@ gsl:
|
|
111
111
|
description: Bindings for the GNU scientific library
|
112
112
|
module: GSL
|
113
113
|
owner: sciruby
|
114
|
-
version: "~> 1
|
114
|
+
version: "~> 2.1"
|
115
115
|
hamster:
|
116
116
|
category: utilities
|
117
117
|
description: Efficient persistent data structures
|
118
118
|
module:
|
119
119
|
- Hamster
|
120
|
-
version: "~>
|
120
|
+
version: "~> 3.0"
|
121
121
|
histogram:
|
122
122
|
category: statistics
|
123
123
|
description: Histogram method
|
@@ -145,7 +145,7 @@ liblinear-ruby:
|
|
145
145
|
description: Linear classifier
|
146
146
|
module: Liblinear
|
147
147
|
require: liblinear
|
148
|
-
version: "~>
|
148
|
+
version: "~> 1.0"
|
149
149
|
lpsolve:
|
150
150
|
category: optimization
|
151
151
|
description: Linear solver
|
@@ -188,7 +188,7 @@ mixed_models:
|
|
188
188
|
category: statistics
|
189
189
|
description: Fit statistical models
|
190
190
|
module: MixedModels
|
191
|
-
|
191
|
+
exclude: Bad version constraints on daru
|
192
192
|
modshogun:
|
193
193
|
category: ai
|
194
194
|
description: Machine learning
|
@@ -207,7 +207,7 @@ nmatrix:
|
|
207
207
|
- NMatrix
|
208
208
|
- NVector
|
209
209
|
owner: sciruby
|
210
|
-
version: "~> 0.
|
210
|
+
version: "~> 0.2"
|
211
211
|
nyaplot:
|
212
212
|
category: plotting
|
213
213
|
description: Plotting library
|
@@ -228,7 +228,7 @@ omoikane:
|
|
228
228
|
category: ai
|
229
229
|
description: Machine learning
|
230
230
|
module: Omoikane
|
231
|
-
|
231
|
+
exclude: Outdated nmatrix dependency
|
232
232
|
parallel:
|
233
233
|
category: utilties
|
234
234
|
description: Parallel processing
|
@@ -265,8 +265,8 @@ pry:
|
|
265
265
|
publisci:
|
266
266
|
category: publishing
|
267
267
|
description: Publishing toolkit
|
268
|
+
exclude: Installation fails
|
268
269
|
module: PubliSci
|
269
|
-
version: "~> 0.1"
|
270
270
|
rb-libsvm:
|
271
271
|
category: ai
|
272
272
|
description: Support vector machines (machine learning)
|
data/lib/sciruby/version.rb
CHANGED
data/sciruby.gemspec
CHANGED
@@ -15,13 +15,13 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.files = %w(CHANGES CONTRIBUTING.md README.md LICENSE sciruby-full.gemspec)
|
16
16
|
|
17
17
|
s.add_runtime_dependency 'sciruby', "= #{SciRuby::VERSION}"
|
18
|
-
Helper.
|
18
|
+
Helper.installed_gems.each {|gem| s.add_runtime_dependency gem[:name], *gem[:version] }
|
19
19
|
else
|
20
20
|
s.files = `git ls-files`.split($/)
|
21
21
|
s.files.delete 'sciruby-full.gemspec'
|
22
22
|
|
23
23
|
m = "Please consider installing 'sciruby-full' or the following gems:\n"
|
24
|
-
Helper.
|
24
|
+
Helper.all_gems.each {|gem| m << " * #{gem[:name]} - #{gem[:description]}\n" }
|
25
25
|
s.post_install_message = m << "\n"
|
26
26
|
end
|
27
27
|
end
|
data/scripts/helper.rb
CHANGED
@@ -135,9 +135,9 @@ module Helper
|
|
135
135
|
end
|
136
136
|
|
137
137
|
def github_name(gem)
|
138
|
-
return $1 if gem[:spec].homepage =~ %r{github.com/([^/]+/[^/]+)}
|
138
|
+
return $1.sub(/\.git$/, '') if gem[:spec].homepage =~ %r{github.com/([^/]+/[^/]+)}
|
139
139
|
JSON.parse(Net::HTTP.get(URI("https://rubygems.org/api/v1/gems/#{gem[:name]}.json"))).each do |k,v|
|
140
|
-
return $1 if k =~ /_uri/ && v =~ %r{github.com/([^/]+/[^/]+)}
|
140
|
+
return $1.sub(/\.git$/, '') if k =~ /_uri/ && v =~ %r{github.com/([^/]+/[^/]+)}
|
141
141
|
end
|
142
142
|
nil
|
143
143
|
end
|
@@ -146,8 +146,20 @@ module Helper
|
|
146
146
|
Net::HTTP.get(URI("https://www.versioneye.com/ruby/#{name}/badge")) =~ /out of date/
|
147
147
|
end
|
148
148
|
|
149
|
-
def
|
150
|
-
SciRuby.gems
|
149
|
+
def installable_gems
|
150
|
+
filter_gems(SciRuby.gems, true)
|
151
|
+
end
|
152
|
+
|
153
|
+
def installed_gems
|
154
|
+
filter_gems(SciRuby.installed_gems, true)
|
155
|
+
end
|
156
|
+
|
157
|
+
def all_gems
|
158
|
+
filter_gems(SciRuby.gems, false)
|
159
|
+
end
|
160
|
+
|
161
|
+
def filter_gems(gems, exclude)
|
162
|
+
gems.each_value.sort_by {|gem| gem[:name] }.reject do |gem|
|
151
163
|
gem[:owner] == 'stdlib' || %w(sciruby sciruby-full).include?(gem[:name])
|
152
164
|
end.reject {|gem| gem[:exclude] && exclude }
|
153
165
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sciruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SciRuby Development Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-05-03 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Scientific gems for Ruby
|
14
14
|
email:
|
@@ -48,7 +48,7 @@ post_install_message: |+
|
|
48
48
|
* bibtex-ruby - BibTeX parser
|
49
49
|
* bio - Bioinformatics suite
|
50
50
|
* cassowary - Incremental constraint solver
|
51
|
-
* classifier - Machine learning
|
51
|
+
* classifier-reborn - Machine learning
|
52
52
|
* ctioga2 - Command line tool for tioga
|
53
53
|
* daru - Dataframe library
|
54
54
|
* darwinning - Genetic algorithms
|
@@ -136,4 +136,3 @@ signing_key:
|
|
136
136
|
specification_version: 4
|
137
137
|
summary: Scientific gems for Ruby
|
138
138
|
test_files: []
|
139
|
-
has_rdoc:
|