active_touch 3.0.2 → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NzJhN2I1MGIwZDNhYWJkMGNjM2IxZDI2ZDMzOWZkNzFkZmJiMmE0NA==
4
+ N2UzMGI0YmVlYTYxZjQxMzI4ZmIwZmEzMWViYTAwZjc1MjI1N2FmNA==
5
5
  data.tar.gz: !binary |-
6
- ZGM1YWM2YTcyOGZhMTRjODBlMDdhMzhiMGY5ZGZjNjdkNjE0MjI4Yg==
6
+ MjBkMzE1ZGIwMTJkYmRhNDZlNzkzOTAxZTMxMTVkOTdlODA5ZmJhMA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MDM3N2FmNjY4YTJmMGZmYjJkYzQyOGMyZTQ5OTM4NDkyOTNkOGZjZGYwOTg2
10
- MDM0MjM5ZjMwNzk5NWM3MGMzNWM0Mzk0MmFlOGViYmMzNWZkNTYwZTlmOTY2
11
- ODkyMmI1MzI4NDc4NTUwM2U5NmViOWU2YWViZDI3OTc2Y2Y0OTU=
9
+ MmFhYjkyYTAwYjIxYjNmODNkZjNiNGRhZjJiYzQ2N2EyMzVjNDAwNjUyNzFi
10
+ NzA4OTRmODliYjQzMWI5NWZiOGYxN2QxOGZlYjdmNWJmODdmM2U1M2ZjYjdh
11
+ OTg2MzA0YmE4NTA0ZmEwMmVlNWQ3MTBhN2FkYzJiYmQ5ZThlYzA=
12
12
  data.tar.gz: !binary |-
13
- YjAzNWY0ZjEyNjkxNGMyY2JkYzIzN2VlZWZmOGExNzk0MzNjYmQyMzViMDM1
14
- MTcyNjc0YWRiMWYzZDM3MmFlNjcxMDZkZWU5NGNiZTFmMjQwNGVmMjgwYjc0
15
- NTQzMWM2YTBiNDhjMzBiYjdlOGQ5YzdiZjhmZWRkODI3ZTZkYzE=
13
+ MTI5ZGJiZWJiZjUzYmNjOTEwNDEzMzJhMmIzMzlkYzNjOWFjNGJhYjFkZTcw
14
+ MWM4MjIyMzhjZmI0NWZkYTkxNGNlNWYwOTJiMWY3N2VjMTA1Y2FmZDEwMmE4
15
+ NDVjNWIyNDRiODQ1YzU1OTFlODBiNmYzNzQzODllZTI5NTYxNTY=
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- active_touch (3.0.2)
4
+ active_touch (3.0.3)
5
5
  rails (~> 4.2)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -80,6 +80,7 @@ NOTE: The default is `async: false`
80
80
 
81
81
  There are a few options that you can change by updating `config/initializers/active_touch.rb`.
82
82
 
83
- - `async`: Define a default for all touches to run asynchronously by setting this to true.
84
- - `ignored_attributes`: When no `watch` argument is supplied, all attribute changes can trigger a touch. Define a default list of ignored attributes here. Default is `:updated_at`.
83
+ - `async`: Default to asynchronous touches
84
+ - `ignored_attributes`: When no `watch` argument is supplied, all attribute changes can trigger a touch. Define a default list of ignored attributes here. Default is `[:updated_a]t`.
85
85
  - `queue`: Specify which queue to put asynchronous jobs in.
86
+ - `timestamp_attribute`: The timestamp attribute that is updated by a touch, default is `:updated_at`. You can set this to `nil` if you don't want to update any timestamp.
@@ -1,3 +1,3 @@
1
1
  module ActiveTouch
2
- VERSION = '3.0.2'
2
+ VERSION = '3.0.3'
3
3
  end
@@ -13,5 +13,5 @@ ActiveTouch.configure do |config|
13
13
 
14
14
  # Timestamp attribute to update when touched
15
15
  # Default is :updated_at
16
- # config.timestamp_attribute = 'default'
16
+ # config.timestamp_attribute = :updated_at
17
17
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_touch
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Pheasey
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-01-12 00:00:00.000000000 Z
11
+ date: 2016-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler