agoo 2.15.10 → 2.15.11

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: 99f743f7259396ec783c42850172f11c99e3bfd067b65a10a1cfde0c44feda19
4
- data.tar.gz: 314f7709e216fe0afc3190ab05a808b114b5766503e6fb0d82e8f65a77f140e4
3
+ metadata.gz: 003bb2255b4ec64d0ac60ed3ded56d8fa03ea6e7c646b4a7f617d27ac38ec509
4
+ data.tar.gz: 7393a5135b53fd14d71e6097298b861d556266ba2d3444d4ccdabd1b00079bce
5
5
  SHA512:
6
- metadata.gz: 0b85b630147884b41eb1eeda65b2278bbc491375ab193ec93c2989c2fe49aea4edec540353ff3cf4d3d63b383178f3949132e0f63e08d2bc220855d75efaaae9
7
- data.tar.gz: eb537b2c220f3e6eceaf2a3c82de5dee1e883c5e321c5199c42cb22601a60a927212b49e885fa678a08343e7c6bc08fa67153518f78453b7149a7575e8d4b830
6
+ metadata.gz: 55ca14d13c5d74a388fd4e0b072ae7929de5884d48cb9741c5d3e916e6c1042ca2bd03d36b1bddab075745f142161645d951dd6c16cc0e67474f4a54b6c4aeca
7
+ data.tar.gz: d2a7862e3180b9fc02078e17ce8f7b80aab3abf89e9b27f965ff82888df473cfaa1a82f47f2458b2005c56003ab505ee1365920a2b00e05506ea19bff3e03192
data/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All changes to the Agoo gem are documented here. Releases follow semantic versioning.
4
4
 
5
+ ## [2.15.11] - 2024-06-04
6
+
7
+ ### Fixed
8
+
9
+ - The server root parameter (asset root) no longer raises and error when `nil`.
10
+ - The server path handling behavior around the use of `/` has been improved.
11
+
5
12
  ## [2.15.10] - 2024-04-14
6
13
 
7
14
  ### Added
data/README.md CHANGED
@@ -13,7 +13,7 @@ A High Performance HTTP Server for Ruby
13
13
  ```ruby
14
14
  require 'agoo'
15
15
 
16
- Agoo::Server.init(6464, 'root')
16
+ Agoo::Server.init(6464, './root')
17
17
 
18
18
  class MyHandler
19
19
  def call(req)
@@ -50,7 +50,7 @@ class Schema
50
50
  end
51
51
  end
52
52
 
53
- Agoo::Server.init(6464, 'root', thread_count: 1, graphql: '/graphql')
53
+ Agoo::Server.init(6464, './root', thread_count: 1, graphql: '/graphql')
54
54
  Agoo::Server.start()
55
55
  Agoo::GraphQL.schema(Schema.new) {
56
56
  Agoo::GraphQL.load(%^type Query { hello: String }^)
@@ -68,7 +68,7 @@ sleep
68
68
  gem install agoo
69
69
  ```
70
70
 
71
- ## Using agoo as server for rails
71
+ ## Using Agoo as a server for Rails
72
72
 
73
73
  As agoo supports rack compatible apps you can use it for rails applications:
74
74
 
@@ -111,6 +111,22 @@ use of rack compatible gems such as Hanami and Rails. Agoo also supports WebSock
111
111
 
112
112
  Agoo is not available on Windows.
113
113
 
114
+ ## Getting Started
115
+
116
+ Some examples can be found in the `example` directory. Some other
117
+ documented walk through examples of using Agoo are in the `misc`
118
+ directory. These examples are described in markdown files. Some like
119
+ the [song](misc/song.md) example are simple while others like the
120
+ [glue](misc/glue.md) are more complex. The documented walk through
121
+ examples are:
122
+
123
+ - [flymd](misc/flymd.md) - realtime push
124
+ - [glue](misc/glue.md) - publish and subscribe
125
+ - [optimize](misc/optimize.md) - optimizing static asset use
126
+ - [push](misc/push.md) - push with Rack
127
+ - [rails](misc/rails.md) - faster rails
128
+ - [song](misc/song.md) - fun and simple GraphQL
129
+
114
130
  ## News
115
131
 
116
132
  - Version 2.11.0 supports GraphQL subscriptions. TLS (SSL,HTTPS)