sproutcore 0.9.15 → 0.9.16
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +7 -0
- data/config/hoe.rb +1 -1
- data/lib/sproutcore/version.rb +1 -1
- data/lib/sproutcore/view_helpers.rb +5 -1
- metadata +2 -2
data/History.txt
CHANGED
data/config/hoe.rb
CHANGED
@@ -60,7 +60,7 @@ hoe = Hoe.new(GEM_NAME, VERS) do |p|
|
|
60
60
|
|
61
61
|
# == Optional
|
62
62
|
p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
|
63
|
-
p.extra_deps = [['activesupport', '>= 2.0.2'], ['merb-core', '>= 0.9.1'], ['erubis'], ['rubigen'], ['mongrel']]
|
63
|
+
p.extra_deps = [['activesupport', '>= 2.0.2'], ['merb-core', '>= 0.9.1'], ['erubis'], ['rubigen'], ['mongrel'], ['hoe']]
|
64
64
|
|
65
65
|
#p.spec_extras = {} # A hash of extra values to set in the gemspec.
|
66
66
|
|
data/lib/sproutcore/version.rb
CHANGED
@@ -566,11 +566,15 @@ module SproutCore
|
|
566
566
|
# get the JS. Save as an outlet or in the page.
|
567
567
|
cur_rc = SproutCore::PageHelper.current_render_context
|
568
568
|
view_class = opts[:view] || rc.view_class
|
569
|
+
|
569
570
|
unless view_class.nil?
|
570
571
|
view_settings = { :id => item_id, :class => view_class, :properties => rc.render_view, :lazy => opts[:lazy], :outlet_path => opts[:outlet_path] }
|
571
572
|
|
572
573
|
# if an outlet item is passed, then register this as an outlet.
|
573
|
-
outlet = opts[:outlet]
|
574
|
+
outlet = opts[:outlet]
|
575
|
+
if outlet.nil?
|
576
|
+
outlet = opts[:field].nil? ? !cur_rc.nil? : [opts[:field].to_s, 'field'].join('_').to_sym
|
577
|
+
end
|
574
578
|
define = opts[:define]
|
575
579
|
if outlet && cur_rc
|
576
580
|
outlet = item_id if outlet == true
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sproutcore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charles Jolley
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-08-
|
12
|
+
date: 2008-08-13 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|