volt-watch 0.1.2 → 0.1.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4a96afdc310423ab2cb581c3cf1f86c93597d293
4
- data.tar.gz: 05a9e8d060baf115c8bbaff640b044d8a4ee98ab
3
+ metadata.gz: e519d31648f32b155af47368efed5b202f553aa7
4
+ data.tar.gz: fb35472e3713c7f3f86f0121fe298315d738916c
5
5
  SHA512:
6
- metadata.gz: 1ba2b5b2057f19404098ecdc3209c63d984f1e1b99a74f51020bf3375ffa5f65fd43fd141ac71caa585f210b9f9336c0ad6dede1a2b7ae168896c5c6e593ced4
7
- data.tar.gz: f44bcbc207b3f61f7286a16e0b92da0c53616744dbb9dfed7431a0032966024b969897f38571ddd270aa1acc5a731b535284a1301eca23ce2c73678802585c60
6
+ metadata.gz: bc585fa1bf6eb9b5d37efa9896d3d62bf1006b59ef82fb347879bb1e1ab5932599bb26e2cae7d16367486fe5944cc4c9cc023a3aef4f3d581228ed56ba4ff8df
7
+ data.tar.gz: 8040a3ddb03f336bcec79817f904afc7cb891c81c01da48c0b9644a6a5e93cb662d4c74dc4b1e49b974588f501f154c3ba910c8aa1e672dab710f796463841cb
@@ -1,5 +1,5 @@
1
1
  module Volt
2
2
  module Watch
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
data/lib/volt/watch.rb CHANGED
@@ -20,11 +20,9 @@ module Volt
20
20
  # ->{ puts person._name }.watch!
21
21
  # ```
22
22
  #
23
- # Alias is :watch
24
23
  def watch(proc = nil, &block)
25
24
  add_watch(proc || block)
26
25
  end
27
- alias_method :activate, :watch
28
26
 
29
27
 
30
28
  # Adds a watch for a shallow change in the contents
@@ -92,7 +90,6 @@ module Volt
92
90
  traverse(arg, :shallow, except, block)
93
91
  end
94
92
  end
95
- alias_method :when_changed, :on_change_in
96
93
 
97
94
  # Does a deep traversal of all values reachable from
98
95
  # the given root object(s).
@@ -207,7 +204,6 @@ module Volt
207
204
  end
208
205
  end
209
206
  end
210
- alias_method :when_changed_deeply, :on_change_in
211
207
 
212
208
  # Stops and destroys all current watches.
213
209
  # Call when watches are no longer required.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: volt-watch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Colin Gunn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-02 00:00:00.000000000 Z
11
+ date: 2016-02-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: