rufus-decision 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+
2
+ module Rufus
3
+ module Decision
4
+ VERSION = '1.3.0'
5
+ end
6
+ end
7
+
@@ -0,0 +1,91 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{rufus-decision}
8
+ s.version = "1.3.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["John Mettraux"]
12
+ s.date = %q{2010-02-15}
13
+ s.default_executable = %q{rufus_decide}
14
+ s.description = %q{
15
+ CSV based Ruby decision tables
16
+ }
17
+ s.email = %q{jmettraux@gmail.com}
18
+ s.executables = ["rufus_decide"]
19
+ s.extra_rdoc_files = [
20
+ "LICENSE.txt",
21
+ "README.txt"
22
+ ]
23
+ s.files = [
24
+ "CHANGELOG.txt",
25
+ "CREDITS.txt",
26
+ "LICENSE.txt",
27
+ "README.txt",
28
+ "Rakefile",
29
+ "TODO.txt",
30
+ "bin/rufus_decide",
31
+ "demo/public/decision.js",
32
+ "demo/public/images/arrow.png",
33
+ "demo/public/images/ruse_head_bg.png",
34
+ "demo/public/in.js",
35
+ "demo/public/index.html",
36
+ "demo/public/js/fluo-json.js",
37
+ "demo/public/js/request.js",
38
+ "demo/public/js/ruote-sheets.js",
39
+ "demo/start.rb",
40
+ "examples/readme_example.rb",
41
+ "lib/rufus-decision.rb",
42
+ "lib/rufus/decision.rb",
43
+ "lib/rufus/decision/hashes.rb",
44
+ "lib/rufus/decision/table.rb",
45
+ "lib/rufus/decision/version.rb",
46
+ "rufus-decision.gemspec",
47
+ "test/decision_0_test.rb",
48
+ "test/decision_1_test.rb",
49
+ "test/decision_2_test.rb",
50
+ "test/decision_3_test.rb",
51
+ "test/eval_test.rb",
52
+ "test/goal.csv",
53
+ "test/input.csv",
54
+ "test/table.csv",
55
+ "test/test.rb",
56
+ "test/test_base.rb",
57
+ "test/transpose_test.rb"
58
+ ]
59
+ s.homepage = %q{http://github.com/jmettraux/rufus-decision/}
60
+ s.rdoc_options = ["--charset=UTF-8"]
61
+ s.require_paths = ["lib"]
62
+ s.rubyforge_project = %q{rufus}
63
+ s.rubygems_version = %q{1.3.5}
64
+ s.summary = %q{CSV based Ruby decision tables}
65
+ s.test_files = [
66
+ "test/test.rb"
67
+ ]
68
+
69
+ if s.respond_to? :specification_version then
70
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
71
+ s.specification_version = 3
72
+
73
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
74
+ s.add_runtime_dependency(%q<rufus-dollar>, [">= 0"])
75
+ s.add_runtime_dependency(%q<rufus-treechecker>, [">= 0"])
76
+ s.add_development_dependency(%q<yard>, [">= 0"])
77
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
78
+ else
79
+ s.add_dependency(%q<rufus-dollar>, [">= 0"])
80
+ s.add_dependency(%q<rufus-treechecker>, [">= 0"])
81
+ s.add_dependency(%q<yard>, [">= 0"])
82
+ s.add_dependency(%q<jeweler>, [">= 0"])
83
+ end
84
+ else
85
+ s.add_dependency(%q<rufus-dollar>, [">= 0"])
86
+ s.add_dependency(%q<rufus-treechecker>, [">= 0"])
87
+ s.add_dependency(%q<yard>, [">= 0"])
88
+ s.add_dependency(%q<jeweler>, [">= 0"])
89
+ end
90
+ end
91
+
data/test/eval_test.rb CHANGED
@@ -9,7 +9,7 @@ require 'test/unit'
9
9
 
10
10
  require File.dirname(__FILE__) + '/test_base.rb'
11
11
 
12
- require 'rufus/hashes'
12
+ require 'rufus/decision/hashes'
13
13
 
14
14
 
15
15
  class EvalTest < Test::Unit::TestCase
data/test/test_base.rb CHANGED
@@ -7,6 +7,7 @@
7
7
 
8
8
  $:.unshift(File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib')))
9
9
 
10
+ require 'rubygems'
10
11
  require 'rufus/decision'
11
12
 
12
13
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rufus-decision
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Mettraux
@@ -9,8 +9,8 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-07 00:00:00 +09:00
13
- default_executable:
12
+ date: 2010-02-15 00:00:00 +09:00
13
+ default_executable: rufus_decide
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rufus-dollar
@@ -32,22 +32,60 @@ dependencies:
32
32
  - !ruby/object:Gem::Version
33
33
  version: "0"
34
34
  version:
35
- description:
35
+ - !ruby/object:Gem::Dependency
36
+ name: yard
37
+ type: :development
38
+ version_requirement:
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: "0"
44
+ version:
45
+ - !ruby/object:Gem::Dependency
46
+ name: jeweler
47
+ type: :development
48
+ version_requirement:
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: "0"
54
+ version:
55
+ description: "\n\
56
+ CSV based Ruby decision tables\n "
36
57
  email: jmettraux@gmail.com
37
58
  executables:
38
59
  - rufus_decide
39
60
  extensions: []
40
61
 
41
62
  extra_rdoc_files:
63
+ - LICENSE.txt
42
64
  - README.txt
65
+ files:
43
66
  - CHANGELOG.txt
44
67
  - CREDITS.txt
45
- files:
68
+ - LICENSE.txt
69
+ - README.txt
70
+ - Rakefile
71
+ - TODO.txt
46
72
  - bin/rufus_decide
47
- - lib/rufus
48
- - lib/rufus/decision.rb
49
- - lib/rufus/hashes.rb
73
+ - demo/public/decision.js
74
+ - demo/public/images/arrow.png
75
+ - demo/public/images/ruse_head_bg.png
76
+ - demo/public/in.js
77
+ - demo/public/index.html
78
+ - demo/public/js/fluo-json.js
79
+ - demo/public/js/request.js
80
+ - demo/public/js/ruote-sheets.js
81
+ - demo/start.rb
82
+ - examples/readme_example.rb
50
83
  - lib/rufus-decision.rb
84
+ - lib/rufus/decision.rb
85
+ - lib/rufus/decision/hashes.rb
86
+ - lib/rufus/decision/table.rb
87
+ - lib/rufus/decision/version.rb
88
+ - rufus-decision.gemspec
51
89
  - test/decision_0_test.rb
52
90
  - test/decision_1_test.rb
53
91
  - test/decision_2_test.rb
@@ -59,14 +97,13 @@ files:
59
97
  - test/test.rb
60
98
  - test/test_base.rb
61
99
  - test/transpose_test.rb
62
- - README.txt
63
- - CHANGELOG.txt
64
- - CREDITS.txt
65
100
  has_rdoc: true
66
- homepage: http://rufus.rubyforge.org/rufus-decision
67
- post_install_message:
68
- rdoc_options: []
101
+ homepage: http://github.com/jmettraux/rufus-decision/
102
+ licenses: []
69
103
 
104
+ post_install_message:
105
+ rdoc_options:
106
+ - --charset=UTF-8
70
107
  require_paths:
71
108
  - lib
72
109
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -81,13 +118,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
118
  - !ruby/object:Gem::Version
82
119
  version: "0"
83
120
  version:
84
- requirements:
85
- - rufus-dollar
86
- - rufus-treechecker
121
+ requirements: []
122
+
87
123
  rubyforge_project: rufus
88
- rubygems_version: 1.3.1
124
+ rubygems_version: 1.3.5
89
125
  signing_key:
90
- specification_version: 2
126
+ specification_version: 3
91
127
  summary: CSV based Ruby decision tables
92
128
  test_files:
93
129
  - test/test.rb