File tree Expand file tree Collapse file tree 9 files changed +53
-8
lines changed
ruby-directory-sync-example Expand file tree Collapse file tree 9 files changed +53
-8
lines changed Original file line number Diff line number Diff line change 1- 2.7.1
1+ 2.7.2
Original file line number Diff line number Diff line change @@ -5,3 +5,5 @@ source 'https://rubygems.org'
55gem 'dotenv'
66gem 'sinatra'
77gem 'workos'
8+ gem 'sinatra-websocket'
9+ gem 'pry'
Original file line number Diff line number Diff line change 11GEM
22 remote: https://rubygems.org/
33 specs:
4+ addressable (2.8.0 )
5+ public_suffix (>= 2.0.2 , < 5.0 )
6+ coderay (1.1.3 )
7+ daemons (1.4.1 )
48 dotenv (2.7.6 )
9+ em-websocket (0.3.8 )
10+ addressable (>= 2.1.1 )
11+ eventmachine (>= 0.12.9 )
12+ eventmachine (1.2.7 )
13+ method_source (1.0.0 )
514 mustermann (1.1.1 )
615 ruby2_keywords (~> 0.0.1 )
16+ pry (0.14.1 )
17+ coderay (~> 1.1 )
18+ method_source (~> 1.0 )
19+ public_suffix (4.0.7 )
720 rack (2.2.3.1 )
821 rack-protection (2.2.0 )
922 rack
1326 rack (~> 2.2 )
1427 rack-protection (= 2.2.0 )
1528 tilt (~> 2.0 )
16- sorbet-runtime (0.5.9301 )
29+ sinatra-websocket (0.3.1 )
30+ em-websocket (~> 0.3.6 )
31+ eventmachine
32+ thin (>= 1.3.1 , < 2.0.0 )
33+ sorbet-runtime (0.5.10076 )
34+ thin (1.8.1 )
35+ daemons (~> 1.0 , >= 1.0.9 )
36+ eventmachine (~> 1.0 , >= 1.0.4 )
37+ rack (>= 1 , < 3 )
1738 tilt (2.0.10 )
18- workos (1.6 .1 )
39+ workos (2.2 .1 )
1940 sorbet-runtime (~> 0.5 )
2041
2142PLATFORMS
2243 ruby
2344
2445DEPENDENCIES
2546 dotenv
47+ pry
2648 sinatra
49+ sinatra-websocket
2750 workos
2851
2952BUNDLED WITH
Original file line number Diff line number Diff line change 66require 'workos'
77require 'json'
88require 'sinatra-websocket'
9+ require 'pry'
910
1011set :server , 'thin'
1112set :sockets , [ ]
8283 render :json => { :status => 400 , :error => "Webhook failed" } and return
8384 end
8485end
86+
Original file line number Diff line number Diff line change @@ -193,4 +193,9 @@ div.text_box {
193193.button_outline {
194194 background-color : white;
195195 color : # 6363f1 ;
196- }
196+ }
197+ ul .no-bullets {
198+ list-style-type : none; /* Remove bullets */
199+ padding : 0 ; /* Remove padding */
200+ margin : 0 ; /* Remove margins */
201+ }
Original file line number Diff line number Diff line change 3131 < div class ="flex_column ">
3232 < h2 > User Profile</ h2 >
3333 < div class ="text_box ">
34- < pre > <%= JSON . pretty_generate ( @group ) %> </ pre >
34+ < ul class ="no-bullets ">
35+ <% @user . each do |key , value |%>
36+ < li > <%= key%> : <%= value%> </ li >
37+ <% end %>
38+ </ ul >
3539 </ div >
3640 < h2 > User's Groups</ h2 >
3741 < div class ="text_box ">
Original file line number Diff line number Diff line change 11< head >
2- < link rel ="stylesheet " href = <%= url ( "/stylesheets /styles.css" ) %> >
2+ < link rel ="stylesheet " href = <%= url ( "styles /styles.css" ) %> >
33
44 < link rel ="stylesheet " href ="https://fonts.googleapis.com/css?family=Inter ">
55</ head >
Original file line number Diff line number Diff line change 3131 < div class ="flex_column ">
3232 < h2 > User Profile</ h2 >
3333 < div class ="text_box ">
34- < pre > <%= JSON . pretty_generate ( @user ) %> </ pre >
34+ < ul class ="no-bullets ">
35+ <% @user . each do |key , value |%>
36+ < li > <%= key%> : <%= value%> </ li >
37+ <% end %>
38+ </ ul >
3539 </ div >
3640 < h2 > User's Groups</ h2 >
3741 < div class ="text_box ">
Original file line number Diff line number Diff line change 1- html>
1+ < head >
2+ < link rel ="stylesheet " href = <%= url ( "/styles/styles.css" ) %> >
3+
4+ < link rel ="stylesheet " href ="https://fonts.googleapis.com/css?family=Inter ">
5+ </ head >
6+ < html >
27 < div >
38 < h2 > Webhook Details</ h2 >
49 </ div >
You can’t perform that action at this time.
0 commit comments