versioncake 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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: