flipper-ui 0.28.1 → 0.28.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: 926039cf7883af36995d8a434ea9f8944748baaac5cb1ec7f0ec6aa07895fff1
4
- data.tar.gz: '08fb27469b2a92845cb16bf57136423b2b6b16fd371bd1f28d171f25602bf219'
3
+ metadata.gz: f8fed58ea5900e4478b97d961a0905ac9506c597f6ec7d8c357f3d49447e7a10
4
+ data.tar.gz: 849cfcb65686d60821e283dd0aa20aa09e245b00325605c8ff006379e7c33ecf
5
5
  SHA512:
6
- metadata.gz: 36ce93aa285d408fd85c41392198d9b6a2a74fecfa59cc49dfa4db06ed5a17707d4a58038db96f9facb448130d258f5b0f3cbf85b9a2d111c4caf70fc27765bd
7
- data.tar.gz: 3e30b8d5a039f419e4a68dbee5a60daaedc9fc24bb75a32bc5245bcf513e5af6b568d264a24e98f63321149168da0a9dd6ad426705a99f96f83166e85a729ec5
6
+ metadata.gz: a7a69270c0478ef8f182b35bc68080c46514dde496464ae0afc2586a313deb40496c73f8970918bb295350169a4fe20cb6839655eefd2b46ccd8c723222bce1f
7
+ data.tar.gz: a6b6e6dad992a75461e6833cb52ecc4453d7ba64a90c4b8c529640e1ae8bf904b6ed763692d67b5bba2385a75a780d1a3212c502e5795cd0231d94a4db25ee8c
@@ -0,0 +1,21 @@
1
+ #
2
+ # Usage:
3
+ # bundle exec rackup examples/ui/prefixed.ru -p 9999
4
+ #
5
+ # http://localhost:9999/
6
+ #
7
+ require 'bundler/setup'
8
+ require 'rack/reloader'
9
+ require "flipper/ui"
10
+ require "flipper/adapters/pstore"
11
+
12
+ use Rack::Reloader
13
+
14
+ run Rack::URLMap.new(
15
+ "/" => lambda { |env|
16
+ [302, {"Location" => "/flipper"}, [] ]
17
+ },
18
+ "/flipper" => Flipper::UI.app { |builder|
19
+ builder.use Rack::Session::Cookie, secret: "_super_secret"
20
+ }
21
+ )
@@ -6,7 +6,7 @@
6
6
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
7
7
  <meta name="viewport" content="width=device-width, initial-scale=1">
8
8
 
9
- <link rel="stylesheet" href="<%= bootstrap_css[:src] %>" integrity="<%= bootstrap_css[:hash] %>" crossorigin="anonymous">
9
+ <link rel="stylesheet" href="<%= script_name + bootstrap_css[:src] %>" integrity="<%= bootstrap_css[:hash] %>" crossorigin="anonymous">
10
10
  <link rel="stylesheet" href="<%= script_name %>/css/application.css">
11
11
  </head>
12
12
  <body class="py-4">
@@ -57,9 +57,9 @@
57
57
  <% end %>
58
58
  </div>
59
59
 
60
- <script src="<%= jquery_js[:src] %>" integrity="<%= jquery_js[:hash] %>" crossorigin="anonymous"></script>
61
- <script src="<%= popper_js[:src] %>" integrity="<%= popper_js[:hash] %>" crossorigin="anonymous"></script>
62
- <script src="<%= bootstrap_js[:src] %>" integrity="<%= bootstrap_js[:hash] %>" crossorigin="anonymous"></script>
60
+ <script src="<%= script_name + jquery_js[:src] %>" integrity="<%= jquery_js[:hash] %>" crossorigin="anonymous"></script>
61
+ <script src="<%= script_name + popper_js[:src] %>" integrity="<%= popper_js[:hash] %>" crossorigin="anonymous"></script>
62
+ <script src="<%= script_name + bootstrap_js[:src] %>" integrity="<%= bootstrap_js[:hash] %>" crossorigin="anonymous"></script>
63
63
  <script src="<%= script_name %>/js/application.js"></script>
64
64
  </body>
65
65
  </html>
@@ -1,3 +1,3 @@
1
1
  module Flipper
2
- VERSION = '0.28.1'.freeze
2
+ VERSION = '0.28.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flipper-ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.1
4
+ version: 0.28.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Nunemaker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-17 00:00:00.000000000 Z
11
+ date: 2023-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -56,14 +56,14 @@ dependencies:
56
56
  requirements:
57
57
  - - "~>"
58
58
  - !ruby/object:Gem::Version
59
- version: 0.28.1
59
+ version: 0.28.2
60
60
  type: :runtime
61
61
  prerelease: false
62
62
  version_requirements: !ruby/object:Gem::Requirement
63
63
  requirements:
64
64
  - - "~>"
65
65
  - !ruby/object:Gem::Version
66
- version: 0.28.1
66
+ version: 0.28.2
67
67
  - !ruby/object:Gem::Dependency
68
68
  name: erubi
69
69
  requirement: !ruby/object:Gem::Requirement
@@ -107,6 +107,7 @@ extra_rdoc_files: []
107
107
  files:
108
108
  - examples/ui/authorization.ru
109
109
  - examples/ui/basic.ru
110
+ - examples/ui/prefixed.ru
110
111
  - examples/ui/read_only.ru
111
112
  - flipper-ui.gemspec
112
113
  - lib/flipper-ui.rb