versionist 1.4.1 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/lib/versionist/routing.rb +1 -6
- data/lib/versionist/version.rb +1 -1
- metadata +13 -15
- data/lib/versionist/version.rb~ +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MzU5YWVkYTQ5ZmExNzYxZTQzODZhYjliNDNiNTgwZTkwMTBjYzlkNg==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
OTI2Yjc1ODUxY2MyZWNiNThkNjVmMTdjNzkwMTY5Yzc5MWIyNTljNg==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ODQ1ODMyMjA4MmZlNDQyZjhkNjZjZGE1NzNjOGMwNDhhYTI2YWNhZWVlYjIy
|
10
|
+
NmQ3NmFiMWQ0ZGMzMjEwZjJlYjkzNGVhNjYyY2RkNzUwOGQ5MDAwOGIyMjQ1
|
11
|
+
YmU0ZTVhMzkyMDI5ZTQxNzJiYTBlM2JmMzc3NGNkNjViMGU4YTY=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
ZTM0NjA4M2NlMzRmM2ZiNzEwOGJhZTNhNWMxODNmMzFlMDJlZWZlZmQyODEy
|
14
|
+
MDg0ZTE4ODg5YzllZjk3YTQ3NGI1YWZlZDFiNzFhYTQyN2M2ZWJhNzU1ZWNh
|
15
|
+
NmQwNWRlYjVjMDhmMjllNWZmMGMxMjE4NmRmODIzMGY5YTg3ZWY=
|
data/lib/versionist/routing.rb
CHANGED
@@ -71,15 +71,10 @@ module Versionist
|
|
71
71
|
|
72
72
|
# deals with quirks in routing among the various Rails versions
|
73
73
|
def rails_quirks(config, &block)
|
74
|
-
rails4_quirks(config) if Rails::VERSION::MAJOR == 4
|
75
|
-
end
|
76
|
-
|
77
|
-
# Rails 4 quirks
|
78
|
-
def rails4_quirks(config, &block)
|
79
74
|
# Rails 4 no longer allows constant syntax in routing.
|
80
75
|
# https://github.com/bploetz/versionist/issues/39
|
81
76
|
# call underscore on the module so it adheres to this convention
|
82
|
-
config[:module] = config[:module].underscore
|
77
|
+
config[:module] = config[:module].underscore if Rails::VERSION::MAJOR >= 4
|
83
78
|
end
|
84
79
|
end
|
85
80
|
end
|
data/lib/versionist/version.rb
CHANGED
metadata
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: versionist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Ploetz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ! '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ! '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activesupport
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ! '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '3'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ! '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '3'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: yard
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0.7'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0.7'
|
55
55
|
description: A plugin for versioning Rails based RESTful APIs.
|
@@ -90,7 +90,6 @@ files:
|
|
90
90
|
- lib/versionist/railtie.rb
|
91
91
|
- lib/versionist/routing.rb
|
92
92
|
- lib/versionist/version.rb
|
93
|
-
- lib/versionist/version.rb~
|
94
93
|
- lib/versionist/versioning_strategy.rb
|
95
94
|
- lib/versionist/versioning_strategy/base.rb
|
96
95
|
- lib/versionist/versioning_strategy/default.rb
|
@@ -103,24 +102,23 @@ licenses:
|
|
103
102
|
metadata: {}
|
104
103
|
post_install_message:
|
105
104
|
rdoc_options:
|
106
|
-
-
|
105
|
+
- --charset=UTF-8
|
107
106
|
require_paths:
|
108
107
|
- lib
|
109
108
|
required_ruby_version: !ruby/object:Gem::Requirement
|
110
109
|
requirements:
|
111
|
-
- -
|
110
|
+
- - ! '>='
|
112
111
|
- !ruby/object:Gem::Version
|
113
112
|
version: '0'
|
114
113
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
114
|
requirements:
|
116
|
-
- -
|
115
|
+
- - ! '>='
|
117
116
|
- !ruby/object:Gem::Version
|
118
117
|
version: 1.3.6
|
119
118
|
requirements: []
|
120
119
|
rubyforge_project:
|
121
|
-
rubygems_version: 2.
|
120
|
+
rubygems_version: 2.4.8
|
122
121
|
signing_key:
|
123
122
|
specification_version: 4
|
124
|
-
summary: versionist-1.
|
123
|
+
summary: versionist-1.5.0
|
125
124
|
test_files: []
|
126
|
-
has_rdoc:
|
data/lib/versionist/version.rb~
DELETED