Commit graph

44 commits

Author SHA1 Message Date
20495b6874 Merge remote-tracking branch 'upstream/master' 2026-04-02 21:46:45 -03:00
Serdar Dogruyol
83cbb10c70 Bump version to 1.1.1 2026-02-23 23:14:08 +03:00
Serdar Dogruyol
9bac723782 Update CHANGELOG for version 1.1.1 2026-02-23 23:13:47 +03:00
Serdar Dogruyol
0013212eae Add session cookie injection support instead of monkey patching in session 2026-02-23 23:08:41 +03:00
Serdar Dogruyol
aefbacfbf2 Update README to clarify the necessity of calling Kemal.config.setup in tests 2026-02-13 21:03:15 +03:00
Serdar Dogruyol
9e8a54e00b Bump version to 1.1.0 2026-02-02 16:34:07 +03:00
Serdar Dogruyol
299d6fae66 Add CHANGELOG 2026-02-02 16:25:32 +03:00
Serdar Dogruyol
89d0f224c5 Expand spec-kemal tests to cover all HTTP methods including GET, POST, PUT, PATCH, DELETE, and HEAD with various scenarios such as query parameters, custom headers, and response status codes. 2026-02-02 16:24:32 +03:00
Serdar Dogruyol
399c907363 format 2026-02-02 16:17:19 +03:00
Serdar Dogruyol
4a3d0575a2 Enhance README and spec-kemal documentation with detailed usage examples and API references 2026-02-02 16:08:40 +03:00
Serdar Dogruyol - Sedo セド
ece40a3eb4
Remove Travis CI configuration and add GitHub Actions for continuous integration 2026-02-02 15:39:47 +03:00
Hugo Parente Lima
19e6b03e41
Add support to write tests with kemal-session. (#23)
By default spec-kemal still not depending on kemal-session, but if you
require "spec-kemal/session", "kemal-session" dependency must be added
to shard.yml.

*How to use*

```
require "spec-kemal/session"

it "handles sessions" do
  get "/session_var" do |env|
    env.session.string?(env.params.query["key"]) || "not found"
  end

  with_session do |session|
    session.string("hey ho!", "let's go! 🎸")
    get "/session_var?key=hey+ho!"
    response.body.should eq("let's go! 🎸")
  end
end
```
2025-09-13 14:11:58 +03:00
8042202628 Merge remote-tracking branch 'upstream/master' 2021-10-09 17:34:58 -03:00
Henrik Christensen
97733e57c8
added section about Kemal.config.always_rescue (#22) 2021-10-04 09:28:13 +03:00
e4765ff11d Merge remote-tracking branch 'upstream/master' 2021-05-12 11:58:20 -03:00
Serdar Dogruyol
d0cf79de3e Bump to 1.0.0 2021-04-25 16:49:44 +03:00
214187be00 Merge remote-tracking branch 'upstream/master' 2021-03-31 22:37:55 -03:00
Kenichi Kamiya
88a56be7ed
Follow crystal 1.0.0 (#20) 2021-03-26 15:34:36 +03:00
72a0290729 update shard.yml to point to luna/kemal 2019-06-15 19:24:11 -03:00
Serdar Dogruyol
64b89c7192 0.5.0 2018-11-06 20:06:31 +03:00
Serdar Dogruyol
93ab608228 Merge pull request #10 from n7olkachev/feature-update-kemal-version
Update kemal version
2017-09-25 10:49:19 +03:00
n7olkachev
b6a93d2fe0 update kemal version 2017-09-24 17:24:41 +03:00
Sdogruyol
05cc810f5f Update README 2016-12-10 20:11:12 +03:00
Sdogruyol
555804d29a 0.4.0 2016-12-10 19:55:51 +03:00
Serdar Dogruyol
37925cf90c Merge pull request #6 from drujensen/kemal_as_development_dependency
move kemal to development dependency
2016-11-23 00:26:21 +04:00
Dru Jensen
171d7bbdf4 move to development dependency 2016-11-22 12:19:38 -08:00
Serdar Dogruyol
6df7caca0a Update README.md 2016-11-05 01:05:09 +02:00
Serdar Dogruyol
11157d2484 Upcase method names 2016-10-26 18:00:56 +03:00
Serdar Dogruyol
e232dde74a Don't spawn, build handlers instead 2016-10-26 16:53:36 +03:00
Serdar Dogruyol
fee1b2b7c0 Merge pull request #4 from amitsaha/fix_0.19
Fixes for Crystal 0.19
2016-09-06 10:25:57 +03:00
Amit Saha
f2659b06fd Fixes for Crystal 0.19 2016-09-06 13:21:24 +10:00
Serdar Dogruyol
8c0d4268b9 0.2.0 2016-04-18 16:51:50 +03:00
Sdogruyol
4abdf39037 Disable logging 2016-04-17 00:14:17 +03:00
Serdar Dogruyol
25d1474e29 Merge pull request #1 from jeromegn/patch-1
Bind to 127.0.0.1 to prevent firewall requests on OS X
2016-04-11 16:22:00 +03:00
Jerome Gravel-Niquet
a46bc3d78c Bind to 127.0.0.1 to prevent firewall requests on OS X 2016-04-11 08:48:22 -04:00
Serdar Dogruyol
56d6941412 Update README.md 2016-04-10 21:03:23 +03:00
Sdogruyol
ce27b796c1 Update Readme 2016-04-10 17:35:22 +03:00
Sdogruyol
f3b6bdadf0 Add specs 2016-04-10 17:13:25 +03:00
Sdogruyol
a318920bcc Add start and stop instead of Spec.before_each and Spec.after_each 2016-04-10 16:52:39 +03:00
Sdogruyol
ee61ecfdf1 Add get,post,put,head,delete,patch to easily perform requests 2016-04-10 14:36:16 +03:00
Sdogruyol
85b52dab77 Change port and move to constants 2016-04-10 14:36:16 +03:00
Serdar Dogruyol
b4d7512ca5 Update README.md 2016-04-09 17:58:56 +03:00
Sdogruyol
f64aa9099b Update README 2016-04-09 17:49:51 +03:00
Sdogruyol
189d577c64 First commit 2016-04-09 17:37:46 +03:00