htmlgrid 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ pkg/
2
+ ext/htmlgrid/Makefile
3
+ pkg/
data/.travis.yml ADDED
@@ -0,0 +1,28 @@
1
+ language: ruby
2
+ before_install:
3
+ - gem install bundler
4
+ notifications:
5
+ email:
6
+ - ngiger@ywesee.com
7
+ rvm:
8
+ - ruby-head
9
+ - 2.0.0
10
+ - 1.9.3
11
+ - 1.9.2
12
+ - 1.8.7
13
+ - rbx-19mode
14
+ - rbx-18mode
15
+ - jruby-head
16
+ - jruby-19mode
17
+ - jruby-18mode
18
+ - ree
19
+ matrix:
20
+ allow_failures:
21
+ - rvm: 1.8.7 # Legacy. Some patterns don't match
22
+ - rvm: ruby-head
23
+ - rvm: rbx-19mode
24
+ - rvm: rbx-18mode
25
+ - rvm: jruby-head
26
+ - rvm: jruby-19mode
27
+ - rvm: jruby-18mode
28
+ - rvm: ree
data/Gemfile ADDED
@@ -0,0 +1,20 @@
1
+ source "http://rubygems.org"
2
+
3
+ gem 'hoe'
4
+ gem 'sbsm'
5
+
6
+ group :development, :test do
7
+ gem 'rake'
8
+ gem "minitest"
9
+ gem "minitest-reporters"
10
+ gem 'hoe-travis'
11
+ gem 'simplecov'
12
+ gem 'test-unit'
13
+ end
14
+
15
+ group :development do
16
+ gem 'racc'
17
+ gem 'travis-lint'
18
+ # gem 'pry'
19
+ # gem 'pry-debugger'
20
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,50 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ ansi (1.4.3)
5
+ builder (3.2.2)
6
+ docile (1.1.0)
7
+ hashie (2.0.5)
8
+ hashr (0.0.22)
9
+ hoe (3.7.1)
10
+ rake (>= 0.8, < 11.0)
11
+ hoe-travis (1.2)
12
+ hoe (~> 3.0)
13
+ travis-lint (~> 1.2)
14
+ minitest (5.0.8)
15
+ minitest-reporters (1.0.0)
16
+ ansi
17
+ builder
18
+ minitest (>= 5.0)
19
+ powerbar
20
+ multi_json (1.8.2)
21
+ powerbar (1.0.11)
22
+ ansi (~> 1.4.0)
23
+ hashie (>= 1.1.0)
24
+ racc (1.4.10)
25
+ rake (10.1.0)
26
+ sbsm (1.2.3)
27
+ simplecov (0.8.2)
28
+ docile (~> 1.1.0)
29
+ multi_json
30
+ simplecov-html (~> 0.8.0)
31
+ simplecov-html (0.8.0)
32
+ test-unit (2.5.5)
33
+ travis-lint (1.7.0)
34
+ hashr (~> 0.0.22)
35
+
36
+ PLATFORMS
37
+ java
38
+ ruby
39
+
40
+ DEPENDENCIES
41
+ hoe
42
+ hoe-travis
43
+ minitest
44
+ minitest-reporters
45
+ racc
46
+ rake
47
+ sbsm
48
+ simplecov
49
+ test-unit
50
+ travis-lint
data/History.txt CHANGED
@@ -1,4 +1,9 @@
1
- === 1.0.5 / 06.04.2012
1
+ === 1.0.7 / 03.12.2013
2
+
3
+ * Remove LEGACY_INTERFACE.
4
+ * Make travis work just fine.
5
+
6
+ === 1.0.6 / 06.04.2012
2
7
 
3
8
  * Updated onload problem against dojo 1.7
4
9
  * Removed old version support
