kuhsaft 1.7.0 → 1.7.1

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.
@@ -1,7 +1,6 @@
1
1
  module Kuhsaft
2
2
  class AccordionBrick < ColumnBrick
3
3
  attr_accessible :caption
4
- validates :caption, :presence => true
5
4
 
6
5
  # TODO: validate only accept AccordionItem as child
7
6
 
@@ -36,6 +36,15 @@ module Kuhsaft
36
36
  brick_list.save!
37
37
  end
38
38
 
39
+ # TODO: yes. temporary workaround. see above
40
+ def update_fulltext
41
+ if brick_list.is_a? Page
42
+ brick_list.update_fulltext
43
+ else
44
+ brick_list.brick_list.update_fulltext
45
+ end
46
+ end
47
+
39
48
  def to_edit_partial_path
40
49
  path = self.to_partial_path.split '/'
41
50
  path << 'edit'
@@ -1,3 +1,3 @@
1
1
  module Kuhsaft
2
- VERSION = "1.7.0"
2
+ VERSION = "1.7.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kuhsaft
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2013-05-31 00:00:00.000000000 Z
16
+ date: 2013-06-06 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: rspec
@@ -588,7 +588,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
588
588
  version: '0'
589
589
  segments:
590
590
  - 0
591
- hash: 2803199904668343026
591
+ hash: -4607812915694865046
592
592
  required_rubygems_version: !ruby/object:Gem::Requirement
593
593
  none: false
594
594
  requirements:
@@ -597,7 +597,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
597
597
  version: '0'
598
598
  segments:
599
599
  - 0
600
- hash: 2803199904668343026
600
+ hash: -4607812915694865046
601
601
  requirements: []
602
602
  rubyforge_project: kuhsaft
603
603
  rubygems_version: 1.8.24