crosstab 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,8 @@
1
+ == 0.1.2 / 2007-11-17
2
+
3
+ * Really fixed dependency on text/reform. Had the library name in the
4
+ list of dependencies instead of the gem name (text-reform.) Shesh.
5
+
1
6
  == 0.1.1 / 2007-11-17
2
7
 
3
8
  * Fixed dependency on text/reform, should now install automatically
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ Hoe.new('crosstab', Crosstab::VERSION) do |p|
12
12
  p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/)[1..-1]
13
13
  p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
14
14
  p.remote_rdoc_dir = '' # Release to root
15
- p.extra_deps = ["text/reform"]
15
+ p.extra_deps = ["text-reform"]
16
16
  end
17
17
 
18
18
  # vim: syntax=Ruby
@@ -2,7 +2,7 @@ dir = File.dirname(__FILE__)
2
2
  $LOAD_PATH << dir unless $LOAD_PATH.include?(dir)
3
3
 
4
4
  module Crosstab
5
- VERSION = '0.1.1'
5
+ VERSION = '0.1.2'
6
6
  end
7
7
 
8
8
  require 'crosstab/generic'
@@ -22,4 +22,4 @@ def crosstab(data, &block)
22
22
  my_crosstab = Crosstab::Crosstab.new(&block)
23
23
  my_crosstab.data_source(data)
24
24
  my_crosstab
25
- end
25
+ end
@@ -239,5 +239,15 @@ class Crosstab::Crosstab < Crosstab::Generic
239
239
 
240
240
  r.format(*report_stack)
241
241
  end
242
+
243
+ # Note: Not ready yet. Don't use.
244
+ # def to_webpage
245
+ # calculate
246
+ #
247
+ # require 'erb'
248
+ #
249
+ # template = ERB.new(IO.readlines(File.dirname(__FILE__) + "/webpage-template.rhtml").join)
250
+ # template.result(binding)
251
+ # end
242
252
  end
243
253
 
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.3
3
3
  specification_version: 1
4
4
  name: crosstab
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.1
7
- date: 2007-10-18 00:00:00 -07:00
6
+ version: 0.1.2
7
+ date: 2007-10-19 00:00:00 -07:00
8
8
  summary: Crosstab is a library for generating formatted pivot tables.
9
9
  require_paths:
10
10
  - lib
@@ -77,7 +77,7 @@ requirements: []
77
77
 
78
78
  dependencies:
79
79
  - !ruby/object:Gem::Dependency
80
- name: text/reform
80
+ name: text-reform
81
81
  version_requirement:
82
82
  version_requirements: !ruby/object:Gem::Version::Requirement
83
83
  requirements: