glimmer 2.2.1 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/README.md +327 -300
- data/VERSION +1 -1
- data/glimmer.gemspec +5 -5
- data/lib/glimmer/data_binding/model_binding.rb +12 -7
- data/lib/glimmer/data_binding/observable_array.rb +83 -7
- data/lib/glimmer/data_binding/observable_hash.rb +36 -10
- data/lib/glimmer/data_binding/observable_model.rb +14 -12
- data/lib/glimmer/data_binding/observer.rb +39 -26
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 374a048642d7ade3614c400b3ffefa627d3c40ca6976acf1a7969592865ecef8
|
4
|
+
data.tar.gz: 5653e8de7ff5ebe9258d872cb72a4067118217e06e698615c9276b95016fb233
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 723e1b9231125f0d3f6507f5312b8a4a12c7bb7e4e3af35cf1f682da317c3a6374d814d0a28e5c2cd37d48255dc3cd7f8e70072b4c0f30bba751ce6730566f45
|
7
|
+
data.tar.gz: 2449d3783dc09bd4154c62df7ae1d954b0c8c411c98276bfa8ceb4f9d4ac0d1504618614fa33d88afa33b056ba1f04ce8b57050b526aa31ecac36b8954507461
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,27 @@
|
|
3
3
|
Related Change Logs:
|
4
4
|
- [glimmer-dsl-swt/CHANGELOG.md](https://github.com/AndyObtiva/glimmer-dsl-swt/blob/master/CHANGELOG.md)
|
5
5
|
|
6
|
+
### 2.4.1
|
7
|
+
|
8
|
+
- Support `recursive: [integer]` option for ObservableArray#add_observer for finite recursion
|
9
|
+
|
10
|
+
### 2.4.0
|
11
|
+
|
12
|
+
- Support passing arbitrary options to `Observer` `#observe` (`#register`) method (not just properties, like `recursive: true` for example)
|
13
|
+
- Make observing nested arrays within an array optional with `recursive: true` option
|
14
|
+
- Make `Observer` `dependents` collection rely on Concurrent::Hash when available
|
15
|
+
- Fix `Observer` cleanup of registrations and dependents on `#deregister` (was not cleaning up everything because observables were changing `#hash` value on content change and slipping through the cracks as a result)
|
16
|
+
|
17
|
+
### 2.3.0
|
18
|
+
|
19
|
+
- Have observing `ObservableArray` automatically notice if any values are nested arrays and observe them for micro-changes (recursively all the way down)
|
20
|
+
|
21
|
+
### 2.2.2
|
22
|
+
|
23
|
+
- Support auto-notifying on `ObservableArray#replace` observed changes
|
24
|
+
- Support auto-notifying on `ObservableArray#filter!` observed changes explicitly (even if `filter!` aliases `select!`)
|
25
|
+
- Support auto-notifying on `ObservableHash#filter!` observed changes explicitly (even if `filter!` aliases `select!`)
|
26
|
+
|
6
27
|
### 2.2.1
|
7
28
|
|
8
29
|
- Have `ObservableHash` call `notify_observers(key)` upon performing all mutation operations (as expected): `delete`, `delete_if`, `filter!`, `select!`, `keep_if`, `reject!`, `merge!`, `replace`, `shift`, `transform_keys!`, `transform_values!`
|