fdk 0.0.26 → 0.0.27

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
  SHA256:
3
- metadata.gz: 11bde0cbeae6808c95696bc9068aa90c4fe1cdd191878ac72a1560688f01064c
4
- data.tar.gz: e3265d7ef4e04cbd6a5f91bed6091d96c29fb3eebd052fb8bda161f0f2026c96
3
+ metadata.gz: 962f4bb9230b63e9209958f22baa093975dbc5a8bb6281eb5ce32d7a9daa651e
4
+ data.tar.gz: caaf91e233e1cba31a45ae98ec885826a15deace00965a2418a8e4dc415160bf
5
5
  SHA512:
6
- metadata.gz: 0577ca1a919505807e9c1662b96bba8238eee65e26042541b93160039dd898501cbfb137e09e291d86bbb050a4d4619b7e9b2ed518f4c4119943bf3de3ced33b
7
- data.tar.gz: 356dc9aa5da12d54e18603c6a7ffed2ff798902b2e7940e22320718e34d5d759c79c944a1e4ecb5d6ede8b0537bd49b7f7e59cce54987429358b537ce86d71f2
6
+ metadata.gz: f7a71baf72d9ce5b242019a8346e683f55bbd7262b20e1a0c82709473e52c355c23f9afd1ba74e904be4be816afd94035a136575d21a9b96e3fea087b8193afb
7
+ data.tar.gz: 98da75369366c113ef3662b58771ead32f7d7802a73639ad937cb1ac6f768524047b433b43ec0178cdd72563ea395277b5498a8a039e6dc3d599d5e5b47aa948
data/lib/fdk/context.rb CHANGED
@@ -82,8 +82,7 @@ module FDK
82
82
  # Replace X with the upper cased name of the config variable you set.
83
83
  # e.g. minio_secret=secret will be exposed via MINIO_SECRET env var.
84
84
 
85
- attr_reader :headers
86
- attr_reader :response_headers
85
+ attr_reader :headers, :response_headers
87
86
 
88
87
  def initialize(headers_in, headers_out)
89
88
  @headers = headers_in
@@ -123,8 +122,7 @@ module FDK
123
122
  # Represents the context data (inbound && outbound)
124
123
  # for the execution passed as HTTP headers
125
124
  class HTTPContext
126
- attr_reader :headers
127
- attr_reader :response_headers
125
+ attr_reader :headers, :response_headers
128
126
 
129
127
  def initialize(ctx)
130
128
  fn_http_h_ = "fn-http-h-"
data/lib/fdk/function.rb CHANGED
@@ -20,6 +20,7 @@ module FDK
20
20
  # Function represents a function function or lambda
21
21
  class Function
22
22
  attr_reader :format, :function
23
+
23
24
  def initialize(function:, format:)
24
25
  raise "'#{format}' not supported in Ruby FDK." unless format == "http-stream"
25
26
 
data/lib/fdk/listener.rb CHANGED
@@ -89,7 +89,7 @@ module FDK
89
89
  end
90
90
 
91
91
  def private_socket_path
92
- socket_path + ".private"
92
+ "#{socket_path}.private"
93
93
  end
94
94
 
95
95
  def log_frame_header(headers)
data/lib/fdk/version.rb CHANGED
@@ -17,5 +17,5 @@
17
17
  #
18
18
 
19
19
  module FDK
20
- VERSION = "0.0.26"
20
+ VERSION = "0.0.27"
21
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.26
4
+ version: 0.0.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Reeder
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-08-26 00:00:00.000000000 Z
13
+ date: 2021-09-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: json
@@ -18,40 +18,40 @@ dependencies:
18
18
  requirements:
19
19
  - - "~>"
20
20
  - !ruby/object:Gem::Version
21
- version: '2.1'
21
+ version: '2.5'
22
22
  - - ">="
23
23
  - !ruby/object:Gem::Version
24
- version: 2.1.0
24
+ version: 2.5.1
25
25
  type: :runtime
26
26
  prerelease: false
27
27
  version_requirements: !ruby/object:Gem::Requirement
28
28
  requirements:
29
29
  - - "~>"
30
30
  - !ruby/object:Gem::Version
31
- version: '2.1'
31
+ version: '2.5'
32
32
  - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: 2.1.0
34
+ version: 2.5.1
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: webrick
37
37
  requirement: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '1.4'
41
+ version: '1.7'
42
42
  - - ">="
43
43
  - !ruby/object:Gem::Version
44
- version: 1.4.2
44
+ version: 1.7.0
45
45
  type: :runtime
46
46
  prerelease: false
47
47
  version_requirements: !ruby/object:Gem::Requirement
48
48
  requirements:
49
49
  - - "~>"
50
50
  - !ruby/object:Gem::Version
51
- version: '1.4'
51
+ version: '1.7'
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 1.4.2
54
+ version: 1.7.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: net_http_unix
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -61,7 +61,7 @@ dependencies:
61
61
  version: '0.2'
62
62
  - - ">="
63
63
  - !ruby/object:Gem::Version
64
- version: 0.2.1
64
+ version: 0.2.2
65
65
  type: :development
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
@@ -71,21 +71,21 @@ dependencies:
71
71
  version: '0.2'
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
- version: 0.2.1
74
+ version: 0.2.2
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: rubocop
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '0.60'
81
+ version: '1.21'
82
82
  type: :development
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: '0.60'
88
+ version: '1.21'
89
89
  description: Ruby Function Developer Kit for Fn Project.
90
90
  email:
91
91
  - treeder@gmail.com