rollout-ui 0.5.1 → 0.5.2

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: 23d80e49f2a5b8224f029c2f3345e19028947ae8e2db02c38240cb4b3a93b3a9
4
- data.tar.gz: 4e1bf428271120df8b39f797b43cdb0031539779dfac48a9d1d2d8e4e117c364
3
+ metadata.gz: 6a421eaee6e20132c013892d216de0ea3edbccbed00b712fdb397ec038289d67
4
+ data.tar.gz: f48cfbc156ffd4ee4a16bf66dd66ab509d8cc842790c952ca70f211860e6c9b3
5
5
  SHA512:
6
- metadata.gz: 0cb581a7d9caa5bf22d3fa404561dbbc221db7a39f0a85438a47c0033a293924c00484457e1fb5f11e995d8d1e61b7b8e2881eff094adad6265415aacd78d465
7
- data.tar.gz: 8f8acc759b488724625a5b2c5ac147523db44ccf0f3105b4a4418f74d5f43a52fb1a23772636ec5dab13f0006a3b70d41136525050e3256dc5659037173663e5
6
+ metadata.gz: 77f2ed7614eeefe496a559c6eeca1fa88307ef208c3e6854bece0b1b40f1fb02b23da9c9488e941ed8e467e6c765dd65a8461c8dfca8ad24512e1bb1b8bbd874
7
+ data.tar.gz: 3b382d382de581dcacfb45601e395916c538a85dc8ea316e711eaf40c92128d0cac4b6e83b5a1980f109f05442c9da38211c4b32ba8fa8791725d97b278918db
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.1.2
1
+ 3.1.0
@@ -1,5 +1,5 @@
1
1
  class Rollout
2
2
  module UI
3
- VERSION = "0.5.1"
3
+ VERSION = "0.5.2"
4
4
  end
5
5
  end
@@ -50,7 +50,7 @@ module Rollout::UI
50
50
  rollout = config.get(:instance)
51
51
  actor = config.get(:actor, scope: self)
52
52
  feature_data = rollout.get(params[:feature_name]).data
53
- if feature_data['updated_at'] && params[:last_updated_at] != feature_data['updated_at']
53
+ if feature_data['updated_at'] && params[:last_updated_at].to_s != feature_data['updated_at'].to_s
54
54
  redirect "#{feature_path(params[:feature_name])}?error=Rollout version outdated. Review changes below and try again."
55
55
  end
56
56
  with_rollout_context(rollout, actor: actor) do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rollout-ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - FetLife
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-11-16 00:00:00.000000000 Z
11
+ date: 2022-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rollout