agoo 2.15.9 → 2.15.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a329302a6e94be7ff5873793bc52c5dd6fe31b3913387ad739ec4313938e7248
4
- data.tar.gz: 10c1bfbf837b13c1cc40e365dc85b6c2a81a7b7c1fd7006c5042dc6dd1f9103d
3
+ metadata.gz: 003bb2255b4ec64d0ac60ed3ded56d8fa03ea6e7c646b4a7f617d27ac38ec509
4
+ data.tar.gz: 7393a5135b53fd14d71e6097298b861d556266ba2d3444d4ccdabd1b00079bce
5
5
  SHA512:
6
- metadata.gz: e632b26c5dde2b454214502bb76211682a23ac1d3f6951fb59340e96198279635da2a89872f139686cec4061d50ae11a3cb4c022ea71644de13113cbd91c377a
7
- data.tar.gz: 454fdd7f38f7c0abe43e68a25ca67ac6adfab3ef2cbc99c5778d24e991fe436470a7e684ecc69ea6b9b0da49ce3de6aaa2bd6732c6c008cf6fb81c25181ad29d
6
+ metadata.gz: 55ca14d13c5d74a388fd4e0b072ae7929de5884d48cb9741c5d3e916e6c1042ca2bd03d36b1bddab075745f142161645d951dd6c16cc0e67474f4a54b6c4aeca
7
+ data.tar.gz: d2a7862e3180b9fc02078e17ce8f7b80aab3abf89e9b27f965ff82888df473cfaa1a82f47f2458b2005c56003ab505ee1365920a2b00e05506ea19bff3e03192
data/CHANGELOG.md CHANGED
@@ -2,6 +2,18 @@
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
+
12
+ ## [2.15.10] - 2024-04-14
13
+
14
+ ### Added
15
+ - Added metadata element to the gemspec file.
16
+
5
17
  ## [2.15.9] - 2024-02-26
6
18
 
7
19
  ### Fixed
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)