cs-active_form 1.0.1 → 1.0.2

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.
Files changed (3) hide show
  1. data/lib/active_form.rb +1 -1
  2. data/test/test_helper.rb +1 -0
  3. metadata +3 -2
data/lib/active_form.rb CHANGED
@@ -47,7 +47,7 @@ class ActiveForm
47
47
  alias update_attributes raise_not_implemented_error
48
48
 
49
49
  class <<self
50
- def self_and_descendents_from_active_record
50
+ def self_and_descendants_from_active_record
51
51
  [self]
52
52
  end
53
53
 
data/test/test_helper.rb CHANGED
@@ -5,6 +5,7 @@ unless ENV['RAILS_VERSION'] then gem 'activerecord', '>= 2.1.0'
5
5
  else gem 'activerecord', ENV['RAILS_VERSION'] end
6
6
 
7
7
  require 'active_record'
8
+ require 'active_record/base'
8
9
 
9
10
  plugin_root = File.expand_path(File.join(File.dirname(__FILE__), '..'))
10
11
  require File.join(plugin_root, 'lib/active_form')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cs-active_form
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christoph Schiessl
@@ -9,11 +9,12 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-09-08 00:00:00 -07:00
12
+ date: 2009-03-16 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activerecord
17
+ type: :runtime
17
18
  version_requirement:
18
19
  version_requirements: !ruby/object:Gem::Requirement
19
20
  requirements: