spiderfw 0.6.35 → 0.6.37

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b4317639c33a989badc6ce0fbd7e070731348691
4
- data.tar.gz: e9625e7ee5aa4c34fba87c4f4d14800c7d165908
3
+ metadata.gz: dd306987f2889111e541450c6b4b3140a380111e
4
+ data.tar.gz: 6941bf11587b4802e48bf4ac0c8195f305a64c72
5
5
  SHA512:
6
- metadata.gz: 199d34a00c7535800047109ebaf9d0549a1c5b74d3c477e1072028fc71d78c799ed908fb90b46d50bff575440255d151079eefb1754dd76d1459b28b64f00d4d
7
- data.tar.gz: ae1b338a781265c0faa2582c18b123f71d4e5b46f60997d3350983fc403693e4b3307dbc0c5dfe5020942c65f4b5e3c2844255dd2e75918fd7f34d138ab5576b
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.35
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, ../../../../../../../../../../Library/Ruby/Gems/1.8/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/utilities/sprites/_base.scss */
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 14, ../../sass/admin.scss */
26
+ /* line 12, ../../sass/admin.scss */
27
27
  #admin form.form-horizontal .help-block {
28
28
  max-width: 550px;
29
29
  }
30
- /* line 22, ../../sass/admin.scss */
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 26, ../../sass/admin.scss */
34
+ /* line 20, ../../sass/admin.scss */
38
35
  #admin form.form-horizontal select {
39
36
  width: 310px;
40
37
  }
41
- /* line 30, ../../sass/admin.scss */
38
+ /* line 24, ../../sass/admin.scss */
42
39
  #admin form.form-horizontal input.btn {
43
40
  width: auto;
44
41
  }
45
- /* line 34, ../../sass/admin.scss */
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 44, ../../sass/admin.scss */
47
+ /* line 38, ../../sass/admin.scss */
51
48
  #header {
52
49
  padding-bottom: 10px;
53
- background: url('../../img/css/header_bg.png?1350463164') repeat-x scroll center top;
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 51, ../../sass/admin.scss */
55
+ /* line 45, ../../sass/admin.scss */
59
56
  #header #header_top {
60
57
  overflow: hidden;
61
58
  *zoom: 1;
62
59
  }
63
- /* line 55, ../../sass/admin.scss */
60
+ /* line 49, ../../sass/admin.scss */
64
61
  #header h1 {
65
62
  font-size: 27px;
66
63
  color: #444444;
67
64
  }
68
- /* line 60, ../../sass/admin.scss */
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 65, ../../sass/admin.scss */
71
+ /* line 59, ../../sass/admin.scss */
75
72
  #header #main_title h1 {
76
73
  margin-bottom: 8px;
77
74
  }
78
- /* line 69, ../../sass/admin.scss */
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 76, ../../sass/admin.scss */
83
+ /* line 70, ../../sass/admin.scss */
87
84
  #header #admin_controls a {
88
85
  color: white;
89
86
  }
90
- /* line 80, ../../sass/admin.scss */
87
+ /* line 74, ../../sass/admin.scss */
91
88
  #header #admin_controls .welcome {
92
89
  margin-right: 6px;
93
90
  }
94
- /* line 84, ../../sass/admin.scss */
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 93, ../../sass/admin.scss */
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 104, ../../sass/admin.scss */
120
+ /* line 98, ../../sass/admin.scss */
124
121
  #header #app_buttons a {
125
122
  color: #222222;
126
123
  }
127
- /* line 108, ../../sass/admin.scss */
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 118, ../../sass/admin.scss */
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 125, ../../sass/admin.scss */
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 132, ../../sass/admin.scss */
150
+ /* line 126, ../../sass/admin.scss */
154
151
  #header #app_buttons a.active div {
155
152
  border: 1px solid #DDDD00;
156
153
  }
157
- /* line 134, ../../sass/admin.scss */
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 137, ../../sass/admin.scss */
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 145, ../../sass/admin.scss */
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 155, ../../sass/admin.scss */
171
+ /* line 149, ../../sass/admin.scss */
175
172
  #spider-admin .container-fluid .content {
176
173
  background-color: white;
177
174
  }
178
175
 
179
- /* line 162, ../../sass/admin.scss */
176
+ /* line 156, ../../sass/admin.scss */
180
177
  #container, .spider-admin-container {
181
- background: url('../../img/css/side_bg.png?1350463164') repeat-y;
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 173, ../../sass/admin.scss */
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 180, ../../sass/admin.scss */
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 184, ../../sass/admin.scss */
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 189, ../../sass/admin.scss */
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 194, ../../sass/admin.scss */
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 203, ../../sass/admin.scss */
216
+ /* line 197, ../../sass/admin.scss */
220
217
  #header #main_title {
221
218
  font-size: 10px;
222
219
  }
@@ -1,25 +1,19 @@
1
- @import "grid.scss";
2
- @import "compass";
3
- @import "icons/*.png";
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
 
@@ -76,7 +76,11 @@ module Spider
76
76
  # Initializes missing variables to default variables.
77
77
  def init
78
78
  unless @path
79
- file = caller[1].split(':')[0]
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 = lambda{ |f|
278
+ do_require = Proc.new{ |f|
275
279
  Kernel.require File.join(@path, f)
276
280
  }
277
281
  if list.first.is_a?(Hash)
@@ -1,6 +1,6 @@
1
1
  RUBY_VERSION_PARTS = RUBY_VERSION.split('.')
2
2
  ENV['LC_CTYPE'] = 'en_US.UTF-8'
3
- if RUBY_VERSION =~ /1.9/
3
+ if RUBY_VERSION >= "1.9"
4
4
  Encoding.default_external = Encoding::UTF_8
5
5
  #Encoding.default_internal = Encoding::UTF_8
6
6
  end
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.35
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-03-25 00:00:00.000000000 Z
11
+ date: 2015-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cmdparse