spiderfw 0.6.35 → 0.6.37
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 +4 -4
- data/CHANGELOG +4 -0
- data/VERSION +1 -1
- data/apps/core/admin/public/css/sass/admin.css +35 -38
- data/apps/core/admin/public/sass/admin.scss +6 -12
- data/lib/spiderfw/app.rb +6 -2
- data/lib/spiderfw/env.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dd306987f2889111e541450c6b4b3140a380111e
|
|
4
|
+
data.tar.gz: 6941bf11587b4802e48bf4ac0c8195f305a64c72
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 225d9c4ff0e49be66e331a48fe7f15b04ed418ed1612755b2c8c429eb407ef3343f829a110713c6d25f11aeefc3cb85db5615111572c63713267fed4ca511541
|
|
7
|
+
data.tar.gz: 4b1bb18864a2a3c73f4a0d5965493c8b82a167f2fefae382b3f265cb244c626c1970c60ac2c60c6e4fe723214c77206b22b5aa09dc8d92aa5f61cbc1cea2d996
|
data/CHANGELOG
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
== 0.6.36
|
|
2
|
+
* correzioni bugs
|
|
3
|
+
* gestione di caricamento del path dell'app rivisto e corretto anche per windows
|
|
4
|
+
* Ricompilato admin.css
|
|
1
5
|
== 0.6.35
|
|
2
6
|
* modificata instanziazione CmdParser in base all'ultimo rilascio della gemma CmdParse
|
|
3
7
|
* Aggiunto controllo per files .shtml in respawing e attivato celluloid.thread per Listen
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.6.
|
|
1
|
+
0.6.37
|
|
@@ -18,64 +18,61 @@ body:after {
|
|
|
18
18
|
background: url('../../img/icons-s8b18557db6.png') no-repeat;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
/* line 60, ../../../../../../../../../../
|
|
21
|
+
/* line 60, ../../../../../../../../../../Users/fabiano/.rvm/gems/ruby-1.8.7-p374/gems/compass-0.12.6/frameworks/compass/stylesheets/compass/utilities/sprites/_base.scss */
|
|
22
22
|
.icons-logout, #header #admin_controls .logout_link {
|
|
23
23
|
background-position: 0 0;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
/* line
|
|
26
|
+
/* line 12, ../../sass/admin.scss */
|
|
27
27
|
#admin form.form-horizontal .help-block {
|
|
28
28
|
max-width: 550px;
|
|
29
29
|
}
|
|
30
|
-
/* line
|
|
31
|
-
#admin form.form-horizontal input[type="text"],
|
|
32
|
-
#admin form.form-horizontal textarea,
|
|
33
|
-
#admin form.form-horizontal select,
|
|
34
|
-
#admin form.form-horizontal .uneditable-input {
|
|
30
|
+
/* line 16, ../../sass/admin.scss */
|
|
31
|
+
#admin form.form-horizontal input[type="text"], #admin form.form-horizontal textarea, #admin form.form-horizontal select, #admin form.form-horizontal .uneditable-input {
|
|
35
32
|
width: 300px;
|
|
36
33
|
}
|
|
37
|
-
/* line
|
|
34
|
+
/* line 20, ../../sass/admin.scss */
|
|
38
35
|
#admin form.form-horizontal select {
|
|
39
36
|
width: 310px;
|
|
40
37
|
}
|
|
41
|
-
/* line
|
|
38
|
+
/* line 24, ../../sass/admin.scss */
|
|
42
39
|
#admin form.form-horizontal input.btn {
|
|
43
40
|
width: auto;
|
|
44
41
|
}
|
|
45
|
-
/* line
|
|
42
|
+
/* line 28, ../../sass/admin.scss */
|
|
46
43
|
#admin form.form-horizontal .form-actions {
|
|
47
44
|
padding-left: 250px;
|
|
48
45
|
}
|
|
49
46
|
|
|
50
|
-
/* line
|
|
47
|
+
/* line 38, ../../sass/admin.scss */
|
|
51
48
|
#header {
|
|
52
49
|
padding-bottom: 10px;
|
|
53
|
-
background: url('../../img/css/header_bg.png?
|
|
50
|
+
background: url('../../img/css/header_bg.png?1389186654') repeat-x scroll center top;
|
|
54
51
|
background-color: #417690;
|
|
55
52
|
position: relative;
|
|
56
53
|
border-bottom: 2px solid #555555;
|
|
57
54
|
}
|
|
58
|
-
/* line
|
|
55
|
+
/* line 45, ../../sass/admin.scss */
|
|
59
56
|
#header #header_top {
|
|
60
57
|
overflow: hidden;
|
|
61
58
|
*zoom: 1;
|
|
62
59
|
}
|
|
63
|
-
/* line
|
|
60
|
+
/* line 49, ../../sass/admin.scss */
|
|
64
61
|
#header h1 {
|
|
65
62
|
font-size: 27px;
|
|
66
63
|
color: #444444;
|
|
67
64
|
}
|
|
68
|
-
/* line
|
|
65
|
+
/* line 54, ../../sass/admin.scss */
|
|
69
66
|
#header #main_title {
|
|
70
67
|
float: left;
|
|
71
68
|
margin-top: 8px;
|
|
72
69
|
margin-left: 40px;
|
|
73
70
|
}
|
|
74
|
-
/* line
|
|
71
|
+
/* line 59, ../../sass/admin.scss */
|
|
75
72
|
#header #main_title h1 {
|
|
76
73
|
margin-bottom: 8px;
|
|
77
74
|
}
|
|
78
|
-
/* line
|
|
75
|
+
/* line 63, ../../sass/admin.scss */
|
|
79
76
|
#header #admin_controls {
|
|
80
77
|
font-size: .95em;
|
|
81
78
|
float: right;
|
|
@@ -83,21 +80,21 @@ body:after {
|
|
|
83
80
|
margin-right: 30px;
|
|
84
81
|
color: white;
|
|
85
82
|
}
|
|
86
|
-
/* line
|
|
83
|
+
/* line 70, ../../sass/admin.scss */
|
|
87
84
|
#header #admin_controls a {
|
|
88
85
|
color: white;
|
|
89
86
|
}
|
|
90
|
-
/* line
|
|
87
|
+
/* line 74, ../../sass/admin.scss */
|
|
91
88
|
#header #admin_controls .welcome {
|
|
92
89
|
margin-right: 6px;
|
|
93
90
|
}
|
|
94
|
-
/* line
|
|
91
|
+
/* line 78, ../../sass/admin.scss */
|
|
95
92
|
#header #admin_controls .logout_link {
|
|
96
93
|
background-position: right;
|
|
97
94
|
padding-right: 25px;
|
|
98
95
|
margin-left: 6px;
|
|
99
96
|
}
|
|
100
|
-
/* line
|
|
97
|
+
/* line 87, ../../sass/admin.scss */
|
|
101
98
|
#header #app_buttons {
|
|
102
99
|
height: 68px;
|
|
103
100
|
min-width: 200px;
|
|
@@ -120,11 +117,11 @@ body:after {
|
|
|
120
117
|
zoom: 1;
|
|
121
118
|
*display: inline;
|
|
122
119
|
}
|
|
123
|
-
/* line
|
|
120
|
+
/* line 98, ../../sass/admin.scss */
|
|
124
121
|
#header #app_buttons a {
|
|
125
122
|
color: #222222;
|
|
126
123
|
}
|
|
127
|
-
/* line
|
|
124
|
+
/* line 102, ../../sass/admin.scss */
|
|
128
125
|
#header #app_buttons div {
|
|
129
126
|
min-width: 55px;
|
|
130
127
|
padding: 2px;
|
|
@@ -135,7 +132,7 @@ body:after {
|
|
|
135
132
|
float: left;
|
|
136
133
|
background-color: #EEEEEE;
|
|
137
134
|
}
|
|
138
|
-
/* line
|
|
135
|
+
/* line 112, ../../sass/admin.scss */
|
|
139
136
|
#header #app_buttons div img {
|
|
140
137
|
margin-left: auto;
|
|
141
138
|
margin-right: auto;
|
|
@@ -143,42 +140,42 @@ body:after {
|
|
|
143
140
|
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
|
|
144
141
|
opacity: 0.8;
|
|
145
142
|
}
|
|
146
|
-
/* line
|
|
143
|
+
/* line 119, ../../sass/admin.scss */
|
|
147
144
|
#header #app_buttons div span.name {
|
|
148
145
|
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=90);
|
|
149
146
|
opacity: 0.9;
|
|
150
147
|
display: block;
|
|
151
148
|
font-size: 0.8em;
|
|
152
149
|
}
|
|
153
|
-
/* line
|
|
150
|
+
/* line 126, ../../sass/admin.scss */
|
|
154
151
|
#header #app_buttons a.active div {
|
|
155
152
|
border: 1px solid #DDDD00;
|
|
156
153
|
}
|
|
157
|
-
/* line
|
|
154
|
+
/* line 128, ../../sass/admin.scss */
|
|
158
155
|
#header #app_buttons a.active div img {
|
|
159
156
|
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
|
|
160
157
|
opacity: 0.7;
|
|
161
158
|
}
|
|
162
|
-
/* line
|
|
159
|
+
/* line 131, ../../sass/admin.scss */
|
|
163
160
|
#header #app_buttons a.active div span.name {
|
|
164
161
|
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
|
|
165
162
|
opacity: 0.8;
|
|
166
163
|
}
|
|
167
164
|
|
|
168
|
-
/* line
|
|
165
|
+
/* line 139, ../../sass/admin.scss */
|
|
169
166
|
#admin-switcher-menu .section_title {
|
|
170
167
|
font-size: 14px;
|
|
171
168
|
line-height: 36px;
|
|
172
169
|
}
|
|
173
170
|
|
|
174
|
-
/* line
|
|
171
|
+
/* line 149, ../../sass/admin.scss */
|
|
175
172
|
#spider-admin .container-fluid .content {
|
|
176
173
|
background-color: white;
|
|
177
174
|
}
|
|
178
175
|
|
|
179
|
-
/* line
|
|
176
|
+
/* line 156, ../../sass/admin.scss */
|
|
180
177
|
#container, .spider-admin-container {
|
|
181
|
-
background: url('../../img/css/side_bg.png?
|
|
178
|
+
background: url('../../img/css/side_bg.png?1389186654') repeat-y;
|
|
182
179
|
position: relative;
|
|
183
180
|
min-width: 940px;
|
|
184
181
|
padding-left: 20px;
|
|
@@ -188,7 +185,7 @@ body:after {
|
|
|
188
185
|
/* tolto il clearfix di compass perchè non fa comparire la barra orizzontale quando ridimensiono la pag di admin */
|
|
189
186
|
/* @include clearfix(); */
|
|
190
187
|
}
|
|
191
|
-
/* line
|
|
188
|
+
/* line 167, ../../sass/admin.scss */
|
|
192
189
|
#container #sidebar, #container > .spider-admin-sidebar, .spider-admin-container #sidebar, .spider-admin-container > .spider-admin-sidebar {
|
|
193
190
|
position: absolute;
|
|
194
191
|
top: 0;
|
|
@@ -196,27 +193,27 @@ body:after {
|
|
|
196
193
|
width: 220px;
|
|
197
194
|
padding: 20px 10px;
|
|
198
195
|
}
|
|
199
|
-
/* line
|
|
196
|
+
/* line 174, ../../sass/admin.scss */
|
|
200
197
|
#container #sidebar li.active a, #container > .spider-admin-sidebar li.active a, .spider-admin-container #sidebar li.active a, .spider-admin-container > .spider-admin-sidebar li.active a {
|
|
201
198
|
text-decoration: underline;
|
|
202
199
|
}
|
|
203
|
-
/* line
|
|
200
|
+
/* line 178, ../../sass/admin.scss */
|
|
204
201
|
#container #sidebar li, #container > .spider-admin-sidebar li, .spider-admin-container #sidebar li, .spider-admin-container > .spider-admin-sidebar li {
|
|
205
202
|
margin-bottom: 1px;
|
|
206
203
|
}
|
|
207
|
-
/* line
|
|
204
|
+
/* line 183, ../../sass/admin.scss */
|
|
208
205
|
#container #content, #container > .spider-admin-content, .spider-admin-container #content, .spider-admin-container > .spider-admin-content {
|
|
209
206
|
margin-left: 240px;
|
|
210
207
|
}
|
|
211
208
|
|
|
212
|
-
/* line
|
|
209
|
+
/* line 188, ../../sass/admin.scss */
|
|
213
210
|
.crud .table {
|
|
214
211
|
width: auto;
|
|
215
212
|
min-width: 400px;
|
|
216
213
|
}
|
|
217
214
|
|
|
218
215
|
@media screen and (max-width: 500px) {
|
|
219
|
-
/* line
|
|
216
|
+
/* line 197, ../../sass/admin.scss */
|
|
220
217
|
#header #main_title {
|
|
221
218
|
font-size: 10px;
|
|
222
219
|
}
|
|
@@ -1,25 +1,19 @@
|
|
|
1
|
-
@import
|
|
2
|
-
@import
|
|
3
|
-
@import
|
|
1
|
+
@import 'grid.scss';
|
|
2
|
+
@import 'compass';
|
|
3
|
+
@import 'icons/*.png';
|
|
4
4
|
|
|
5
5
|
@include all-icons-sprites;
|
|
6
6
|
|
|
7
|
-
|
|
8
7
|
$base_color: #417690;
|
|
9
8
|
$sidebar_color: #DFDFDF;
|
|
10
9
|
|
|
11
|
-
#admin
|
|
10
|
+
#admin{
|
|
12
11
|
form.form-horizontal {
|
|
13
|
-
|
|
14
12
|
.help-block {
|
|
15
13
|
max-width: 550px;
|
|
16
14
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
input[type="text"],
|
|
20
|
-
textarea,
|
|
21
|
-
select,
|
|
22
|
-
.uneditable-input {
|
|
15
|
+
|
|
16
|
+
input[type="text"], textarea, select, .uneditable-input {
|
|
23
17
|
width: 300px;
|
|
24
18
|
}
|
|
25
19
|
|
data/lib/spiderfw/app.rb
CHANGED
|
@@ -76,7 +76,11 @@ module Spider
|
|
|
76
76
|
# Initializes missing variables to default variables.
|
|
77
77
|
def init
|
|
78
78
|
unless @path
|
|
79
|
-
|
|
79
|
+
if caller[1].split(":").count <=3 && caller[1].split(":")[0].length > 1
|
|
80
|
+
file = caller[1].split(':')[0]
|
|
81
|
+
else
|
|
82
|
+
file = caller[1].split(':')[0..-(caller[1].split(":").count-1)].join(':')
|
|
83
|
+
end
|
|
80
84
|
dir = File.dirname(file)
|
|
81
85
|
@path = dir
|
|
82
86
|
end
|
|
@@ -271,7 +275,7 @@ module Spider
|
|
|
271
275
|
# @param [Hash|file1,file2,...] files to require
|
|
272
276
|
# @return [nil]
|
|
273
277
|
def req(*list)
|
|
274
|
-
do_require =
|
|
278
|
+
do_require = Proc.new{ |f|
|
|
275
279
|
Kernel.require File.join(@path, f)
|
|
276
280
|
}
|
|
277
281
|
if list.first.is_a?(Hash)
|
data/lib/spiderfw/env.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spiderfw
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.37
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ivan Pirlik
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-04-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cmdparse
|