attached 0.3.6 → 0.3.7

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.
@@ -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