unpoly-rails 0.56.7 → 0.57.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of unpoly-rails might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +74 -1
- data/dist/unpoly.js +1569 -793
- data/dist/unpoly.min.js +4 -4
- data/lib/assets/javascripts/unpoly.coffee +2 -0
- data/lib/assets/javascripts/unpoly/browser.coffee.erb +25 -41
- data/lib/assets/javascripts/unpoly/bus.coffee.erb +20 -6
- data/lib/assets/javascripts/unpoly/classes/cache.coffee +23 -13
- data/lib/assets/javascripts/unpoly/classes/compile_pass.coffee +87 -0
- data/lib/assets/javascripts/unpoly/classes/focus_tracker.coffee +29 -0
- data/lib/assets/javascripts/unpoly/classes/follow_variant.coffee +7 -4
- data/lib/assets/javascripts/unpoly/classes/record.coffee +1 -1
- data/lib/assets/javascripts/unpoly/classes/request.coffee +38 -45
- data/lib/assets/javascripts/unpoly/classes/response.coffee +16 -1
- data/lib/assets/javascripts/unpoly/classes/store/memory.coffee +26 -0
- data/lib/assets/javascripts/unpoly/classes/store/session.coffee +59 -0
- data/lib/assets/javascripts/unpoly/cookie.coffee +56 -0
- data/lib/assets/javascripts/unpoly/dom.coffee.erb +67 -39
- data/lib/assets/javascripts/unpoly/feedback.coffee +2 -2
- data/lib/assets/javascripts/unpoly/form.coffee.erb +23 -12
- data/lib/assets/javascripts/unpoly/history.coffee +2 -2
- data/lib/assets/javascripts/unpoly/layout.coffee.erb +118 -99
- data/lib/assets/javascripts/unpoly/link.coffee.erb +12 -5
- data/lib/assets/javascripts/unpoly/log.coffee +6 -5
- data/lib/assets/javascripts/unpoly/modal.coffee.erb +9 -2
- data/lib/assets/javascripts/unpoly/motion.coffee.erb +2 -6
- data/lib/assets/javascripts/unpoly/namespace.coffee.erb +2 -2
- data/lib/assets/javascripts/unpoly/params.coffee.erb +522 -0
- data/lib/assets/javascripts/unpoly/popup.coffee.erb +3 -3
- data/lib/assets/javascripts/unpoly/proxy.coffee +42 -34
- data/lib/assets/javascripts/unpoly/{syntax.coffee → syntax.coffee.erb} +59 -117
- data/lib/assets/javascripts/unpoly/{util.coffee → util.coffee.erb} +206 -171
- data/lib/unpoly/rails/version.rb +1 -1
- data/package.json +1 -1
- data/spec_app/Gemfile.lock +1 -1
- data/spec_app/app/assets/javascripts/integration_test.coffee +0 -4
- data/spec_app/app/assets/stylesheets/integration_test.sass +7 -1
- data/spec_app/app/controllers/pages_controller.rb +4 -0
- data/spec_app/app/views/form_test/basics/new.erb +34 -5
- data/spec_app/app/views/form_test/submission_result.erb +2 -2
- data/spec_app/app/views/form_test/uploads/new.erb +15 -2
- data/spec_app/app/views/hash_test/unpoly.erb +30 -0
- data/spec_app/app/views/pages/start.erb +2 -1
- data/spec_app/spec/javascripts/helpers/parse_form_data.js.coffee +17 -2
- data/spec_app/spec/javascripts/helpers/reset_up.js.coffee +5 -0
- data/spec_app/spec/javascripts/helpers/to_be_error.coffee +1 -1
- data/spec_app/spec/javascripts/helpers/to_match_selector.coffee +5 -0
- data/spec_app/spec/javascripts/up/browser_spec.js.coffee +8 -8
- data/spec_app/spec/javascripts/up/bus_spec.js.coffee +58 -20
- data/spec_app/spec/javascripts/up/classes/cache_spec.js.coffee +78 -0
- data/spec_app/spec/javascripts/up/classes/focus_tracker_spec.coffee +31 -0
- data/spec_app/spec/javascripts/up/classes/request_spec.coffee +50 -0
- data/spec_app/spec/javascripts/up/classes/store/memory_spec.js.coffee +67 -0
- data/spec_app/spec/javascripts/up/classes/store/session_spec.js.coffee +113 -0
- data/spec_app/spec/javascripts/up/dom_spec.js.coffee +133 -45
- data/spec_app/spec/javascripts/up/form_spec.js.coffee +13 -13
- data/spec_app/spec/javascripts/up/layout_spec.js.coffee +110 -26
- data/spec_app/spec/javascripts/up/link_spec.js.coffee +1 -1
- data/spec_app/spec/javascripts/up/modal_spec.js.coffee +1 -0
- data/spec_app/spec/javascripts/up/motion_spec.js.coffee +52 -51
- data/spec_app/spec/javascripts/up/namespace_spec.js.coffee +2 -2
- data/spec_app/spec/javascripts/up/params_spec.coffee +768 -0
- data/spec_app/spec/javascripts/up/proxy_spec.js.coffee +75 -36
- data/spec_app/spec/javascripts/up/syntax_spec.js.coffee +48 -15
- data/spec_app/spec/javascripts/up/util_spec.js.coffee +148 -131
- metadata +17 -5
- data/spec_app/spec/javascripts/up/classes/.keep +0 -0
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unpoly-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.57.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henning Koch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -98,18 +98,23 @@ files:
|
|
98
98
|
- lib/assets/javascripts/unpoly/browser.coffee.erb
|
99
99
|
- lib/assets/javascripts/unpoly/bus.coffee.erb
|
100
100
|
- lib/assets/javascripts/unpoly/classes/cache.coffee
|
101
|
+
- lib/assets/javascripts/unpoly/classes/compile_pass.coffee
|
101
102
|
- lib/assets/javascripts/unpoly/classes/css_transition.coffee
|
102
103
|
- lib/assets/javascripts/unpoly/classes/extract_cascade.coffee
|
103
104
|
- lib/assets/javascripts/unpoly/classes/extract_plan.coffee
|
104
105
|
- lib/assets/javascripts/unpoly/classes/extract_step.coffee
|
105
106
|
- lib/assets/javascripts/unpoly/classes/field_observer.coffee
|
107
|
+
- lib/assets/javascripts/unpoly/classes/focus_tracker.coffee
|
106
108
|
- lib/assets/javascripts/unpoly/classes/follow_variant.coffee
|
107
109
|
- lib/assets/javascripts/unpoly/classes/html_parser.coffee
|
108
110
|
- lib/assets/javascripts/unpoly/classes/motion_tracker.coffee
|
109
111
|
- lib/assets/javascripts/unpoly/classes/record.coffee
|
110
112
|
- lib/assets/javascripts/unpoly/classes/request.coffee
|
111
113
|
- lib/assets/javascripts/unpoly/classes/response.coffee
|
114
|
+
- lib/assets/javascripts/unpoly/classes/store/memory.coffee
|
115
|
+
- lib/assets/javascripts/unpoly/classes/store/session.coffee
|
112
116
|
- lib/assets/javascripts/unpoly/classes/url_set.coffee
|
117
|
+
- lib/assets/javascripts/unpoly/cookie.coffee
|
113
118
|
- lib/assets/javascripts/unpoly/dom.coffee.erb
|
114
119
|
- lib/assets/javascripts/unpoly/feedback.coffee
|
115
120
|
- lib/assets/javascripts/unpoly/form.coffee.erb
|
@@ -120,15 +125,16 @@ files:
|
|
120
125
|
- lib/assets/javascripts/unpoly/modal.coffee.erb
|
121
126
|
- lib/assets/javascripts/unpoly/motion.coffee.erb
|
122
127
|
- lib/assets/javascripts/unpoly/namespace.coffee.erb
|
128
|
+
- lib/assets/javascripts/unpoly/params.coffee.erb
|
123
129
|
- lib/assets/javascripts/unpoly/popup.coffee.erb
|
124
130
|
- lib/assets/javascripts/unpoly/protocol.coffee
|
125
131
|
- lib/assets/javascripts/unpoly/proxy.coffee
|
126
132
|
- lib/assets/javascripts/unpoly/radio.coffee
|
127
133
|
- lib/assets/javascripts/unpoly/rails.coffee
|
128
|
-
- lib/assets/javascripts/unpoly/syntax.coffee
|
134
|
+
- lib/assets/javascripts/unpoly/syntax.coffee.erb
|
129
135
|
- lib/assets/javascripts/unpoly/toast.coffee
|
130
136
|
- lib/assets/javascripts/unpoly/tooltip.coffee
|
131
|
-
- lib/assets/javascripts/unpoly/util.coffee
|
137
|
+
- lib/assets/javascripts/unpoly/util.coffee.erb
|
132
138
|
- lib/assets/stylesheets/unpoly-bootstrap3.sass
|
133
139
|
- lib/assets/stylesheets/unpoly-bootstrap3/modal-ext.sass
|
134
140
|
- lib/assets/stylesheets/unpoly.sass
|
@@ -193,6 +199,7 @@ files:
|
|
193
199
|
- spec_app/app/views/form_test/redirects/target.erb
|
194
200
|
- spec_app/app/views/form_test/submission_result.erb
|
195
201
|
- spec_app/app/views/form_test/uploads/new.erb
|
202
|
+
- spec_app/app/views/hash_test/unpoly.erb
|
196
203
|
- spec_app/app/views/hash_test/vanilla.erb
|
197
204
|
- spec_app/app/views/layouts/integration_test.erb
|
198
205
|
- spec_app/app/views/layouts/jasmine_rails/spec_runner.html.erb
|
@@ -281,6 +288,7 @@ files:
|
|
281
288
|
- spec_app/spec/javascripts/helpers/to_have_own_property.js.coffee
|
282
289
|
- spec_app/spec/javascripts/helpers/to_have_request_method.js.coffee
|
283
290
|
- spec_app/spec/javascripts/helpers/to_have_unhandled_rejections.coffee
|
291
|
+
- spec_app/spec/javascripts/helpers/to_match_selector.coffee
|
284
292
|
- spec_app/spec/javascripts/helpers/to_match_text.js.coffee
|
285
293
|
- spec_app/spec/javascripts/helpers/to_match_url.coffee
|
286
294
|
- spec_app/spec/javascripts/helpers/trigger.js.coffee
|
@@ -288,8 +296,11 @@ files:
|
|
288
296
|
- spec_app/spec/javascripts/support/jasmine.yml
|
289
297
|
- spec_app/spec/javascripts/up/browser_spec.js.coffee
|
290
298
|
- spec_app/spec/javascripts/up/bus_spec.js.coffee
|
291
|
-
- spec_app/spec/javascripts/up/classes/.keep
|
292
299
|
- spec_app/spec/javascripts/up/classes/cache_spec.js.coffee
|
300
|
+
- spec_app/spec/javascripts/up/classes/focus_tracker_spec.coffee
|
301
|
+
- spec_app/spec/javascripts/up/classes/request_spec.coffee
|
302
|
+
- spec_app/spec/javascripts/up/classes/store/memory_spec.js.coffee
|
303
|
+
- spec_app/spec/javascripts/up/classes/store/session_spec.js.coffee
|
293
304
|
- spec_app/spec/javascripts/up/dom_spec.js.coffee
|
294
305
|
- spec_app/spec/javascripts/up/feedback_spec.js.coffee
|
295
306
|
- spec_app/spec/javascripts/up/form_spec.js.coffee
|
@@ -300,6 +311,7 @@ files:
|
|
300
311
|
- spec_app/spec/javascripts/up/modal_spec.js.coffee
|
301
312
|
- spec_app/spec/javascripts/up/motion_spec.js.coffee
|
302
313
|
- spec_app/spec/javascripts/up/namespace_spec.js.coffee
|
314
|
+
- spec_app/spec/javascripts/up/params_spec.coffee
|
303
315
|
- spec_app/spec/javascripts/up/popup_spec.js.coffee
|
304
316
|
- spec_app/spec/javascripts/up/protocol_spec.js.coffee
|
305
317
|
- spec_app/spec/javascripts/up/proxy_spec.js.coffee
|
File without changes
|