data/Manifest.txt ADDED
@@ -0,0 +1,83 @@
1
+ .gitignore
2
+ .travis.yml
3
+ COPYING
4
+ Gemfile
5
+ Gemfile.lock
6
+ History.txt
7
+ LICENCE.txt
8
+ Manifest.txt
9
+ README.txt
10
+ Rakefile
11
+ ext/htmlgrid/MANIFEST
12
+ ext/htmlgrid/extconf.rb
13
+ ext/htmlgrid/grid.c
14
+ ext/htmlgrid/htmlgrid.c
15
+ ext/htmlgrid/include/grid.h
16
+ ext/htmlgrid/include/htmlgrid.h
17
+ htmlgrid.gemspec
18
+ install.rb
19
+ lib/htmlgrid/booleanvalue.rb
20
+ lib/htmlgrid/button.rb
21
+ lib/htmlgrid/centeredcomposite.rb
22
+ lib/htmlgrid/component.rb
23
+ lib/htmlgrid/composite.rb
24
+ lib/htmlgrid/datevalue.rb
25
+ lib/htmlgrid/div.rb
26
+ lib/htmlgrid/divcomposite.rb
27
+ lib/htmlgrid/divform.rb
28
+ lib/htmlgrid/divlist.rb
29
+ lib/htmlgrid/divtemplate.rb
30
+ lib/htmlgrid/dojotoolkit.rb
31
+ lib/htmlgrid/errormessage.rb
32
+ lib/htmlgrid/form.rb
33
+ lib/htmlgrid/formlist.rb
34
+ lib/htmlgrid/grid.rb
35
+ lib/htmlgrid/image.rb
36
+ lib/htmlgrid/infomessage.rb
37
+ lib/htmlgrid/input.rb
38
+ lib/htmlgrid/inputcheckbox.rb
39
+ lib/htmlgrid/inputcurrency.rb
40
+ lib/htmlgrid/inputdate.rb
41
+ lib/htmlgrid/inputfile.rb
42
+ lib/htmlgrid/inputradio.rb
43
+ lib/htmlgrid/inputtext.rb
44
+ lib/htmlgrid/javascript.rb
45
+ lib/htmlgrid/label.rb
46
+ lib/htmlgrid/labeltext.rb
47
+ lib/htmlgrid/link.rb
48
+ lib/htmlgrid/list.rb
49
+ lib/htmlgrid/namedcomponent.rb
50
+ lib/htmlgrid/pass.rb
51
+ lib/htmlgrid/passthru.rb
52
+ lib/htmlgrid/popuplink.rb
53
+ lib/htmlgrid/reset.rb
54
+ lib/htmlgrid/richtext.rb
55
+ lib/htmlgrid/select.rb
56
+ lib/htmlgrid/span.rb
57
+ lib/htmlgrid/spancomposite.rb
58
+ lib/htmlgrid/spanlist.rb
59
+ lib/htmlgrid/staticinput.rb
60
+ lib/htmlgrid/submit.rb
61
+ lib/htmlgrid/template.rb
62
+ lib/htmlgrid/text.rb
63
+ lib/htmlgrid/textarea.rb
64
+ lib/htmlgrid/ulcomposite.rb
65
+ lib/htmlgrid/ullist.rb
66
+ lib/htmlgrid/urllink.rb
67
+ lib/htmlgrid/value.rb
68
+ test/rebuild.rb
69
+ test/stub/cgi.rb
70
+ test/test_component.rb
71
+ test/test_composite.rb
72
+ test/test_datevalue.rb
73
+ test/test_form.rb
74
+ test/test_formlist.rb
75
+ test/test_grid.rb
76
+ test/test_input.rb
77
+ test/test_label.rb
78
+ test/test_list.rb
79
+ test/test_select.rb
80
+ test/test_template.rb
81
+ test/test_text.rb
82
+ usage-en.txt
83
+ widget/Tooltip.js
data/README.txt CHANGED
@@ -12,8 +12,9 @@ This may be replaced by Ramaze one day, but lets see.
12
12
 
13
13
  == REQUIREMENTS:
14
14
 
