roda-rest_api 1.4.2 → 1.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/roda/plugins/rest_api.rb +1 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0ae372ba574dde8f5b6bef3cfa38dc10b554bf67
4
- data.tar.gz: 621f2c38aa68aa22f4fa568c58c863600eea335a
3
+ metadata.gz: 9a10a4d12512258569caa7868c710cad5a0ab08b
4
+ data.tar.gz: a2c6119be852652f5a501b8399f48939bdb44e66
5
5
  SHA512:
6
- metadata.gz: 26ec2103f20a8b3bb6626a877b40b65a22e5f6efb8467d267c3e72d57fd30f01b18d696ad9a771d2992c725d915fe2674d5978bc182a9881ff4af603572b2edd
7
- data.tar.gz: 4e789827d1f48fd4d34725a27073f4b470657faafb1d66a6b2bd597f875a8452a9d70d5dad957f136bce8e0bb10acd1c19c3f8101b642b8b92151f7b19ca6226
6
+ metadata.gz: 3b7d40f3204763b8235ead49ce662b7145ca4f2de8d32f8c4ae4e0f93344857b25469786bf989dbbfc63cf04f2169d41f77b4516237d2ec440b6f6a57fbfc271
7
+ data.tar.gz: 47b350dcf2dfcbda051983c210b7d393acfa48002a39d3965ad0865ccb8272f5df571d2b47fb84062968d74509a58376cfd212a3d8c41651e44de4f8859050f9
@@ -59,6 +59,7 @@ class Roda
59
59
 
60
60
  def routes(*routes)
61
61
  routes! if @routes
62
+ yield if block_given?
62
63
  @routes = routes
63
64
  end
64
65
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roda-rest_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2
4
+ version: 1.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michel Benevento