darkhelmet-darkext 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +71 -0
- data/VERSION.yml +4 -0
- metadata +28 -52
- data/Manifest.txt +0 -23
- data/Rakefile +0 -28
- data/script/console +0 -10
- data/script/destroy +0 -14
- data/script/generate +0 -14
data/History.txt
ADDED
@@ -0,0 +1,71 @@
|
|
1
|
+
== 0.7.2 2009-2-14
|
2
|
+
|
3
|
+
* Added running? and status to Beagle module
|
4
|
+
|
5
|
+
== 0.7.1 2009-2-14
|
6
|
+
|
7
|
+
* Added printn to String
|
8
|
+
|
9
|
+
== 0.7.0 2009-2-14
|
10
|
+
|
11
|
+
* Added Beagle module for working with the beagle index and search daemon
|
12
|
+
|
13
|
+
== 0.6.0 2009-2-11
|
14
|
+
|
15
|
+
* Added additions to Net module to download and download and save files
|
16
|
+
|
17
|
+
== 0.5.6 2009-2-11
|
18
|
+
|
19
|
+
* Fixed bug in string
|
20
|
+
|
21
|
+
== 0.5.5 2009-2-11
|
22
|
+
|
23
|
+
* Fixed a string thing so you can do ranges with letters too
|
24
|
+
* Fixed a capture IO thing
|
25
|
+
|
26
|
+
== 0.5.4 2009-1-25
|
27
|
+
|
28
|
+
* Added some new fun things to hash (nested_find, among others)
|
29
|
+
* Add sitemap builder for phpBB sites (infancy, but it works)
|
30
|
+
|
31
|
+
== 0.5.3 2009-1-18
|
32
|
+
|
33
|
+
* Move float stuff to its own file
|
34
|
+
* Add geometric standard deviation
|
35
|
+
|
36
|
+
== 0.5.2 2009-1-11
|
37
|
+
|
38
|
+
* Add root method to Numeric
|
39
|
+
* Add equals? to Float with tolerance
|
40
|
+
* Add harmonic mean and geometric mean
|
41
|
+
|
42
|
+
== 0.4.0 2008-12-2
|
43
|
+
|
44
|
+
* Fix some statistics stuff
|
45
|
+
* Move stats into proper module
|
46
|
+
* New sum_of_squares method on array to calculate sum((v - v_bar)^2)
|
47
|
+
|
48
|
+
== 0.3.2 2008-11-26
|
49
|
+
|
50
|
+
* Add print method on String
|
51
|
+
|
52
|
+
== 0.3.1 2008-11-25
|
53
|
+
|
54
|
+
* Added destructive randomize! to array
|
55
|
+
* Added check to Symbol#to_proc to only define if not respond_to?
|
56
|
+
|
57
|
+
== 0.3.0 2008-11-24
|
58
|
+
|
59
|
+
* Added factorial method to Integer
|
60
|
+
* Added cube method to Numeric
|
61
|
+
|
62
|
+
== 0.2.0 2008-11-24
|
63
|
+
|
64
|
+
* Added Regression module to Statistics
|
65
|
+
* Only method thus far is least_squares
|
66
|
+
* Aliased some methods on arrays in Statistics module
|
67
|
+
|
68
|
+
== 0.0.1 2008-11-21
|
69
|
+
|
70
|
+
* 1 major enhancement:
|
71
|
+
* Initial release
|
data/VERSION.yml
ADDED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: darkhelmet-darkext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Huckstep
|
@@ -11,67 +11,44 @@ cert_chain: []
|
|
11
11
|
|
12
12
|
date: 2009-02-14 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
|
-
dependencies:
|
15
|
-
|
16
|
-
name: newgem
|
17
|
-
type: :development
|
18
|
-
version_requirement:
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">="
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 1.2.3
|
24
|
-
version:
|
25
|
-
- !ruby/object:Gem::Dependency
|
26
|
-
name: hoe
|
27
|
-
type: :development
|
28
|
-
version_requirement:
|
29
|
-
version_requirements: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 1.8.0
|
34
|
-
version:
|
14
|
+
dependencies: []
|
15
|
+
|
35
16
|
description: Just some useful Ruby functionality. No particular focus, except usefulness
|
36
|
-
email:
|
37
|
-
- darkhelmet@darkhelmetlive.com
|
17
|
+
email: darkhelmet@darkhelmetlive.com
|
38
18
|
executables: []
|
39
19
|
|
40
20
|
extensions: []
|
41
21
|
|
42
|
-
extra_rdoc_files:
|
43
|
-
|
44
|
-
- README.rdoc
|
22
|
+
extra_rdoc_files: []
|
23
|
+
|
45
24
|
files:
|
46
|
-
-
|
25
|
+
- VERSION.yml
|
47
26
|
- README.rdoc
|
48
|
-
-
|
49
|
-
- lib/darkext
|
50
|
-
-
|
51
|
-
-
|
52
|
-
-
|
53
|
-
-
|
54
|
-
-
|
55
|
-
- lib/darkext/array.rb
|
56
|
-
- lib/darkext/beagle.rb
|
27
|
+
- History.txt
|
28
|
+
- lib/darkext
|
29
|
+
- lib/darkext/numeric.rb
|
30
|
+
- lib/darkext/string.rb
|
31
|
+
- lib/darkext/io.rb
|
32
|
+
- lib/darkext/symbol.rb
|
33
|
+
- lib/darkext/statistics.rb
|
57
34
|
- lib/darkext/boolean.rb
|
58
|
-
- lib/darkext/float.rb
|
59
35
|
- lib/darkext/hash.rb
|
60
|
-
- lib/darkext/integer.rb
|
61
|
-
- lib/darkext/io.rb
|
62
36
|
- lib/darkext/net.rb
|
63
|
-
- lib/darkext/numeric.rb
|
64
37
|
- lib/darkext/object.rb
|
38
|
+
- lib/darkext/array.rb
|
65
39
|
- lib/darkext/sitemap_generator.rb
|
66
|
-
- lib/darkext/
|
67
|
-
- lib/darkext/
|
68
|
-
- lib/darkext/
|
40
|
+
- lib/darkext/beagle.rb
|
41
|
+
- lib/darkext/float.rb
|
42
|
+
- lib/darkext/integer.rb
|
43
|
+
- lib/darkext.rb
|
44
|
+
- test/test_helper.rb
|
45
|
+
- test/test_darkext.rb
|
69
46
|
has_rdoc: true
|
70
|
-
homepage:
|
71
|
-
post_install_message:
|
47
|
+
homepage: http://github.com/darkhelmet/darkext
|
48
|
+
post_install_message:
|
72
49
|
rdoc_options:
|
73
|
-
- --
|
74
|
-
-
|
50
|
+
- --inline-source
|
51
|
+
- --charset=UTF-8
|
75
52
|
require_paths:
|
76
53
|
- lib
|
77
54
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -88,11 +65,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
65
|
version:
|
89
66
|
requirements: []
|
90
67
|
|
91
|
-
rubyforge_project:
|
68
|
+
rubyforge_project:
|
92
69
|
rubygems_version: 1.2.0
|
93
70
|
signing_key:
|
94
71
|
specification_version: 2
|
95
72
|
summary: Just some useful Ruby functionality
|
96
|
-
test_files:
|
97
|
-
|
98
|
-
- test/test_darkext.rb
|
73
|
+
test_files: []
|
74
|
+
|
data/Manifest.txt
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
Manifest.txt
|
2
|
-
README.rdoc
|
3
|
-
Rakefile
|
4
|
-
lib/darkext.rb
|
5
|
-
script/console
|
6
|
-
script/destroy
|
7
|
-
script/generate
|
8
|
-
test/test_darkext.rb
|
9
|
-
test/test_helper.rb
|
10
|
-
lib/darkext/array.rb
|
11
|
-
lib/darkext/beagle.rb
|
12
|
-
lib/darkext/boolean.rb
|
13
|
-
lib/darkext/float.rb
|
14
|
-
lib/darkext/hash.rb
|
15
|
-
lib/darkext/integer.rb
|
16
|
-
lib/darkext/io.rb
|
17
|
-
lib/darkext/net.rb
|
18
|
-
lib/darkext/numeric.rb
|
19
|
-
lib/darkext/object.rb
|
20
|
-
lib/darkext/sitemap_generator.rb
|
21
|
-
lib/darkext/statistics.rb
|
22
|
-
lib/darkext/string.rb
|
23
|
-
lib/darkext/symbol.rb
|
data/Rakefile
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
%w[rubygems rake rake/clean fileutils newgem rubigen].each { |f| require f }
|
2
|
-
require 'version'
|
3
|
-
|
4
|
-
# Generate all the Rake tasks
|
5
|
-
# Run 'rake -T' to see list of generated tasks (from gem root directory)
|
6
|
-
$hoe = Hoe.new('darkext', Darkext::VERSION) do |p|
|
7
|
-
p.developer('Daniel Huckstep', 'darkhelmet@darkhelmetlive.com')
|
8
|
-
p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
|
9
|
-
p.post_install_message = 'PostInstall.txt' # TODO remove if post-install message not required
|
10
|
-
p.rubyforge_name = p.name # TODO this is default value
|
11
|
-
# p.extra_deps = [
|
12
|
-
# ['activesupport','>= 2.0.2'],
|
13
|
-
# ]
|
14
|
-
p.extra_dev_deps = [
|
15
|
-
['newgem', ">= #{::Newgem::VERSION}"]
|
16
|
-
]
|
17
|
-
|
18
|
-
p.clean_globs |= %w[**/.DS_Store tmp *.log]
|
19
|
-
path = (p.rubyforge_name == p.name) ? p.rubyforge_name : "\#{p.rubyforge_name}/\#{p.name}"
|
20
|
-
p.remote_rdoc_dir = File.join(path.gsub(/^#{p.rubyforge_name}\/?/,''), 'rdoc')
|
21
|
-
p.rsync_args = '-av --delete --ignore-errors'
|
22
|
-
end
|
23
|
-
|
24
|
-
require 'newgem/tasks' # load /tasks/*.rake
|
25
|
-
Dir['tasks/**/*.rake'].each { |t| load t }
|
26
|
-
|
27
|
-
# TODO - want other tests/tasks run by default? Add them to the list
|
28
|
-
# task :default => [:spec, :features]
|
data/script/console
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# File: script/console
|
3
|
-
irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
|
4
|
-
|
5
|
-
libs = " -r irb/completion"
|
6
|
-
# Perhaps use a console_lib to store any extra methods I may want available in the cosole
|
7
|
-
# libs << " -r #{File.dirname(__FILE__) + '/../lib/console_lib/console_logger.rb'}"
|
8
|
-
libs << " -r #{File.dirname(__FILE__) + '/../lib/darkext.rb'}"
|
9
|
-
puts "Loading darkext gem"
|
10
|
-
exec "#{irb} #{libs} --simple-prompt"
|
data/script/destroy
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
3
|
-
|
4
|
-
begin
|
5
|
-
require 'rubigen'
|
6
|
-
rescue LoadError
|
7
|
-
require 'rubygems'
|
8
|
-
require 'rubigen'
|
9
|
-
end
|
10
|
-
require 'rubigen/scripts/destroy'
|
11
|
-
|
12
|
-
ARGV.shift if ['--help', '-h'].include?(ARGV[0])
|
13
|
-
RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
|
14
|
-
RubiGen::Scripts::Destroy.new.run(ARGV)
|
data/script/generate
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
3
|
-
|
4
|
-
begin
|
5
|
-
require 'rubigen'
|
6
|
-
rescue LoadError
|
7
|
-
require 'rubygems'
|
8
|
-
require 'rubigen'
|
9
|
-
end
|
10
|
-
require 'rubigen/scripts/generate'
|
11
|
-
|
12
|
-
ARGV.shift if ['--help', '-h'].include?(ARGV[0])
|
13
|
-
RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
|
14
|
-
RubiGen::Scripts::Generate.new.run(ARGV)
|