15
- * Ruby 1.8
15
+ * Ruby 1.8 (Some unit tests were reworked to pass under 1.9. No time was wasted to support the outdated 1.8.7 release)
16
16
  * Ruby 1.9
17
+ * Ruby 2.0
17
18
 
18
19
  == INSTALL:
19
20
 
data/Rakefile CHANGED
@@ -1,6 +1,7 @@
1
1
  # -*- ruby -*-
2
2
 
3
3
  require 'rubygems'
4
+ require 'bundler'
4
5
  require 'hoe'
5
6
 
6
7
  # Hoe.plugin :compiler
@@ -15,14 +16,37 @@ require 'hoe'
15
16
  # Hoe.plugin :rubyforge
16
17
  # Hoe.plugin :website
17
18
 
18
- Hoe.spec 'htmlgrid' do
19
- # HEY! If you fill these out in ~/.hoe_template/Rakefile.erb then
20
- # you'll never have to touch them again!
21
- # (delete this comment too, of course)
22
19
 
23
- developer('Masaomi Hatakeyama, Zeno R.R. Davatz', 'mhatakeyama@ywesee.com, zdavatz@ywesee.com')
20
+ require 'rubygems'
21
+ require 'bundler'
22
+ require 'hoe'
23
+
24
+ ENV['RDOCOPT'] = '-c utf8'
25
+
26
+ Hoe.plugin :git
24
27
 
25
- # self.rubyforge_name = 'htmlgridx' # if different than 'htmlgrid'
28
+ Hoe.spec('htmlgrid') do |p|
29
+ p.developer('Masaomi Hatakeyama, Zeno R.R. Davatz','mhatakeyama@ywesee.com, zdavatz@ywesee.com')
30
+ p.license('GPL v2.1')
31
+ p.remote_rdoc_dir = 'htmlgrid'
32
+ p.extra_deps << ['ruby-ole', '>=1.0']
26
33
  end
27
34
 
35
+ if /java/i.match(RUBY_PLATFORM)
36
+ puts "Don't build C-Library for JRUBY under RUBY_PLATFORM is #{RUBY_PLATFORM}"
37
+ else
38
+ desc 'rebuild the C-library'
39
+ task :rebuild do
40
+ require "#{File.dirname(__FILE__)}/test/rebuild"
41
+ end
42
+ task :test => :rebuild
43
+ end
44
+
45
+ #require 'minitest/reporters'
46
+ #MiniTest::Reporters.use!
47
+
48
+ #Rake::TestTask.new do |t|
49
+ # t.pattern = "test/test_*.rb"
50
+ #end
51
+
28
52
  # vim: syntax=ruby
data/htmlgrid.gemspec ADDED
@@ -0,0 +1,16 @@
1
+ require File.join(File.dirname(__FILE__), 'lib', 'htmlgrid/grid.rb')
2
+
3
+ spec = Gem::Specification.new do |s|
4
+ s.name = "htmlgrid"
5
+ s.version = VERSION
6
+ s.summary = "HtmlGrid is a Html-ToolKit for Ruby Webframeworks."
7
+ s.description = "Not much to say."
8
+ s.author = "Masaomi Hatakeyama, Zeno R.R. Davatz"
9
+ s.email = "mhatakeyama@ywesee.com, zdavatz@ywesee.com"
10
+ s.platform = Gem::Platform::RUBY
11
+ s.license = "GPL v2.1"
12
+ s.files = Dir.glob("{bin,lib,test}/**/*") + Dir.glob("*.txt")
13
+ s.add_development_dependency "hoe"
14
+ s.homepage = "https://github.com/zdavatz/htmlgrid/"
15
+ end
16
+
@@ -42,7 +42,6 @@ end
42
42
  module HtmlGrid
43
43
  class AbstractComposite < Component
44
44
  LABELS = false
45
- LEGACY_INTERFACE = true
46
45
  SYMBOL_MAP = {}
47
46
  CSS_MAP = {}
48
47
  CSS_ID_MAP = {}
