versioncake 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,7 +16,7 @@ module ActionController #:nodoc:
16
16
 
17
17
  if @requested_version.nil?
18
18
  @derived_version = ActionView::Template::Versions.latest_version
19
- elsif ActionView::Template::Versions.supports_version? requested_version
19
+ elsif ActionView::Template::Versions.supports_version? @requested_version
20
20
  @derived_version = @requested_version
21
21
  elsif requested_version > ActionView::Template::Versions.latest_version
22
22
  raise ActionController::RoutingError.new("No route match for version")
@@ -1,3 +1,3 @@
1
1
  module VersionCake
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: versioncake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: