rails_sparklines 0.0.1.alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.markdown +7 -0
  3. data/Rakefile +38 -0
  4. data/app/assets/javascripts/sparklines.js.erb +4 -0
  5. data/app/assets/javascripts/sparklines/jquery.sparkline.js +3001 -0
  6. data/app/assets/javascripts/sparklines/jquery.sparkline.min.js +5 -0
  7. data/app/assets/javascripts/sparklines/jquery.sparkline.min.js.js.gz +0 -0
  8. data/lib/sparklines.rb +6 -0
  9. data/lib/sparklines/config.rb +8 -0
  10. data/lib/sparklines/engine.rb +5 -0
  11. data/lib/sparklines/version.rb +3 -0
  12. data/lib/tasks/sparklines_tasks.rake +4 -0
  13. data/test/dummy/README.rdoc +261 -0
  14. data/test/dummy/Rakefile +7 -0
  15. data/test/dummy/app/assets/javascripts/application.js +15 -0
  16. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  17. data/test/dummy/app/controllers/application_controller.rb +3 -0
  18. data/test/dummy/app/helpers/application_helper.rb +2 -0
  19. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  20. data/test/dummy/config.ru +4 -0
  21. data/test/dummy/config/application.rb +59 -0
  22. data/test/dummy/config/boot.rb +10 -0
  23. data/test/dummy/config/database.yml +25 -0
  24. data/test/dummy/config/environment.rb +5 -0
  25. data/test/dummy/config/environments/development.rb +37 -0
  26. data/test/dummy/config/environments/production.rb +67 -0
  27. data/test/dummy/config/environments/test.rb +37 -0
  28. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  29. data/test/dummy/config/initializers/inflections.rb +15 -0
  30. data/test/dummy/config/initializers/mime_types.rb +5 -0
  31. data/test/dummy/config/initializers/secret_token.rb +7 -0
  32. data/test/dummy/config/initializers/session_store.rb +8 -0
  33. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  34. data/test/dummy/config/locales/en.yml +5 -0
  35. data/test/dummy/config/routes.rb +4 -0
  36. data/test/dummy/db/development.sqlite3 +0 -0
  37. data/test/dummy/log/development.log +63 -0
  38. data/test/dummy/public/404.html +26 -0
  39. data/test/dummy/public/422.html +26 -0
  40. data/test/dummy/public/500.html +25 -0
  41. data/test/dummy/public/favicon.ico +0 -0
  42. data/test/dummy/script/rails +6 -0
  43. data/test/dummy/tmp/cache/assets/C9B/600/sprockets%2Faa1426626cc136ba650a759060802e5d +0 -0
  44. data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  45. data/test/dummy/tmp/cache/assets/CF0/950/sprockets%2F842e8cf606d907d7060d4f5920f68f2e +0 -0
  46. data/test/dummy/tmp/cache/assets/D02/6A0/sprockets%2Fe1718a8dc85cb85c100031a4cab47586 +0 -0
  47. data/test/dummy/tmp/cache/assets/D1E/2A0/sprockets%2F8d5d60255600aa010a32e1d1a9bc6db6 +0 -0
  48. data/test/dummy/tmp/cache/assets/D2A/450/sprockets%2F58e369b37e5157ea746a485eea17e9f7 +0 -0
  49. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  50. data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  51. data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  52. data/test/dummy/tmp/cache/assets/DA7/230/sprockets%2F7ae10239eda2588a95fdcc7d871bef52 +0 -0
  53. data/test/dummy/tmp/cache/assets/DAC/EF0/sprockets%2F7f01e32698fba9cc3ed21f93f5eae099 +0 -0
  54. data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  55. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  56. data/test/dummy/tmp/cache/assets/E05/F10/sprockets%2Fb3d9b0e88cdded276ebdce333e338a85 +0 -0
  57. data/test/sparklines_test.rb +7 -0
  58. data/test/test_helper.rb +15 -0
  59. metadata +168 -0
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class SparklinesTest < ActiveSupport::TestCase
4
+ test "truth" do
5
+ assert_kind_of Module, Sparklines
6
+ end
7
+ end
@@ -0,0 +1,15 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
+ require "rails/test_help"
6
+
7
+ Rails.backtrace_cleaner.remove_silencers!
8
+
9
+ # Load support files
10
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
11
+
12
+ # Load fixtures from the engine
13
+ if ActiveSupport::TestCase.method_defined?(:fixture_path=)
14
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
15
+ end
metadata ADDED
@@ -0,0 +1,168 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rails_sparklines
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1.alpha.1
5
+ prerelease: 6
6
+ platform: ruby
7
+ authors:
8
+ - Michael North
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-06-26 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '3.1'
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: '3.1'
30
+ description: Small charts, graphs and other data visualization for rails
31
+ email:
32
+ - michael.north@truenorthapps.com
33
+ executables: []
34
+ extensions: []
35
+ extra_rdoc_files: []
36
+ files:
37
+ - app/assets/javascripts/sparklines/jquery.sparkline.js
38
+ - app/assets/javascripts/sparklines/jquery.sparkline.min.js
39
+ - app/assets/javascripts/sparklines/jquery.sparkline.min.js.js.gz
40
+ - app/assets/javascripts/sparklines.js.erb
41
+ - lib/sparklines/config.rb
42
+ - lib/sparklines/engine.rb
43
+ - lib/sparklines/version.rb
44
+ - lib/sparklines.rb
45
+ - lib/tasks/sparklines_tasks.rake
46
+ - MIT-LICENSE
47
+ - Rakefile
48
+ - README.markdown
49
+ - test/dummy/app/assets/javascripts/application.js
50
+ - test/dummy/app/assets/stylesheets/application.css
51
+ - test/dummy/app/controllers/application_controller.rb
52
+ - test/dummy/app/helpers/application_helper.rb
53
+ - test/dummy/app/views/layouts/application.html.erb
54
+ - test/dummy/config/application.rb
55
+ - test/dummy/config/boot.rb
56
+ - test/dummy/config/database.yml
57
+ - test/dummy/config/environment.rb
58
+ - test/dummy/config/environments/development.rb
59
+ - test/dummy/config/environments/production.rb
60
+ - test/dummy/config/environments/test.rb
61
+ - test/dummy/config/initializers/backtrace_silencers.rb
62
+ - test/dummy/config/initializers/inflections.rb
63
+ - test/dummy/config/initializers/mime_types.rb
64
+ - test/dummy/config/initializers/secret_token.rb
65
+ - test/dummy/config/initializers/session_store.rb
66
+ - test/dummy/config/initializers/wrap_parameters.rb
67
+ - test/dummy/config/locales/en.yml
68
+ - test/dummy/config/routes.rb
69
+ - test/dummy/config.ru
70
+ - test/dummy/db/development.sqlite3
71
+ - test/dummy/log/development.log
72
+ - test/dummy/public/404.html
73
+ - test/dummy/public/422.html
74
+ - test/dummy/public/500.html
75
+ - test/dummy/public/favicon.ico
76
+ - test/dummy/Rakefile
77
+ - test/dummy/README.rdoc
78
+ - test/dummy/script/rails
79
+ - test/dummy/tmp/cache/assets/C9B/600/sprockets%2Faa1426626cc136ba650a759060802e5d
80
+ - test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
81
+ - test/dummy/tmp/cache/assets/CF0/950/sprockets%2F842e8cf606d907d7060d4f5920f68f2e
82
+ - test/dummy/tmp/cache/assets/D02/6A0/sprockets%2Fe1718a8dc85cb85c100031a4cab47586
83
+ - test/dummy/tmp/cache/assets/D1E/2A0/sprockets%2F8d5d60255600aa010a32e1d1a9bc6db6
84
+ - test/dummy/tmp/cache/assets/D2A/450/sprockets%2F58e369b37e5157ea746a485eea17e9f7
85
+ - test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
86
+ - test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
87
+ - test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
88
+ - test/dummy/tmp/cache/assets/DA7/230/sprockets%2F7ae10239eda2588a95fdcc7d871bef52
89
+ - test/dummy/tmp/cache/assets/DAC/EF0/sprockets%2F7f01e32698fba9cc3ed21f93f5eae099
90
+ - test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
91
+ - test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
92
+ - test/dummy/tmp/cache/assets/E05/F10/sprockets%2Fb3d9b0e88cdded276ebdce333e338a85
93
+ - test/sparklines_test.rb
94
+ - test/test_helper.rb
95
+ homepage: http://github.com/TrueNorth/sparklines
96
+ licenses: []
97
+ post_install_message:
98
+ rdoc_options: []
99
+ require_paths:
100
+ - lib
101
+ required_ruby_version: !ruby/object:Gem::Requirement
102
+ none: false
103
+ requirements:
104
+ - - ! '>='
105
+ - !ruby/object:Gem::Version
106
+ version: '0'
107
+ segments:
108
+ - 0
109
+ hash: -220034369145851231
110
+ required_rubygems_version: !ruby/object:Gem::Requirement
111
+ none: false
112
+ requirements:
113
+ - - ! '>'
114
+ - !ruby/object:Gem::Version
115
+ version: 1.3.1
116
+ requirements: []
117
+ rubyforge_project:
118
+ rubygems_version: 1.8.24
119
+ signing_key:
120
+ specification_version: 3
121
+ summary: Small inline data visualization
122
+ test_files:
123
+ - test/dummy/app/assets/javascripts/application.js
124
+ - test/dummy/app/assets/stylesheets/application.css
125
+ - test/dummy/app/controllers/application_controller.rb
126
+ - test/dummy/app/helpers/application_helper.rb
127
+ - test/dummy/app/views/layouts/application.html.erb
128
+ - test/dummy/config/application.rb
129
+ - test/dummy/config/boot.rb
130
+ - test/dummy/config/database.yml
131
+ - test/dummy/config/environment.rb
132
+ - test/dummy/config/environments/development.rb
133
+ - test/dummy/config/environments/production.rb
134
+ - test/dummy/config/environments/test.rb
135
+ - test/dummy/config/initializers/backtrace_silencers.rb
136
+ - test/dummy/config/initializers/inflections.rb
137
+ - test/dummy/config/initializers/mime_types.rb
138
+ - test/dummy/config/initializers/secret_token.rb
139
+ - test/dummy/config/initializers/session_store.rb
140
+ - test/dummy/config/initializers/wrap_parameters.rb
141
+ - test/dummy/config/locales/en.yml
142
+ - test/dummy/config/routes.rb
143
+ - test/dummy/config.ru
144
+ - test/dummy/db/development.sqlite3
145
+ - test/dummy/log/development.log
146
+ - test/dummy/public/404.html
147
+ - test/dummy/public/422.html
148
+ - test/dummy/public/500.html
149
+ - test/dummy/public/favicon.ico
150
+ - test/dummy/Rakefile
151
+ - test/dummy/README.rdoc
152
+ - test/dummy/script/rails
153
+ - test/dummy/tmp/cache/assets/C9B/600/sprockets%2Faa1426626cc136ba650a759060802e5d
154
+ - test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
155
+ - test/dummy/tmp/cache/assets/CF0/950/sprockets%2F842e8cf606d907d7060d4f5920f68f2e
156
+ - test/dummy/tmp/cache/assets/D02/6A0/sprockets%2Fe1718a8dc85cb85c100031a4cab47586
157
+ - test/dummy/tmp/cache/assets/D1E/2A0/sprockets%2F8d5d60255600aa010a32e1d1a9bc6db6
158
+ - test/dummy/tmp/cache/assets/D2A/450/sprockets%2F58e369b37e5157ea746a485eea17e9f7
159
+ - test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
160
+ - test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
161
+ - test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
162
+ - test/dummy/tmp/cache/assets/DA7/230/sprockets%2F7ae10239eda2588a95fdcc7d871bef52
163
+ - test/dummy/tmp/cache/assets/DAC/EF0/sprockets%2F7f01e32698fba9cc3ed21f93f5eae099
164
+ - test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
165
+ - test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
166
+ - test/dummy/tmp/cache/assets/E05/F10/sprockets%2Fb3d9b0e88cdded276ebdce333e338a85
167
+ - test/sparklines_test.rb
168
+ - test/test_helper.rb