versionist 0.1.0 → 0.1.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.
- data/lib/versionist/routing.rb +1 -1
- data/lib/versionist/version.rb +1 -1
- metadata +2 -2
data/lib/versionist/routing.rb
CHANGED
|
@@ -7,7 +7,7 @@ module Versionist
|
|
|
7
7
|
# api_version(:module => "v20120317", :parameter => "version", :value => "v20120317")
|
|
8
8
|
#
|
|
9
9
|
# Specifying default version:
|
|
10
|
-
# api_version(:module => "v3__0__0", :header => "
|
|
10
|
+
# api_version(:module => "v3__0__0", :header => "API-VERSION", :value => "v3.0.0", :default => true)
|
|
11
11
|
def api_version(config, &block)
|
|
12
12
|
raise ArgumentError, "you must pass a configuration Hash to api_version" if config.nil? || !config.is_a?(Hash)
|
|
13
13
|
raise ArgumentError, "you must specify :module in configuration Hash passed to api_version" if !config.has_key?(:module)
|
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.1.
|
|
5
|
+
version: 0.1.1
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Brian Ploetz
|
|
@@ -178,6 +178,6 @@ rubyforge_project:
|
|
|
178
178
|
rubygems_version: 1.8.17
|
|
179
179
|
signing_key:
|
|
180
180
|
specification_version: 3
|
|
181
|
-
summary: versionist-0.1.
|
|
181
|
+
summary: versionist-0.1.1
|
|
182
182
|
test_files: []
|
|
183
183
|
|