shutl_resource 1.4.1 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -230,8 +230,8 @@ module Shutl::Resource
230
230
 
231
231
  def header_options params
232
232
  header_opts = params[:headers] || {}
233
- header_opts.merge!(authorization: params[:auth]) if params[:auth]
234
- header_opts.merge!(from: params[:from]) if params[:from]
233
+ header_opts.merge!(authorization: "Bearer #{params[:auth]}") if params[:auth]
234
+ header_opts.merge!(from: params[:from]) if params[:from]
235
235
  header_opts
236
236
  end
237
237
 
@@ -1,5 +1,5 @@
1
1
  module Shutl
2
2
  module Resource
3
- VERSION = '1.4.1'
3
+ VERSION = '1.4.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shutl_resource
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - David Rouchy
@@ -16,6 +17,7 @@ dependencies:
16
17
  - !ruby/object:Gem::Dependency
17
18
  name: shutl_auth
18
19
  requirement: !ruby/object:Gem::Requirement
20
+ none: false
19
21
  requirements:
20
22
  - - ~>
21
23
  - !ruby/object:Gem::Version
@@ -23,6 +25,7 @@ dependencies:
23
25
  type: :runtime
24
26
  prerelease: false
25
27
  version_requirements: !ruby/object:Gem::Requirement
28
+ none: false
26
29
  requirements:
27
30
  - - ~>
28
31
  - !ruby/object:Gem::Version
@@ -30,6 +33,7 @@ dependencies:
30
33
  - !ruby/object:Gem::Dependency
31
34
  name: activemodel
32
35
  requirement: !ruby/object:Gem::Requirement
36
+ none: false
33
37
  requirements:
34
38
  - - ! '>='
35
39
  - !ruby/object:Gem::Version
@@ -37,6 +41,7 @@ dependencies:
37
41
  type: :runtime
38
42
  prerelease: false
39
43
  version_requirements: !ruby/object:Gem::Requirement
44
+ none: false
40
45
  requirements:
41
46
  - - ! '>='
42
47
  - !ruby/object:Gem::Version
@@ -44,6 +49,7 @@ dependencies:
44
49
  - !ruby/object:Gem::Dependency
45
50
  name: faraday
46
51
  requirement: !ruby/object:Gem::Requirement
52
+ none: false
47
53
  requirements:
48
54
  - - ! '>='
49
55
  - !ruby/object:Gem::Version
@@ -51,6 +57,7 @@ dependencies:
51
57
  type: :runtime
52
58
  prerelease: false
53
59
  version_requirements: !ruby/object:Gem::Requirement
60
+ none: false
54
61
  requirements:
55
62
  - - ! '>='
56
63
  - !ruby/object:Gem::Version
@@ -58,6 +65,7 @@ dependencies:
58
65
  - !ruby/object:Gem::Dependency
59
66
  name: faraday_middleware
60
67
  requirement: !ruby/object:Gem::Requirement
68
+ none: false
61
69
  requirements:
62
70
  - - ! '>='
63
71
  - !ruby/object:Gem::Version
@@ -65,6 +73,7 @@ dependencies:
65
73
  type: :runtime
66
74
  prerelease: false
67
75
  version_requirements: !ruby/object:Gem::Requirement
76
+ none: false
68
77
  requirements:
69
78
  - - ! '>='
70
79
  - !ruby/object:Gem::Version
@@ -72,6 +81,7 @@ dependencies:
72
81
  - !ruby/object:Gem::Dependency
73
82
  name: faraday-conductivity
74
83
  requirement: !ruby/object:Gem::Requirement
84
+ none: false
75
85
  requirements:
76
86
  - - ! '>='
77
87
  - !ruby/object:Gem::Version
@@ -79,6 +89,7 @@ dependencies:
79
89
  type: :runtime
80
90
  prerelease: false
81
91
  version_requirements: !ruby/object:Gem::Requirement
92
+ none: false
82
93
  requirements:
83
94
  - - ! '>='
84
95
  - !ruby/object:Gem::Version
@@ -86,6 +97,7 @@ dependencies:
86
97
  - !ruby/object:Gem::Dependency
87
98
  name: rake
88
99
  requirement: !ruby/object:Gem::Requirement
100
+ none: false
89
101
  requirements:
90
102
  - - ! '>='
91
103
  - !ruby/object:Gem::Version
@@ -93,6 +105,7 @@ dependencies:
93
105
  type: :development
94
106
  prerelease: false
95
107
  version_requirements: !ruby/object:Gem::Requirement
108
+ none: false
96
109
  requirements:
97
110
  - - ! '>='
98
111
  - !ruby/object:Gem::Version
