diff options
-rw-r--r-- | config/initializers/strip_attributes.rb | 2 | ||||
-rw-r--r-- | lib/strip_attributes/README.rdoc (renamed from vendor/plugins/strip_attributes/README.rdoc) | 0 | ||||
-rw-r--r-- | lib/strip_attributes/Rakefile (renamed from vendor/plugins/strip_attributes/Rakefile) | 0 | ||||
-rw-r--r-- | lib/strip_attributes/strip_attributes.rb (renamed from vendor/plugins/strip_attributes/lib/strip_attributes.rb) | 0 | ||||
-rw-r--r-- | lib/strip_attributes/test/strip_attributes_test.rb (renamed from vendor/plugins/strip_attributes/test/strip_attributes_test.rb) | 0 | ||||
-rw-r--r-- | lib/strip_attributes/test/test_helper.rb (renamed from vendor/plugins/strip_attributes/test/test_helper.rb) | 0 | ||||
-rw-r--r-- | spec/spec_helper.rb | 1 | ||||
-rw-r--r-- | vendor/plugins/strip_attributes/.gitignore | 1 | ||||
-rw-r--r-- | vendor/plugins/strip_attributes/init.rb | 2 |
9 files changed, 3 insertions, 3 deletions
diff --git a/config/initializers/strip_attributes.rb b/config/initializers/strip_attributes.rb new file mode 100644 index 000000000..25f70b2f3 --- /dev/null +++ b/config/initializers/strip_attributes.rb @@ -0,0 +1,2 @@ +require 'strip_attributes/strip_attributes' +ActiveRecord::Base.extend(StripAttributes) diff --git a/vendor/plugins/strip_attributes/README.rdoc b/lib/strip_attributes/README.rdoc index bd55c0c1c..bd55c0c1c 100644 --- a/vendor/plugins/strip_attributes/README.rdoc +++ b/lib/strip_attributes/README.rdoc diff --git a/vendor/plugins/strip_attributes/Rakefile b/lib/strip_attributes/Rakefile index 05b0c14ad..05b0c14ad 100644 --- a/vendor/plugins/strip_attributes/Rakefile +++ b/lib/strip_attributes/Rakefile diff --git a/vendor/plugins/strip_attributes/lib/strip_attributes.rb b/lib/strip_attributes/strip_attributes.rb index 130d10185..130d10185 100644 --- a/vendor/plugins/strip_attributes/lib/strip_attributes.rb +++ b/lib/strip_attributes/strip_attributes.rb diff --git a/vendor/plugins/strip_attributes/test/strip_attributes_test.rb b/lib/strip_attributes/test/strip_attributes_test.rb index 8158dc664..8158dc664 100644 --- a/vendor/plugins/strip_attributes/test/strip_attributes_test.rb +++ b/lib/strip_attributes/test/strip_attributes_test.rb diff --git a/vendor/plugins/strip_attributes/test/test_helper.rb b/lib/strip_attributes/test/test_helper.rb index 7d06c40db..7d06c40db 100644 --- a/vendor/plugins/strip_attributes/test/test_helper.rb +++ b/lib/strip_attributes/test/test_helper.rb diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index d22f3c0ff..b61251246 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -13,6 +13,7 @@ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ SimpleCov.start('rails') do add_filter 'commonlib' add_filter 'vendor/plugins' + add_filter 'lib/strip_attributes' end Spork.prefork do diff --git a/vendor/plugins/strip_attributes/.gitignore b/vendor/plugins/strip_attributes/.gitignore deleted file mode 100644 index 1a240903a..000000000 --- a/vendor/plugins/strip_attributes/.gitignore +++ /dev/null @@ -1 +0,0 @@ -rdoc
\ No newline at end of file diff --git a/vendor/plugins/strip_attributes/init.rb b/vendor/plugins/strip_attributes/init.rb deleted file mode 100644 index 2c71b29bc..000000000 --- a/vendor/plugins/strip_attributes/init.rb +++ /dev/null @@ -1,2 +0,0 @@ -require 'strip_attributes' -ActiveRecord::Base.extend(StripAttributes) |