sleepers 0.0.9 → 0.0.10

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: dd18fde840a70b466161fcef45890777f546d8f4
4
- data.tar.gz: 9870ef102dc85bebfa6230e20eb473c4fd78175c
3
+ metadata.gz: a26ca1030be2253d3dacc0a4f9b5513a12094ce3
4
+ data.tar.gz: ec35ca4519eb0a2414d99880b461e49bbce2a648
5
5
  SHA512:
6
- metadata.gz: b29afeda0d84aef85cb6f20abe64aabbbc5eef7b43193e840d3500c53c60dbc9a2c9b8d404e855899a7419931727d27820359a357728b04b99a4b5a5d581cd0f
7
- data.tar.gz: efbcf768ac656ae793e3e88102fab1146b64253c0520a83b6720ba1a0b28e35837dce80646c2c9349311889d15b410830864f231aa01c7b8dd0faa0123dbc7e2
6
+ metadata.gz: 3d0b1de936d8624a7376ec88015731073f1857482857ece0672bf8caed50046e1a7daa439fc168a0d69791031531f9207e7ea56b45e71837b5acf968e130c545
7
+ data.tar.gz: 6f3d7796ae96984ea79133279dd268afea4d7d2d2d1a4fe1a4aeaba1993ae354337237a160708f33520a52eedd2878ce27206d77ae8451891a57f71e81172e44
data/.gitignore CHANGED
@@ -10,3 +10,4 @@
10
10
 
11
11
  # rspec failure tracking
12
12
  .rspec_status
13
+ *.sublime*
@@ -0,0 +1,27 @@
1
+ RSpec.configure do |config|
2
+ config.around(:each, :debug, type: :model) do |example|
3
+ @debug = true
4
+ example.run
5
+
6
+ if defined?(serializer)
7
+ puts "serializer.as_json =>"
8
+ ap serializer.as_json
9
+ end
10
+
11
+ puts "#"*50
12
+ puts "SUBJECT OBJECT"
13
+ puts "#"*50
14
+ ap subject
15
+
16
+ @debug = false
17
+ end
18
+ config.around(:each, :debug, type: :controller) do |example|
19
+ example.run
20
+ puts "Response body =>"
21
+ begin
22
+ ap json_body
23
+ rescue JSON::ParserError => e
24
+ puts response.body
25
+ end
26
+ end
27
+ end
@@ -1,3 +1,3 @@
1
1
  module Sleepers
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sleepers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyrone Wilson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-03 00:00:00.000000000 Z
11
+ date: 2017-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hashie
@@ -156,6 +156,7 @@ files:
156
156
  - bin/setup
157
157
  - lib/sleepers.rb
158
158
  - lib/sleepers/rspec/collection_matchers.rb
159
+ - lib/sleepers/rspec/config.rb
159
160
  - lib/sleepers/rspec/hash_matchers.rb
160
161
  - lib/sleepers/rspec/matchers.rb
161
162
  - lib/sleepers/version.rb