versionist 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/versionist/routing.rb +5 -7
- data/lib/versionist/version.rb +1 -1
- metadata +3 -3
data/lib/versionist/routing.rb
CHANGED
@@ -56,12 +56,10 @@ end
|
|
56
56
|
# Hook to clear versionist cached data when routes are reloaded
|
57
57
|
module Rails
|
58
58
|
class Application #:nodoc:
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
reload_without_versionist!
|
63
|
-
end
|
64
|
-
alias_method_chain :reload!, :versionist
|
59
|
+
def reload_routes_with_versionist!
|
60
|
+
Versionist.configuration.clear!
|
61
|
+
reload_routes_without_versionist!
|
65
62
|
end
|
63
|
+
alias_method_chain :reload_routes!, :versionist
|
66
64
|
end
|
67
|
-
end
|
65
|
+
end
|
data/lib/versionist/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: versionist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.2.
|
5
|
+
version: 0.2.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Brian Ploetz
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-06-
|
13
|
+
date: 2012-06-27 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
@@ -105,7 +105,7 @@ rubyforge_project:
|
|
105
105
|
rubygems_version: 1.8.17
|
106
106
|
signing_key:
|
107
107
|
specification_version: 3
|
108
|
-
summary: versionist-0.2.
|
108
|
+
summary: versionist-0.2.2
|
109
109
|
test_files: []
|
110
110
|
|
111
111
|
has_rdoc:
|