From 761a653cbe88c309e5d35190477d4ccc34fa7c53 Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Tue, 14 May 2024 16:38:09 +0900 Subject: [PATCH] Fix dependencies. --- examples/hello-world/application.rb | 6 ++---- examples/hello-world/gems.locked | 2 +- examples/hello-world/gems.rb | 6 ------ examples/worms/gems.rb | 6 ------ 4 files changed, 3 insertions(+), 17 deletions(-) diff --git a/examples/hello-world/application.rb b/examples/hello-world/application.rb index 2f3507c..3a90ccc 100755 --- a/examples/hello-world/application.rb +++ b/examples/hello-world/application.rb @@ -3,14 +3,12 @@ class HelloWorldView < Live::View def bind(page) super - - # Update the view on reconnect: self.update! end def render(builder) - builder.text("Hello World!") + builder.text("Hello RubyKaigi 2024!") end end -Application = Lively::Application[HelloWorldView] +Application = Lively::Application[HelloWorldView] \ No newline at end of file diff --git a/examples/hello-world/gems.locked b/examples/hello-world/gems.locked index b435038..24688f0 100644 --- a/examples/hello-world/gems.locked +++ b/examples/hello-world/gems.locked @@ -1,7 +1,7 @@ PATH remote: ../.. specs: - lively (0.6.0) + lively (0.7.0) falcon (~> 0.47) live (~> 0.9) xrb diff --git a/examples/hello-world/gems.rb b/examples/hello-world/gems.rb index 7f1b6c2..5037a7a 100644 --- a/examples/hello-world/gems.rb +++ b/examples/hello-world/gems.rb @@ -2,9 +2,3 @@ gem "live" gem "lively", path: "../../" - -gem "activerecord", "~> 7.1" -gem "sqlite3", "~> 1.4" -gem "markly" - -gem "async-ollama" diff --git a/examples/worms/gems.rb b/examples/worms/gems.rb index 7f1b6c2..5037a7a 100644 --- a/examples/worms/gems.rb +++ b/examples/worms/gems.rb @@ -2,9 +2,3 @@ gem "live" gem "lively", path: "../../" - -gem "activerecord", "~> 7.1" -gem "sqlite3", "~> 1.4" -gem "markly" - -gem "async-ollama"