file_sv 0.1.0 → 0.1.1
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 +4 -4
- data/lib/file_sv/global_settings.rb +5 -0
- data/lib/file_sv/planned_endpoint.rb +1 -0
- data/lib/file_sv/version.rb +1 -1
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac55a5c60dd473f97a05d4a7679772db4eaf54d2990420652e2ae96260dc7ec5
|
4
|
+
data.tar.gz: bf4e58836d690c6058392323144be3c4bbf53143e5535d7b0aa720d51b33462a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87ed6a07aad15e535cc11299447538ebdb2683b608b87777ac39a71e8f32c53b99a26d6416d1d5c3c3f5ab8917dd6ec31f511220a218d110514305cf674c20ae
|
7
|
+
data.tar.gz: 6a3521c2f94a59fc598d2c13c11bacfbc87a3f0213b2d078a6e222db632d80253c9c72d73fc1d2e20f06e6797cc1c612442928fa0e5ed39392601c8caf3fcad6
|
@@ -19,25 +19,30 @@ end
|
|
19
19
|
|
20
20
|
# Settings specific to GET
|
21
21
|
class GetSettings
|
22
|
+
@default_status = 200
|
22
23
|
extend CommonHttpSettings
|
23
24
|
end
|
24
25
|
|
25
26
|
# Settings specific to POST
|
26
27
|
class PostSettings
|
28
|
+
@default_status = 201
|
27
29
|
extend CommonHttpSettings
|
28
30
|
end
|
29
31
|
|
30
32
|
# Settings specific to PATCH
|
31
33
|
class PatchSettings
|
34
|
+
@default_status = 200
|
32
35
|
extend CommonHttpSettings
|
33
36
|
end
|
34
37
|
|
35
38
|
# Settings specific to OPTIONS
|
36
39
|
class OptionsSettings
|
40
|
+
@default_status = 200
|
37
41
|
extend CommonHttpSettings
|
38
42
|
end
|
39
43
|
|
40
44
|
# Settings specific to DELETE
|
41
45
|
class DeleteSettings
|
46
|
+
@default_status = 200
|
42
47
|
extend CommonHttpSettings
|
43
48
|
end
|
data/lib/file_sv/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: file_sv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Garratt
|
@@ -10,6 +10,20 @@ bindir: exe
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2021-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: faker
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: sinatra
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|