@@ -62,9 +61,6 @@ module HtmlGrid
62
61
  elsif(component.is_a? Symbol)
63
62
  if(self.respond_to?(component, true))
64
63
  args = [model]
65
- if(self::class::LEGACY_INTERFACE)
66
- args.push(@session)
67
- end
68
64
  self.send(component, *args)
69
65
  elsif(klass = symbol_map[component])
70
66
  klass.new(component, model, @session, self)
data/lib/htmlgrid/grid.rb CHANGED
@@ -25,7 +25,7 @@
25
25
  # HtmlGrid::Grid -- htmlgrid -- 23.02.2012 -- mhatakeyama@ywesee.com
26
26
  # HtmlGrid::Grid -- htmlgrid -- 12.01.2010 -- hwyss@ywesee.com
27
27
  begin
28
- VERSION = '1.0.6'
28
+ VERSION = '1.0.7'
29
29
  begin
30
30
  # for gem install
31
31
  ext_dir = File.expand_path('../../ext/htmlgrid', File.dirname(__FILE__))
@@ -32,7 +32,6 @@ module HtmlGrid
32
32
  FOOT = nil
33
33
  HEAD = nil
34
34
  META_TAGS = []
35
- LEGACY_INTERFACE = true
36
35
  CSS_FILES = []
37
36
  JAVASCRIPTS = []
38
37
  def css_link(context, path=@lookandfeel.resource(:css))
@@ -51,10 +51,10 @@ class StubComposite < HtmlGrid::Composite
51
51
  @barcount=0
52
52
  super
53
53
  end
54
- def foo(model, lookandfeel)
54
+ def foo(model)
55
55
  "Foo"
56
56
  end
57
- def baz(model, lookandfeel)
57
+ def baz(model)
58
58
  @barcount += 1
59
59
  "Baz#{@barcount}"
60
60
  end
data/test/test_form.rb CHANGED
@@ -88,23 +88,23 @@ class TestForm < Test::Unit::TestCase
88
88
  def test_multipart
89
89
  form = StubFormMultiPart.new(@model, @lookandfeel)
90
90
  result = form.to_html(CGI.new)
91
- expected = '<FORM ACCEPT-CHARSET="ISO-8859-1" NAME="stdform" METHOD="POST" ENCTYPE="multipart/form-data" ACTION="http://test.oddb.org/de/gcc">'
91
+ expected = '<FORM NAME="stdform" METHOD="POST" ACTION="http://test.oddb.org/de/gcc" ACCEPT-CHARSET="UTF-8" ENCTYPE="multipart/form-data">'
92
92
  assert_equal(0, result.index(expected), "expected\n#{result}\nto start with\n#{expected}")
93
93
  end
94
94
  def test_to_html
95
95
  result = @form.to_html(CGI.new)
96
96
  expected = [
97
- '<INPUT NAME="flavor" TYPE="hidden" VALUE="gcc">',
98
- '<INPUT NAME="language" TYPE="hidden" VALUE="de">',
99
- '<INPUT NAME="event" TYPE="hidden" ID="event" VALUE="foo">',
100
- '<INPUT NAME="state_id" TYPE="hidden" VALUE="1">',
97
+ '<INPUT TYPE="hidden" NAME="flavor" VALUE="gcc">',
98
+ '<INPUT TYPE="hidden" NAME="language" VALUE="de">',
99
+ '<INPUT NAME="event" ID="event" VALUE="foo" TYPE="hidden">',
100
+ '<INPUT TYPE="hidden" NAME="state_id" VALUE="1">',
101
101
  ]
102
102
  expected.each { |line|
103
103
  assert(result.index(line), "\nmissing #{line}\n in #{result}")
104
104
  }
105
105
  end
106
106
  def test_submit
107
- expected = '<INPUT name="foo" type="submit" value="Submit-Value">'
107
+ expected = '<INPUT value="Submit-Value" type="submit" name="foo">'
108
108
  assert_equal(expected, @form.submit(@model, @lookandfeel).to_html(CGI.new))
