hobo_rapid 1.4.0.pre7 → 1.4.0.pre8

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.0.pre7
1
+ 1.4.0.pre8
@@ -190,7 +190,7 @@ module HoboRapidHelper
190
190
  end
191
191
 
192
192
  Dryml.last_if = true
193
- [body, html_attrs, ajax_attrs, form_attrs]
193
+ [body, html_attrs, deunderscore_attributes(ajax_attrs), form_attrs]
194
194
  end
195
195
  end
196
196
 
data/taglibs/html/a.dryml CHANGED
@@ -119,7 +119,7 @@ The standard AJAX attributes are supported.
119
119
  href = object_url(target, "new", params._?.merge(:subsite => subsite))
120
120
 
121
121
  if href && (force || can_create?(new_record))
122
- new_class_name = if target.respond_to?(:proxy_reflection)
122
+ new_class_name = if target.respond_to?(:proxy_association)
123
123
  target.proxy_association.reflection.klass.name
124
124
  else
125
125
  target.name
@@ -74,7 +74,7 @@ end
74
74
  <set empty="&this.empty?"/>
75
75
  <% template ||= this.try.new_candidate || this.member_class.new -%>
76
76
  <% minimum ||= 0 ; minimum = minimum.to_i -%>
77
- <% skip ||= this.proxy_reflection.klass.reflect_on_all_associations.detect {|p| p.primary_key_name==this.proxy_reflection.primary_key_name}.try.name.to_s if this.respond_to? :proxy_reflection -%>
77
+ <% skip ||= this.proxy_association.reflection.klass.reflect_on_all_associations.detect {|p| p.foreign_key==this.proxy_association.reflection.foreign_key}.try.name.to_s if this.respond_to? :proxy_association -%>
78
78
  <% skip += ",#{more_skip}" if more_skip -%>
79
79
  <% js_attrs = all_attributes.slice(:minimum, :add_hook, :remove_hook, :hide, :show) %>
80
80
  <% js_attrs[:prefix] = param_name_for_this %>
@@ -1,8 +1,8 @@
1
1
  <def tag="search-filter">
2
2
  <form param="search-form" method="get" action="" with="&nil" merge-attrs >
3
- <hidden-fields for-query-string skip="page, search"/>
3
+ <hidden-fields param for-query-string skip="page, search"/>
4
4
  <span param="label"><t key="hobo.table_plus.search">Search</t></span>
5
- <input class="search" type="search" name="search" value="&params[:search]"/>
5
+ <input param class="search" type="search" name="search" value="&params[:search]"/>
6
6
  <submit label="&t('hobo.table_plus.submit_label', :default=>'Go')" class="search-button" param="search-submit"/>
7
7
  </form>
8
8
  <if test="&params[:search]">
@@ -30,7 +30,7 @@ sort-columns: a hash that allow you to map fields to sortable columns. The def
30
30
  </div>
31
31
  </div>
32
32
 
33
- <table merge-attrs="&attributes & (attrs_for(:table) + attrs_for(:with_fields))" empty merge-params>
33
+ <table merge-attrs="&attributes & (attrs_for(:table) + attrs_for(:with_fields))" empty merge-params param>
34
34
  <field-heading-row:>
35
35
  <with-field-names merge-attrs="&all_attributes & attrs_for(:with_fields)">
36
36
  <% col = sort_columns[scope.field_path] || scope.field_path
metadata CHANGED
@@ -1,37 +1,38 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: hobo_rapid
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.4.0.pre8
4
5
  prerelease: 6
5
- version: 1.4.0.pre7
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Tom Locke, Bryan Larsen
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2012-07-05 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2012-08-01 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
16
15
  name: hobo
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
19
17
  none: false
20
- requirements:
21
- - - "="
22
- - !ruby/object:Gem::Version
23
- version: 1.4.0.pre7
18
+ requirements:
19
+ - - '='
20
+ - !ruby/object:Gem::Version
21
+ version: 1.4.0.pre8
24
22
  type: :runtime
25
- version_requirements: *id001
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - '='
28
+ - !ruby/object:Gem::Version
29
+ version: 1.4.0.pre8
26
30
  description: The RAPID tag library for Hobo
27
31
  email: tom@tomlocke.com
28
32
  executables: []
29
-
30
33
  extensions: []
31
-
32
34
  extra_rdoc_files: []
33
-
34
- files:
35
+ files:
35
36
  - README.markdown
36
37
  - VERSION
37
38
  - app/controllers/dev_controller.rb
@@ -147,32 +148,29 @@ files:
147
148
  - vendor/assets/stylesheets/hobo_rapid.css
148
149
  homepage: http://hobocentral.net
149
150
  licenses: []
150
-
151
151
  post_install_message:
152
- rdoc_options:
152
+ rdoc_options:
153
153
  - --charset=UTF-8
154
- require_paths:
154
+ require_paths:
155
155
  - lib
156
156
  - vendor
157
- required_ruby_version: !ruby/object:Gem::Requirement
157
+ required_ruby_version: !ruby/object:Gem::Requirement
158
158
  none: false
159
- requirements:
160
- - - ">="
161
- - !ruby/object:Gem::Version
162
- version: "0"
163
- required_rubygems_version: !ruby/object:Gem::Requirement
159
+ requirements:
160
+ - - ! '>='
161
+ - !ruby/object:Gem::Version
162
+ version: '0'
163
+ required_rubygems_version: !ruby/object:Gem::Requirement
164
164
  none: false
165
- requirements:
166
- - - ">="
167
- - !ruby/object:Gem::Version
165
+ requirements:
166
+ - - ! '>='
167
+ - !ruby/object:Gem::Version
168
168
  version: 1.3.6
169
169
  requirements: []
170
-
171
170
  rubyforge_project: hobo
172
- rubygems_version: 1.8.21
171
+ rubygems_version: 1.8.24
173
172
  signing_key:
174
173
  specification_version: 3
175
174
  summary: The RAPID tag library for Hobo
176
175
  test_files: []
177
-
178
176
  has_rdoc: