opal-d3 0.0.20170205

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +2 -0
  3. data/Gemfile +3 -0
  4. data/README.md +7 -0
  5. data/Rakefile +31 -0
  6. data/d3.js +16393 -0
  7. data/demo/Gemfile +4 -0
  8. data/demo/README.md +7 -0
  9. data/demo/app/data/elections_2016.rb +10 -0
  10. data/demo/app/data/harry_potter.rb +19 -0
  11. data/demo/app/data/iphones.rb +29 -0
  12. data/demo/app/data/london_population.rb +26 -0
  13. data/demo/app/data/man_vs_horse.rb +55 -0
  14. data/demo/app/data/mtg_modern_colors.rb +96 -0
  15. data/demo/app/data/mtg_modern_creatures.rb +116 -0
  16. data/demo/app/data/olympics_2016_medals.rb +100 -0
  17. data/demo/app/data/paradox.rb +60 -0
  18. data/demo/app/data/polish_pms.rb +28 -0
  19. data/demo/app/data/star_trek_voyager.rb +183 -0
  20. data/demo/app/data/weather_in_london.rb +381 -0
  21. data/demo/app/elections_2016.rb +19 -0
  22. data/demo/app/harry_potter.rb +35 -0
  23. data/demo/app/iphones.rb +47 -0
  24. data/demo/app/london_population.rb +46 -0
  25. data/demo/app/london_population_area.rb +42 -0
  26. data/demo/app/man_vs_horse.rb +53 -0
  27. data/demo/app/mtg_modern_colors.rb +49 -0
  28. data/demo/app/mtg_modern_creatures.rb +63 -0
  29. data/demo/app/olympics_2016_medals.rb +54 -0
  30. data/demo/app/paradox.rb +57 -0
  31. data/demo/app/polish_pms.rb +53 -0
  32. data/demo/app/star_trek_voyager.rb +39 -0
  33. data/demo/app/weather_in_london.rb +62 -0
  34. data/demo/assets/d3.js +16393 -0
  35. data/demo/assets/style.css +0 -0
  36. data/demo/config.ru +39 -0
  37. data/demo/views/index.erb +21 -0
  38. data/demo/views/visualization.erb +29 -0
  39. data/lib/opal/d3/arc.rb +21 -0
  40. data/lib/opal/d3/area.rb +49 -0
  41. data/lib/opal/d3/axis.rb +77 -0
  42. data/lib/opal/d3/band_scale.rb +29 -0
  43. data/lib/opal/d3/collections.rb +10 -0
  44. data/lib/opal/d3/color.rb +78 -0
  45. data/lib/opal/d3/continuous_scale.rb +64 -0
  46. data/lib/opal/d3/creator.rb +11 -0
  47. data/lib/opal/d3/curve.rb +74 -0
  48. data/lib/opal/d3/dsv.rb +103 -0
  49. data/lib/opal/d3/ease.rb +319 -0
  50. data/lib/opal/d3/format.rb +97 -0
  51. data/lib/opal/d3/histograms.rb +44 -0
  52. data/lib/opal/d3/interpolate.rb +125 -0
  53. data/lib/opal/d3/line.rb +29 -0
  54. data/lib/opal/d3/map.rb +52 -0
  55. data/lib/opal/d3/misc.rb +15 -0
  56. data/lib/opal/d3/native.rb +84 -0
  57. data/lib/opal/d3/nest.rb +100 -0
  58. data/lib/opal/d3/ordinal_scale.rb +56 -0
  59. data/lib/opal/d3/path.rb +22 -0
  60. data/lib/opal/d3/pie.rb +23 -0
  61. data/lib/opal/d3/point_scale.rb +26 -0
  62. data/lib/opal/d3/polygon.rb +16 -0
  63. data/lib/opal/d3/quadtree.rb +95 -0
  64. data/lib/opal/d3/quantile_scale.rb +21 -0
  65. data/lib/opal/d3/quantize_scale.rb +23 -0
  66. data/lib/opal/d3/radial_area.rb +49 -0
  67. data/lib/opal/d3/radial_line.rb +29 -0
  68. data/lib/opal/d3/random.rb +12 -0
  69. data/lib/opal/d3/search.rb +28 -0
  70. data/lib/opal/d3/selection.rb +149 -0
  71. data/lib/opal/d3/sequential_scale.rb +96 -0
  72. data/lib/opal/d3/set.rb +33 -0
  73. data/lib/opal/d3/stack.rb +11 -0
  74. data/lib/opal/d3/statistics.rb +81 -0
  75. data/lib/opal/d3/symbol.rb +70 -0
  76. data/lib/opal/d3/threshold_scale.rb +23 -0
  77. data/lib/opal/d3/time_format.rb +48 -0
  78. data/lib/opal/d3/time_interval.rb +81 -0
  79. data/lib/opal/d3/transformations.rb +13 -0
  80. data/lib/opal/d3/version.rb +5 -0
  81. data/lib/opal/d3.rb +62 -0
  82. data/lib/opal-d3.rb +9 -0
  83. data/opal-d3.gemspec +20 -0
  84. data/spec/arc_spec.rb +86 -0
  85. data/spec/area_spec.rb +102 -0
  86. data/spec/axis_spec.rb +174 -0
  87. data/spec/band_scale_spec.rb +73 -0
  88. data/spec/color_spec.rb +74 -0
  89. data/spec/continuous_scale_spec.rb +217 -0
  90. data/spec/coverage_spec.rb +23 -0
  91. data/spec/creator_spec.rb +15 -0
  92. data/spec/curve_spec.rb +214 -0
  93. data/spec/dsv_spec.rb +194 -0
  94. data/spec/ease_spec.rb +370 -0
  95. data/spec/format_spec.rb +87 -0
  96. data/spec/histograms_spec.rb +61 -0
  97. data/spec/html/d3.js +16393 -0
  98. data/spec/html/index.html.erb +12 -0
  99. data/spec/interpolate_spec.rb +152 -0
  100. data/spec/line_spec.rb +58 -0
  101. data/spec/map_spec.rb +80 -0
  102. data/spec/misc_spec.rb +19 -0
  103. data/spec/nest_spec.rb +89 -0
  104. data/spec/objects_spec.rb +22 -0
  105. data/spec/ordinal_scale_spec.rb +59 -0
  106. data/spec/path_spec.rb +65 -0
  107. data/spec/pie_spec.rb +114 -0
  108. data/spec/point_scale_spec.rb +58 -0
  109. data/spec/polygon_spec.rb +51 -0
  110. data/spec/quadtree_spec.rb +128 -0
  111. data/spec/quantile_scale_spec.rb +24 -0
  112. data/spec/quantize_scale_spec.rb +40 -0
  113. data/spec/radial_area_spec.rb +127 -0
  114. data/spec/radial_line_spec.rb +54 -0
  115. data/spec/random_spec.rb +34 -0
  116. data/spec/search_spec.rb +69 -0
  117. data/spec/selection_data_spec.rb +71 -0
  118. data/spec/selection_manipulation_spec.rb +179 -0
  119. data/spec/selection_spec.rb +214 -0
  120. data/spec/sequential_scale_spec.rb +90 -0
  121. data/spec/set_spec.rb +57 -0
  122. data/spec/spec_helper.rb +2 -0
  123. data/spec/stack_spec.rb +23 -0
  124. data/spec/statistics_spec.rb +65 -0
  125. data/spec/symbol_spec.rb +121 -0
  126. data/spec/threshold_scale_spec.rb +28 -0
  127. data/spec/time_format_spec.rb +99 -0
  128. data/spec/time_interval_spec.rb +304 -0
  129. data/spec/transformations_spec.rb +51 -0
  130. metadata +258 -0
