cardiac 0.2.0.pre2 → 0.2.0.pre3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cardiac.rb +7 -5
- data/lib/cardiac/client.rb +58 -0
- data/lib/cardiac/log_subscriber.rb +5 -5
- data/lib/cardiac/model/base.rb +3 -1
- data/lib/cardiac/model/dirty.rb +0 -5
- data/lib/cardiac/model/persistence.rb +2 -4
- data/lib/cardiac/operation_handler.rb +1 -44
- data/lib/cardiac/railtie.rb +70 -5
- data/lib/cardiac/resource.rb +2 -0
- data/lib/cardiac/resource/adapter.rb +38 -21
- data/lib/cardiac/resource/cache.rb +146 -0
- data/lib/cardiac/resource/request_methods.rb +12 -0
- data/lib/cardiac/util.rb +21 -0
- data/lib/cardiac/version.rb +1 -1
- data/spec/rails-3.2/Gemfile.lock +1 -1
- data/spec/rails-3.2/app_root/log/test.log +9788 -0
- data/spec/rails-4.0/Gemfile.lock +1 -1
- data/spec/rails-4.0/app_root/log/test.log +10387 -0
- data/spec/shared/support/client_execution.rb +1 -1
- metadata +4 -3
- data/cardiac-0.2.0.pre2.gem +0 -0
@@ -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
|
-
|
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.
|
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-
|
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
|
data/cardiac-0.2.0.pre2.gem
DELETED
Binary file
|