spiderfw 0.6.26.pre1 → 0.6.26
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/VERSION +1 -1
- data/apps/app_server/lib/git_app.rb +1 -1
- data/apps/core/admin/admin.rb +2 -1
- data/apps/core/components/public/bootstrap/LICENSE +0 -0
- data/apps/core/components/public/bootstrap/README.md +3 -2
- data/apps/core/components/public/bootstrap/img/glyphicons-halflings-white.png +0 -0
- data/apps/core/components/public/bootstrap/img/glyphicons-halflings.png +0 -0
- data/apps/core/components/public/bootstrap/js/README.md +2 -2
- data/apps/core/components/public/bootstrap/js/bootstrap-alert.js +8 -5
- data/apps/core/components/public/bootstrap/js/bootstrap-button.js +5 -3
- data/apps/core/components/public/bootstrap/js/bootstrap-carousel.js +5 -2
- data/apps/core/components/public/bootstrap/js/bootstrap-collapse.js +2 -2
- data/apps/core/components/public/bootstrap/js/bootstrap-dropdown.js +2 -2
- data/apps/core/components/public/bootstrap/js/bootstrap-modal.js +6 -5
- data/apps/core/components/public/bootstrap/js/bootstrap-popover.js +2 -2
- data/apps/core/components/public/bootstrap/js/bootstrap-scrollspy.js +2 -2
- data/apps/core/components/public/bootstrap/js/bootstrap-tab.js +2 -2
- data/apps/core/components/public/bootstrap/js/bootstrap-tooltip.js +2 -2
- data/apps/core/components/public/bootstrap/js/bootstrap-transition.js +3 -3
- data/apps/core/components/public/bootstrap/js/bootstrap-typeahead.js +2 -2
- data/apps/core/components/public/bootstrap/js/tests/index.html +0 -0
- data/apps/core/components/public/bootstrap/js/tests/unit/bootstrap-alert.js +2 -2
- data/apps/core/components/public/bootstrap/js/tests/unit/bootstrap-button.js +25 -2
- data/apps/core/components/public/bootstrap/js/tests/unit/bootstrap-collapse.js +0 -0
- data/apps/core/components/public/bootstrap/js/tests/unit/bootstrap-dropdown.js +0 -0
- data/apps/core/components/public/bootstrap/js/tests/unit/bootstrap-modal.js +0 -0
- data/apps/core/components/public/bootstrap/js/tests/unit/bootstrap-popover.js +0 -0
- data/apps/core/components/public/bootstrap/js/tests/unit/bootstrap-scrollspy.js +0 -0
- data/apps/core/components/public/bootstrap/js/tests/unit/bootstrap-tab.js +0 -0
- data/apps/core/components/public/bootstrap/js/tests/unit/bootstrap-tooltip.js +0 -0
- data/apps/core/components/public/bootstrap/js/tests/unit/bootstrap-transition.js +0 -0
- data/apps/core/components/public/bootstrap/js/tests/unit/bootstrap-typeahead.js +0 -0
- data/apps/core/components/public/bootstrap/js/tests/vendor/jquery.js +0 -0
- data/apps/core/components/public/bootstrap/js/tests/vendor/qunit.css +0 -0
- data/apps/core/components/public/bootstrap/js/tests/vendor/qunit.js +0 -0
- data/apps/core/components/public/bootstrap/scss/_accordion.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_alerts.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_breadcrumbs.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_button-groups.scss +1 -1
- data/apps/core/components/public/bootstrap/scss/_buttons.scss +25 -7
- data/apps/core/components/public/bootstrap/scss/_carousel.scss +1 -1
- data/apps/core/components/public/bootstrap/scss/_close.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_code.scss +13 -0
- data/apps/core/components/public/bootstrap/scss/_component-animations.scss +2 -2
- data/apps/core/components/public/bootstrap/scss/_dropdowns.scss +2 -3
- data/apps/core/components/public/bootstrap/scss/_forms.scss +50 -44
- data/apps/core/components/public/bootstrap/scss/_grid.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_hero-unit.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_labels.scss +23 -7
- data/apps/core/components/public/bootstrap/scss/_layouts.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_mixins.scss +83 -68
- data/apps/core/components/public/bootstrap/scss/_modals.scss +11 -0
- data/apps/core/components/public/bootstrap/scss/_navbar.scss +11 -3
- data/apps/core/components/public/bootstrap/scss/_navs.scss +27 -17
- data/apps/core/components/public/bootstrap/scss/_pager.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_pagination.scss +38 -47
- data/apps/core/components/public/bootstrap/scss/_popovers.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_print.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_progress-bars.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_reset.scss +1 -1
- data/apps/core/components/public/bootstrap/scss/_scaffolding.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_sprites.scss +7 -5
- data/apps/core/components/public/bootstrap/scss/_tables.scss +14 -3
- data/apps/core/components/public/bootstrap/scss/_thumbnails.scss +2 -2
- data/apps/core/components/public/bootstrap/scss/_tooltip.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_type.scss +3 -2
- data/apps/core/components/public/bootstrap/scss/_utilities.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_variables.scss +12 -4
- data/apps/core/components/public/bootstrap/scss/_wells.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/bootstrap.css +290 -820
- data/apps/core/components/public/bootstrap/scss/bootstrap.scss +1 -1
- data/apps/core/components/public/bootstrap/scss/{bootstrap-responsive.css → responsive.css} +42 -31
- data/apps/core/components/public/bootstrap/scss/{bootstrap-responsive.scss → responsive.scss} +10 -6
- data/apps/core/components/public/css/table_base.css +0 -4
- data/apps/core/components/public/js/jquery/jquery-ui-1.8.11/ui/jquery.ui.sortable.js +10 -2
- data/apps/core/components/public/js/plugins/sortable.js +4 -4
- data/apps/core/components/public/js/spider.js +3 -1
- data/apps/core/components/widgets/confirm/confirm.rb +20 -7
- data/apps/core/components/widgets/table/table.shtml +1 -1
- data/apps/core/forms/public/html_area.js +5 -4
- data/apps/core/forms/public/input.js +28 -28
- data/apps/core/forms/public/search_select.js +131 -131
- data/apps/core/forms/public/select.js +16 -16
- data/apps/core/forms/widgets/form/form.rb +11 -7
- data/apps/core/forms/widgets/inputs/date_time/date_time.rb +1 -1
- data/apps/core/forms/widgets/inputs/html_area/html_area.shtml +2 -2
- data/apps/core/forms/widgets/inputs/input/input.rb +3 -1
- data/apps/messenger/lib/backends/mobyt.rb +11 -0
- data/apps/messenger/test/features/sms_mobyt.feature +24 -0
- data/apps/messenger/test/features/step_definitions/sms_mobyt.rb +21 -0
- data/apps/messenger/views/index.shtml +2 -2
- data/apps/soap/controllers/soap_controller.rb +5 -2
- data/lib/spiderfw/app.rb +13 -0
- data/lib/spiderfw/config/configuration.rb +4 -1
- data/lib/spiderfw/config/options/spider.rb +1 -1
- data/lib/spiderfw/controller/http_controller.rb +2 -0
- data/lib/spiderfw/http/adapters/rack.rb +1 -1
- data/lib/spiderfw/i18n/cldr.rb +1 -1
- data/lib/spiderfw/model/base_model.rb +5 -0
- data/lib/spiderfw/model/mappers/mapper.rb +3 -1
- data/lib/spiderfw/model/mixins/tree.rb +11 -1
- data/lib/spiderfw/model/model.rb +7 -5
- data/lib/spiderfw/model/query_set.rb +6 -0
- data/lib/spiderfw/setup/app_server_client.rb +1 -1
- data/lib/spiderfw/spider.rb +9 -9
- data/lib/spiderfw/templates/layout.rb +5 -3
- data/lib/spiderfw/templates/resources/sass.rb +31 -3
- data/lib/spiderfw/templates/template.rb +10 -9
- data/lib/spiderfw/widget/widget.rb +2 -2
- metadata +13 -17
- data/apps/core/components/public/bootstrap/scss/_custom.css +0 -0
- data/apps/core/components/public/bootstrap/scss/_patterns.scss +0 -13
- data/apps/core/components/public/bootstrap/scss/config.rb +0 -36
@@ -234,7 +234,14 @@ module Spider; module Model
|
|
234
234
|
if pos == 1
|
235
235
|
tree_insert_node_first(el, obj, parent)
|
236
236
|
else
|
237
|
-
|
237
|
+
sibling_i = pos-2
|
238
|
+
sub.each_index do |i|
|
239
|
+
if sub[i] == obj
|
240
|
+
sibling_i += 1 if i <= sibling_i
|
241
|
+
break
|
242
|
+
end
|
243
|
+
end
|
244
|
+
tree_insert_node_right(el, obj, sub[sibling_i])
|
238
245
|
end
|
239
246
|
else
|
240
247
|
tree_insert_node_under(el, obj, parent)
|
@@ -294,6 +301,9 @@ module Spider; module Model
|
|
294
301
|
bulk_update({right_el => QueryFuncs::Expression.new(":#{right_el}+#{diff}")}, condition)
|
295
302
|
condition = Condition.new.set(left_el, '>=', left)
|
296
303
|
bulk_update({left_el => QueryFuncs::Expression.new(":#{left_el}+#{diff}")}, condition)
|
304
|
+
obj.get(tree_el).each do |child|
|
305
|
+
child.save
|
306
|
+
end
|
297
307
|
end
|
298
308
|
|
299
309
|
def tree_assign_values(tree_el, obj, left)
|
data/lib/spiderfw/model/model.rb
CHANGED
@@ -222,10 +222,12 @@ module Spider
|
|
222
222
|
uow = self.unit_of_work
|
223
223
|
self.start_unit_of_work unless uow
|
224
224
|
self.with_identity_mapper do
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
self.
|
225
|
+
begin
|
226
|
+
yield Spider::Model.unit_of_work
|
227
|
+
|
228
|
+
self.unit_of_work.commit unless uow
|
229
|
+
ensure
|
230
|
+
self.stop_unit_of_work unless uow
|
229
231
|
end
|
230
232
|
end
|
231
233
|
|
@@ -476,4 +478,4 @@ require 'spiderfw/model/query_set'
|
|
476
478
|
require 'spiderfw/model/unit_of_work'
|
477
479
|
require 'spiderfw/model/proxy_model'
|
478
480
|
require 'spiderfw/model/mixins/tree'
|
479
|
-
require 'spiderfw/model/mixins/list'
|
481
|
+
require 'spiderfw/model/mixins/list'
|
@@ -299,6 +299,12 @@ module Spider; module Model
|
|
299
299
|
def delete_at(index)
|
300
300
|
@objects.delete_at(index)
|
301
301
|
end
|
302
|
+
|
303
|
+
# Deletes every element for which block evaluates to true
|
304
|
+
# @return [nil]
|
305
|
+
def delete_if(&proc)
|
306
|
+
@objects.delete_if(&proc)
|
307
|
+
end
|
302
308
|
|
303
309
|
# Removes the given object from the QuerySet
|
304
310
|
# @param [BaseModel] obj
|
data/lib/spiderfw/spider.rb
CHANGED
@@ -111,8 +111,8 @@ module Spider
|
|
111
111
|
if File.directory?(File.join(mod.path, 'po'))
|
112
112
|
repos << FastGettext::TranslationRepository.build(mod.short_name, :path => File.join(mod.path, 'data', 'locale'))
|
113
113
|
end
|
114
|
-
home_pot = File.join(
|
115
|
-
home_locale = File.join(
|
114
|
+
home_pot = File.join(mod.base_path, 'po', "#{mod.short_name}.pot")
|
115
|
+
home_locale = File.join(mod.base_path, 'data', 'locale')
|
116
116
|
if File.file?(home_pot) && File.directory?(home_locale)
|
117
117
|
repos << FastGettext::TranslationRepository.build(mod.short_name, :path => home_locale)
|
118
118
|
end
|
@@ -152,17 +152,16 @@ module Spider
|
|
152
152
|
load_configuration(File.join(path, 'config'))
|
153
153
|
end
|
154
154
|
@runmode = nil
|
155
|
-
self.runmode = $SPIDER_RUNMODE if $SPIDER_RUNMODE
|
156
155
|
load_configuration File.join($SPIDER_PATH, 'config')
|
157
156
|
begin
|
158
157
|
user_rc = File.join(Etc.getpwuid.dir, '.spider.conf.yml')
|
158
|
+
if File.file?(user_rc)
|
159
|
+
load_configuration_file(user_rc)
|
160
|
+
end
|
159
161
|
rescue NoMethodError # No getpwuid under windows
|
160
162
|
end
|
161
|
-
if File.file?(user_rc)
|
162
|
-
load_configuration_file(user_rc)
|
163
|
-
end
|
164
163
|
load_configuration File.join(@root, 'config')
|
165
|
-
self.runmode
|
164
|
+
self.runmode = $SPIDER_RUNMODE || 'devel'
|
166
165
|
Locale.default = Spider.conf.get('i18n.default_locale')
|
167
166
|
setup_env
|
168
167
|
@logger = Spider::Logger
|
@@ -196,8 +195,6 @@ module Spider
|
|
196
195
|
if domain = Spider.conf.get('site.domain')
|
197
196
|
ssl_port = Spider.conf.get('site.ssl') ? Spider.conf.get('site.ssl_port') : nil
|
198
197
|
Spider.site = Site.new(domain, Spider.conf.get('site.port'), ssl_port)
|
199
|
-
elsif File.exists?(Site.cache_file)
|
200
|
-
Spider.site = Site.load_cache
|
201
198
|
end
|
202
199
|
end
|
203
200
|
if Spider.conf.get('request.mutex')
|
@@ -381,6 +378,8 @@ module Spider
|
|
381
378
|
# @return [void]
|
382
379
|
def request_started
|
383
380
|
@request_mutex.lock if (@request_mutex)
|
381
|
+
if File.file?(Spider.paths[:reset_file])
|
382
|
+
end
|
384
383
|
Spider::Request.current = {
|
385
384
|
:_start => Time.now
|
386
385
|
}
|
@@ -462,6 +461,7 @@ module Spider
|
|
462
461
|
@paths[:data] = File.join(root, 'data')
|
463
462
|
@paths[:log] = File.join(@paths[:var], 'log')
|
464
463
|
@paths[:restart_file] = File.join(@paths[:tmp], 'restart.txt')
|
464
|
+
@paths[:reset_file] = File.join(@paths[:tmp], 'reset.txt')
|
465
465
|
@paths.each do |k, path|
|
466
466
|
@paths[k] = File.expand_path(File.readlink(path)) if File.symlink?(path)
|
467
467
|
end
|
@@ -268,7 +268,7 @@ module Spider
|
|
268
268
|
end
|
269
269
|
compiler = compiler_class.new(ass[:app].pub_path)
|
270
270
|
compiler.compile(ass[:path], dest)
|
271
|
-
rescue Exception
|
271
|
+
rescue Exception => exc
|
272
272
|
if ext == '.less'
|
273
273
|
msg = "Unable to compile LESS file #{ass[:path]}."
|
274
274
|
msg += "Please ensure you have a JS backend (see https://github.com/sstephenson/execjs)"
|
@@ -277,7 +277,9 @@ module Spider
|
|
277
277
|
msg += "Please ensure that you have the 'sass' (and optionally 'compass') gems installed."
|
278
278
|
end
|
279
279
|
Spider.logger.error(msg)
|
280
|
-
|
280
|
+
if Spider.runmode == "production" && File.exist?(dest)
|
281
|
+
Spider.logger.error(exc)
|
282
|
+
else
|
281
283
|
raise
|
282
284
|
end
|
283
285
|
end
|
@@ -401,7 +403,7 @@ module Spider
|
|
401
403
|
FileUtils.mkdir_p(File.dirname(url_dest))
|
402
404
|
cachebuster = Spider.conf.get('css.cachebuster')
|
403
405
|
new_url = app_relative_path ? "#{app_relative_path}/#{src_rel}" : src_rel
|
404
|
-
if File.
|
406
|
+
if File.file?(url_src)
|
405
407
|
mtime = File.mtime(url_src).to_i
|
406
408
|
if cachebuster && File.exist?(url_dest) && mtime > File.mtime(url_dest).to_i
|
407
409
|
if cachebuster == :soft
|
@@ -19,9 +19,28 @@ require 'sass'
|
|
19
19
|
|
20
20
|
|
21
21
|
module Spider
|
22
|
+
|
23
|
+
class SassAppImporter < Sass::Importers::Filesystem
|
24
|
+
|
25
|
+
def _find(dir, name, options)
|
26
|
+
Spider.apps_by_path.each do |app_name, mod|
|
27
|
+
if name.index(app_name) == 0 && File.directory?(File.join(dir, app_name))
|
28
|
+
rel_path = name[app_name.length+1..-1]
|
29
|
+
name = File.join(app_name, 'public', rel_path)
|
30
|
+
return super(dir, name, options)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
return super
|
34
|
+
end
|
35
|
+
|
36
|
+
end
|
22
37
|
|
23
38
|
class SassCompiler
|
24
39
|
|
40
|
+
def self.options
|
41
|
+
@options ||= {:load_paths => []}
|
42
|
+
end
|
43
|
+
|
25
44
|
def initialize(base_path)
|
26
45
|
@base_path = base_path
|
27
46
|
end
|
@@ -43,6 +62,16 @@ module Spider
|
|
43
62
|
src_dir = src_dir
|
44
63
|
# dest_dir = File.dirname(dest)
|
45
64
|
|
65
|
+
sass_options = Compass.sass_engine_options.merge({
|
66
|
+
:cache_location => File.join(work_dir, '.sass_cache')
|
67
|
+
})
|
68
|
+
# Spider.apps.each do |name, app|
|
69
|
+
# sass_options[:load_paths] << Sass::Importers::Filesystem.new(app.pub_path)
|
70
|
+
# end
|
71
|
+
Spider.app_paths.each do |path|
|
72
|
+
sass_options[:load_paths] << SassAppImporter.new(path)
|
73
|
+
end
|
74
|
+
|
46
75
|
options = {
|
47
76
|
:project_path => @base_path,
|
48
77
|
:css_dir => 'css',
|
@@ -54,11 +83,10 @@ module Spider
|
|
54
83
|
:javascripts_dir => 'js',
|
55
84
|
:relative_assets => true,
|
56
85
|
:line_comments => Spider.runmode == 'devel' ? true : false,
|
57
|
-
:sass =>
|
58
|
-
:cache_location => File.join(work_dir, '.sass_cache')
|
59
|
-
}),
|
86
|
+
:sass => sass_options,
|
60
87
|
:css_filename => dest
|
61
88
|
}
|
89
|
+
|
62
90
|
config = Compass::Configuration::Data.new(:spider, options)
|
63
91
|
Compass.add_project_configuration(config)
|
64
92
|
compiler = Compass::Compiler.new(work_dir, File.dirname(src), File.dirname(dest), options)
|
@@ -194,6 +194,7 @@ module Spider
|
|
194
194
|
# *<tpl:delete />* removes the found nodes
|
195
195
|
# *<tpl:before />* inserts the given content before the found nodes
|
196
196
|
# *<tpl:after />* inserts the given content after the found nodes
|
197
|
+
# *<tpl:content name="content-name" />* replaces a <tpl:placeholder> with the same name
|
197
198
|
def override_tags
|
198
199
|
@@overrides
|
199
200
|
end
|
@@ -495,7 +496,7 @@ module Spider
|
|
495
496
|
add_overrides overrides
|
496
497
|
our_domain = nil
|
497
498
|
if @definer_class
|
498
|
-
our_domain = @definer_class.respond_to?(:app) ? @definer_class.app.
|
499
|
+
our_domain = @definer_class.respond_to?(:app) ? @definer_class.app.gettext_domain : 'spider'
|
499
500
|
end
|
500
501
|
@overrides += orig_overrides
|
501
502
|
if root.name == 'tpl:extend'
|
@@ -531,8 +532,8 @@ module Spider
|
|
531
532
|
end
|
532
533
|
@dependencies << ext
|
533
534
|
root = get_el(ext)
|
534
|
-
if ext_app.
|
535
|
-
root.set_attribute('tpl:text-domain', ext_app.
|
535
|
+
if ext_app.gettext_domain != our_domain
|
536
|
+
root.set_attribute('tpl:text-domain', ext_app.gettext_domain)
|
536
537
|
end
|
537
538
|
root.children_of_type('tpl:asset').each do |ass|
|
538
539
|
ass_src = ass.get_attribute('src')
|
@@ -575,7 +576,7 @@ module Spider
|
|
575
576
|
end
|
576
577
|
end
|
577
578
|
incl_el.search('.to_delete').remove
|
578
|
-
td = resource.definer.respond_to?(:app) ? resource.definer.app.
|
579
|
+
td = resource.definer.respond_to?(:app) ? resource.definer.app.gettext_domain : 'spider'
|
579
580
|
if td != our_domain
|
580
581
|
incl_el.set_attribute('tpl:text-domain', td)
|
581
582
|
end
|
@@ -697,7 +698,7 @@ module Spider
|
|
697
698
|
def render(scene=nil)
|
698
699
|
prev_domain = nil
|
699
700
|
if @definer_class
|
700
|
-
td = @definer_class.respond_to?(:app) ? @definer_class.app.
|
701
|
+
td = @definer_class.respond_to?(:app) ? @definer_class.app.gettext_domain : 'spider'
|
701
702
|
prev_domain = Spider::GetText.set_domain(td)
|
702
703
|
end
|
703
704
|
scene ||= @scene
|
@@ -837,11 +838,11 @@ module Spider
|
|
837
838
|
td = nil
|
838
839
|
orig_td = nil
|
839
840
|
if @extended_app
|
840
|
-
td = @definer_class.respond_to?(:app) ? @definer_class.app.
|
841
|
-
orig_td = @extended_app.
|
841
|
+
td = @definer_class.respond_to?(:app) ? @definer_class.app.gettext_domain : nil
|
842
|
+
orig_td = @extended_app.gettext_domain
|
842
843
|
elsif @subtemplate_of
|
843
|
-
td = @subtemplate_of.respond_to?(:app) ? @subtemplate_of.app.
|
844
|
-
orig_td = @definer_class.respond_to?(:app) ? @definer_class.app.
|
844
|
+
td = @subtemplate_of.respond_to?(:app) ? @subtemplate_of.app.gettext_domain : nil
|
845
|
+
orig_td = @definer_class.respond_to?(:app) ? @definer_class.app.gettext_domain : nil
|
845
846
|
end
|
846
847
|
if td && orig_td && td != orig_td
|
847
848
|
override.innerHTML = '<tpl:pass tpl:text-domain="'+td+'">'+override.innerHTML+'</tpl:pass>'
|
@@ -419,7 +419,7 @@ module Spider
|
|
419
419
|
def load_widgets(template=@template)
|
420
420
|
if self.class.scene_attributes
|
421
421
|
self.class.scene_attributes.each do |name|
|
422
|
-
@scene[name] = instance_variable_get("@#{name}")
|
422
|
+
@scene[name] = instance_variable_get("@#{name}") || attributes[name]
|
423
423
|
end
|
424
424
|
end
|
425
425
|
template.request = @request
|
@@ -756,7 +756,7 @@ module Spider
|
|
756
756
|
def set_scene_vars(scene)
|
757
757
|
if self.class.scene_attributes # Repeat for new instance variables
|
758
758
|
self.class.scene_attributes.each do |name|
|
759
|
-
@scene[name] = instance_variable_get("@#{name}")
|
759
|
+
@scene[name] = instance_variable_get("@#{name}") || attributes[name]
|
760
760
|
end
|
761
761
|
end
|
762
762
|
end
|
metadata
CHANGED
@@ -1,15 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spiderfw
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 51
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
9
|
- 26
|
10
|
-
|
11
|
-
- 1
|
12
|
-
version: 0.6.26.pre1
|
10
|
+
version: 0.6.26
|
13
11
|
platform: ruby
|
14
12
|
authors:
|
15
13
|
- Ivan Pirlik
|
@@ -17,7 +15,7 @@ autorequire:
|
|
17
15
|
bindir: bin
|
18
16
|
cert_chain: []
|
19
17
|
|
20
|
-
date: 2012-
|
18
|
+
date: 2012-04-24 00:00:00 +02:00
|
21
19
|
default_executable: spider
|
22
20
|
dependencies:
|
23
21
|
- !ruby/object:Gem::Dependency
|
@@ -420,7 +418,6 @@ files:
|
|
420
418
|
- apps/core/components/public/bootstrap/scss/_close.scss
|
421
419
|
- apps/core/components/public/bootstrap/scss/_code.scss
|
422
420
|
- apps/core/components/public/bootstrap/scss/_component-animations.scss
|
423
|
-
- apps/core/components/public/bootstrap/scss/_custom.css
|
424
421
|
- apps/core/components/public/bootstrap/scss/_dropdowns.scss
|
425
422
|
- apps/core/components/public/bootstrap/scss/_forms.scss
|
426
423
|
- apps/core/components/public/bootstrap/scss/_grid.scss
|
@@ -433,7 +430,6 @@ files:
|
|
433
430
|
- apps/core/components/public/bootstrap/scss/_navs.scss
|
434
431
|
- apps/core/components/public/bootstrap/scss/_pager.scss
|
435
432
|
- apps/core/components/public/bootstrap/scss/_pagination.scss
|
436
|
-
- apps/core/components/public/bootstrap/scss/_patterns.scss
|
437
433
|
- apps/core/components/public/bootstrap/scss/_popovers.scss
|
438
434
|
- apps/core/components/public/bootstrap/scss/_print.scss
|
439
435
|
- apps/core/components/public/bootstrap/scss/_progress-bars.scss
|
@@ -447,11 +443,10 @@ files:
|
|
447
443
|
- apps/core/components/public/bootstrap/scss/_utilities.scss
|
448
444
|
- apps/core/components/public/bootstrap/scss/_variables.scss
|
449
445
|
- apps/core/components/public/bootstrap/scss/_wells.scss
|
450
|
-
- apps/core/components/public/bootstrap/scss/bootstrap-responsive.css
|
451
|
-
- apps/core/components/public/bootstrap/scss/bootstrap-responsive.scss
|
452
446
|
- apps/core/components/public/bootstrap/scss/bootstrap.css
|
453
447
|
- apps/core/components/public/bootstrap/scss/bootstrap.scss
|
454
|
-
- apps/core/components/public/bootstrap/scss/
|
448
|
+
- apps/core/components/public/bootstrap/scss/responsive.css
|
449
|
+
- apps/core/components/public/bootstrap/scss/responsive.scss
|
455
450
|
- apps/core/components/public/css/admin.css
|
456
451
|
- apps/core/components/public/css/crud.css
|
457
452
|
- apps/core/components/public/css/grid/1140.css
|
@@ -1083,6 +1078,7 @@ files:
|
|
1083
1078
|
- apps/messenger/controllers/mixins/messenger_helper.rb
|
1084
1079
|
- apps/messenger/data/locale/it/LC_MESSAGES/spider_messenger.mo
|
1085
1080
|
- apps/messenger/Gemfile
|
1081
|
+
- apps/messenger/lib/backends/mobyt.rb
|
1086
1082
|
- apps/messenger/lib/email_backend.rb
|
1087
1083
|
- apps/messenger/lib/sms_backend.rb
|
1088
1084
|
- apps/messenger/messenger.rb
|
@@ -1095,8 +1091,10 @@ files:
|
|
1095
1091
|
- apps/messenger/test/features/attachments.feature
|
1096
1092
|
- apps/messenger/test/features/messenger_helper.feature
|
1097
1093
|
- apps/messenger/test/features/sending_email.feature
|
1094
|
+
- apps/messenger/test/features/sms_mobyt.feature
|
1098
1095
|
- apps/messenger/test/features/step_definitions/common_steps.rb
|
1099
1096
|
- apps/messenger/test/features/step_definitions/email_steps.rb
|
1097
|
+
- apps/messenger/test/features/step_definitions/sms_mobyt.rb
|
1100
1098
|
- apps/messenger/test/features/support/env.rb
|
1101
1099
|
- apps/messenger/test/files/test_file1.txt
|
1102
1100
|
- apps/messenger/test/lib/controllers/mail_test_controller.rb
|
@@ -1443,14 +1441,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1443
1441
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1444
1442
|
none: false
|
1445
1443
|
requirements:
|
1446
|
-
- - "
|
1444
|
+
- - ">="
|
1447
1445
|
- !ruby/object:Gem::Version
|
1448
|
-
hash:
|
1446
|
+
hash: 3
|
1449
1447
|
segments:
|
1450
|
-
-
|
1451
|
-
|
1452
|
-
- 1
|
1453
|
-
version: 1.3.1
|
1448
|
+
- 0
|
1449
|
+
version: "0"
|
1454
1450
|
requirements:
|
1455
1451
|
- "Optional dependencies: ripl, ripl-irb, ripl-multi_line, json, openssl, sqlite3, mongrel, ruby-oci8 >2.0, mysql, yui-compressor, cldr"
|
1456
1452
|
rubyforge_project:
|
File without changes
|
@@ -1,13 +0,0 @@
|
|
1
|
-
// PATTERNS
|
2
|
-
// Repeatable UI elements outside the base styles provided from the scaffolding
|
3
|
-
// ----------------------------------------------------------------------------
|
4
|
-
|
5
|
-
|
6
|
-
// PAGE HEADERS
|
7
|
-
// ------------
|
8
|
-
|
9
|
-
footer {
|
10
|
-
padding-top: $baseLineHeight - 1;
|
11
|
-
margin-top: $baseLineHeight - 1;
|
12
|
-
border-top: 1px solid #eee;
|
13
|
-
}
|
@@ -1,36 +0,0 @@
|
|
1
|
-
# COMPASS
|
2
|
-
# ----------------------------------------------
|
3
|
-
# Configuration: http://compass-style.org/help/tutorials/configuration-reference/
|
4
|
-
#
|
5
|
-
# ----------------------------------------------
|
6
|
-
# PRODUCTION
|
7
|
-
# compass compile -e production -s compressed --no-line-comments --force --trace --time
|
8
|
-
#
|
9
|
-
|
10
|
-
# Can be :stand_alone or :rails. Defaults to :stand_alone
|
11
|
-
project_type = :stand_alone
|
12
|
-
|
13
|
-
# paths
|
14
|
-
# Set this to the root of your project when deployed:
|
15
|
-
http_path = "/"
|
16
|
-
sass_dir = ""
|
17
|
-
css_dir = ""
|
18
|
-
images_dir = "../img"
|
19
|
-
javascripts_dir = "../js"
|
20
|
-
|
21
|
-
# output option: nested, expanded, compact, compressed
|
22
|
-
output_style = :expanded
|
23
|
-
|
24
|
-
# The environment mode.
|
25
|
-
# Defaults to :production, can also be :development
|
26
|
-
# Use :development to see line numbers, file names, etc
|
27
|
-
environment = :production
|
28
|
-
|
29
|
-
# Enable/Disable line comments
|
30
|
-
line_comments = false
|
31
|
-
|
32
|
-
# Enable relative paths to assets via compass helper functions.
|
33
|
-
relative_assets = true
|
34
|
-
|
35
|
-
# disable the asset cache buster
|
36
|
-
asset_cache_buster :none
|