109
109
  end
110
110
  def test_onsubmit
@@ -98,12 +98,12 @@ class TestFormList < Test::Unit::TestCase
98
98
  def test_to_html
99
99
  result = @list.to_html(CGI.new)
100
100
  [
101
- '<FORM ACCEPT-CHARSET="ISO-8859-1" NAME="stdform" METHOD="POST" ENCTYPE="application/x-www-form-urlencoded" ACTION="http://www.ywesee.com">',
102
- '<INPUT name="new_item" type="submit" value="new_item">',
103
- '<INPUT NAME="flavor" TYPE="hidden" VALUE="strawberry">',
104
- '<INPUT NAME="language" TYPE="hidden" VALUE="de">',
105
- '<INPUT NAME="event" TYPE="hidden" ID="event" VALUE="new_item">',
106
- '<INPUT NAME="state_id" TYPE="hidden" VALUE="1">',
101
+ '<FORM NAME="stdform" METHOD="POST" ACTION="http://www.ywesee.com" ACCEPT-CHARSET="UTF-8" ENCTYPE="application/x-www-form-urlencoded">',
102
+ '<INPUT value="new_item" type="submit" name="new_item"></TD></TR></TABLE><DIV style="display:none">',
103
+ '<INPUT TYPE="hidden" NAME="flavor" VALUE="strawberry">',
104
+ '<INPUT TYPE="hidden" NAME="language" VALUE="de">',
105
+ '<INPUT value="new_item" type="submit" name="new_item">',
106
+ '<INPUT TYPE="hidden" NAME="state_id" VALUE="1"></DIV></FORM>',
107
107
  ].each { |expected|
108
108
  assert_not_nil(result.index(expected), "missing:\n#{expected}\nin:\n#{result}")
109
109
  }
data/test/test_grid.rb CHANGED
@@ -28,7 +28,11 @@ $: << File.expand_path("../ext", File.dirname(__FILE__))
28
28
  $: << File.dirname(__FILE__)
29
29
 
30
30
  require 'test/unit'
31
- require 'rebuild'
31
+ if /java/i.match(RUBY_PLATFORM)
32
+ puts "Skipping rebuild for JRUBY"
33
+ else
34
+ require 'rebuild'
35
+ end
32
36
  require 'stub/cgi'
33
37
  require 'htmlgrid/label'
34
38
  require 'htmlgrid/grid'
data/test/test_input.rb CHANGED
@@ -55,16 +55,16 @@ end
55
55
  class TestInput < Test::Unit::TestCase
56
56
  def test_input
57
57
  input = HtmlGrid::Input.new(:foo, nil, StubInputLookandfeel.new)
58
- assert_equal('<INPUT name="foo" value="" bar="roz">', input.to_html(CGI.new))
58
+ assert_equal('<INPUT bar="roz" name="foo" value="">', input.to_html(CGI.new))
59
59
  end
60
60
  def test_button
61
61
  input = HtmlGrid::Button.new(:foo, nil, StubInputLookandfeel.new)
62
- assert_equal('<INPUT name="foo" type="button" value="Foo" bar="roz">', input.to_html(CGI.new))
62
+ assert_equal('<INPUT bar="roz" value="Foo" type="button" name="foo">', input.to_html(CGI.new))
63
63
  end
64
64
  end
65
65
  class TestInputCurrency < Test::Unit::TestCase
66
66
  def test_to_html
67
67
  input = HtmlGrid::InputCurrency.new(:foo, StubInputModel.new, StubInputLookandfeel.new)
68
- assert_equal('<INPUT name="foo" type="text" value="12.34" bar="roz">', input.to_html(CGI.new))
68
+ assert_equal('<INPUT bar="roz" name="foo" value="12.34" type="text">', input.to_html(CGI.new))
69
69
  end
70
70
  end
data/test/test_label.rb CHANGED
@@ -81,8 +81,8 @@ class TestLabel < Test::Unit::TestCase
81
81
  [0,1] => :named_component,
