act_as_importable 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/Rakefile +12 -2
- data/db/act_as_importable.db +0 -0
- data/lib/act_as_importable.rb +2 -4
- data/lib/act_as_importable/base.rb +1 -1
- data/lib/act_as_importable/config.rb +1 -0
- data/lib/act_as_importable/railtie.rb +1 -1
- data/lib/act_as_importable/version.rb +1 -1
- data/spec/act_as_importable/act_as_importable_spec.rb +3 -0
- data/spec/spec_helper.rb +1 -0
- metadata +1 -1
data/README.md
CHANGED
data/Rakefile
CHANGED
@@ -1,6 +1,16 @@
|
|
1
|
-
require
|
1
|
+
require 'bundler/gem_tasks'
|
2
|
+
require 'act_as_importable/version'
|
3
|
+
require 'rspec/core'
|
2
4
|
require 'rspec/core/rake_task'
|
3
5
|
|
4
6
|
RSpec::Core::RakeTask.new :spec
|
5
7
|
|
6
|
-
task :default => :spec
|
8
|
+
task :default => :spec
|
9
|
+
|
10
|
+
require 'rdoc/task'
|
11
|
+
Rake::RDocTask.new do |rdoc|
|
12
|
+
rdoc.rdoc_dir = 'rdoc'
|
13
|
+
rdoc.title = "ActAsImportable #{ActAsImportable::VERSION}"
|
14
|
+
rdoc.rdoc_files.include('README*')
|
15
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
16
|
+
end
|
data/db/act_as_importable.db
CHANGED
Binary file
|
data/lib/act_as_importable.rb
CHANGED
@@ -1,10 +1,8 @@
|
|
1
|
+
require 'active_support'
|
1
2
|
require 'act_as_importable/base'
|
2
3
|
require 'act_as_importable/config'
|
3
|
-
require 'csv'
|
4
4
|
|
5
5
|
module ActAsImportable
|
6
|
-
include ActAsImportable::Base
|
7
6
|
end
|
8
7
|
|
9
|
-
require 'act_as_importable/railtie.rb' if defined?(Rails)
|
10
|
-
ActiveRecord::Base.send :include, ActAsImportable::Config
|
8
|
+
require 'act_as_importable/railtie.rb' if defined?(Rails)
|
data/spec/spec_helper.rb
CHANGED