pragma-operation 1.1.0 → 1.1.1

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
  SHA1:
3
- metadata.gz: a892b513da3edcb6fd3fbf84964cb4773671d4f5
4
- data.tar.gz: 2dd06285a00dcb6ed694d8050efde1c346e985c6
3
+ metadata.gz: 3721ff3095c7adde870e9d879340f12d1aed3a90
4
+ data.tar.gz: 5a10bdd0eaeb67e0a3457fc2881eaef1b01eedcc
5
5
  SHA512:
6
- metadata.gz: 545a8a3f2db0168d4bfa8b1ebfd14e212dc1f44de3408c2f65ca0320e8dff52cefa274abbd9e16701af7755c14b55983989759cc60ebf093e181fea83718824a
7
- data.tar.gz: 0ca767a0c19c14961a2b78be730b39d568d777890156982e67bf98354d56a77541e045145766798343e38358074167f2d242d75dde56f5e87df4af4a621e0f1f
6
+ metadata.gz: dfc63fb63cebc9737babfcdf3ee1bb831911c44460407432d23d3d173fb2f58743bd8cd6f15cf469c1d6b4c746c218a5cdf6e9a14205f1888f5582a01029c87f
7
+ data.tar.gz: 42b1fca36ece4067a9e31674edacdbf3b0c99560c4088961c990ef82e81f860bfe9f91f7087d47e3edc435dd7b0e5fee8bd6ab3540c284ce8cc002af6671f83a
@@ -123,7 +123,7 @@ module Pragma
123
123
  # @param status [Integer|Symbol] an HTTP status code
124
124
  # @param headers [Hash] HTTP headers
125
125
  # @param resource [Object] an object responding to +#to_json+
126
- def respond_with(status: :ok, headers: {}, resource:)
126
+ def respond_with(status: nil, headers: {}, resource: nil)
127
127
  context.status = status
128
128
  context.headers = headers.to_h
129
129
  context.resource = resource
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module Pragma
3
3
  module Operation
4
- VERSION = '1.1.0'
4
+ VERSION = '1.1.1'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pragma-operation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Desantis