attached 0.3.6 → 0.3.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Attached
2
- VERSION = "0.3.6"
2
+ VERSION = "0.3.7"
3
3
  end
@@ -1,7 +1,7 @@
1
1
  namespace :attached do
2
2
 
3
3
  desc "Process a given 'model' and 'attachment'"
4
- task :process, :model, :attachment, :needs => :environment do |t, args|
4
+ task :process, [:model, :attachment] => :environment do |t, args|
5
5
 
6
6
  model = args[:model] or raise "must specify model"
7
7
  attachment = args[:attachment] or raise "must specify attachment"
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: attached
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.6
5
+ version: 0.3.7
6
6
  platform: ruby
7
7
  authors:
8
8
  - Kevin Sylvestre