From 78b0934dd1bb84e8f093fb8ef95ca99b297b51cd Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Thu, 31 May 2012 18:21:56 +0200 Subject: Add bare actionview gem to the root directory This commit creates structure for Action View gem and is first of a series of commits extracting Action View from Action Pack. --- actionview/lib/action_view/version.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 actionview/lib/action_view/version.rb (limited to 'actionview/lib/action_view') diff --git a/actionview/lib/action_view/version.rb b/actionview/lib/action_view/version.rb new file mode 100644 index 0000000000..b746c55e55 --- /dev/null +++ b/actionview/lib/action_view/version.rb @@ -0,0 +1,11 @@ +module ActionPack + # Returns the version of the currently loaded ActionView as a Gem::Version + def self.version + Gem::Version.new "4.0.0.beta1" + end + + module VERSION #:nodoc: + MAJOR, MINOR, TINY, PRE = ActionPack.version.segments + STRING = ActionPack.version.to_s + end +end -- cgit v1.2.3