cardiac 0.2.0.pre2 → 0.2.0.pre3

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.
@@ -10,7 +10,7 @@ shared_context 'Client responses' do
10
10
 
11
11
  let!(:response_builder) { Proc.new{|mock,*args|
12
12
  mock = send(:"mock_#{mock}") if Symbol===mock
13
- Rack::Client::Simple::CollapsedResponse.new(mock.code, mock.headers, StringIO.new(mock.body))
13
+ Cardiac::Client.build_mock_response(*mock.to_a)
14
14
  } }
15
15
 
16
16
  let!(:response_handler) { Proc.new{|mock,args|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cardiac
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.pre2
4
+ version: 0.2.0.pre3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe Khoobyar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-02 00:00:00.000000000 Z
11
+ date: 2014-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -247,7 +247,6 @@ files:
247
247
  - cardiac.gemspec
248
248
  - LICENSE
249
249
  - Rakefile
250
- - cardiac-0.2.0.pre2.gem
251
250
  - lib/cardiac/declarations.rb
252
251
  - lib/cardiac/log_subscriber.rb
253
252
  - lib/cardiac/operation_handler.rb
@@ -263,6 +262,7 @@ files:
263
262
  - lib/cardiac/resource/config_methods.rb
264
263
  - lib/cardiac/resource/adapter.rb
265
264
  - lib/cardiac/resource/extension_methods.rb
265
+ - lib/cardiac/resource/cache.rb
266
266
  - lib/cardiac/reflections.rb
267
267
  - lib/cardiac/model/declarations.rb
268
268
  - lib/cardiac/model/persistence.rb
@@ -274,6 +274,7 @@ files:
274
274
  - lib/cardiac/model/querying.rb
275
275
  - lib/cardiac/model/attributes.rb
276
276
  - lib/cardiac/model/dirty.rb
277
+ - lib/cardiac/client.rb
277
278
  - lib/cardiac/errors.rb
278
279
  - lib/cardiac/resource.rb
279
280
  - lib/cardiac/util.rb
Binary file