metadata ADDED
@@ -0,0 +1,258 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: opal-d3
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.20170205
5
+ platform: ruby
6
+ authors:
7
+ - Tomasz Wegrzanowski
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-02-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: opal
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.10.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.10.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: opal-rspec
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 0.6.0
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 0.6.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 11.3.0
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 11.3.0
55
+ description: Opal wrapper library for D3 library
56
+ email: Tomasz.Wegrzanowski@gmail.com
57
+ executables: []
58
+ extensions: []
59
+ extra_rdoc_files: []
60
+ files:
61
+ - ".gitignore"
62
+ - Gemfile
63
+ - README.md
64
+ - Rakefile
65
+ - d3.js
66
+ - demo/Gemfile
67
+ - demo/README.md
68
+ - demo/app/data/elections_2016.rb
69
+ - demo/app/data/harry_potter.rb
70
+ - demo/app/data/iphones.rb
71
+ - demo/app/data/london_population.rb
72
+ - demo/app/data/man_vs_horse.rb
73
+ - demo/app/data/mtg_modern_colors.rb
74
+ - demo/app/data/mtg_modern_creatures.rb
75
+ - demo/app/data/olympics_2016_medals.rb
76
+ - demo/app/data/paradox.rb
77
+ - demo/app/data/polish_pms.rb
78
+ - demo/app/data/star_trek_voyager.rb
79
+ - demo/app/data/weather_in_london.rb
80
+ - demo/app/elections_2016.rb
81
+ - demo/app/harry_potter.rb
82
+ - demo/app/iphones.rb
83
+ - demo/app/london_population.rb
84
+ - demo/app/london_population_area.rb
85
+ - demo/app/man_vs_horse.rb
86
+ - demo/app/mtg_modern_colors.rb
87
+ - demo/app/mtg_modern_creatures.rb
88
+ - demo/app/olympics_2016_medals.rb
89
+ - demo/app/paradox.rb
90
+ - demo/app/polish_pms.rb
91
+ - demo/app/star_trek_voyager.rb
92
+ - demo/app/weather_in_london.rb
93
+ - demo/assets/d3.js
94
+ - demo/assets/style.css
95
+ - demo/config.ru
96
+ - demo/views/index.erb
97
+ - demo/views/visualization.erb
98
+ - lib/opal-d3.rb
99
+ - lib/opal/d3.rb
100
+ - lib/opal/d3/arc.rb
101
+ - lib/opal/d3/area.rb
102
+ - lib/opal/d3/axis.rb
103
+ - lib/opal/d3/band_scale.rb
104
+ - lib/opal/d3/collections.rb
105
+ - lib/opal/d3/color.rb
106
+ - lib/opal/d3/continuous_scale.rb
107
+ - lib/opal/d3/creator.rb
108
+ - lib/opal/d3/curve.rb
109
+ - lib/opal/d3/dsv.rb
110
+ - lib/opal/d3/ease.rb
111
+ - lib/opal/d3/format.rb
112
+ - lib/opal/d3/histograms.rb
113
+ - lib/opal/d3/interpolate.rb
114
+ - lib/opal/d3/line.rb
115
+ - lib/opal/d3/map.rb
116
+ - lib/opal/d3/misc.rb
117
+ - lib/opal/d3/native.rb
118
+ - lib/opal/d3/nest.rb
119
+ - lib/opal/d3/ordinal_scale.rb
120
+ - lib/opal/d3/path.rb
121
+ - lib/opal/d3/pie.rb
122
+ - lib/opal/d3/point_scale.rb
123
+ - lib/opal/d3/polygon.rb
124
+ - lib/opal/d3/quadtree.rb
125
+ - lib/opal/d3/quantile_scale.rb
126
+ - lib/opal/d3/quantize_scale.rb
127
+ - lib/opal/d3/radial_area.rb
128
+ - lib/opal/d3/radial_line.rb
129
+ - lib/opal/d3/random.rb
130
+ - lib/opal/d3/search.rb
131
+ - lib/opal/d3/selection.rb
132
+ - lib/opal/d3/sequential_scale.rb
133
+ - lib/opal/d3/set.rb
134
+ - lib/opal/d3/stack.rb
135
+ - lib/opal/d3/statistics.rb
136
+ - lib/opal/d3/symbol.rb
137
+ - lib/opal/d3/threshold_scale.rb
138
+ - lib/opal/d3/time_format.rb
139
+ - lib/opal/d3/time_interval.rb
140
+ - lib/opal/d3/transformations.rb
141
+ - lib/opal/d3/version.rb
142
+ - opal-d3.gemspec
143
+ - spec/arc_spec.rb
144
+ - spec/area_spec.rb
145
+ - spec/axis_spec.rb
146
+ - spec/band_scale_spec.rb
147
+ - spec/color_spec.rb
148
+ - spec/continuous_scale_spec.rb
149
+ - spec/coverage_spec.rb
150
+ - spec/creator_spec.rb
151
+ - spec/curve_spec.rb
152
+ - spec/dsv_spec.rb
153
+ - spec/ease_spec.rb
154
+ - spec/format_spec.rb
155
+ - spec/histograms_spec.rb
156
+ - spec/html/d3.js
157
+ - spec/html/index.html.erb
158
+ - spec/interpolate_spec.rb
159
+ - spec/line_spec.rb
160
+ - spec/map_spec.rb
161
+ - spec/misc_spec.rb
162
+ - spec/nest_spec.rb
163
+ - spec/objects_spec.rb
164
+ - spec/ordinal_scale_spec.rb
165
+ - spec/path_spec.rb
166
+ - spec/pie_spec.rb
167
+ - spec/point_scale_spec.rb
168
+ - spec/polygon_spec.rb
169
+ - spec/quadtree_spec.rb
170
+ - spec/quantile_scale_spec.rb
171
+ - spec/quantize_scale_spec.rb
172
+ - spec/radial_area_spec.rb
173
+ - spec/radial_line_spec.rb
174
+ - spec/random_spec.rb
175
+ - spec/search_spec.rb
176
+ - spec/selection_data_spec.rb
177
+ - spec/selection_manipulation_spec.rb
178
+ - spec/selection_spec.rb
179
+ - spec/sequential_scale_spec.rb
180
+ - spec/set_spec.rb
181
+ - spec/spec_helper.rb
182
+ - spec/stack_spec.rb
183
+ - spec/statistics_spec.rb
184
+ - spec/symbol_spec.rb
185
+ - spec/threshold_scale_spec.rb
186
+ - spec/time_format_spec.rb
187
+ - spec/time_interval_spec.rb
188
+ - spec/transformations_spec.rb
189
+ homepage: https://github.com/taw/opal-d3
190
+ licenses: []
191
+ metadata: {}
192
+ post_install_message:
193
+ rdoc_options: []
194
+ require_paths:
195
+ - lib
196
+ required_ruby_version: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - ">="
199
+ - !ruby/object:Gem::Version
200
+ version: '0'
201
+ required_rubygems_version: !ruby/object:Gem::Requirement
202
+ requirements:
203
+ - - ">="
204
+ - !ruby/object:Gem::Version
205
+ version: '0'
206
+ requirements: []
207
+ rubyforge_project:
208
+ rubygems_version: 2.5.2
209
+ signing_key:
210
+ specification_version: 4
211
+ summary: Ruby bindings for D3
212
+ test_files:
213
+ - spec/arc_spec.rb
214
+ - spec/area_spec.rb
215
+ - spec/axis_spec.rb
216
+ - spec/band_scale_spec.rb
217
+ - spec/color_spec.rb
218
+ - spec/continuous_scale_spec.rb
219
+ - spec/coverage_spec.rb
220
+ - spec/creator_spec.rb
221
+ - spec/curve_spec.rb
222
+ - spec/dsv_spec.rb
223
+ - spec/ease_spec.rb
224
+ - spec/format_spec.rb
225
+ - spec/histograms_spec.rb
226
+ - spec/html/d3.js
227
+ - spec/html/index.html.erb
228
+ - spec/interpolate_spec.rb
229
+ - spec/line_spec.rb
230
+ - spec/map_spec.rb
231
+ - spec/misc_spec.rb
232
+ - spec/nest_spec.rb
233
+ - spec/objects_spec.rb
234
+ - spec/ordinal_scale_spec.rb
235
+ - spec/path_spec.rb
236
+ - spec/pie_spec.rb
237
+ - spec/point_scale_spec.rb
238
+ - spec/polygon_spec.rb
239
+ - spec/quadtree_spec.rb
240
+ - spec/quantile_scale_spec.rb
241
+ - spec/quantize_scale_spec.rb
242
+ - spec/radial_area_spec.rb
243
+ - spec/radial_line_spec.rb
244
+ - spec/random_spec.rb
245
+ - spec/search_spec.rb
246
+ - spec/selection_data_spec.rb
247
+ - spec/selection_manipulation_spec.rb
248
+ - spec/selection_spec.rb
249
+ - spec/sequential_scale_spec.rb
250
+ - spec/set_spec.rb
251
+ - spec/spec_helper.rb
252
+ - spec/stack_spec.rb
253
+ - spec/statistics_spec.rb
254
+ - spec/symbol_spec.rb
255
+ - spec/threshold_scale_spec.rb
256
+ - spec/time_format_spec.rb
257
+ - spec/time_interval_spec.rb
258
+ - spec/transformations_spec.rb