ruby_ex 0.4.6.2 → 0.5.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. data/NEWS +17 -0
  2. data/README +1 -0
  3. data/SPEC.gemspec +14 -0
  4. data/SPEC.yml +10 -6
  5. data/lib/abstract.rb +3 -4
  6. data/lib/d_logger.rb +3 -3
  7. data/lib/drb/observable_pool.rb +5 -2
  8. data/lib/drb_ex.rb +1 -6
  9. data/lib/exp_mod.rb +48 -0
  10. data/lib/file_type.rb +82 -97
  11. data/lib/kill_all.rb +3 -3
  12. data/lib/{module → module_extensions}/autoload_tree.rb +5 -10
  13. data/lib/{module → module_extensions}/hierarchy.rb +11 -5
  14. data/lib/{module → module_extensions}/instance_method_visibility.rb +7 -5
  15. data/lib/{ordered_hash.rb → o_hash.rb} +8 -13
  16. data/lib/probability_distributions/gaussian_distribution.rb +34 -0
  17. data/lib/probability_distributions/probability_distribution.rb +16 -0
  18. data/lib/probability_distributions/uniform_distribution.rb +12 -0
  19. data/lib/random_generators.rb +1 -3
  20. data/lib/ruby_ex.rb +4 -4
  21. data/lib/sendmail.rb +7 -4
  22. data/lib/sym_tbl_gsub.rb +48 -17
  23. data/lib/uri/file.rb +5 -10
  24. data/lib/uri/ftp_ex.rb +4 -4
  25. data/lib/uri/generic_ex.rb +11 -7
  26. data/lib/uri/http_ex.rb +4 -4
  27. data/lib/uri/mysql.rb +3 -5
  28. data/lib/uri/pgsql.rb +3 -5
  29. data/lib/uri/rsync.rb +2 -4
  30. data/lib/uri/ssh.rb +3 -6
  31. data/lib/uri/svn.rb +10 -12
  32. data/lib/{yaml → yaml_extensions}/chop_header.rb +3 -3
  33. data/lib/{yaml → yaml_extensions}/transform.rb +4 -4
  34. data/lib/{yaml → yaml_extensions}/yregexpath.rb +3 -3
  35. metadata +89 -105
  36. data/lib/commands.rb +0 -27
  37. data/lib/commands/command.rb +0 -545
  38. data/lib/commands/datas.rb +0 -11
  39. data/lib/commands/datas/composite.rb +0 -55
  40. data/lib/commands/datas/data.rb +0 -160
  41. data/lib/commands/datas/factory.rb +0 -74
  42. data/lib/commands/datas/pipe.rb +0 -52
  43. data/lib/commands/datas/temp.rb +0 -24
  44. data/lib/commands/factory.rb +0 -65
  45. data/lib/commands/helpers.rb +0 -76
  46. data/lib/commands/pipe.rb +0 -114
  47. data/lib/commands/runners.rb +0 -11
  48. data/lib/commands/runners/exec.rb +0 -46
  49. data/lib/commands/runners/fork.rb +0 -104
  50. data/lib/commands/runners/mockable.rb +0 -63
  51. data/lib/commands/runners/no_run.rb +0 -44
  52. data/lib/commands/runners/popen.rb +0 -49
  53. data/lib/commands/runners/runner.rb +0 -177
  54. data/lib/commands/runners/system.rb +0 -54
  55. data/lib/commands/seq.rb +0 -31
  56. data/lib/hookable.rb +0 -294
  57. data/lib/hooker.rb +0 -52
data/lib/uri/file.rb CHANGED
@@ -2,8 +2,8 @@
2
2
  # Author: Nicolas Pouillard <ertai@lrde.epita.fr>.
3
3
  # License: Gnu General Public License.
4
4
 
5
- # $LastChangedBy: pouillar $
6
- # $Id: /w/fey/ruby_ex/trunk/lib/uri/file.rb 21865 2006-02-18T17:13:28.680350Z pouillar $
5
+ # $LastChangedBy: ertai $
6
+ # $Id: /w/fey/ruby_ex/trunk/lib/uri/file.rb 24745 2006-07-19T13:46:25.553442Z ertai $
7
7
 