@@ -100,6 +113,7 @@ dependencies:
100
113
  - !ruby/object:Gem::Dependency
101
114
  name: rspec
102
115
  requirement: !ruby/object:Gem::Requirement
116
+ none: false
103
117
  requirements:
104
118
  - - ~>
105
119
  - !ruby/object:Gem::Version
@@ -107,6 +121,7 @@ dependencies:
107
121
  type: :development
108
122
  prerelease: false
109
123
  version_requirements: !ruby/object:Gem::Requirement
124
+ none: false
110
125
  requirements:
111
126
  - - ~>
112
127
  - !ruby/object:Gem::Version
@@ -114,6 +129,7 @@ dependencies:
114
129
  - !ruby/object:Gem::Dependency
115
130
  name: debugger
116
131
  requirement: !ruby/object:Gem::Requirement
132
+ none: false
117
133
  requirements:
118
134
  - - ! '>='
119
135
  - !ruby/object:Gem::Version
@@ -121,6 +137,7 @@ dependencies:
121
137
  type: :development
122
138
  prerelease: false
123
139
  version_requirements: !ruby/object:Gem::Requirement
140
+ none: false
124
141
  requirements:
125
142
  - - ! '>='
126
143
  - !ruby/object:Gem::Version
@@ -128,6 +145,7 @@ dependencies:
128
145
  - !ruby/object:Gem::Dependency
129
146
  name: webmock
130
147
  requirement: !ruby/object:Gem::Requirement
148
+ none: false
131
149
  requirements:
132
150
  - - ~>
133
151
  - !ruby/object:Gem::Version
@@ -135,6 +153,7 @@ dependencies:
135
153
  type: :development
136
154
  prerelease: false
137
155
  version_requirements: !ruby/object:Gem::Requirement
156
+ none: false
138
157
  requirements:
139
158
  - - ~>
140
159
  - !ruby/object:Gem::Version
@@ -184,26 +203,33 @@ files:
184
203
  - spec/support/test_singular_resource.rb
185
204
  homepage: ''
186
205
  licenses: []
187
- metadata: {}
188
206
  post_install_message:
189
207
  rdoc_options: []
190
208
  require_paths:
191
209
  - lib
192
210
  required_ruby_version: !ruby/object:Gem::Requirement
211
+ none: false
193
212
  requirements:
194
213
  - - ! '>='
195
214
  - !ruby/object:Gem::Version
196
215
  version: '0'
216
+ segments:
217
+ - 0
218
+ hash: -3229729289856773227
197
219
  required_rubygems_version: !ruby/object:Gem::Requirement
220
+ none: false
198
221
  requirements:
199
222
  - - ! '>='
200
223
  - !ruby/object:Gem::Version
201
224
  version: '0'
225
+ segments:
226
+ - 0
227
+ hash: -3229729289856773227
202
228
  requirements: []
203
229
  rubyforge_project:
204
- rubygems_version: 2.1.4
230
+ rubygems_version: 1.8.25
205
231
  signing_key:
206
- specification_version: 4
232
+ specification_version: 3
207
233
  summary: Manage Shutl Rest resource. Parse/Serialize JSON
208
234
  test_files:
209
235
  - spec/configuration_spec.rb
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- OTc0YmQyNmIzNmU0NmE2YTcwOTUxZGM5ZjJhOTNiYTFkNzU3ODVmMQ==
5
- data.tar.gz: !binary |-
6
- ZDJmNTdlNjFlYzE1YTNhZTk3MGE0Yzg5YjEzMTliNmUzNTAwZjFhNQ==
7
- SHA512:
8
- metadata.gz: !binary |-
9
- YWMzNGQ5MmVjODEzMWU5NzM3ODc2MTQzYmZjOTJkMmUxOWU3MGYyZjBkOWIw
10
- ZTZjZTkyOGQwMWZhMTNmMGJiNTZiZWU5YTJlMjYzZjE0MmYyNTgyZWJkZmQ2
11
- Njg4ZTA0YjkwOGYxZDQ3MzYzMTRjZTY5YTE0N2QyNmIyNzE5OTk=
12
- data.tar.gz: !binary |-
13
- NGJkYzk2NTU0OTRjZWZjYmFjYWYwNDdjN2ZlN2I1ZDdmZDY5YTE2N2EwZDEx
14
- MWEzMjE0YTUxMTNhYTYyNjUyOTg5ZTAyODYzZDQyMTFlZjczMjA1ZTg2ZWJh
15
- MmNlOGIxMjlmNTg3MGVmMDUxYWRiMzQ2NTMzYTJlZjUzOGZmMjk=