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 +4 -4
- data/examples/ui/prefixed.ru +21 -0
- data/lib/flipper/ui/views/layout.erb +4 -4
- data/lib/flipper/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8fed58ea5900e4478b97d961a0905ac9506c597f6ec7d8c357f3d49447e7a10
|
4
|
+
data.tar.gz: 849cfcb65686d60821e283dd0aa20aa09e245b00325605c8ff006379e7c33ecf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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>
|
data/lib/flipper/version.rb
CHANGED
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.
|
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-
|
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.
|
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.
|
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
|