webrick-route_servlet 1.2.11 → 1.2.12

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
  SHA1:
3
- metadata.gz: d2fc80f41160d4ed7c808ee7908850767a5d8209
4
- data.tar.gz: ccf72f50b64ad6c07c259ad5a4806395fd77b829
3
+ metadata.gz: cce00b671e48eb34d14c64f9ec299137870a6e34
4
+ data.tar.gz: 90a07d331d7de37789f7301346684f99123d7c5e
5
5
  SHA512:
6
- metadata.gz: 08e01020398a01f8227471b9603adf4f4309f5689ca8e7dfd8d67d2cc2867fada75027d0b7a11ac65df3f76163cac0599fb4caf969e856a44988d42372a95059
7
- data.tar.gz: b53ce98a06919d54615aebc56b243ac09613032eaaf4bcde5c15706ffeaad8450192fc2f1e686af0774751e6af367a07f76342f4ba2a29f51ede3f294ed22d9d
6
+ metadata.gz: 1ee44f212226b253d4dbab4178d2c78b34f2f1060acbf7d9561b9719aa0f6e73ca9fda86dfaeeb0f68928411f918a6122676ee7bb56f4d04d464662c45c40a3b
7
+ data.tar.gz: 5f4b04b4d9f1f2223443a2dc2dd469ee21717c1a901ebd9e6bc3b9d3247ca39f367df0ee6dabaab72cf343924ef900bbd4628afc33b8a8f2e7a2b5df2938c365
data/README.md CHANGED
@@ -27,10 +27,6 @@ Or install it yourself as:
27
27
  })
28
28
  server.start
29
29
 
30
- ## Example
31
-
32
- https://github.com/yoshida-eth0/ruby-webrick-route_servlet/tree/master/example
33
-
34
30
  ## Supported methods
35
31
 
36
32
  match
@@ -45,10 +41,23 @@ root
45
41
  resources
46
42
 
47
43
  s.resources "/photos", PhotoServlet
44
+ # GET /photos(.:format) => index
45
+ # POST /photos(.:format) => create
46
+ # GET /photos/new(.:format) => new
47
+ # GET /photos/:id/edit(.:format) => edit
48
+ # GET /photos/:id(.:format) => show
49
+ # PUT /photos/:id(.:format) => update
50
+ # DELETE /photos/:id(.:format) => destroy
48
51
 
49
52
  resource
50
53
 
51
54
  s.resource "/profile", ProfileServlet
55
+ # POST /profile(.:format) => create
56
+ # GET /profile/new(.:format) => new
57
+ # GET /profile/edit(.:format) => edit
58
+ # GET /profile(.:format) => show
59
+ # PUT /profile(.:format) => update
60
+ # DELETE /profile(.:format) => destroy
52
61
 
53
62
  get / post / patch / put / delete
54
63
 
@@ -92,6 +101,10 @@ defaults
92
101
  s.match "/photos/:id(.:format)", PhotoServlet, :defaults => { :format => "json" }
93
102
  s.match "/photos/:id(.:format)", PhotoServlet, :format => "json"
94
103
 
104
+ ## Example
105
+
106
+ https://github.com/yoshida-eth0/ruby-webrick-route_servlet/tree/master/example
107
+
95
108
  ## Contributing
96
109
 
97
110
  1. Fork it
@@ -67,6 +67,7 @@ module WEBrick
67
67
  end
68
68
  end
69
69
  end
70
+
70
71
  nil
71
72
  end
72
73
 
@@ -1,5 +1,5 @@
1
1
  module WEBrick
2
2
  module RouteServlet
3
- VERSION = "1.2.11"
3
+ VERSION = "1.2.12"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webrick-route_servlet
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.11
4
+ version: 1.2.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshida Tetsuya