Commit bf33af34 by Nick Ragaz Committed by Jon Yurek

put version in its own file

(cherry picked from commit e053805f55b872e6926dfbfa14f38d1296e8b922)
parent 20e9559a
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
require 'erb' require 'erb'
require 'tempfile' require 'tempfile'
require 'paperclip/version'
require 'paperclip/upfile' require 'paperclip/upfile'
require 'paperclip/iostream' require 'paperclip/iostream'
require 'paperclip/geometry' require 'paperclip/geometry'
...@@ -48,8 +49,6 @@ end ...@@ -48,8 +49,6 @@ end
# documentation for Paperclip::ClassMethods for more useful information. # documentation for Paperclip::ClassMethods for more useful information.
module Paperclip module Paperclip
VERSION = "2.3.2.beta2"
class << self class << self
# Provides configurability to Paperclip. There are a number of options available, such as: # Provides configurability to Paperclip. There are a number of options available, such as:
# * whiny: Will raise an error if Paperclip cannot process thumbnails of # * whiny: Will raise an error if Paperclip cannot process thumbnails of
......
module Paperclip
VERSION = "2.3.2.beta2" unless defined? Paperclip::VERSION
end
\ No newline at end of file
$LOAD_PATH << File.join(File.dirname(__FILE__), 'lib') $LOAD_PATH << File.join(File.dirname(__FILE__), 'lib')
require 'paperclip' require 'paperclip/version'
include_files = ["README*", "LICENSE", "Rakefile", "init.rb", "{lib,tasks,test,rails,generators,shoulda_macros}/**/*"].map do |glob| include_files = ["README*", "LICENSE", "Rakefile", "init.rb", "{lib,tasks,test,rails,generators,shoulda_macros}/**/*"].map do |glob|
Dir[glob] Dir[glob]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment