1
+ $:. push File . expand_path ( "../lib" , __FILE__ )
2
+ require "delayed_paperclip/version"
1
3
2
- include_files = [ "README*" , "LICENSE" , "Rakefile" , "init.rb" , "{lib,tasks,test,rails,generators,shoulda_macros}/**/*" ] . map do |glob |
3
- Dir [ glob ]
4
- end . flatten
5
- exclude_files = [ "**/*.rbc" , "test/s3.yml" , "test/debug.log" , "test/paperclip.db" , "test/doc" , "test/doc/*" , "test/pkg" , "test/pkg/*" , "test/tmp" , "test/tmp/*" ] . map do |glob |
6
- Dir [ glob ]
7
- end . flatten
8
-
9
- spec = Gem ::Specification . new do |s |
4
+ Gem ::Specification . new do |s |
10
5
s . name = %q{delayed_paperclip}
11
- s . version = "2.6.0.0"
6
+ s . version = DelayedPaperclip :: VERSION
12
7
13
- s . authors = [ "Jesse Storimer" , "Bert Goethals" , "James Gifford" ]
8
+ s . authors = [ "Jesse Storimer" , "Bert Goethals" , "James Gifford" , "Scott Carleton" ]
14
9
s . summary = %q{Process your Paperclip attachments in the background.}
15
10
s . description = %q{Process your Paperclip attachments in the background with delayed_job, Resque or your own processor.}
16
11
17
12
s . homepage = %q{http://github.com/jrgifford/delayed_paperclip}
18
13
19
- s . files = include_files - exclude_files
20
-
21
- s . test_files = Dir [ "test/**/*,rb" ] + Dir [ 'test/features/*' ]
22
-
23
14
s . add_dependency 'paperclip' , [ ">= 3.3.0" ]
24
15
25
16
s . add_development_dependency 'mocha'
@@ -28,5 +19,8 @@ spec = Gem::Specification.new do |s|
28
19
s . add_development_dependency 'delayed_job'
29
20
s . add_development_dependency 'resque'
30
21
s . add_development_dependency 'sidekiq'
22
+
23
+ s . files = `git ls-files` . split ( "\n " )
24
+ s . test_files = `git ls-files -- {test,spec,features}/*` . split ( "\n " )
31
25
end
32
26
0 commit comments