rest_my_case 1.10.8 → 1.10.9
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 +8 -8
- data/lib/rest_my_case/base.rb +1 -1
- data/lib/rest_my_case/context/http_status.rb +0 -1
- data/lib/rest_my_case/version.rb +1 -1
- data/spec/rest_my_case/base_spec.rb +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
NDg4NmJlMDBmZjRiMzBlZjg4MWE1ZDUxMzc1MGQwZThlNmI3MmViNw==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
Yjk3MjkxNzg0MzU4ODA4OTVhYmFmMGM4Zjg0ZWYyZWUxY2RmZTQ5NQ==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
NzhlMmU3MDMyYWQwYjQ4NjA0Y2VkMzhjZTJiOGNkNGE0YTEwOWE1MTRjYzg0
|
|
10
|
+
OThkMzI3Njg0MzFlYzc2OWI4OGZjOWYxZjM3MGUyOTBkYzgzZGU5MDY5YjI2
|
|
11
|
+
MTg1MTBmNjExZDY5M2MyNzVlZTRkMjVlNTQyY2U5MmY2NTk2Yjg=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ODIxZmI2NTNmZWU4NWEwNzE3ODUxY2E2N2EyZjA2ODNlMGY3ODA1OWQ3Y2I0
|
|
14
|
+
MDNlZTExZjUzOGEyZTAyNjM4NDZhMGQ1ODgyNTYxN2JlYzNlODc2MGFhNDE2
|
|
15
|
+
MmIzMTRhYjM0YWEzZDg4M2UyODQ4ZjY1OWUxY2M3ODQ0MWYyMzQ=
|
data/lib/rest_my_case/base.rb
CHANGED
data/lib/rest_my_case/version.rb
CHANGED
|
@@ -311,6 +311,8 @@ describe RestMyCase::Base do
|
|
|
311
311
|
def perform
|
|
312
312
|
super
|
|
313
313
|
invoke Perform::BuildPost, Perform::Validations, Perform::SavePost
|
|
314
|
+
|
|
315
|
+
context.should_be_true = true
|
|
314
316
|
end
|
|
315
317
|
end
|
|
316
318
|
|
|
@@ -321,6 +323,8 @@ describe RestMyCase::Base do
|
|
|
321
323
|
expect(context.perform.length).to be 2
|
|
322
324
|
expect(context.rollback.length).to be 0
|
|
323
325
|
expect(context.final.length).to be 2
|
|
326
|
+
|
|
327
|
+
expect(context.should_be_true).to be true
|
|
324
328
|
end
|
|
325
329
|
|
|
326
330
|
end
|
|
@@ -393,6 +397,8 @@ describe RestMyCase::Base do
|
|
|
393
397
|
super
|
|
394
398
|
|
|
395
399
|
invoke! Perform::ValidateName, Perform::ValidateBody
|
|
400
|
+
|
|
401
|
+
context.should_not_be_true = true
|
|
396
402
|
end
|
|
397
403
|
end
|
|
398
404
|
|
|
@@ -450,6 +456,8 @@ describe RestMyCase::Base do
|
|
|
450
456
|
"Perform::Logger",
|
|
451
457
|
"Perform::CreatePost2"
|
|
452
458
|
]
|
|
459
|
+
|
|
460
|
+
expect(@context.should_not_be_true).to be_falsey
|
|
453
461
|
end
|
|
454
462
|
|
|
455
463
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rest_my_case
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.10.
|
|
4
|
+
version: 1.10.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- goncalvesjoao
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-08-
|
|
11
|
+
date: 2015-08-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pry
|