orchestrate-rails 0.1.3 → 0.1.4

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: 166db9c90bebd699191f15f953f5d75ed798f949
4
- data.tar.gz: 76817436a532fc83e62b27da2783fec7480f70f8
3
+ metadata.gz: 0f4272eebaea3d5865abc0f7ae1d9d378a869c8e
4
+ data.tar.gz: 335ba46070d8885ed17f7127e970f868080978a8
5
5
  SHA512:
6
- metadata.gz: d21e092deb79e7fd79b30fcb1b43cc31eda1a9d4d0c7f63697c08149e7afca9fc0690649d1d6fbfb5645bbf7f5671713e3df07e3cc5fcd99dd972a84d94da5d2
7
- data.tar.gz: 7a66f5c71d6298d64f368ef1a6e219f6cb9ba6ae67aa2a36901b49eee8aab32ac1944ba5147146f2b78f2dbc8cf9fd159c25d82612bed84f220ded4336607738
6
+ metadata.gz: eb4e893e30b6903ea93c56df3032dd7417ced70c8f875296358cae82fe0ede30d95965b5f90eb04d0fb691233fbd815bc5724abbc437a7625717037f775e7f37
7
+ data.tar.gz: 4efbd9bd01703cb222554c35aa5378568e8f3ccb0d10588bfc991db7f97721c0f00b6f50ec70cb3da065a6d481a074ba299f6951d16e22d7f92f8bcbf73c7338
@@ -25,6 +25,7 @@ module Orchestrate
25
25
  require "orchestrate_application/connect"
26
26
  require "orchestrate_application/record"
27
27
  require "orchestrate_application/document"
28
+ require "orchestrate_application/ref_table"
28
29
  require "orchestrate_application/result"
29
30
  require "orchestrate_application/response"
30
31
  require "orchestrate_application/simple_cache_store"
@@ -371,7 +371,7 @@ module Orchestrate::Application
371
371
  def set_ref_value(response)
372
372
  unless response.header.code != 201 || response.header.etag.blank?
373
373
  @__ref_value__ = response.header.etag
374
- # orchio_update_ref_table response.header.timestamp
374
+ orchio_update_ref_table response.header.timestamp
375
375
  end
376
376
  end
377
377
 
@@ -21,6 +21,11 @@ module Orchestrate::Application
21
21
  )
22
22
  end
23
23
 
24
+ def self.disable
25
+ puts "DISABLE REF TABLE"
26
+ @@is_enabled = false
27
+ end
28
+
24
29
  def self.enabled?
25
30
  @@is_enabled == true
26
31
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orchestrate-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Carrasquer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-23 00:00:00.000000000 Z
11
+ date: 2014-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: orchestrate-api