ruport 1.6.0 → 1.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README +42 -16
  2. data/Rakefile +1 -1
  3. data/lib/ruport.rb +1 -1
  4. metadata +69 -69
data/README CHANGED
@@ -15,17 +15,17 @@
15
15
  # of reports.
16
16
  #
17
17
  # Ruport provides tools for using a number of data sources, including CSV files,
18
- # ActiveRecord models, and raw SQL connections via RubyDBI.
18
+ # ActiveRecord models, and raw SQL connections via RubyDBI (through ruport-util).
19
19
  #
20
20
  # Data manipulation is easy as there are standard structures that support
21
21
  # record, table, and grouping operations. These all can be extended to
22
22
  # implement custom behavior as needed.
23
23
  #
24
24
  # For common tasks, Ruport provides formatters for CSV, HTML, PDF, and text-
25
- # based reports. However, the real power lies in building custom renderers and
26
- # formatters. The base formatting libraries provide a number of helper
27
- # functions that will let you build complex reports while maintaining a DRY and
28
- # consistent interface.
25
+ # based reports. However, the real power lies in building custom report
26
+ # controllers and formatters. The base formatting libraries provide a number
27
+ # of helper functions that will let you build complex reports while maintaining
28
+ # a DRY and consistent interface.
29
29
  #
30
30
  # To get a quick feel for what you can accomplish with Ruport, take a look at
31
31
  # a few simple examples provided on our web site.
@@ -40,15 +40,15 @@
40
40
  #
41
41
  # = Installation
42
42
  #
43
- # To install ruport via rubygems with all it's dependencies (except DBI):
43
+ # To install ruport via rubygems:
44
44
  #
45
- # sudo gem install ruport -y
45
+ # sudo gem install ruport
46
46
  #
47
47
  # Check to see if it installed properly:
48
48
  #
49
49
  # ruby -rubygems -e "require 'ruport'; puts Ruport::VERSION"
50
50
  #
51
- # If you get an error, please consult the mailing list.
51
+ # If you get an error, please let us know on our mailing list.
52
52
  #
53
53
  # Dependencies Details:
54
54
  #
@@ -61,19 +61,29 @@
61
61
  #
62
62
  # If you wish to use Ruport to report against a rails project,
63
63
  # a camping project, or do standalone acts_as_reportable reports, you'll need
64
- # ActiveRecord.
64
+ # ActiveRecord and the acts_as_reportable gem.
65
65
  #
66
66
  # If you want to use Ruport::Query for raw SQL support, you'll need to
67
- # install RubyDBI and whatever database drivers you might need.
67
+ # install ruport-util, RubyDBI and whatever database drivers you might need.
68
68
  #
69
- # = Resources
69
+ # = Resources
70
70
  #
71
- # The best way to get help and make suggestions is the Ruport mailing list.
71
+ # Our developers have published a free-content book about all things
72
+ # Ruport, including complete coverage of acts_as_reportable and some of
73
+ # ruport-util's features. This book serves as the definitive guide to
74
+ # Ruport, so all users should become acquainted with it:
75
+ #
76
+ # http://ruportbook.com
77
+ #
78
+ # The next best way to get help and make suggestions is the Ruport mailing list.
72
79
  # This software is on the move, so the list is the most reliable way of getting
73
80
  # up to date information.
74
81
  #
75
82
  # - You can sign up and/or view the archives here:
76
- # http://groups.google.com/group/ruby-reports
83
+ # http://groups.google.com/group/ruby-reports
84
+ #
85
+ # If you are looking to dig a little deeper, there are a couple more resources
86
+ # that may be helpful to you.
77
87
  #
78
88
  # - The latest stable API documentation is available at:
79
89
  # http://api.rubyreports.org
@@ -83,6 +93,22 @@
83
93
  #
84
94
  # = Hacking
85
95
  #
86
- # If you'd like to work on Ruport, please post on the list and let us know what
87
- # you're interested in doing, or contact Gregory Brown or Michael Milner if you
88
- # have questions.
96
+ # If you'd like to contribute code to Ruport, please join our development
97
+ # mailing list, and let us know what you'd like to do!
98
+ #
99
+ # http://groups.google.com/group/ruport-dev
100
+ #
101
+ # It also may be worthwhile to join this list if you plan on running edge
102
+ # versions of Ruport, as this is where we make announcements about major
103
+ # breakage in trunk.
104
+ #
105
+ # We are very responsive to contributors, and review every patch we receive
106
+ # fairly quickly. Most contributors who successfully get a patch or two applied
107
+ # are given write access to the repositories and invited to join Ruport's
108
+ # development team. Since we view every user as potential contributor, this
109
+ # approach works well for us.
110
+ #
111
+ # So if you want to help out with Ruport, we'll happy accept your efforts!
112
+
113
+
114
+
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require "rake/rdoctask"
2
2
  require "rake/testtask"