82
82
  }
83
83
  LABELS = true
84
- def named_component(model, session)
85
- @named_component ||= StubLabelComponent.new(model, session, self)
84
+ def named_component(model)
85
+ @named_component ||= StubLabelComponent.new(model, self)
86
86
  end
87
87
  end
88
88
  def setup
@@ -101,7 +101,7 @@ class TestLabel < Test::Unit::TestCase
101
101
  def test_to_html2
102
102
  @session.state = StubLabelState.new({:named_component => 'ein Error'})
103
103
  composite = StubLabelComposite.new(StubLabelModel.new, @session)
104
- expected = '<TABLE cellspacing="0"><TR><TD><LABEL for="componentname">Label</LABEL></TD><TD>component</TD></TR><TR><TD><LABEL class="error" for="componentname">Named Label</LABEL></TD><TD>component</TD></TR></TABLE>'
104
+ expected = '<TABLE cellspacing="0"><TR><TD><LABEL for="componentname">Label</LABEL></TD><TD>component</TD></TR><TR><TD><LABEL for="componentname" class="error">Named Label</LABEL></TD><TD>component</TD></TR></TABLE>'
105
105
  assert_equal(expected, composite.to_html(CGI.new))
106
106
  end
107
107
  =begin
data/test/test_select.rb CHANGED
@@ -66,7 +66,7 @@ class TestSelect < Test::Unit::TestCase
66
66
  expected = []
67
67
  expected << '<SELECT name="foovals">'
68
68
  expected << '<OPTION value="foofoo">Foo Nr. 1</OPTION>'
69
- expected << '<OPTION selected value="foobar">Foo Nr. 2</OPTION>'
69
+ expected << '<OPTION value="foobar" selected>Foo Nr. 2</OPTION>'
70
70
  expected << '<OPTION value="barfoo">Bar Nr. 1</OPTION>'
71
71
  expected << '<OPTION value="barbar">Bar Nr. 2</OPTION>'
72
72
  expected << '</SELECT>'
@@ -69,7 +69,6 @@ class Template < HtmlGrid::Template
69
69
  COMPONENTS = {
70
70
  [0,0] => :foo,
71
71
  }
72
- LEGACY_INTERFACE = false
73
72
  def foo(model)
74
73
  'foo'
75
74
  end
@@ -87,8 +86,8 @@ class TestTemplate < Test::Unit::TestCase
87
86
  }
88
87
  expected = [
89
88
  '<TITLE>Test</TITLE>',
90
- '<LINK href="http://testserver.com/resources/gcc/test.css" rel="stylesheet" type="text/css">',
91
- '<META content="follow, index" http-equiv="robots">',
89
+ '<LINK rel="stylesheet" type="text/css" href="http://testserver.com/resources/gcc/test.css">',
90
+ '<META http-equiv="robots" content="follow, index">',
92
91
  ]
