cowtech-rails 1.5.3.0 → 1.6.0.0

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.
@@ -191,6 +191,10 @@ module Cowtech
191
191
  data[:sort_order] = sort_expression.gsub("@PLACEHOLDER@", "#{sort.what} #{sort.how}")
192
192
  end
193
193
 
194
+ def crud_get_form_data
195
+ @record
196
+ end
197
+
194
198
  def crud_form_header(female = false)
195
199
  if self.crud_get_form_data.new_record? then
196
200
  "Create new"
@@ -8,8 +8,8 @@ module Cowtech
8
8
  module Rails
9
9
  module Version
10
10
  MAJOR = 1
11
- MINOR = 5
12
- PATCH = 3
11
+ MINOR = 6
12
+ PATCH = 0
13
13
  BUILD = 0
14
14
 
15
15
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
metadata CHANGED
@@ -4,10 +4,10 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 1
7
- - 5
8
- - 3
7
+ - 6
9
8
  - 0
10
- version: 1.5.3.0
9
+ - 0
10
+ version: 1.6.0.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Shogun