fragmentary 0.1.0 → 0.3

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
- SHA1:
3
- metadata.gz: 69beb21cfa270aa3c4b5b204a6c09b8a7b2a0819
4
- data.tar.gz: 7fb0ff0a251e0c8ca5d482a04f1fef565eb71050
2
+ SHA256:
3
+ metadata.gz: 0005ce07a2de70b95fc9b105b3ab12a7d763fb2ededa0423845bbfc3c0b45e8d
4
+ data.tar.gz: e2202f4d38a1189ba956e7b88150178e962581ed93e00f3d74fb8144b193055e
5
5
  SHA512:
6
- metadata.gz: 4582bfd5ebb7cd6c654bb65df7841e2b25bd39f814593a643bfdaf0664fe2313aba2c216983973f5a66293297af26daadc5e811e17489dfcdd49f7971f42e193
7
- data.tar.gz: 11b5067401c63488c72525dc1bc312edf4b231c68357d5f59d1fe7af9add0894042c7fb88adea2cba7ab2b253b28db6472f4c2c6a7c595fa41cfaa372ed6aca0
6
+ metadata.gz: 1665f0be866246efc7a1ba157d1216f63a39162261a680e6e8542884461c2285137ce350efdd4ed233ee6cb4b88484664ab5b7436a0f84e5fbb80c892ccab7ae
7
+ data.tar.gz: 0e4d6a8bd99ae54ff6c3715e203cde760382ef9c48a5ee241ae645ce58dd07dcb1d17b819f10771edcf5d5d113016d0d115fd5a08b1218e3060fef0bf57553de
data/CHANGELOG.md ADDED
@@ -0,0 +1,26 @@
1
+ ### 0.3.0
2
+ - Updates gem to support Rails 5.x (Rails 4.x and earlier are no longer supported due to Rails API changes).
3
+ - Adds support for multiple application instances, allowing pre-release application code to be staged for testing.
4
+ - Fixes a bug in Fragment.set_record_type affecting some application data handlers for fragment classes that are subclassed from another.
5
+
6
+ ### 0.2.2
7
+ - Removes validation of the fragment's root_id (only relevant to child fragments); ignore v0.2.1
8
+
9
+ ### 0.2.1
10
+ - Fixes a syntax bug in validating a fragment's root_id
11
+ - Adds README documentation on the use of methods for explicitly retreving user-dependent fragments.
12
+ - Adds README documentation on the needs_user_id declaration
13
+ - Deprecates the :template parameter in FragmentsHelper#fragment_builder
14
+ - Adds minor performance enhancements
15
+
16
+ ### 0.2.0
17
+ - Makes the following configurable:
18
+ - current_user_method - called on current template to obtain the current authenticated user.
19
+ - user_type_mapping - returns user_type for current user, configurable globally and per fragment class
20
+ - session_users for background requests, configurable globally and per fragment class
21
+ - sign-in/sign-out paths for background requests
22
+ - For root fragments with `needs_record_id`, a declared `record_type` and a defined class method `request_path`, automatically generates internal requests to the specified path when application records of the associated type are created (extracts
23
+ behavior that was previously handled in the application).
24
+ - Makes Fragment.requestable? reflect only the existence of a class :request_path
25
+ - Modifies interface for Fragment.queue_request and Fragment.remove_queued_request
26
+ - Adds event handlers to subscribers via an anonymous module so that subclasses can access them via `super`