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/version.rb') 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 From 633f84c89910ea7a62640deeb51523644a228bcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Strza=C5=82kowski?= Date: Thu, 20 Jun 2013 19:11:32 +0200 Subject: Bump up version, fix module name --- actionview/lib/action_view/version.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'actionview/lib/action_view/version.rb') diff --git a/actionview/lib/action_view/version.rb b/actionview/lib/action_view/version.rb index b746c55e55..094dd474df 100644 --- a/actionview/lib/action_view/version.rb +++ b/actionview/lib/action_view/version.rb @@ -1,11 +1,11 @@ -module ActionPack +module ActionView # Returns the version of the currently loaded ActionView as a Gem::Version def self.version - Gem::Version.new "4.0.0.beta1" + Gem::Version.new "4.1.0.beta" end module VERSION #:nodoc: - MAJOR, MINOR, TINY, PRE = ActionPack.version.segments - STRING = ActionPack.version.to_s + MAJOR, MINOR, TINY, PRE = ActionView.version.segments + STRING = ActionView.version.to_s end end -- cgit v1.2.3