determinator 2.5.3 → 2.5.4

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: 826a70be2194ebbfeaf540a68e08e9af45bcbea63ed43870f7745d85d6d7f726
4
- data.tar.gz: 07af2da7a269b2d4627fa4a40d3562f0cea4711a9a7310cecc3116d406d77514
3
+ metadata.gz: 7e5cd27cbcca013e18d0a941c9a196e9b8e7e908a97d67b857514f58d35def5d
4
+ data.tar.gz: 18c86d3448b136bb996702d0bbcdba97f5280f496bd580daf145013b2dd054f8
5
5
  SHA512:
6
- metadata.gz: 37c98b7a87b13b40cf98e741b20d72a131228bc1c61bd6ec51d07dff0f39eefc599fe30b4fd5ed3bf07e5acf4726bb9df322953c59c02f10f7c2833eb6d53294
7
- data.tar.gz: 4bc7f61ba341e57a50c505b7083b585cda3999bb6f6c44e4b64a4435aeca18b8bf1225d199042c2a47fa94fad16567bd3525f48cd3df491b4c870ca21fe37b68
6
+ metadata.gz: f892fed72664d8dd47fb50d710678ff33ebe274f25fa8885ab048a13a7b3db5e496b7e39d67ce1fcea14c805bfaa390cc905241fb6e3e63405687d0ea2fe8355
7
+ data.tar.gz: a9c104b252ba508445957ee1f249f39ace127f294104693153e96afae9f3903c7dcf497ead2d1b255b1ff429fde9340db37551d82ecee6888576bae01eea6395
@@ -1,3 +1,8 @@
1
+ # 2.5.4
2
+
3
+ Bug fix:
4
+ - Apply app_version logic to structured request.app_version too
5
+
1
6
  # 2.5.3
2
7
 
3
8
  Bug fix:
@@ -228,6 +228,7 @@ module Determinator
228
228
  def matches_requirements?(scope, required, present)
229
229
  case scope
230
230
  when "app_version" then has_any_app_version?(required, present)
231
+ when "request.app_version" then has_any_app_version?(required, present)
231
232
  else has_any?(required, present)
232
233
  end
233
234
  end
@@ -1,3 +1,3 @@
1
1
  module Determinator
2
- VERSION = '2.5.3'
2
+ VERSION = '2.5.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: determinator
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.3
4
+ version: 2.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - JP Hastings-Spital
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-08 00:00:00.000000000 Z
11
+ date: 2020-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday