rbbt-rest 1.2.6 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
OTdlZjNlYWQ5OWQwZGFlZWE1YzMyYTk1NDMwMzYxMWYyNzdjNGQxZTkyODgw
|
10
|
-
ZjU5MTIyNDg1NjVhNTZlYjg4MTY3ODg1ODIyMWIwZTMyMzMzYTM3ZmE4NDEz
|
11
|
-
NmE4N2I3Y2FkYzU2MDc1MzcyNjdmZmY1MjZkMDc3ZDBjODk2MjI=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
ZTFlZDcwYzhkNTY3ODJjZjJmNzZkZDQxM2QxNmI0NzcxNTRmOTJiM2E0MGZj
|
14
|
-
YWI2MGFkODdhYTU4NDQ1MGI5YWJhNDFhNDI5MWQ1MTkwNDMwYzVlZWRhNTU2
|
15
|
-
NDQ1NWUwZGQ0ZjUwNDI5MjRkY2VjM2UzNjA2YzA0YmEzYjdjMzc=
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 950db963142c5efdef2097f61efb8cf9e90dee15
|
4
|
+
data.tar.gz: 2ce3f1ae88a965de651f3d18aefd30f99cab901e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1072ae5e23bc657520e91318840913b39353b0b8902c7771b1b04b44359a290835122362041853930f6d79025e1d4efa55ca84dea1d95506fa5a691e5fe9292a
|
7
|
+
data.tar.gz: c1b739d95d0b58d450441a9d9b4e5e60f569ddc30f5f33708c5ba56aab5e09d28fdcefcd719a7cac8b2bcf87c29ccc610b396bf86fb3479eb7a161d0e3ddb4eb
|
data/Rakefile
CHANGED
metadata
CHANGED
@@ -1,139 +1,153 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbbt-rest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Vazquez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sinatra
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: modular-scale
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
39
53
|
- !ruby/object:Gem::Version
|
40
54
|
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: zurb-foundation
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
|
-
- -
|
59
|
+
- - '>='
|
46
60
|
- !ruby/object:Gem::Version
|
47
61
|
version: '0'
|
48
62
|
type: :runtime
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
|
-
- -
|
66
|
+
- - '>='
|
53
67
|
- !ruby/object:Gem::Version
|
54
68
|
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: compass
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
|
-
- -
|
73
|
+
- - '>='
|
60
74
|
- !ruby/object:Gem::Version
|
61
75
|
version: '0'
|
62
76
|
type: :runtime
|
63
77
|
prerelease: false
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
|
-
- -
|
80
|
+
- - '>='
|
67
81
|
- !ruby/object:Gem::Version
|
68
82
|
version: '0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: json
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
|
-
- -
|
87
|
+
- - '>='
|
74
88
|
- !ruby/object:Gem::Version
|
75
89
|
version: '0'
|
76
90
|
type: :runtime
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
|
-
- -
|
94
|
+
- - '>='
|
81
95
|
- !ruby/object:Gem::Version
|
82
96
|
version: '0'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: haml
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
86
100
|
requirements:
|
87
|
-
- -
|
101
|
+
- - '>='
|
88
102
|
- !ruby/object:Gem::Version
|
89
103
|
version: '0'
|
90
104
|
type: :runtime
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
|
-
- -
|
108
|
+
- - '>='
|
95
109
|
- !ruby/object:Gem::Version
|
96
110
|
version: '0'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: rest-client
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
|
-
- -
|
115
|
+
- - '>='
|
102
116
|
- !ruby/object:Gem::Version
|
103
117
|
version: '0'
|
104
118
|
type: :runtime
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
107
121
|
requirements:
|
108
|
-
- -
|
122
|
+
- - '>='
|
109
123
|
- !ruby/object:Gem::Version
|
110
124
|
version: '0'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: sinatra-authorization
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
114
128
|
requirements:
|
115
|
-
- -
|
129
|
+
- - '>='
|
116
130
|
- !ruby/object:Gem::Version
|
117
131
|
version: '0'
|
118
132
|
type: :runtime
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
135
|
requirements:
|
122
|
-
- -
|
136
|
+
- - '>='
|
123
137
|
- !ruby/object:Gem::Version
|
124
138
|
version: '0'
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
140
|
name: sinatra-cross_origin
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
128
142
|
requirements:
|
129
|
-
- -
|
143
|
+
- - '>='
|
130
144
|
- !ruby/object:Gem::Version
|
131
145
|
version: '0'
|
132
146
|
type: :runtime
|
133
147
|
prerelease: false
|
134
148
|
version_requirements: !ruby/object:Gem::Requirement
|
135
149
|
requirements:
|
136
|
-
- -
|
150
|
+
- - '>='
|
137
151
|
- !ruby/object:Gem::Version
|
138
152
|
version: '0'
|
139
153
|
description: Basic web app controllers and templates
|
@@ -778,8 +792,6 @@ files:
|
|
778
792
|
- share/views/public/plugins/zurb-icons/foundation_icons_general/sass/general_foundicons_ie7.scss
|
779
793
|
- share/views/public/plugins/zurb-icons/foundation_icons_general/stylesheets/general_foundicons.css
|
780
794
|
- share/views/public/plugins/zurb-icons/foundation_icons_general/stylesheets/general_foundicons_ie7.css
|
781
|
-
- share/views/public/plugins/zurb-responsive-tables/js/responsive-tables.js
|
782
|
-
- share/views/public/plugins/zurb-responsive-tables/stylesheets/responsive-tables.css
|
783
795
|
- share/views/tasks.haml
|
784
796
|
- share/views/wait.haml
|
785
797
|
- LICENSE
|
@@ -792,12 +804,12 @@ require_paths:
|
|
792
804
|
- lib
|
793
805
|
required_ruby_version: !ruby/object:Gem::Requirement
|
794
806
|
requirements:
|
795
|
-
- -
|
807
|
+
- - '>='
|
796
808
|
- !ruby/object:Gem::Version
|
797
809
|
version: '0'
|
798
810
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
799
811
|
requirements:
|
800
|
-
- -
|
812
|
+
- - '>='
|
801
813
|
- !ruby/object:Gem::Version
|
802
814
|
version: '0'
|
803
815
|
requirements: []
|
@@ -1,66 +0,0 @@
|
|
1
|
-
$(document).ready(function() {
|
2
|
-
var switched = false;
|
3
|
-
var updateTables = function() {
|
4
|
-
if (($(window).width() < 767) && !switched ){
|
5
|
-
switched = true;
|
6
|
-
$("table.responsive").each(function(i, element) {
|
7
|
-
splitTable($(element));
|
8
|
-
});
|
9
|
-
return true;
|
10
|
-
}
|
11
|
-
else if (switched && ($(window).width() > 767)) {
|
12
|
-
switched = false;
|
13
|
-
$("table.responsive").each(function(i, element) {
|
14
|
-
unsplitTable($(element));
|
15
|
-
});
|
16
|
-
}
|
17
|
-
};
|
18
|
-
|
19
|
-
$(window).load(updateTables);
|
20
|
-
$(window).bind("resize", updateTables);
|
21
|
-
|
22
|
-
|
23
|
-
function splitTable(original)
|
24
|
-
{
|
25
|
-
original.wrap("<div class='table-wrapper' />");
|
26
|
-
|
27
|
-
var copy = original.clone();
|
28
|
-
copy.find("td:not(:first-child), th:not(:first-child)").css("display", "none");
|
29
|
-
copy.removeClass("responsive");
|
30
|
-
|
31
|
-
original.closest(".table-wrapper").append(copy);
|
32
|
-
copy.wrap("<div class='pinned' />");
|
33
|
-
original.wrap("<div class='scrollable' />");
|
34
|
-
|
35
|
-
setCellHeights(original, copy);
|
36
|
-
}
|
37
|
-
|
38
|
-
function unsplitTable(original) {
|
39
|
-
original.closest(".table-wrapper").find(".pinned").remove();
|
40
|
-
original.unwrap();
|
41
|
-
original.unwrap();
|
42
|
-
}
|
43
|
-
|
44
|
-
function setCellHeights(original, copy) {
|
45
|
-
var tr = original.find('tr'),
|
46
|
-
tr_copy = copy.find('tr'),
|
47
|
-
heights = [];
|
48
|
-
|
49
|
-
tr.each(function (index) {
|
50
|
-
var self = $(this),
|
51
|
-
tx = self.find('th, td');
|
52
|
-
|
53
|
-
tx.each(function () {
|
54
|
-
var height = $(this).outerHeight(true);
|
55
|
-
heights[index] = heights[index] || 0;
|
56
|
-
if (height > heights[index]) heights[index] = height;
|
57
|
-
});
|
58
|
-
|
59
|
-
});
|
60
|
-
|
61
|
-
tr_copy.each(function (index) {
|
62
|
-
$(this).height(heights[index]);
|
63
|
-
});
|
64
|
-
}
|
65
|
-
|
66
|
-
});
|
@@ -1,50 +0,0 @@
|
|
1
|
-
/* Foundation v2.1.4 http://foundation.zurb.com */
|
2
|
-
/* Artfully masterminded by ZURB */
|
3
|
-
|
4
|
-
/* --------------------------------------------------
|
5
|
-
Table of Contents
|
6
|
-
-----------------------------------------------------
|
7
|
-
:: Shared Styles
|
8
|
-
:: Page Name 1
|
9
|
-
:: Page Name 2
|
10
|
-
*/
|
11
|
-
|
12
|
-
|
13
|
-
/* -----------------------------------------
|
14
|
-
Shared Styles
|
15
|
-
----------------------------------------- */
|
16
|
-
|
17
|
-
table th { font-weight: bold; }
|
18
|
-
table td, table th { padding: 9px 10px; text-align: left; }
|
19
|
-
|
20
|
-
/* Mobile */
|
21
|
-
@media only screen and (max-width: 767px) {
|
22
|
-
|
23
|
-
table.responsive { margin-bottom: 0; }
|
24
|
-
|
25
|
-
.pinned { position: absolute; left: 0; top: 0; background: #fff; width: 35%; overflow: hidden; overflow-x: scroll; border-right: 1px solid #ccc; border-left: 1px solid #ccc; }
|
26
|
-
.pinned table { border-right: none; border-left: none; width: 100%; }
|
27
|
-
.pinned table th, .pinned table td { white-space: nowrap; }
|
28
|
-
.pinned td:last-child { border-bottom: 0; }
|
29
|
-
|
30
|
-
div.table-wrapper { position: relative; margin-bottom: 20px; overflow: hidden; border-right: 1px solid #ccc; }
|
31
|
-
div.table-wrapper div.scrollable table { margin-left: 35%; }
|
32
|
-
div.table-wrapper div.scrollable { overflow: scroll; overflow-y: hidden; }
|
33
|
-
|
34
|
-
table.responsive td, table.responsive th { position: relative; white-space: nowrap; overflow: hidden; }
|
35
|
-
table.responsive th:first-child, table.responsive td:first-child, table.responsive td:first-child, table.responsive.pinned td { display: none; }
|
36
|
-
|
37
|
-
}
|
38
|
-
|
39
|
-
/* -----------------------------------------
|
40
|
-
Page Name 1
|
41
|
-
----------------------------------------- */
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
/* -----------------------------------------
|
47
|
-
Page Name 2
|
48
|
-
----------------------------------------- */
|
49
|
-
|
50
|
-
|