versionist 1.2.1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/lib/versionist/routing.rb +1 -1
- data/lib/versionist/version.rb +1 -1
- metadata +12 -18
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
YTlhMjRiODgxYzUwMWJiMWIzMmI4OWM3MTBmNDNkNzJiMmQ2YzkxNw==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
ZjA5MmQyYzgxZWFmNDFmNDkwMzFhZWYyNWQwMzBhODc2ZmM0MGQ1Ng==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MjI3NDE0NzVmMmYwNWU1MzYzYmZmZTc1MGQ3YmIxNjU0OTBmZTVhZTFkY2Fl
|
10
|
+
ZmU5N2RmYzU5YWU4NDIyNjY0N2JlNzdjN2JhZmYyM2M1OTQzYTYyZjQxOGZl
|
11
|
+
OGNiY2MwNDVhNTAzYmJkMzNkODRmZjNmMmE2YmUwNWYxMTcwYTg=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MGJhNzA1MWUyMzg3OGFjYzMzZGI2OWE4ZWIyYTAyOGE5NjcxODcwZGRkZDZj
|
14
|
+
YWM1YWI4NzFiZTg4YmMyMzU4NDUyYjkyNDVlNmJmZjg3MTMxMjk0YmI4MmQ4
|
15
|
+
NzY2NzFlMDMyMTRlMWM0NWRmZDViMjYwNmNhZTI0YzhjYTJmOGQ=
|
data/lib/versionist/routing.rb
CHANGED
@@ -64,7 +64,7 @@ module Versionist
|
|
64
64
|
|
65
65
|
def configure_default(config, &block)
|
66
66
|
default = Versionist::VersioningStrategy::Default.new(config)
|
67
|
-
route_hash = {:module => config[:module], :constraints => default}
|
67
|
+
route_hash = {:module => config[:module], :constraints => default, :as => 'default'}
|
68
68
|
route_hash.merge!({:defaults => config[:defaults]}) if config.has_key?(:defaults)
|
69
69
|
scope(route_hash, &block)
|
70
70
|
end
|
data/lib/versionist/version.rb
CHANGED
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: versionist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.3.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Brian Ploetz
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-02-28 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rails
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ! '>='
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ! '>='
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,7 +27,6 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: yard
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ~>
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ~>
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -49,9 +44,10 @@ executables: []
|
|
49
44
|
extensions: []
|
50
45
|
extra_rdoc_files: []
|
51
46
|
files:
|
52
|
-
- lib/generators/versionist/copy_api_version/copy_api_version_generator.rb
|
53
47
|
- lib/generators/versionist/copy_api_version/USAGE
|
48
|
+
- lib/generators/versionist/copy_api_version/copy_api_version_generator.rb
|
54
49
|
- lib/generators/versionist/inflector_fixes.rb
|
50
|
+
- lib/generators/versionist/new_api_version/USAGE
|
55
51
|
- lib/generators/versionist/new_api_version/new_api_version_generator.rb
|
56
52
|
- lib/generators/versionist/new_api_version/templates/base_controller.rb
|
57
53
|
- lib/generators/versionist/new_api_version/templates/base_controller_functional_test.rb
|
@@ -62,55 +58,53 @@ files:
|
|
62
58
|
- lib/generators/versionist/new_api_version/templates/base_presenter_test.rb
|
63
59
|
- lib/generators/versionist/new_api_version/templates/docs_index.rb
|
64
60
|
- lib/generators/versionist/new_api_version/templates/docs_style.rb
|
65
|
-
- lib/generators/versionist/
|
61
|
+
- lib/generators/versionist/new_controller/USAGE
|
66
62
|
- lib/generators/versionist/new_controller/new_controller_generator.rb
|
67
63
|
- lib/generators/versionist/new_controller/templates/new_controller.rb
|
68
64
|
- lib/generators/versionist/new_controller/templates/new_controller_functional_test.rb
|
69
65
|
- lib/generators/versionist/new_controller/templates/new_controller_integration_test.rb
|
70
66
|
- lib/generators/versionist/new_controller/templates/new_controller_spec.rb
|
71
|
-
- lib/generators/versionist/
|
67
|
+
- lib/generators/versionist/new_presenter/USAGE
|
72
68
|
- lib/generators/versionist/new_presenter/new_presenter_generator.rb
|
73
69
|
- lib/generators/versionist/new_presenter/templates/new_presenter.rb
|
74
70
|
- lib/generators/versionist/new_presenter/templates/new_presenter_spec.rb
|
75
71
|
- lib/generators/versionist/new_presenter/templates/new_presenter_test.rb
|
76
|
-
- lib/
|
72
|
+
- lib/versionist.rb
|
77
73
|
- lib/versionist/configuration.rb
|
78
74
|
- lib/versionist/middleware.rb
|
79
75
|
- lib/versionist/railtie.rb
|
80
76
|
- lib/versionist/routing.rb
|
81
77
|
- lib/versionist/version.rb
|
78
|
+
- lib/versionist/versioning_strategy.rb
|
82
79
|
- lib/versionist/versioning_strategy/base.rb
|
83
80
|
- lib/versionist/versioning_strategy/default.rb
|
84
81
|
- lib/versionist/versioning_strategy/header.rb
|
85
82
|
- lib/versionist/versioning_strategy/parameter.rb
|
86
83
|
- lib/versionist/versioning_strategy/path.rb
|
87
|
-
- lib/versionist/versioning_strategy.rb
|
88
|
-
- lib/versionist.rb
|
89
84
|
homepage: https://github.com/bploetz/versionist
|
90
85
|
licenses:
|
91
86
|
- MIT
|
87
|
+
metadata: {}
|
92
88
|
post_install_message:
|
93
89
|
rdoc_options:
|
94
90
|
- --charset=UTF-8
|
95
91
|
require_paths:
|
96
92
|
- lib
|
97
93
|
required_ruby_version: !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
94
|
requirements:
|
100
95
|
- - ! '>='
|
101
96
|
- !ruby/object:Gem::Version
|
102
97
|
version: '0'
|
103
98
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
|
-
none: false
|
105
99
|
requirements:
|
106
100
|
- - ! '>='
|
107
101
|
- !ruby/object:Gem::Version
|
108
102
|
version: 1.3.6
|
109
103
|
requirements: []
|
110
104
|
rubyforge_project:
|
111
|
-
rubygems_version:
|
105
|
+
rubygems_version: 2.2.2
|
112
106
|
signing_key:
|
113
|
-
specification_version:
|
114
|
-
summary: versionist-1.
|
107
|
+
specification_version: 4
|
108
|
+
summary: versionist-1.3.0
|
115
109
|
test_files: []
|
116
110
|
has_rdoc:
|