to_spreadsheet 0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. data/LICENSE +24 -0
  2. data/README +48 -0
  3. data/Rakefile +21 -0
  4. data/lib/to_spreadsheet/action_pack_renderers.rb +21 -0
  5. data/lib/to_spreadsheet/mime_types.rb +2 -0
  6. data/lib/to_spreadsheet/version.rb +3 -0
  7. data/lib/to_spreadsheet/xls.rb +23 -0
  8. data/lib/to_spreadsheet.rb +7 -0
  9. data/test/test_app/Gemfile +10 -0
  10. data/test/test_app/Gemfile.lock +88 -0
  11. data/test/test_app/README +1 -0
  12. data/test/test_app/Rakefile +7 -0
  13. data/test/test_app/app/controllers/application_controller.rb +3 -0
  14. data/test/test_app/app/controllers/contacts_controller.rb +7 -0
  15. data/test/test_app/app/models/contact.rb +3 -0
  16. data/test/test_app/app/views/contacts/_table.erb +24 -0
  17. data/test/test_app/app/views/contacts/index.html.erb +1 -0
  18. data/test/test_app/app/views/contacts/index.xls.erb +1 -0
  19. data/test/test_app/app/views/layouts/application.html.erb +7 -0
  20. data/test/test_app/config/application.rb +15 -0
  21. data/test/test_app/config/boot.rb +6 -0
  22. data/test/test_app/config/database.yml +22 -0
  23. data/test/test_app/config/environment.rb +5 -0
  24. data/test/test_app/config/environments/development.rb +26 -0
  25. data/test/test_app/config/environments/production.rb +49 -0
  26. data/test/test_app/config/environments/test.rb +35 -0
  27. data/test/test_app/config/initializers/backtrace_silencers.rb +7 -0
  28. data/test/test_app/config/initializers/inflections.rb +10 -0
  29. data/test/test_app/config/initializers/mime_types.rb +5 -0
  30. data/test/test_app/config/initializers/secret_token.rb +7 -0
  31. data/test/test_app/config/initializers/session_store.rb +8 -0
  32. data/test/test_app/config/locales/en.yml +5 -0
  33. data/test/test_app/config/routes.rb +4 -0
  34. data/test/test_app/config.ru +4 -0
  35. data/test/test_app/db/development.sqlite3 +0 -0
  36. data/test/test_app/db/migrate/01_create_contacts.rb +15 -0
  37. data/test/test_app/db/schema.rb +21 -0
  38. data/test/test_app/db/seeds.rb +7 -0
  39. data/test/test_app/db/test.sqlite3 +0 -0
  40. data/test/test_app/log/development.log +509 -0
  41. data/test/test_app/log/production.log +0 -0
  42. data/test/test_app/log/server.log +0 -0
  43. data/test/test_app/log/test.log +104 -0
  44. data/test/test_app/script/rails +6 -0
  45. data/test/test_app/test/fixtures/contacts.yml +5 -0
  46. data/test/test_app/test/integration/rails_integration_test.rb +14 -0
  47. data/test/test_app/test/test_helper.rb +7 -0
  48. data/test/test_app/test/unit/contact_test.rb +7 -0
  49. data/test/test_helper.rb +1 -0
  50. metadata +153 -0