8
8
 
9
9
  require 'md5'
@@ -16,10 +16,6 @@ module URI
16
16
  :scheme,
17
17
  :path
18
18
  ].freeze
19
- cattr_reader :tar, :gzip
20
- @@tar = 'tar'.to_cmd.freeze
21
- @@gzip = 'gzip'.to_cmd.freeze
22
-
23
19
 
24
20
  def initialize ( *args )
25
21
  super
@@ -44,12 +40,11 @@ module URI
44
40
  raise SaveError, to_s unless p.exist?
45
41
  if p.directory?
46
42
  out = TempPath.new('save', "#{p.basename}.tar.gz")
47
- cmd = tar['czf', out, p]
43
+ shell! { tar 'czf', out, p }
48
44
  else
49
45
  out = TempPath.new('save', "#{p.basename}.gz")
50
- cmd = gzip['-c', p] > out
46
+ shell! { gzip('-c', p) > out }
51
47
  end
52
- cmd.run(runner)
53
48
  [out, nil]
54
49
  end
55
50
 
@@ -57,7 +52,7 @@ module URI
57
52
  digest = Digest::MD5.new
58
53
  if pathname.directory?
59
54
  pathname.find do |path|
60
- next if path.directory?
55
+ next if path.directory? or not path.readable?
61
56
  digest << path.read
62
57
  end
63
58
  else
data/lib/uri/ftp_ex.rb CHANGED
@@ -2,8 +2,8 @@
2
2
  # Author: Nicolas Pouillard <ertai@lrde.epita.fr>.
3
3
  # License: Gnu General Public License.
4
4
 
5
- # $LastChangedBy: pouillar $
6
- # $Id: /w/fey/ruby_ex/trunk/lib/uri/ftp_ex.rb 22058 2006-02-20T21:41:08.060925Z pouillar $
5
+ # $LastChangedBy: ertai $
6
+ # $Id: /w/fey/ruby_ex/trunk/lib/uri/ftp_ex.rb 24386 2006-07-09T17:05:32.199607Z ertai $
7
7
 
8
8
  require 'uri/ftp'
9
9
  require 'net/ftp'
@@ -33,9 +33,9 @@ module URI
33
33
 
34
34
  end # class FTP
35
35
 
36
- class FtpEx
36
+ class FtpEx < GenericEx
37
37
  end
38
- class FTPEx
38
+ class FTPEx < GenericEx
39
39
  end
40
40
 
41
41
  end # module URI
@@ -1,7 +1,9 @@
1
1
  # Copyright:: Copyright (c) 2005 Nicolas Pouillard. All rights reserved.
2
2
  # Author:: Nicolas Pouillard <ertai@lrde.epita.fr>.
3
3
  # License:: Gnu General Public License.
4
- # Revision:: $Id: /w/fey/ruby_ex/trunk/lib/uri/generic_ex.rb 22448 2006-03-11T18:09:23.325348Z pouillar $
4
+ # Revision:: $Id: /w/fey/ruby_ex/trunk/lib/uri/generic_ex.rb 53903 2007-01-13T11:36:41.481975Z ertai $
5
+
6
+ core_ex_require 'objective_command'
5
7
 
6
8
  module URI
7
9
 
@@ -30,12 +32,11 @@ module URI
30
32
 
31
33
  #
32
34
  # To make all uris command verbose you can change or modify the global
33
- # command runner: URI::Generic.runner.make_verbose!
35
+ # command runner: URI::Generic.ocmd_shell.runner.make_verbose
34
36
  #
35
- cattr_accessor :runner
36
-
37
- self.runner = Commands::Runners::System.new.raise_on_failures
38
- self.runner.command_data_factory.command_data_class = Commands::Datas::Temp
37
+ have ObjectiveCommand::Shell::Attribute,
38
+ ObjectiveCommand::Runners::System.new(:r),
39
+ :frozen => true
39
40
 
40
41
  def pathname
41
42
  Pathname.new(path)
@@ -110,13 +111,16 @@ module URI
110
111
  end
111
112
 
112
113
  def teardown