3
3
  require "rake/gempackagetask"
4
4
 
5
- RUPORT_VERSION = "1.6.0"
5
+ RUPORT_VERSION = "1.6.1"
6
6
 
7
7
  begin
8
8
  require "rubygems"
@@ -24,7 +24,7 @@ end
24
24
 
25
25
  module Ruport #:nodoc:#
26
26
 
27
- VERSION = "1.6.0"
27
+ VERSION = "1.6.1"
28
28
 
29
29
  class FormatterError < RuntimeError #:nodoc:
30
30
  end
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.2
2
+ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: ruport
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.6.0
7
- date: 2008-04-02 00:00:00 -04:00
6
+ version: 1.6.1
7
+ date: 2008-04-14 00:00:00 -04:00
8
8
  summary: A generalized Ruby report generation and templating engine.
9
9
  require_paths:
10
10
  - lib
@@ -29,107 +29,107 @@ post_install_message:
29
29
  authors:
30
30
  - Gregory Brown
31
31
  files:
32
+ - examples/anon.rb
32
33
  - examples/btree
33
- - examples/btree/commaleon
34
- - examples/btree/commaleon/sample_data
35
- - examples/btree/commaleon/sample_data/ticket_count.csv
36
- - examples/btree/commaleon/sample_data/ticket_count2.csv
37
- - examples/btree/commaleon/commaleon.rb
34
+ - examples/centered_pdf_text_box.rb
38
35
  - examples/data
39
- - examples/data/tattle.dump
40
- - examples/tattle_rubygems_version.rb
41
- - examples/png_embed.rb
42
36
  - examples/example.csv
43
- - examples/simple_templating_example.rb
44
- - examples/anon.rb
45
- - examples/row_renderer.rb
46
- - examples/centered_pdf_text_box.rb
47
- - examples/RWEmerson.jpg
48
- - examples/trac_ticket_status.rb
49
37
  - examples/line_plotter.rb
50
38
  - examples/pdf_report_with_common_base.rb
51
- - examples/tattle_ruby_version.rb
39
+ - examples/png_embed.rb
52
40
  - examples/roadmap.png
41
+ - examples/row_renderer.rb
42
+ - examples/RWEmerson.jpg
53
43
  - examples/simple_pdf_lines.rb
44
+ - examples/simple_templating_example.rb
45
+ - examples/tattle_ruby_version.rb
46
+ - examples/tattle_rubygems_version.rb
47
+ - examples/trac_ticket_status.rb
48
+ - examples/btree/commaleon
49
+ - examples/btree/commaleon/commaleon.rb
50
+ - examples/btree/commaleon/sample_data
51
+ - examples/btree/commaleon/sample_data/ticket_count.csv
52
+ - examples/btree/commaleon/sample_data/ticket_count2.csv
53
+ - examples/data/tattle.dump
54
54
  - lib/ruport
55
+ - lib/ruport.rb
56
+ - lib/uport.rb
55
57
  - lib/ruport/controller
56
- - lib/ruport/controller/table.rb
57
- - lib/ruport/controller/grouping.rb
58
+ - lib/ruport/controller.rb
59
+ - lib/ruport/data
60
+ - lib/ruport/data.rb
61
+ - lib/ruport/extensions.rb
58
62
  - lib/ruport/formatter
63
+ - lib/ruport/formatter.rb
64
+ - lib/ruport/controller/grouping.rb
65
+ - lib/ruport/controller/table.rb
66
+ - lib/ruport/data/feeder.rb
67
+ - lib/ruport/data/grouping.rb
68
+ - lib/ruport/data/record.rb
69
+ - lib/ruport/data/table.rb
70
+ - lib/ruport/formatter/csv.rb
59
71
  - lib/ruport/formatter/html.rb
60
- - lib/ruport/formatter/text.rb
61
72
  - lib/ruport/formatter/pdf.rb
62
- - lib/ruport/formatter/csv.rb
63
73
  - lib/ruport/formatter/template.rb