@@ -0,0 +1 @@
1
+ require 'test/test_app'
metadata ADDED
@@ -0,0 +1,153 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: to_spreadsheet
3
+ version: !ruby/object:Gem::Version
4
+ version: '0.9'
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Gleb Mazovetskiy
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-03-21 00:00:00.000000000 +01:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: rails
17
+ requirement: &21759828 !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: '0'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: *21759828
26
+ - !ruby/object:Gem::Dependency
27
+ name: nokogiri
28
+ requirement: &21759552 !ruby/object:Gem::Requirement
29
+ none: false
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: *21759552
37
+ - !ruby/object:Gem::Dependency
38
+ name: spreadsheet
39
+ requirement: &21759300 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
45
+ type: :runtime
46
+ prerelease: false
47
+ version_requirements: *21759300
48
+ - !ruby/object:Gem::Dependency
49
+ name: mocha
50
+ requirement: &21759036 !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ type: :development
57
+ prerelease: false
58
+ version_requirements: *21759036
59
+ - !ruby/object:Gem::Dependency
60
+ name: sqlite3-ruby
61
+ requirement: &21758748 !ruby/object:Gem::Requirement
62
+ none: false
63
+ requirements:
64
+ - - ! '>='
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
67
+ type: :development
68
+ prerelease: false
69
+ version_requirements: *21758748
70
+ description: ! 'Rendering spreadsheets made easy: `respond_to :xls, :html`. `respond_with(@records)`. '
71
+ email: glex.spb@gmail.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files:
75
+ - README
76
+ files:
77
+ - README
78
+ - LICENSE
79
+ - Rakefile
80
+ - lib/to_spreadsheet/action_pack_renderers.rb
81
+ - lib/to_spreadsheet/mime_types.rb
82
+ - lib/to_spreadsheet/version.rb
83
+ - lib/to_spreadsheet/xls.rb
84
+ - lib/to_spreadsheet.rb
85
+ - test/test_app/app/controllers/application_controller.rb
86
+ - test/test_app/app/controllers/contacts_controller.rb
87
+ - test/test_app/app/models/contact.rb
88
+ - test/test_app/app/views/contacts/index.html.erb
89
+ - test/test_app/app/views/contacts/index.xls.erb
90
+ - test/test_app/app/views/contacts/_table.erb
91
+ - test/test_app/app/views/layouts/application.html.erb
92
+ - test/test_app/config/application.rb
93
+ - test/test_app/config/boot.rb
94
+ - test/test_app/config/database.yml
95
+ - test/test_app/config/environment.rb
96
+ - test/test_app/config/environments/development.rb
97
+ - test/test_app/config/environments/production.rb
98
+ - test/test_app/config/environments/test.rb
99
+ - test/test_app/config/initializers/backtrace_silencers.rb
100
+ - test/test_app/config/initializers/inflections.rb
101
+ - test/test_app/config/initializers/mime_types.rb
102
+ - test/test_app/config/initializers/secret_token.rb
103
+ - test/test_app/config/initializers/session_store.rb
104
+ - test/test_app/config/locales/en.yml
105
+ - test/test_app/config/routes.rb
106
+ - test/test_app/config.ru
107
+ - test/test_app/db/development.sqlite3
108
+ - test/test_app/db/migrate/01_create_contacts.rb
109
+ - test/test_app/db/schema.rb
110
+ - test/test_app/db/seeds.rb
111
+ - test/test_app/db/test.sqlite3
112
+ - test/test_app/Gemfile
113
+ - test/test_app/Gemfile.lock
114
+ - test/test_app/log/development.log
115
+ - test/test_app/log/production.log
116
+ - test/test_app/log/server.log
117
+ - test/test_app/log/test.log
118
+ - test/test_app/Rakefile
119
+ - test/test_app/README
120
+ - test/test_app/script/rails
121
+ - test/test_app/test/fixtures/contacts.yml
122
+ - test/test_app/test/integration/rails_integration_test.rb
123
+ - test/test_app/test/test_helper.rb
124
+ - test/test_app/test/unit/contact_test.rb
125
+ - test/test_helper.rb
126
+ has_rdoc: true
127
+ homepage: https://github.com/glebm/to_spreadsheet
128
+ licenses: []
129
+ post_install_message:
130
+ rdoc_options: []
131
+ require_paths:
132
+ - lib
133
+ required_ruby_version: !ruby/object:Gem::Requirement
134
+ none: false
135
+ requirements:
136
+ - - ! '>='
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ required_rubygems_version: !ruby/object:Gem::Requirement
140
+ none: false
141
+ requirements:
142
+ - - ! '>='
143
+ - !ruby/object:Gem::Version
144
+ version: '0'
145
+ requirements: []
146
+ rubyforge_project:
147
+ rubygems_version: 1.6.2
148
+ signing_key:
149
+ specification_version: 3
150
+ summary: Adds various html -> spreadsheet (xls, odt, etc) renderers to Rails.
151
+ test_files:
152
+ - test/test_app/test/test_helper.rb
153
+ - test/test_helper.rb