113
- URI::Generic.remove_subclasses
114
+ URI::GenericEx.remove_subclasses
115
+ load 'uri/druby.rb' # FIXME
116
+ load 'uri/file.rb' # FIXME
114
117
  end
115
118
 
116
119
  def test_uri_inflections
117
120
  assert_equal 'URI', 'uri'.camelize
118
121
  assert_equal 'Security', 'security'.camelize
119
122
  assert_equal 'Sec::URI::Ty', 'sec/uri/ty'.camelize
123
+ assert_equal 'uri/druby', 'URI::DRuby'.underscore
120
124
  end
121
125
 
122
126
  def test_mk_custom_opts
data/lib/uri/http_ex.rb CHANGED
@@ -2,8 +2,8 @@
2
2
  # Author: Nicolas Pouillard <ertai@lrde.epita.fr>.
3
3
  # License: Gnu General Public License.
4
4
 
5
- # $LastChangedBy: pouillar $
6
- # $Id: /w/fey/ruby_ex/trunk/lib/uri/http_ex.rb 22058 2006-02-20T21:41:08.060925Z pouillar $
5
+ # $LastChangedBy: ertai $
6
+ # $Id: /w/fey/ruby_ex/trunk/lib/uri/http_ex.rb 24386 2006-07-09T17:05:32.199607Z ertai $
7
7
 
8
8
  require 'uri/http'
9
9
  require 'net/http'
@@ -38,9 +38,9 @@ module URI
38
38
 
39
39
  end # class HTTP
40
40
 
41
- class HttpEx
41
+ class HttpEx < GenericEx
42
42
  end
43
- class HTTPEx
43
+ class HTTPEx < GenericEx
44
44
  end
45
45
 
46
46
  end # module URI
data/lib/uri/mysql.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # Copyright:: Copyright (c) 2005 Nicolas Pouillard. All rights reserved.
2
2
  # Author:: Nicolas Pouillard <ertai@lrde.epita.fr>.
3
3
  # License:: Gnu General Public License.
4
- # Revision:: $Id: /w/fey/ruby_ex/trunk/lib/uri/mysql.rb 21865 2006-02-18T17:13:28.680350Z pouillar $
4
+ # Revision:: $Id: /w/fey/ruby_ex/trunk/lib/uri/mysql.rb 24386 2006-07-09T17:05:32.199607Z ertai $
5
5
 
6
6
  module URI
7
7
 
@@ -11,8 +11,6 @@ module URI
11
11
  DEFAULT_HOST = 'localhost'.freeze
12
12
  DEFAULT_PORT = 3306
13
13
  DEFAULT_QUERY = ''.freeze
14
- cattr_reader :mysqldump
15
- @@mysqldump = 'mysqldump'.to_cmd.freeze
16
14
 
