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 CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ac9417b318b2984f5b59c1e5185a3eb37010d2da
4
- data.tar.gz: 151008740186600e0d303dee3b56a4c20602da65
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MzU5YWVkYTQ5ZmExNzYxZTQzODZhYjliNDNiNTgwZTkwMTBjYzlkNg==
5
+ data.tar.gz: !binary |-
6
+ OTI2Yjc1ODUxY2MyZWNiNThkNjVmMTdjNzkwMTY5Yzc5MWIyNTljNg==
5
7
  SHA512:
6
- metadata.gz: 31276bf69db774daa8853f90abf5feba2fad6303dbcc2a7205294b137c7c4f352f763fb882b5c9e20c719b2a3497db8da00f660a838c26a0ec314bdc64ef2b82
7
- data.tar.gz: 4c41d6f1087625412b7e428de21839a8d264a91b61dc012ff3ba23ca528247e34e589e603c9a2a44f45d76130567f256fbed6e510f2491a91a99efc7ad406bfc
8
+ metadata.gz: !binary |-
9
+ ODQ1ODMyMjA4MmZlNDQyZjhkNjZjZGE1NzNjOGMwNDhhYTI2YWNhZWVlYjIy
10
+ NmQ3NmFiMWQ0ZGMzMjEwZjJlYjkzNGVhNjYyY2RkNzUwOGQ5MDAwOGIyMjQ1
11
+ YmU0ZTVhMzkyMDI5ZTQxNzJiYTBlM2JmMzc3NGNkNjViMGU4YTY=
12
+ data.tar.gz: !binary |-
13
+ ZTM0NjA4M2NlMzRmM2ZiNzEwOGJhZTNhNWMxODNmMzFlMDJlZWZlZmQyODEy
14
+ MDg0ZTE4ODg5YzllZjk3YTQ3NGI1YWZlZDFiNzFhYTQyN2M2ZWJhNzU1ZWNh
15
+ NmQwNWRlYjVjMDhmMjllNWZmMGMxMjE4NmRmODIzMGY5YTg3ZWY=
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Versionist
2
- VERSION = '1.4.1'
2
+ VERSION = '1.5.0'
3
3
  end
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.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: 2015-02-21 00:00:00.000000000 Z
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
- - "--charset=UTF-8"
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.2.2
120
+ rubygems_version: 2.4.8
122
121
  signing_key:
123
122
  specification_version: 4
124
- summary: versionist-1.4.1
123
+ summary: versionist-1.5.0
125
124
  test_files: []
126
- has_rdoc:
@@ -1,3 +0,0 @@
1
- module Versionist
2
- VERSION = '1.4.0'
3
- end