dashing-rails 2.5.0 → 2.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +2 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile +1 -3
- data/Gemfile.lock +105 -109
- data/app/controllers/dashing/application_controller.rb +2 -2
- data/app/controllers/dashing/dashboards_controller.rb +1 -1
- data/app/controllers/dashing/widgets_controller.rb +3 -3
- data/lib/assets/javascripts/dashing.gridster.coffee +4 -22
- data/lib/dashing/configuration.rb +1 -5
- data/lib/dashing/version.rb +1 -1
- data/spec/controllers/dashing/application_controller_spec.rb +11 -6
- data/spec/controllers/dashing/dashboards_controller_spec.rb +1 -3
- data/spec/controllers/dashing/events_controller_spec.rb +1 -3
- data/spec/controllers/dashing/widgets_controller_spec.rb +1 -3
- data/spec/dummy/config/environments/test.rb +2 -2
- data/spec/lib/dashing/configuration_spec.rb +1 -30
- data/spec/lib/dashing_spec.rb +1 -3
- data/spec/lib/generators/widget_generator_spec.rb +1 -2
- data/spec/rails_helper.rb +61 -0
- data/spec/spec_helper.rb +82 -37
- data/spec/support/controller_spec_helpers.rb +2 -2
- data/vendor/assets/fonts/dashing/FontAwesome.otf +0 -0
- data/vendor/assets/fonts/dashing/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/dashing/fontawesome-webfont.svg +210 -41
- data/vendor/assets/fonts/dashing/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/dashing/fontawesome-webfont.woff +0 -0
- data/vendor/assets/fonts/dashing/fontawesome-webfont.woff2 +0 -0
- data/vendor/assets/javascripts/dashing/default_widgets/number.coffee +0 -1
- data/vendor/assets/javascripts/dashing/jquery.gridster.js +4451 -3185
- data/vendor/assets/stylesheets/dashing/font-awesome.scss +808 -60
- data/vendor/assets/stylesheets/dashing/jquery.gridster.css +73 -85
- metadata +7 -3
@@ -1,121 +1,109 @@
|
|
1
|
-
/*! gridster.js - v0.
|
2
|
-
*
|
3
|
-
* Copyright (c)
|
4
|
-
|
1
|
+
/*! gridster.js - v0.6.10 - 2015-05-31
|
2
|
+
* https://dsmorse.github.io/gridster.js/
|
3
|
+
* Copyright (c) 2015 ducksboard; Licensed MIT */
|
5
4
|
.gridster {
|
6
|
-
|
5
|
+
position: relative;
|
7
6
|
}
|
8
|
-
|
9
7
|
.gridster > * {
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
}
|
17
|
-
|
8
|
+
-webkit-transition: height .4s, width .4s;
|
9
|
+
-moz-transition: height .4s, width .4s;
|
10
|
+
-o-transition: height .4s, width .4s;
|
11
|
+
-ms-transition: height .4s, width .4s;
|
12
|
+
transition: height .4s, width .4s;
|
13
|
+
}
|
18
14
|
.gridster .gs-w {
|
19
|
-
|
20
|
-
|
15
|
+
z-index: 2;
|
16
|
+
position: absolute;
|
17
|
+
}
|
18
|
+
.gridster .preview-holder {
|
19
|
+
z-index: 1;
|
20
|
+
position: absolute;
|
21
|
+
background-color: #fff;
|
22
|
+
border-color: #fff;
|
23
|
+
opacity: 0.3;
|
24
|
+
}
|
25
|
+
.gridster .player-revert {
|
26
|
+
z-index: 10!important;
|
27
|
+
-webkit-transition: left .3s, top .3s!important;
|
28
|
+
-moz-transition: left .3s, top .3s!important;
|
29
|
+
-o-transition: left .3s, top .3s!important;
|
30
|
+
transition: left .3s, top .3s!important;
|
31
|
+
}
|
32
|
+
.gridster.collapsed {
|
33
|
+
height: auto !important;
|
34
|
+
}
|
35
|
+
.gridster.collapsed .gs-w {
|
36
|
+
position: static !important;
|
21
37
|
}
|
22
|
-
|
23
38
|
.ready .gs-w:not(.preview-holder) {
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
39
|
+
-webkit-transition: opacity .3s, left .3s, top .3s;
|
40
|
+
-moz-transition: opacity .3s, left .3s, top .3s;
|
41
|
+
-o-transition: opacity .3s, left .3s, top .3s;
|
42
|
+
transition: opacity .3s, left .3s, top .3s;
|
28
43
|
}
|
29
|
-
|
30
44
|
.ready .gs-w:not(.preview-holder),
|
31
45
|
.ready .resize-preview-holder {
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
46
|
+
-webkit-transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
|
47
|
+
-moz-transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
|
48
|
+
-o-transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
|
49
|
+
transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
|
36
50
|
}
|
37
|
-
|
38
|
-
.gridster .preview-holder {
|
39
|
-
z-index: 1;
|
40
|
-
position: absolute;
|
41
|
-
background-color: #fff;
|
42
|
-
border-color: #fff;
|
43
|
-
opacity: 0.3;
|
44
|
-
}
|
45
|
-
|
46
|
-
.gridster .player-revert {
|
47
|
-
z-index: 10!important;
|
48
|
-
-webkit-transition: left .3s, top .3s!important;
|
49
|
-
-moz-transition: left .3s, top .3s!important;
|
50
|
-
-o-transition: left .3s, top .3s!important;
|
51
|
-
transition: left .3s, top .3s!important;
|
52
|
-
}
|
53
|
-
|
54
51
|
.gridster .dragging,
|
55
52
|
.gridster .resizing {
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
}
|
62
|
-
|
63
|
-
|
53
|
+
z-index: 10!important;
|
54
|
+
-webkit-transition: all 0s !important;
|
55
|
+
-moz-transition: all 0s !important;
|
56
|
+
-o-transition: all 0s !important;
|
57
|
+
transition: all 0s !important;
|
58
|
+
}
|
64
59
|
.gs-resize-handle {
|
65
|
-
|
66
|
-
|
60
|
+
position: absolute;
|
61
|
+
z-index: 1;
|
67
62
|
}
|
68
|
-
|
69
63
|
.gs-resize-handle-both {
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
}
|
80
|
-
|
64
|
+
width: 20px;
|
65
|
+
height: 20px;
|
66
|
+
bottom: -8px;
|
67
|
+
right: -8px;
|
68
|
+
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pg08IS0tIEdlbmVyYXRvcjogQWRvYmUgRmlyZXdvcmtzIENTNiwgRXhwb3J0IFNWRyBFeHRlbnNpb24gYnkgQWFyb24gQmVhbGwgKGh0dHA6Ly9maXJld29ya3MuYWJlYWxsLmNvbSkgLiBWZXJzaW9uOiAwLjYuMSAgLS0+DTwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DTxzdmcgaWQ9IlVudGl0bGVkLVBhZ2UlMjAxIiB2aWV3Qm94PSIwIDAgNiA2IiBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjojZmZmZmZmMDAiIHZlcnNpb249IjEuMSINCXhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiDQl4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjZweCIgaGVpZ2h0PSI2cHgiDT4NCTxnIG9wYWNpdHk9IjAuMzAyIj4NCQk8cGF0aCBkPSJNIDYgNiBMIDAgNiBMIDAgNC4yIEwgNCA0LjIgTCA0LjIgNC4yIEwgNC4yIDAgTCA2IDAgTCA2IDYgTCA2IDYgWiIgZmlsbD0iIzAwMDAwMCIvPg0JPC9nPg08L3N2Zz4=');
|
69
|
+
background-position: top left;
|
70
|
+
background-repeat: no-repeat;
|
71
|
+
cursor: se-resize;
|
72
|
+
z-index: 20;
|
73
|
+
}
|
81
74
|
.gs-resize-handle-x {
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
75
|
+
top: 0;
|
76
|
+
bottom: 13px;
|
77
|
+
right: -5px;
|
78
|
+
width: 10px;
|
79
|
+
cursor: e-resize;
|
87
80
|
}
|
88
|
-
|
89
81
|
.gs-resize-handle-y {
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
82
|
+
left: 0;
|
83
|
+
right: 13px;
|
84
|
+
bottom: -5px;
|
85
|
+
height: 10px;
|
86
|
+
cursor: s-resize;
|
95
87
|
}
|
96
|
-
|
97
88
|
.gs-w:hover .gs-resize-handle,
|
98
89
|
.resizing .gs-resize-handle {
|
99
|
-
|
90
|
+
opacity: 1;
|
100
91
|
}
|
101
|
-
|
102
92
|
.gs-resize-handle,
|
103
93
|
.gs-w.dragging .gs-resize-handle {
|
104
|
-
|
94
|
+
opacity: 0;
|
105
95
|
}
|
106
|
-
|
107
96
|
.gs-resize-disabled .gs-resize-handle {
|
108
|
-
|
97
|
+
display: none!important;
|
109
98
|
}
|
110
|
-
|
111
99
|
[data-max-sizex="1"] .gs-resize-handle-x,
|
112
100
|
[data-max-sizey="1"] .gs-resize-handle-y,
|
113
101
|
[data-max-sizey="1"][data-max-sizex="1"] .gs-resize-handle {
|
114
|
-
|
102
|
+
display: none !important;
|
115
103
|
}
|
116
|
-
|
117
104
|
/* Uncomment this if you set helper : "clone" in draggable options */
|
118
105
|
/*.gridster .player {
|
119
106
|
opacity:0;
|
120
107
|
}
|
121
108
|
*/
|
109
|
+
/*# sourceMappingURL=dist/jquery.gridster.css.map */
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dashing-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pierre-Louis Gottfrois
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -250,12 +250,15 @@ files:
|
|
250
250
|
- spec/lib/dashing/configuration_spec.rb
|
251
251
|
- spec/lib/dashing_spec.rb
|
252
252
|
- spec/lib/generators/widget_generator_spec.rb
|
253
|
+
- spec/rails_helper.rb
|
253
254
|
- spec/spec_helper.rb
|
254
255
|
- spec/support/controller_spec_helpers.rb
|
256
|
+
- vendor/assets/fonts/dashing/FontAwesome.otf
|
255
257
|
- vendor/assets/fonts/dashing/fontawesome-webfont.eot
|
256
258
|
- vendor/assets/fonts/dashing/fontawesome-webfont.svg
|
257
259
|
- vendor/assets/fonts/dashing/fontawesome-webfont.ttf
|
258
260
|
- vendor/assets/fonts/dashing/fontawesome-webfont.woff
|
261
|
+
- vendor/assets/fonts/dashing/fontawesome-webfont.woff2
|
259
262
|
- vendor/assets/javascripts/dashing/batman.jquery.js
|
260
263
|
- vendor/assets/javascripts/dashing/batman.js
|
261
264
|
- vendor/assets/javascripts/dashing/d3-3.2.8.min.js
|
@@ -313,7 +316,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
313
316
|
version: '0'
|
314
317
|
requirements: []
|
315
318
|
rubyforge_project:
|
316
|
-
rubygems_version: 2.5.
|
319
|
+
rubygems_version: 2.5.2
|
317
320
|
signing_key:
|
318
321
|
specification_version: 4
|
319
322
|
summary: The exceptionally handsome dashboard framework for Rails.
|
@@ -374,5 +377,6 @@ test_files:
|
|
374
377
|
- spec/lib/dashing/configuration_spec.rb
|
375
378
|
- spec/lib/dashing_spec.rb
|
376
379
|
- spec/lib/generators/widget_generator_spec.rb
|
380
|
+
- spec/rails_helper.rb
|
377
381
|
- spec/spec_helper.rb
|
378
382
|
- spec/support/controller_spec_helpers.rb
|