64
- - lib/ruport/data
65
- - lib/ruport/data/record.rb
66
- - lib/ruport/data/table.rb
67
- - lib/ruport/data/feeder.rb
68
- - lib/ruport/data/grouping.rb
69
- - lib/ruport/extensions.rb
70
- - lib/ruport/controller.rb
71
- - lib/ruport/formatter.rb
72
- - lib/ruport/data.rb
73
- - lib/uport.rb
74
- - lib/ruport.rb
75
- - test/samples
76
- - test/samples/test.yaml
77
- - test/samples/query_test.sql
78
- - test/samples/data.csv
79
- - test/samples/data.tsv
80
- - test/samples/erb_test.sql
81
- - test/samples/ticket_count.csv
82
- - test/samples/ruport_test.sql
83
- - test/samples/addressbook.csv
84
- - test/samples/dates.csv
85
- - test/samples/test.sql
86
- - test/csv_formatter_test.rb
87
- - test/record_test.rb
74
+ - lib/ruport/formatter/text.rb
88
75
  - test/controller_test.rb
76
+ - test/csv_formatter_test.rb
89
77
  - test/data_feeder_test.rb
78
+ - test/grouping_test.rb
90
79
  - test/helpers.rb
91
80
  - test/html_formatter_test.rb
92
- - test/table_test.rb
93
- - test/text_formatter_test.rb
81
+ - test/pdf_formatter_test.rb
82
+ - test/record_test.rb
83
+ - test/samples
94
84
  - test/table_pivot_test.rb
95
- - test/grouping_test.rb
85
+ - test/table_test.rb
96
86
  - test/template_test.rb
97
- - test/pdf_formatter_test.rb
87
+ - test/text_formatter_test.rb
88
+ - test/samples/addressbook.csv
89
+ - test/samples/data.csv
90
+ - test/samples/data.tsv
91
+ - test/samples/dates.csv
92
+ - test/samples/erb_test.sql
93
+ - test/samples/query_test.sql
94
+ - test/samples/ruport_test.sql
95
+ - test/samples/test.sql
96
+ - test/samples/test.yaml
97
+ - test/samples/ticket_count.csv
98
+ - util/bench/data
98
99
  - util/bench/formatter
99
- - util/bench/formatter/bench_html.rb
100
- - util/bench/formatter/bench_text.rb
101
- - util/bench/formatter/bench_pdf.rb
102
- - util/bench/formatter/bench_csv.rb
103
100
  - util/bench/samples
104
- - util/bench/samples/tattle.csv
105
- - util/bench/data
101
+ - util/bench/data/record
106
102
  - util/bench/data/table
103
+ - util/bench/data/record/bench_as_vs_to.rb
104
+ - util/bench/data/record/bench_constructor.rb
105
+ - util/bench/data/record/bench_indexing.rb
106
+ - util/bench/data/record/bench_reorder.rb
107
+ - util/bench/data/record/bench_to_a.rb
107
108
  - util/bench/data/table/bench_column_manip.rb
109
+ - util/bench/data/table/bench_dup.rb
108
110
  - util/bench/data/table/bench_init.rb
109
111
  - util/bench/data/table/bench_manip.rb
110
- - util/bench/data/table/bench_dup.rb
111
- - util/bench/data/record
112
- - util/bench/data/record/bench_reorder.rb
113
- - util/bench/data/record/bench_to_a.rb
114
- - util/bench/data/record/bench_constructor.rb
115
- - util/bench/data/record/bench_indexing.rb
116
- - util/bench/data/record/bench_as_vs_to.rb
112
+ - util/bench/formatter/bench_csv.rb
113
+ - util/bench/formatter/bench_html.rb
114
+ - util/bench/formatter/bench_pdf.rb
115
+ - util/bench/formatter/bench_text.rb
116
+ - util/bench/samples/tattle.csv
117
117
  - Rakefile
118
118
  - README
119
119
  - LICENSE
120
120
  - AUTHORS
121
121
  test_files:
122
- - test/csv_formatter_test.rb
123
- - test/record_test.rb
124
122
  - test/controller_test.rb
123
+ - test/csv_formatter_test.rb
125
124
  - test/data_feeder_test.rb
125
+ - test/grouping_test.rb
126
126
  - test/html_formatter_test.rb
127
- - test/table_test.rb
128
- - test/text_formatter_test.rb
127
+ - test/pdf_formatter_test.rb
128
+ - test/record_test.rb
129
129
  - test/table_pivot_test.rb
130
- - test/grouping_test.rb
130
+ - test/table_test.rb
131
131
  - test/template_test.rb
132
- - test/pdf_formatter_test.rb
132
+ - test/text_formatter_test.rb
133
133
  rdoc_options:
134
134
  - --title
135
135
  - Ruport Documentation