api_versioner 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 357247c1ecd0b2e666c8bdbbdac1b3eb9a22522308c699bf29ae91c7dd865747
4
- data.tar.gz: a0f4129bf5aa8268bca4bf5402c1adb5162c18f0b7113475e1cf5058efa6cd04
3
+ metadata.gz: 0417fe10195337b05a7f804506c7a5f572fd0baa5be90518cb261e0b69b80a9d
4
+ data.tar.gz: f986c19519bd9168c0fc86d7e02e5fe83cb4d8f02735008c1a1c9ce9e2501b26
5
5
  SHA512:
6
- metadata.gz: f5ca13ee2c3708845606d16e762cbc59f75271ddb44966e5290fb8b0d5b514834226a8c8111ccd05509b28a39356aab975907c56f33e0c7e9557ee5a90d9fe1e
7
- data.tar.gz: e2e7a61081408844376ee544880f60164160956d24a32d934f2918a170e5864a7582d4d28e6581d85f3f52f37c3dc695dd54b5106dee0be64e920f345125fdcf
6
+ metadata.gz: a0df7a8effc7a24eb5b1d81fba303f9c87a50b6c769f344a70af1ae9064e31ab5954a95adf5667de908772071bf6fc7be4e629e9e8c77f1ee707e46f601df949
7
+ data.tar.gz: 5cab927bd7f4295fec65bb1ab431bb2a4259bacff748c4b709ef0802df191434e0f6faa0ecd25bff12b63622c5b0bc908d4f1fb6e0d472a54e1db2e12b896a2c
data/.gitignore CHANGED
@@ -9,3 +9,6 @@
9
9
 
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
+
13
+ # release gems
14
+ *.gem
data/README.md CHANGED
@@ -35,7 +35,7 @@ Or install it yourself as:
35
35
  ```ruby
36
36
  # config/initializers/versioner.rb
37
37
 
38
- Versioner.configure do |config|
38
+ ApiVersioner.configure do |config|
39
39
  # Current version of the application
40
40
  config.current_version = '1.2.3'
41
41
 
@@ -7,7 +7,7 @@ module ApiVersioner
7
7
  class ClientVersionMiddleware
8
8
  def initialize(app, config = nil)
9
9
  @app = app
10
- @config = config || Versioner.config
10
+ @config = config || ApiVersioner.config
11
11
  end
12
12
 
13
13
  def call(env)
@@ -2,5 +2,5 @@
2
2
 
3
3
  # :nocov:
4
4
  module ApiVersioner
5
- VERSION = '1.0.0'
5
+ VERSION = '1.1.0'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api_versioner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aleksey Gureiev