diff --git a/examples/hello-world/Gemfile b/examples/hello-world/Gemfile index 27d6a9d..8f2def7 100644 --- a/examples/hello-world/Gemfile +++ b/examples/hello-world/Gemfile @@ -5,4 +5,4 @@ source 'https://rubygems.org' gem 'puma' gem 'rack' # gem 'datastar' -gem 'datastar', path: '../../../sdk/ruby' +gem 'datastar', path: '../../../' diff --git a/examples/hello-world/Gemfile.lock b/examples/hello-world/Gemfile.lock index cdb417b..7c7fc6b 100644 --- a/examples/hello-world/Gemfile.lock +++ b/examples/hello-world/Gemfile.lock @@ -1,7 +1,7 @@ PATH - remote: ../../../sdk/ruby + remote: ../../.. specs: - datastar (1.0.0.beta.3) + datastar (1.0.0) json logger rack (>= 3.1.14) @@ -9,7 +9,7 @@ PATH GEM remote: https://rubygems.org/ specs: - json (2.12.2) + json (2.16.0) logger (1.7.0) nio4r (2.7.4) puma (6.6.0) diff --git a/examples/hello-world/hello-world.html b/examples/hello-world/hello-world.html index 2fd7e90..b6b9d62 100644 --- a/examples/hello-world/hello-world.html +++ b/examples/hello-world/hello-world.html @@ -5,10 +5,10 @@ Datastar SDK Demo - + -
+

Datastar SDK Demo @@ -22,9 +22,9 @@

- +

-
@@ -32,4 +32,4 @@

Hello, world!

- \ No newline at end of file + diff --git a/examples/progress/progress.ru b/examples/progress/progress.ru index b014003..29572f8 100644 --- a/examples/progress/progress.ru +++ b/examples/progress/progress.ru @@ -230,16 +230,16 @@ INDEX = <<~HTML } - +

@@ -280,7 +280,7 @@ run do |env| sse.patch_elements(%(
)) # step 1: add the initial progress component to the DOM - sse.patch_elements(%(

Processing...

)) + sse.patch_elements(%(

Processing...

)) # step 2: simulate work and update the progress signal 0.upto(100) do |i| diff --git a/examples/threads/Gemfile b/examples/threads/Gemfile index 27d6a9d..8f2def7 100644 --- a/examples/threads/Gemfile +++ b/examples/threads/Gemfile @@ -5,4 +5,4 @@ source 'https://rubygems.org' gem 'puma' gem 'rack' # gem 'datastar' -gem 'datastar', path: '../../../sdk/ruby' +gem 'datastar', path: '../../../' diff --git a/examples/threads/Gemfile.lock b/examples/threads/Gemfile.lock index cdb417b..7c7fc6b 100644 --- a/examples/threads/Gemfile.lock +++ b/examples/threads/Gemfile.lock @@ -1,7 +1,7 @@ PATH - remote: ../../../sdk/ruby + remote: ../../.. specs: - datastar (1.0.0.beta.3) + datastar (1.0.0) json logger rack (>= 3.1.14) @@ -9,7 +9,7 @@ PATH GEM remote: https://rubygems.org/ specs: - json (2.12.2) + json (2.16.0) logger (1.7.0) nio4r (2.7.4) puma (6.6.0) diff --git a/examples/threads/threads.ru b/examples/threads/threads.ru index 2a14bfc..b2ff2f8 100644 --- a/examples/threads/threads.ru +++ b/examples/threads/threads.ru @@ -26,12 +26,12 @@ INDEX = <<~HTML span { font-weight: bold; } } - + Start

Slow thread: waiting

Fast thread: waiting