93
92
  expected.each { |line|
94
93
  assert(result.index(line), "Missing: #{line}")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: htmlgrid
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,30 +9,56 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-06 00:00:00.000000000 Z
12
+ date: 2013-12-03 00:00:00.000000000 Z
13
13
  dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: ruby-ole
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '1.0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '1.0'
14
30
  - !ruby/object:Gem::Dependency
15
31
  name: rdoc
16
- requirement: &12802620 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
17
33
  none: false
18
34
  requirements:
19
35
  - - ~>
20
36
  - !ruby/object:Gem::Version
21
- version: '3.10'
37
+ version: '4.0'
22
38
  type: :development
23
39
  prerelease: false
24
- version_requirements: *12802620
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '4.0'
25
46
  - !ruby/object:Gem::Dependency
26
47
  name: hoe
27
- requirement: &12802200 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
28
49
  none: false
29
50
  requirements:
30
51
  - - ~>
31
52
  - !ruby/object:Gem::Version
32
- version: '2.13'
53
+ version: '3.6'
33
54
  type: :development
34
55
  prerelease: false
35
- version_requirements: *12802200
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '3.6'
36
62
  description: HtmlGrid is a Html-ToolKit for Ruby Webframeworks.
37
63
  email:
38
64
  - mhatakeyama@ywesee.com, zdavatz@ywesee.com
@@ -41,12 +67,18 @@ extensions: []
41
67
  extra_rdoc_files:
42
68
  - History.txt
43
69
  - LICENCE.txt
70
+ - Manifest.txt
44
71
  - README.txt
45
72
  - usage-en.txt
46
73
  files:
74
+ - .gitignore
75
+ - .travis.yml
47
76
  - COPYING
77
+ - Gemfile
78
+ - Gemfile.lock
48
79
  - History.txt
49
80
  - LICENCE.txt
81
+ - Manifest.txt
50
82
  - README.txt
51
83
  - Rakefile
52
84
  - ext/htmlgrid/MANIFEST
@@ -55,6 +87,7 @@ files:
55
87
  - ext/htmlgrid/htmlgrid.c
56
88
  - ext/htmlgrid/include/grid.h
57
89
  - ext/htmlgrid/include/htmlgrid.h
90
+ - htmlgrid.gemspec
58
91
  - install.rb
59
92
  - lib/htmlgrid/booleanvalue.rb
60
93
  - lib/htmlgrid/button.rb
@@ -107,7 +140,6 @@ files:
107
140
  - lib/htmlgrid/value.rb
108
141
  - test/rebuild.rb
109
142
  - test/stub/cgi.rb
110
- - test/suite.rb
111
143
  - test/test_component.rb
112
144
  - test/test_composite.rb
113
145
  - test/test_datevalue.rb
@@ -124,7 +156,8 @@ files:
124
156
  - widget/Tooltip.js
125
157
  - .gemtest
126
158
  homepage: http://scm.ywesee.com/?p=htmlgrid/.git;a=summary
127
- licenses: []
159
+ licenses:
160
+ - GPL v2.1
128
161
  post_install_message:
129
162
  rdoc_options:
130
163
  - --main
@@ -145,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
178
  version: '0'
146
179
  requirements: []
147
180
  rubyforge_project: htmlgrid
148
- rubygems_version: 1.8.15
181
+ rubygems_version: 1.8.25
149
182
  signing_key:
150
183
  specification_version: 3
151
184
  summary: HtmlGrid is a Html-ToolKit for Ruby Webframeworks.
data/test/suite.rb DELETED
@@ -1,32 +0,0 @@
1
- #!/usr/bin/env ruby
2
- #
3
- # HtmlGrid -- HyperTextMarkupLanguage Framework
4
- # Copyright (C) 2003 ywesee - intellectual capital connected
5
- # Andreas Schrafl, Benjamin Fay, Hannes Wyss, Markus Huggler
6
- #
7
- # This library is free software; you can redistribute it and/or
8
- # modify it under the terms of the GNU Lesser General Public
9
- # License as published by the Free Software Foundation; either
10
- # version 2.1 of the License, or (at your option) any later version.
11
- #
12
- # This library is distributed in the hope that it will be useful,
13
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
- # Lesser General Public License for more details.
16
- #
17
- # You should have received a copy of the GNU Lesser General Public
18
- # License along with this library; if not, write to the Free Software
19
- # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20
- #
21
- # ywesee - intellectual capital connected, Winterthurerstrasse 52, CH-8006 Zuerich, Switzerland
22
- # htmlgrid@ywesee.com, www.ywesee.com/htmlgrid
23
- #
24
- # suite.rb -- htmlgrid -- 20.11.2002 -- hwyss@ywesee.com
25
-
26
- $: << File.expand_path(File.dirname(__FILE__))
27
-
28
- require 'rebuild'
29
-
30
- Dir.foreach(File.dirname(__FILE__)) { |file|
31
- require file if /^test_.*\.rb$/o.match(file)
32
- }