dynamic_fieldsets 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,5 +1,9 @@
1
1
  == 0.1.0
2
2
 
3
+ * Found a bug in the Field.descendants code that stopped the nested attributes from working
4
+
5
+ = 0.1.0
6
+
3
7
  * Major change to the structure of the code. Fields now use single table inheritance to determine different functionality
4
8
  * Added views for each field
5
9
  * Added a config file and generator
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -37,12 +37,12 @@ module DynamicFieldsets
37
37
  # Deals with weird single table inheritance issues with cache classes off
38
38
  # Causes errors only in development mode
39
39
  #
40
- # @return [Array<String>] An array of descendant class names
40
+ # @return [Array] An array of descendant class constants
41
41
  def self.descendants
42
42
  if ::Rails.application.config.cache_classes
43
43
  super
44
44
  else
45
- DynamicFieldsets.config.available_field_types
45
+ DynamicFieldsets.config.available_field_types.map(&:constantize)
46
46
  end
47
47
  end
48
48
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "dynamic_fieldsets"
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jeremiah Hemphill", "Ethan Pemble", "John Carter"]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: dynamic_fieldsets
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.0
5
+ version: 0.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jeremiah Hemphill
@@ -429,7 +429,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
429
429
  requirements:
430
430
  - - ">="
431
431
  - !ruby/object:Gem::Version
432
- hash: 2423062076417752198
432
+ hash: -3694889709902434942
433
433
  segments:
434
434
  - 0
435
435
  version: "0"