17
15
  COMPONENT = [
18
16
  :scheme,
@@ -52,8 +50,8 @@ module URI
52
50
 
53
51
  def save
54
52
  out = TempPath.new('dump', pathname.basename.to_s)
55
- cmd = mysqldump + mk_connection_opts + mk_dump_opts(out) + mk_custom_opts
56
- [out, cmd.run(runner)]
53
+ d = shell.mysqldump! mk_connection_opts, mk_dump_opts(out), mk_custom_opts
54
+ [out, d]
57
55
  end
58
56
 
59
57
  end # class MySQL
data/lib/uri/pgsql.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # Copyright:: Copyright (c) 2005 Nicolas Pouillard. All rights reserved.
2
2
  # Author:: Nicolas Pouillard <ertai@lrde.epita.fr>.
3
3
  # License:: Gnu General Public License.
4
- # Revision:: $Id: /w/fey/ruby_ex/trunk/lib/uri/pgsql.rb 21865 2006-02-18T17:13:28.680350Z pouillar $
4
+ # Revision:: $Id: /w/fey/ruby_ex/trunk/lib/uri/pgsql.rb 24386 2006-07-09T17:05:32.199607Z ertai $
5
5
 
6
6
  module URI
7
7
 
@@ -11,8 +11,6 @@ module URI
11
11
  DEFAULT_HOST = 'localhost'.freeze
12
12
  DEFAULT_PORT = 5432
13
13
  DEFAULT_QUERY = ''.freeze
14
- cattr_reader :pg_dump
15
- @@pg_dump = 'pg_dump'.to_cmd.freeze
16
14
 
17
15
  COMPONENT = [
18
16
  :scheme,
@@ -51,8 +49,8 @@ module URI
51
49
 
52
50
  def save
53
51
  out = TempPath.new('dump', pathname.basename.to_s)
54
- cmd = pg_dump + mk_connection_opts + mk_dump_opts(out) + mk_custom_opts
55
- [out, cmd.run(runner)]
52
+ d = shell.pg_dump! mk_connection_opts, mk_dump_opts(out), mk_custom_opts
53
+ [out, d]
56
54
  end
57
55
 
58
56
  end # class PgSQL
data/lib/uri/rsync.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # Copyright:: Copyright (c) 2005 Nicolas Pouillard. All rights reserved.
2
2
  # Author:: Nicolas Pouillard <ertai@lrde.epita.fr>.
3
3
  # License:: Gnu General Public License.
4
- # Revision:: $Id: /w/fey/ruby_ex/trunk/lib/uri/rsync.rb 21865 2006-02-18T17:13:28.680350Z pouillar $
4
+ # Revision:: $Id: /w/fey/ruby_ex/trunk/lib/uri/rsync.rb 24386 2006-07-09T17:05:32.199607Z ertai $
5
5
 
6
6
  module URI
7
7
 
@@ -10,8 +10,6 @@ module URI
10
10
  SCHEMES = ['rsync.ssh'.freeze]
11
11
  DEFAULT_HOST = 'localhost'.freeze
12
12
  DEFAULT_QUERY = ''.freeze
13
- cattr_reader :rsync
14
- @@rsync ||= 'rsync'.to_cmd.freeze
15
13
 
16
14
  COMPONENT = [
17
15
  :scheme,
@@ -39,7 +37,7 @@ module URI
39
37
  # end
40
38
 
41
39
  def commit ( aPath )
42
- rsync[mk_opts, aPath, mk_arg].run(runner)
40
+ shell.rsync! mk_opts, aPath, mk_arg
43
41
  end
44
42
 
45
43
  end # class Rsync
data/lib/uri/ssh.rb CHANGED
@@ -11,9 +11,6 @@ module URI
11
11
  DEFAULT_HOST = 'localhost'.freeze
12
12
  DEFAULT_PORT = 22
13
13
  DEFAULT_QUERY = ''.freeze
14
- cattr_reader :ssh, :scp
15
- @@ssh = 'ssh'.to_cmd.freeze
16
- @@scp = 'scp'.to_cmd.freeze
17
14
 
18
15
  COMPONENT = [
19
16
  :scheme,
@@ -41,7 +38,7 @@ module URI
41
38
 
42
39
  def checkout
43
40
  out = TempPath.new('checkout', pathname.basename.to_s)
44
- [out, scp[mk_opts, mk_scp_arg, out].run(runner)]
41
+ [out, shell.scp!(mk_opts, mk_scp_arg, out)]
45
42
  end
46
43
 
47
44
  def save
@@ -49,7 +46,7 @@ module URI
49
46
  end
50
47
 
51
48
  def commit ( aPath )
52
- scp[mk_opts, aPath, mk_scp_arg].run(runner)
49
+ shell.scp! mk_opts, aPath, mk_scp_arg
53
50
  end
54
51
 
55
52
  def jump_and_eval ( aString, ruby='ruby', ruby_opts=[], &block )
@@ -68,7 +65,7 @@ module URI
68
65
  STDERR.print Marshal.dump(result)
69
66
  "
70
67
  end
71
- cmd = ssh[mk_opts, mk_ssh_arg, ruby, *ruby_opts] < tmp
68
+ cmd = shell.ssh(mk_opts, mk_ssh_arg, ruby, *ruby_opts) < tmp
72
69
  data = cmd.popen
73
70
  block[data.output]
74
71
  data.waitpid
data/lib/uri/svn.rb CHANGED
@@ -2,8 +2,8 @@
2
2
  # Author: Nicolas Pouillard <ertai@lrde.epita.fr>.
3
3
  # License: Gnu General Public License.
4
4
 
5
- # $LastChangedBy: pouillar $
6
- # $Id: /w/fey/ruby_ex/trunk/lib/uri/svn.rb 21865 2006-02-18T17:13:28.680350Z pouillar $
5
+ # $LastChangedBy: ertai $
6
+ # $Id: /w/fey/ruby_ex/trunk/lib/uri/svn.rb 24386 2006-07-09T17:05:32.199607Z ertai $
7
7
 
8
8
  module URI
9
9
 
@@ -15,12 +15,6 @@ module URI
15
15
  :path
16
16
  ].freeze
17
17
 
18
- cattr_reader :svn, :svnadmin
19
-
20
- @@svn = 'svn'.to_cmd.freeze
21
- @@svnadmin = 'svnadmin'.to_cmd.freeze
22
-
23
-
24
18
  def svn_uri_string
25
19
  to_s.sub(/^svn\./, '')
26
20
  end
@@ -30,14 +24,16 @@ module URI
30
24
  end
31
25
 
32
26
  def fingerprint
33
- svn['info', svn_uri_string].system(:r).output.read[/Revision: (\d+)/, 1]
27
+ shell(:raise).
28
+ svn!('info', svn_uri_string).
29
+ output.read[/Revision: (\d+)/, 1]
34
30
  end
35
31
 
36
32
  def checkout
37
33
  tmp = TempPath.new('svn-checkout')
38
34
  tmp.mkpath
39
35
  tmp += pathname.basename
40
- [tmp, svn['checkout', svn_uri_string, tmp].run(runner)]
36
+ [tmp, shell.svn!('checkout', svn_uri_string, tmp)]
41
37
  end
42
38
 
43
39
  def save
@@ -45,8 +41,10 @@ module URI
45
41
  repos = pathname
46
42
  raise SaveError unless (repos + 'format').exist?
47
43
  out = TempPath.new('save', "#{repos.basename}.svndump")
48
- cmd = svnadmin['dump', repos, '--incremental', '--quiet', '--deltas'] > out
49
- [out, cmd.run(runner)]
44
+ data = shell! do
45
+ svnadmin('dump', repos, '--incremental', '--quiet', '--deltas') > out
46
+ end
47
+ [out, data]
50
48
  end
51
49
 
52
50
  end # class Svn
@@ -5,7 +5,7 @@
5
5
 
6
6
  require 'yaml'
7
7
 
8
- module Yaml
8
+ module YamlExtensions
9
9
  class ChopHeader
10
10
  def initialize ( io )
11
11
  aStr = io.gets
@@ -21,12 +21,12 @@ module Yaml
21
21
  end
22
22
  attr_reader :doc
23
23
  end # class ChopHeader
24
- end # module Yaml
24
+ end # module YamlExtensions
25
25
 
26
26
  module YAML
27
27
 
28
28
  def self.chop_header ( io )
29
- Yaml::ChopHeader.new(io).doc
29
+ YamlExtensions::ChopHeader.new(io).doc
30
30
  end
31
31
 
32
32
  end # module YAML
@@ -3,7 +3,7 @@
3
3
  # License:: Gnu General Public License.
4
4
 
5
5
  # $LastChangedBy: ertai $
6
- # $Id: /w/fey/ruby_ex/trunk/lib/yaml/transform.rb 7944 2005-09-06T23:27:27.929371Z ertai $
6
+ # $Id: /w/fey/ruby_ex/trunk/lib/yaml_extensions/transform.rb 53906 2007-01-13T16:15:34.543400Z ertai $
7
7
 
8
8
  # TODO: Raised exception must be completed with a descritpion
9
9
  # TODO: Fix bug on Array see test_higher_level_on_array
@@ -15,7 +15,7 @@
15
15
  # TODO: Optimize, skip if no more node to match.
16
16
  # TODO: separate dot implemantation.
17
17
 
18
- require 'yaml/yregexpath'
18
+ require 'yaml_extensions/yregexpath'
19
19
 
20
20
  module YAML
21
21
 
@@ -448,9 +448,9 @@ test_section __FILE__ do
448
448
  end
449
449
  end
450
450
 
451
- module Yaml
451
+ module YamlExtensions
452
452
 
453
453
  module Transform
454
454
  end # module Transform
455
455
 
456
- end # module Yaml
456
+ end # module YamlExtensions
@@ -3,7 +3,7 @@
3
3
  # License:: Ruby license.
4
4
 
5
5
  # $LastChangedBy: ertai $
6
- # $Id: /w/fey/ruby_ex/trunk/lib/yaml/yregexpath.rb 7944 2005-09-06T23:27:27.929371Z ertai $
6
+ # $Id: /w/fey/ruby_ex/trunk/lib/yaml_extensions/yregexpath.rb 53900 2007-01-13T11:22:27.191733Z ertai $
7
7
 
8
8
 
9
9
  module YAML
@@ -74,9 +74,9 @@ test_section __FILE__ do
74
74
  end
75
75
  end
76
76
 
77
- module Yaml
77
+ module YamlExtensions
78
78
 
79
79
  module Yregexpath
80
80
  end # module Yregexpath
81
81
 
82
- end # module Yaml
82
+ end # module YamlExtensions
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.8.11
2
+ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: ruby_ex
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.4.6.2
7
- date: 2006-03-11 00:00:00 +01:00
6
+ version: 0.5.5.0
7
+ date: 2007-01-14 00:00:00 +01:00
8
8
  summary: RubyEx contains general purpose Ruby extensions.
9
9
  require_paths:
10
10
  - lib
@@ -27,151 +27,135 @@ required_ruby_version: !ruby/object:Gem::Version::Requirement
27
27
  platform: ruby
28
28
  signing_key:
29
29
  cert_chain:
30
+ post_install_message:
30
31
  authors:
31
32
  - "Nicolas Despr\xE8s"
32
33
  - Nicolas Pouillard
33
34
  files:
34
- - lib/file_type.rb
35
- - lib/config_file.rb
36
- - lib/labeled_node.rb
37
- - lib/diff.rb
38
- - lib/spring_set.rb
39
- - lib/genpasswd.rb
40
- - lib/sendmail.rb
35
+ - lib/abstract.rb
36
+ - lib/abstract_node.rb
37
+ - lib/attributed_class.rb
41
38
  - lib/auto_object.rb
39
+ - lib/blank_slate.rb
40
+ - lib/cache.rb
41
+ - lib/choose.rb
42
42
  - lib/concrete.rb
43
- - lib/commands.rb
44
- - lib/generate_id.rb
45
- - lib/ruby_ex.rb
46
- - lib/verbose_object.rb
47
- - lib/md5sum.rb
48
- - lib/daemon.rb
49
- - lib/syn_flow.rb
50
- - lib/html_encode.rb
51
- - lib/hooker.rb
43
+ - lib/config_file.rb
44
+ - lib/const_regexp.rb
52
45
  - lib/d_logger.rb
53
- - lib/cache.rb
46
+ - lib/daemon.rb
47
+ - lib/diff.rb
54
48
  - lib/diff_tools.rb
55
- - lib/mocks.rb
56
- - lib/choose.rb
57
- - lib/safe_eval.rb
49
+ - lib/drb_ex.rb
50
+ - lib/exp_mod.rb
51
+ - lib/file_type.rb
52
+ - lib/generate_id.rb
53
+ - lib/genpasswd.rb
54
+ - lib/hash_eval.rb
58
55
  - lib/histogram.rb
59
- - lib/regex_path.rb
60
- - lib/timeout_ex.rb
61
- - lib/text.rb
62
- - lib/observable.rb
63
- - lib/r_path.rb
56
+ - lib/html_encode.rb
64
57
  - lib/indexed_node.rb
65
58
  - lib/io_marshal.rb
66
59
  - lib/ioo.rb
60
+ - lib/kill_all.rb
61
+ - lib/labeled_node.rb
67
62
  - lib/logger_observer.rb
68
- - lib/abstract.rb
69
- - lib/service_manager.rb
70
- - lib/node.rb
63
+ - lib/md5sum.rb
71
64
  - lib/meta_factory.rb
72
- - lib/hash_eval.rb
65
+ - lib/method_call.rb
66
+ - lib/mocks.rb
67
+ - lib/node.rb
68
+ - lib/o_hash.rb
73
69
  - lib/object_monitor.rb
74
- - lib/hookable.rb
70
+ - lib/object_monitor_activity.rb
71
+ - lib/observable.rb
72
+ - lib/observable_pool.rb
75
73
  - lib/pp_hierarchy.rb
76
- - lib/ordered_hash.rb
77
- - lib/spring.rb
74
+ - lib/r_path.rb
75
+ - lib/random_generators.rb
76
+ - lib/regex_list.rb
77
+ - lib/regex_path.rb
78
+ - lib/ruby_ex.rb
79
+ - lib/safe_eval.rb
80
+ - lib/sendmail.rb
81
+ - lib/service_manager.rb
78
82
  - lib/shuffle.rb
79
- - lib/observable_pool.rb
80
- - lib/object_monitor_activity.rb
83
+ - lib/spring.rb
84
+ - lib/spring_set.rb
81
85
  - lib/sym_tbl.rb
82
- - lib/blank_slate.rb
83
86
  - lib/sym_tbl_gsub.rb
84
- - lib/attributed_class.rb
85
- - lib/drb_ex.rb
86
- - lib/random_generators.rb
87
- - lib/method_call.rb
88
- - lib/const_regexp.rb
89
- - lib/regex_list.rb
90
- - lib/abstract_node.rb
91
- - lib/kill_all.rb
87
+ - lib/syn_flow.rb
88
+ - lib/text.rb
89
+ - lib/timeout_ex.rb
92
90
  - lib/trace.rb
93
- - lib/drb/undumped_attributes.rb
91
+ - lib/verbose_object.rb
92
+ - lib/algorithms/simulated_annealing.rb
94
93
  - lib/drb/insecure_protected_methods.rb
95
94
  - lib/drb/observable.rb
96
- - lib/drb/service.rb
97
95
  - lib/drb/observable_pool.rb
96
+ - lib/drb/service.rb
97
+ - lib/drb/undumped_attributes.rb
98
98
  - lib/drb/undumped_indexed_object.rb
99
- - lib/uri/ftp_ex.rb
100
- - lib/uri/pgsql.rb
101
- - lib/uri/rsync.rb
102
- - lib/uri/file.rb
103
- - lib/uri/druby.rb
104
- - lib/uri/generic_ex.rb
105
- - lib/uri/http_ex.rb
106
- - lib/uri/ssh.rb
107
- - lib/uri/svn.rb
108
- - lib/uri/mysql.rb
109
- - lib/yaml/yregexpath.rb
110
- - lib/yaml/chop_header.rb
111
- - lib/yaml/transform.rb
112
- - lib/mocks/observer.rb
113
99
  - lib/mocks/assertions.rb
114
- - lib/mocks/mock.rb
115
100
  - lib/mocks/method_logger.rb
101
+ - lib/mocks/mock.rb
116
102
  - lib/mocks/object.rb
117
- - lib/commands/datas.rb
118
- - lib/commands/helpers.rb
119
- - lib/commands/seq.rb
120
- - lib/commands/command.rb
121
- - lib/commands/factory.rb
122
- - lib/commands/pipe.rb
123
- - lib/commands/runners.rb
124
- - lib/commands/datas/data.rb
125
- - lib/commands/datas/composite.rb
126
- - lib/commands/datas/temp.rb
127
- - lib/commands/datas/factory.rb
128
- - lib/commands/datas/pipe.rb
129
- - lib/commands/runners/popen.rb
130
- - lib/commands/runners/system.rb
131
- - lib/commands/runners/exec.rb
132
- - lib/commands/runners/no_run.rb
133
- - lib/commands/runners/fork.rb
134
- - lib/commands/runners/mockable.rb
135
- - lib/commands/runners/runner.rb
136
- - lib/algorithms/simulated_annealing.rb
137
- - lib/module/instance_method_visibility.rb
138
- - lib/module/hierarchy.rb
139
- - lib/module/autoload_tree.rb
103
+ - lib/mocks/observer.rb
104
+ - lib/module_extensions/autoload_tree.rb
105
+ - lib/module_extensions/hierarchy.rb
106
+ - lib/module_extensions/instance_method_visibility.rb
107
+ - lib/probability_distributions/gaussian_distribution.rb
108
+ - lib/probability_distributions/probability_distribution.rb
109
+ - lib/probability_distributions/uniform_distribution.rb
140
110
  - lib/random_generators/random_generator.rb
141
111
  - lib/random_generators/ruby.rb
142
- - test/unit-suite.yml
143
- - test/check-ruby_ex.yml
144
- - test/functional
112
+ - lib/uri/druby.rb
113
+ - lib/uri/file.rb
114
+ - lib/uri/ftp_ex.rb
115
+ - lib/uri/generic_ex.rb
116
+ - lib/uri/http_ex.rb
117
+ - lib/uri/mysql.rb
118
+ - lib/uri/pgsql.rb
119
+ - lib/uri/rsync.rb
120
+ - lib/uri/ssh.rb
121
+ - lib/uri/svn.rb
122
+ - lib/yaml_extensions/chop_header.rb
123
+ - lib/yaml_extensions/transform.rb
124
+ - lib/yaml_extensions/yregexpath.rb
145
125
  - test/algorithms
146
- - test/stress-tests
126
+ - test/check-pkg-ruby_ex.yml
127
+ - test/check-ruby_ex.yml
147
128
  - test/fixtures
129
+ - test/functional
148
130
  - test/sanity
149
131
  - test/sanity-suite.yml
150
- - test/check-pkg-ruby_ex.yml
132
+ - test/stress-tests
133
+ - test/unit-suite.yml
151
134
  - test/algorithms/simulated_annealing_test.rb
152
- - test/stress-tests/threads_and_exceptions.yml
153
- - test/fixtures/tar.gz.log
154
- - test/fixtures/foo.tar.bz2
155
- - test/fixtures/foo.rb.gz
156
- - test/fixtures/my_diff.patch
135
+ - test/fixtures/autoload_tree
157
136
  - test/fixtures/foo.bz2
158
- - test/fixtures/foo.tar
159
- - test/fixtures/foo.txt
160
137
  - test/fixtures/foo.gz.zip
138
+ - test/fixtures/foo.rb.gz
139
+ - test/fixtures/foo.tar
140
+ - test/fixtures/foo.tar.bz2
161
141
  - test/fixtures/foo.tar.gz
162
- - test/fixtures/autoload_tree
163
- - test/fixtures/autoload_tree/foo
142
+ - test/fixtures/foo.txt
143
+ - test/fixtures/my_diff.patch
144
+ - test/fixtures/tar.gz.log
164
145
  - test/fixtures/autoload_tree/A.rb
165
146
  - test/fixtures/autoload_tree/B.rb
147
+ - test/fixtures/autoload_tree/foo
166
148
  - test/fixtures/autoload_tree/foo/C.rb
167
- - test/sanity/single-requires.yml
168
149
  - test/sanity/multiple-requires.yml
150
+ - test/sanity/single-requires.yml
151
+ - test/stress-tests/threads_and_exceptions.yml
152
+ - AUTHORS
153
+ - ChangeLog
169
154
  - NEWS
170
155
  - Rakefile
171
156
  - README
172
- - AUTHORS
157
+ - SPEC.gemspec
173
158
  - SPEC.yml
174
- - ChangeLog
175
159
  test_files: []
176
160
 
177
161
  rdoc_options: []
@@ -190,7 +174,7 @@ dependencies:
190
174
  version_requirement:
191
175
  version_requirements: !ruby/object:Gem::Version::Requirement
192
176
  requirements:
193
- - - ~>
177
+ - - ">="
194
178
  - !ruby/object:Gem::Version
195
179
  version: 1.0.1
196
180
  version:
@@ -201,5 +185,5 @@ dependencies:
201
185
  requirements:
202
186
  - - ~>
203
187
  - !ruby/object:Gem::Version
204
- version: 0.5.5
188
+ version: 0.6.5
205
189
  version: