futurism 1.2.0.pre9 → 1.2.0.pre10

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.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/Appraisals +24 -0
  3. data/Appraisals~ +24 -0
  4. data/CHANGELOG.md +370 -0
  5. data/Gemfile +15 -0
  6. data/Gemfile.lock +215 -0
  7. data/Gemfile~ +17 -0
  8. data/README.md +44 -9
  9. data/README.md~ +405 -0
  10. data/app/assets/javascripts/futurism.js +191 -0
  11. data/app/assets/javascripts/futurism.min.js +2 -0
  12. data/app/assets/javascripts/futurism.min.js.map +1 -0
  13. data/app/assets/javascripts/futurism.umd.js +188 -0
  14. data/app/assets/javascripts/futurism.umd.min.js +2 -0
  15. data/app/assets/javascripts/futurism.umd.min.js.map +1 -0
  16. data/{lib → app/channels}/futurism/channel.rb +1 -1
  17. data/bin/rails +25 -0
  18. data/bin/standardize +5 -0
  19. data/bin/test +5 -0
  20. data/futurism.gemspec +38 -0
  21. data/futurism.gemspec~ +30 -0
  22. data/lib/futurism/configuration.rb +21 -0
  23. data/lib/futurism/engine.rb +19 -0
  24. data/lib/futurism/helpers.rb +1 -1
  25. data/lib/futurism/importmap.rb +2 -0
  26. data/lib/futurism/version.rb +1 -1
  27. data/lib/futurism.rb +2 -1
  28. data/package.json +47 -0
  29. data/package.json~ +51 -0
  30. data/rollup.config.js +77 -0
  31. data/rollup.config.js~ +73 -0
  32. data/test/cable/channel_test.rb +319 -0
  33. data/test/dummy/app/channels/application_cable/channel.rb +4 -0
  34. data/test/dummy/app/channels/application_cable/connection.rb +4 -0
  35. data/test/dummy/app/controllers/application_controller.rb +2 -0
  36. data/test/dummy/app/controllers/home_controller.rb +6 -0
  37. data/test/dummy/app/controllers/posts_controller.rb +59 -0
  38. data/test/dummy/app/helpers/application_helper.rb +2 -0
  39. data/test/dummy/app/helpers/posts_helper.rb +2 -0
  40. data/test/dummy/app/jobs/application_job.rb +7 -0
  41. data/test/dummy/app/models/action_item.rb +2 -0
  42. data/test/dummy/app/models/application_record.rb +3 -0
  43. data/test/dummy/app/models/post.rb +2 -0
  44. data/test/dummy/config/application.rb +29 -0
  45. data/test/dummy/config/boot.rb +5 -0
  46. data/test/dummy/config/environment.rb +5 -0
  47. data/test/dummy/config/environments/development.rb +40 -0
  48. data/test/dummy/config/environments/production.rb +94 -0
  49. data/test/dummy/config/environments/test.rb +39 -0
  50. data/test/dummy/config/initializers/application_controller_renderer.rb +8 -0
  51. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  52. data/test/dummy/config/initializers/content_security_policy.rb +28 -0
  53. data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
  54. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  55. data/test/dummy/config/initializers/inflections.rb +16 -0
  56. data/test/dummy/config/initializers/mime_types.rb +4 -0
  57. data/test/dummy/config/initializers/wrap_parameters.rb +9 -0
  58. data/test/dummy/config/puma.rb +38 -0
  59. data/test/dummy/config/routes.rb +12 -0
  60. data/test/dummy/config/spring.rb +6 -0
  61. data/test/dummy/db/migrate/20200711122838_create_posts.rb +9 -0
  62. data/test/dummy/db/migrate/2021042923813_create_action_items.rb +9 -0
  63. data/test/dummy/db/schema.rb +27 -0
  64. data/test/futurism_test.rb +28 -0
  65. data/test/helper/helper_test.rb +206 -0
  66. data/test/integration/navigation_test.rb +7 -0
  67. data/test/resolver/controller/renderer_test.rb +120 -0
  68. data/test/resolver/controller_test.rb +26 -0
  69. data/test/test_helper.rb +14 -0
  70. data/yarn.lock +3263 -0
  71. metadata +122 -18
  72. data/config/routes.rb +0 -2
  73. data/lib/futurism/channel.rb~ +0 -31
  74. data/lib/futurism/helpers.rb~ +0 -112
  75. data/lib/futurism/options_transformer.rb~ +0 -0
  76. data/lib/futurism/resolver/controller/renderer.rb~ +0 -76
  77. data/lib/futurism/resolver/controller.rb~ +0 -17
  78. data/lib/futurism/resolver/resources.rb~ +0 -101
  79. data/lib/futurism/version.rb~ +0 -3
  80. data/lib/futurism.rb~ +0 -30
  81. data/lib/tasks/futurism_tasks.rake +0 -39
  82. data/lib/tasks/futurism_tasks.rake~ +0 -39
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6ad92d197e61f9ad1ea30e034716c5fac30675f4fb004394ab5e5793a4704e2f
4
- data.tar.gz: fe15b8a3eaa540bc68a527432c08e40abb20245d66d8f06aa547821307381229
3
+ metadata.gz: bf8bf2ac137e743328655dd568cfb8e1f08ba8569940c4725d99aded4260d647
4
+ data.tar.gz: 24133b168d693592678d9923c79aaddd0d86c4aafe9a5ddc16ac0c3c4df6f4d3
5
5
  SHA512:
6
- metadata.gz: f7766a3cd32b9b2215f3856aa84e2dbda8c13e022428bd03cbf565d00ce0b3f1692321b95ca714c81f1d98f014fa5a901f95b7172695a9402a6f1a8fe3f7af67
7
- data.tar.gz: c2f84d796dda405692cfd506443c6537dfbfd35811bc463a896833bb37a8a9806fd888c914818a6b4c9c72e9a64ba524836385d7ac17452ecb977a3336eca78b
6
+ metadata.gz: 4dba6848d31c9afb79eb4b69938eba79439181f36435f63223f6b8079223bda812de809b88554196a43444827aea1d804cc28522c1ff644a77f47bd539dad0bb
7
+ data.tar.gz: d390f65d1c1a79b402b9c554b209e0da309ba25c82c1ef744fc3aa459070bb6189a8a94b8f8ca4c45b8ba3d44bbc4490d02c32187440a0b877bfe16bed138200
data/Appraisals ADDED
@@ -0,0 +1,24 @@
1
+ if RUBY_VERSION >= "2.7"
2
+ appraise "rails-7-0" do
3
+ gem "rails", "7.0.1"
4
+ gem "sqlite3", "~> 1.4"
5
+ end
6
+ end
7
+
8
+ appraise "rails-6-1" do
9
+ gem "rails", "~> 6.1"
10
+ gem "sqlite3", "~> 1.4"
11
+ end
12
+
13
+ appraise "rails-6-0" do
14
+ gem "rails", "~> 6.0"
15
+ gem "sqlite3", "~> 1.4"
16
+ end
17
+
18
+ if RUBY_VERSION < "3.0"
19
+ appraise "rails-5-2" do
20
+ gem "rails", "~> 5.2"
21
+ gem "sqlite3", "~> 1.3", "< 1.4"
22
+ gem "action-cable-testing"
23
+ end
24
+ end
data/Appraisals~ ADDED
@@ -0,0 +1,24 @@
1
+ if RUBY_VERSION >= "2.7"
2
+ appraise "rails-7-0" do
3
+ gem "rails", "7.0.0"
4
+ gem "sqlite3", "~> 1.4"
5
+ end
6
+ end
7
+
8
+ appraise "rails-6-1" do
9
+ gem "rails", "~> 6.1"
10
+ gem "sqlite3", "~> 1.4"
11
+ end
12
+
13
+ appraise "rails-6-0" do
14
+ gem "rails", "~> 6.0"
15
+ gem "sqlite3", "~> 1.4"
16
+ end
17
+
18
+ if RUBY_VERSION < "3.0"
19
+ appraise "rails-5-2" do
20
+ gem "rails", "~> 5.2"
21
+ gem "sqlite3", "~> 1.3", "< 1.4"
22
+ gem "action-cable-testing"
23
+ end
24
+ end
data/CHANGELOG.md ADDED
@@ -0,0 +1,370 @@
1
+ # Changelog
2
+
3
+ ## [Unreleased](https://github.com/stimulusreflex/futurism/tree/HEAD)
4
+
5
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v1.2.0.pre9...HEAD)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - Update GH action [\#121](https://github.com/stimulusreflex/futurism/pull/121) ([nachiket87](https://github.com/nachiket87))
10
+
11
+ ## [v1.2.0.pre9](https://github.com/stimulusreflex/futurism/tree/v1.2.0.pre9) (2021-11-22)
12
+
13
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v1.2.0.pre8...v1.2.0.pre9)
14
+
15
+ ## [v1.2.0.pre8](https://github.com/stimulusreflex/futurism/tree/v1.2.0.pre8) (2021-11-10)
16
+
17
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v1.2.0.pre7...v1.2.0.pre8)
18
+
19
+ **Closed issues:**
20
+
21
+ - Introduce `unless` to bypass futurism completely [\#118](https://github.com/stimulusreflex/futurism/issues/118)
22
+
23
+ **Merged pull requests:**
24
+
25
+ - Bypass futurism [\#119](https://github.com/stimulusreflex/futurism/pull/119) ([julianrubisch](https://github.com/julianrubisch))
26
+
27
+ ## [v1.2.0.pre7](https://github.com/stimulusreflex/futurism/tree/v1.2.0.pre7) (2021-11-05)
28
+
29
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v1.2.0.pre6...v1.2.0.pre7)
30
+
31
+ ## [v1.2.0.pre6](https://github.com/stimulusreflex/futurism/tree/v1.2.0.pre6) (2021-10-27)
32
+
33
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v1.2.0.pre5...v1.2.0.pre6)
34
+
35
+ ## [v1.2.0.pre5](https://github.com/stimulusreflex/futurism/tree/v1.2.0.pre5) (2021-10-14)
36
+
37
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v1.2.0.pre4...v1.2.0.pre5)
38
+
39
+ ## [v1.2.0.pre4](https://github.com/stimulusreflex/futurism/tree/v1.2.0.pre4) (2021-10-07)
40
+
41
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v1.2.0.pre3...v1.2.0.pre4)
42
+
43
+ **Merged pull requests:**
44
+
45
+ - fix: run polyfill before eventListeners [\#116](https://github.com/stimulusreflex/futurism/pull/116) ([ParamagicDev](https://github.com/ParamagicDev))
46
+
47
+ ## [v1.2.0.pre3](https://github.com/stimulusreflex/futurism/tree/v1.2.0.pre3) (2021-10-04)
48
+
49
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v1.2.0.pre2...v1.2.0.pre3)
50
+
51
+ **Closed issues:**
52
+
53
+ - Custom built in elements appear to be broken on mobile safari \(again\) [\#114](https://github.com/stimulusreflex/futurism/issues/114)
54
+
55
+ ## [v1.2.0.pre2](https://github.com/stimulusreflex/futurism/tree/v1.2.0.pre2) (2021-10-01)
56
+
57
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v1.2.0.pre1...v1.2.0.pre2)
58
+
59
+ **Merged pull requests:**
60
+
61
+ - Bump nokogiri from 1.11.4 to 1.12.5 [\#112](https://github.com/stimulusreflex/futurism/pull/112) ([dependabot[bot]](https://github.com/apps/dependabot))
62
+
63
+ ## [v1.2.0.pre1](https://github.com/stimulusreflex/futurism/tree/v1.2.0.pre1) (2021-09-14)
64
+
65
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v1.1.0...v1.2.0.pre1)
66
+
67
+ **Merged pull requests:**
68
+
69
+ - Adapt to new wire format [\#109](https://github.com/stimulusreflex/futurism/pull/109) ([julianrubisch](https://github.com/julianrubisch))
70
+
71
+ ## [v1.1.0](https://github.com/stimulusreflex/futurism/tree/v1.1.0) (2021-09-14)
72
+
73
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v1.0.1...v1.1.0)
74
+
75
+ **Closed issues:**
76
+
77
+ - Pass contextual arguments to the futurize yield block [\#104](https://github.com/stimulusreflex/futurism/issues/104)
78
+
79
+ **Merged pull requests:**
80
+
81
+ - Contextual placeholder arguments [\#108](https://github.com/stimulusreflex/futurism/pull/108) ([julianrubisch](https://github.com/julianrubisch))
82
+ - Delete .DS\_Store [\#107](https://github.com/stimulusreflex/futurism/pull/107) ([dorianmariefr](https://github.com/dorianmariefr))
83
+
84
+ ## [v1.0.1](https://github.com/stimulusreflex/futurism/tree/v1.0.1) (2021-08-25)
85
+
86
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v1.0.0...v1.0.1)
87
+
88
+ ## [v1.0.0](https://github.com/stimulusreflex/futurism/tree/v1.0.0) (2021-08-25)
89
+
90
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v0.8.0...v1.0.0)
91
+
92
+ **Closed issues:**
93
+
94
+ - Fully support any GlobalId-able entity [\#91](https://github.com/stimulusreflex/futurism/issues/91)
95
+ - Name collision if your project uses `Element` [\#90](https://github.com/stimulusreflex/futurism/issues/90)
96
+ - Better Error Handling if routes are not "recognized" [\#89](https://github.com/stimulusreflex/futurism/issues/89)
97
+ - Optionally allow broadcasting after each partial is generated [\#79](https://github.com/stimulusreflex/futurism/issues/79)
98
+ - Make placeholder block optional [\#76](https://github.com/stimulusreflex/futurism/issues/76)
99
+ - Retry [\#75](https://github.com/stimulusreflex/futurism/issues/75)
100
+ - Include js-based embeds into posts [\#67](https://github.com/stimulusreflex/futurism/issues/67)
101
+ - Better Error Handling [\#63](https://github.com/stimulusreflex/futurism/issues/63)
102
+
103
+ **Merged pull requests:**
104
+
105
+ - Broadcast\_each [\#106](https://github.com/stimulusreflex/futurism/pull/106) ([julianrubisch](https://github.com/julianrubisch))
106
+ - Bump path-parse from 1.0.6 to 1.0.7 in /javascript [\#105](https://github.com/stimulusreflex/futurism/pull/105) ([dependabot[bot]](https://github.com/apps/dependabot))
107
+ - Eager load if no placeholder block is present [\#103](https://github.com/stimulusreflex/futurism/pull/103) ([julianrubisch](https://github.com/julianrubisch))
108
+ - Bump glob-parent from 5.1.1 to 5.1.2 in /javascript [\#102](https://github.com/stimulusreflex/futurism/pull/102) ([dependabot[bot]](https://github.com/apps/dependabot))
109
+ - Bump nokogiri from 1.11.3 to 1.11.4 [\#101](https://github.com/stimulusreflex/futurism/pull/101) ([dependabot[bot]](https://github.com/apps/dependabot))
110
+ - Bump handlebars from 4.7.6 to 4.7.7 in /javascript [\#100](https://github.com/stimulusreflex/futurism/pull/100) ([dependabot[bot]](https://github.com/apps/dependabot))
111
+ - Bump lodash from 4.17.19 to 4.17.21 in /javascript [\#99](https://github.com/stimulusreflex/futurism/pull/99) ([dependabot[bot]](https://github.com/apps/dependabot))
112
+ - Bump actionpack from 6.1.3.1 to 6.1.3.2 [\#98](https://github.com/stimulusreflex/futurism/pull/98) ([dependabot[bot]](https://github.com/apps/dependabot))
113
+ - Better errors [\#97](https://github.com/stimulusreflex/futurism/pull/97) ([rickychilcott](https://github.com/rickychilcott))
114
+ - Bump rexml from 3.2.4 to 3.2.5 [\#96](https://github.com/stimulusreflex/futurism/pull/96) ([dependabot[bot]](https://github.com/apps/dependabot))
115
+ - Use rails convention to underscore collection class names [\#95](https://github.com/stimulusreflex/futurism/pull/95) ([rickychilcott](https://github.com/rickychilcott))
116
+ - Support GlobalId objects [\#94](https://github.com/stimulusreflex/futurism/pull/94) ([rickychilcott](https://github.com/rickychilcott))
117
+ - Better recognize urls [\#93](https://github.com/stimulusreflex/futurism/pull/93) ([rickychilcott](https://github.com/rickychilcott))
118
+ - Rename Element to WrappingFuturismElement [\#92](https://github.com/stimulusreflex/futurism/pull/92) ([rickychilcott](https://github.com/rickychilcott))
119
+ - Retry to resolve an element [\#81](https://github.com/stimulusreflex/futurism/pull/81) ([julianrubisch](https://github.com/julianrubisch))
120
+
121
+ ## [v0.8.0](https://github.com/stimulusreflex/futurism/tree/v0.8.0) (2021-04-23)
122
+
123
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v0.7.2...v0.8.0)
124
+
125
+ **Closed issues:**
126
+
127
+ - Adapt for Turbo [\#82](https://github.com/stimulusreflex/futurism/issues/82)
128
+ - Use locate\_many to avoid N+1 [\#78](https://github.com/stimulusreflex/futurism/issues/78)
129
+ - Discussion: Futurism Improvements [\#64](https://github.com/stimulusreflex/futurism/issues/64)
130
+
131
+ **Merged pull requests:**
132
+
133
+ - Add turbo events \#82 [\#88](https://github.com/stimulusreflex/futurism/pull/88) ([julianrubisch](https://github.com/julianrubisch))
134
+ - docs: add mansakondo as a contributor [\#87](https://github.com/stimulusreflex/futurism/pull/87) ([allcontributors[bot]](https://github.com/apps/allcontributors))
135
+ - Make collection rendering work with any Ruby class [\#86](https://github.com/stimulusreflex/futurism/pull/86) ([mansakondo](https://github.com/mansakondo))
136
+ - Bump y18n from 4.0.0 to 4.0.1 in /javascript [\#85](https://github.com/stimulusreflex/futurism/pull/85) ([dependabot[bot]](https://github.com/apps/dependabot))
137
+ - Bump activerecord from 6.0.3.4 to 6.1.3 [\#84](https://github.com/stimulusreflex/futurism/pull/84) ([dependabot[bot]](https://github.com/apps/dependabot))
138
+ - Bump actionpack from 6.0.3.4 to 6.1.3 [\#83](https://github.com/stimulusreflex/futurism/pull/83) ([dependabot[bot]](https://github.com/apps/dependabot))
139
+ - Use locate\_many to avoid N+1 [\#80](https://github.com/stimulusreflex/futurism/pull/80) ([julianrubisch](https://github.com/julianrubisch))
140
+ - Bump nokogiri from 1.10.10 to 1.11.0 [\#74](https://github.com/stimulusreflex/futurism/pull/74) ([dependabot[bot]](https://github.com/apps/dependabot))
141
+ - Update Appraisals [\#73](https://github.com/stimulusreflex/futurism/pull/73) ([julianrubisch](https://github.com/julianrubisch))
142
+
143
+ ## [v0.7.2](https://github.com/stimulusreflex/futurism/tree/v0.7.2) (2020-12-07)
144
+
145
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v0.7.1...v0.7.2)
146
+
147
+ **Merged pull requests:**
148
+
149
+ - Allow rendered partials to use the `partial_counter` variable [\#71](https://github.com/stimulusreflex/futurism/pull/71) ([julianrubisch](https://github.com/julianrubisch))
150
+
151
+ ## [v0.7.1](https://github.com/stimulusreflex/futurism/tree/v0.7.1) (2020-11-30)
152
+
153
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v0.7.0...v0.7.1)
154
+
155
+ **Closed issues:**
156
+
157
+ - Overriding the controller [\#68](https://github.com/stimulusreflex/futurism/issues/68)
158
+
159
+ **Merged pull requests:**
160
+
161
+ - Lazily load default controller [\#70](https://github.com/stimulusreflex/futurism/pull/70) ([rickychilcott](https://github.com/rickychilcott))
162
+
163
+ ## [v0.7.0](https://github.com/stimulusreflex/futurism/tree/v0.7.0) (2020-11-29)
164
+
165
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v0.6.0...v0.7.0)
166
+
167
+ **Merged pull requests:**
168
+
169
+ - Pass url on each request and parse to build params hash [\#69](https://github.com/stimulusreflex/futurism/pull/69) ([rickychilcott](https://github.com/rickychilcott))
170
+
171
+ ## [v0.6.0](https://github.com/stimulusreflex/futurism/tree/v0.6.0) (2020-10-12)
172
+
173
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v0.5.4...v0.6.0)
174
+
175
+ **Closed issues:**
176
+
177
+ - ApplicationController context [\#54](https://github.com/stimulusreflex/futurism/issues/54)
178
+ - PG::InvalidParameterValue - ERROR: payload string too long [\#51](https://github.com/stimulusreflex/futurism/issues/51)
179
+
180
+ **Merged pull requests:**
181
+
182
+ - Add instructions to setup local environment [\#65](https://github.com/stimulusreflex/futurism/pull/65) ([rickychilcott](https://github.com/rickychilcott))
183
+ - Allow passing in controller [\#62](https://github.com/stimulusreflex/futurism/pull/62) ([rickychilcott](https://github.com/rickychilcott))
184
+
185
+ ## [v0.5.4](https://github.com/stimulusreflex/futurism/tree/v0.5.4) (2020-10-09)
186
+
187
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v0.5.3...v0.5.4)
188
+
189
+ ## [v0.5.3](https://github.com/stimulusreflex/futurism/tree/v0.5.3) (2020-10-09)
190
+
191
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v0.5.2...v0.5.3)
192
+
193
+ **Merged pull requests:**
194
+
195
+ - Add skip\_in\_test flag [\#61](https://github.com/stimulusreflex/futurism/pull/61) ([julianrubisch](https://github.com/julianrubisch))
196
+
197
+ ## [v0.5.2](https://github.com/stimulusreflex/futurism/tree/v0.5.2) (2020-10-06)
198
+
199
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v0.5.1...v0.5.2)
200
+
201
+ **Implemented enhancements:**
202
+
203
+ - Question: eager trigger futurism [\#42](https://github.com/stimulusreflex/futurism/issues/42)
204
+ - Restore placeholders before turbolinks caches [\#23](https://github.com/stimulusreflex/futurism/issues/23)
205
+
206
+ **Merged pull requests:**
207
+
208
+ - docs: add domchristie as a contributor [\#60](https://github.com/stimulusreflex/futurism/pull/60) ([allcontributors[bot]](https://github.com/apps/allcontributors))
209
+ - docs: add rickychilcott as a contributor [\#58](https://github.com/stimulusreflex/futurism/pull/58) ([allcontributors[bot]](https://github.com/apps/allcontributors))
210
+ - Reset before turbolinks caching [\#57](https://github.com/stimulusreflex/futurism/pull/57) ([julianrubisch](https://github.com/julianrubisch))
211
+ - 42 eager loading [\#56](https://github.com/stimulusreflex/futurism/pull/56) ([julianrubisch](https://github.com/julianrubisch))
212
+
213
+ ## [v0.5.1](https://github.com/stimulusreflex/futurism/tree/v0.5.1) (2020-09-27)
214
+
215
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v0.5.0...v0.5.1)
216
+
217
+ **Merged pull requests:**
218
+
219
+ - Fix global ID locating of new records [\#55](https://github.com/stimulusreflex/futurism/pull/55) ([julianrubisch](https://github.com/julianrubisch))
220
+
221
+ ## [v0.5.0](https://github.com/stimulusreflex/futurism/tree/v0.5.0) (2020-09-22)
222
+
223
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v0.4.1...v0.5.0)
224
+
225
+ **Closed issues:**
226
+
227
+ - Deep transform locals hash [\#38](https://github.com/stimulusreflex/futurism/issues/38)
228
+
229
+ **Merged pull requests:**
230
+
231
+ - 38 deep transform locals hash [\#53](https://github.com/stimulusreflex/futurism/pull/53) ([julianrubisch](https://github.com/julianrubisch))
232
+ - Bump actionview from 6.0.3.2 to 6.0.3.3 [\#52](https://github.com/stimulusreflex/futurism/pull/52) ([dependabot[bot]](https://github.com/apps/dependabot))
233
+
234
+ ## [v0.4.1](https://github.com/stimulusreflex/futurism/tree/v0.4.1) (2020-09-09)
235
+
236
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v0.4.0...v0.4.1)
237
+
238
+ **Implemented enhancements:**
239
+
240
+ - Allow passing data attributes into html\_options [\#43](https://github.com/stimulusreflex/futurism/issues/43)
241
+ - Identify channel \(cf StimulusReflex\) [\#34](https://github.com/stimulusreflex/futurism/issues/34)
242
+
243
+ **Fixed bugs:**
244
+
245
+ - ActiveStorage image url isn't correct on localhost [\#39](https://github.com/stimulusreflex/futurism/issues/39)
246
+
247
+ **Merged pull requests:**
248
+
249
+ - Add Gotcha hint to README \#39 [\#50](https://github.com/stimulusreflex/futurism/pull/50) ([julianrubisch](https://github.com/julianrubisch))
250
+ - docs: add scottbarrow as a contributor [\#49](https://github.com/stimulusreflex/futurism/pull/49) ([allcontributors[bot]](https://github.com/apps/allcontributors))
251
+ - 43 data attributes html options [\#48](https://github.com/stimulusreflex/futurism/pull/48) ([julianrubisch](https://github.com/julianrubisch))
252
+ - Add data attributes from html options [\#47](https://github.com/stimulusreflex/futurism/pull/47) ([scottbarrow](https://github.com/scottbarrow))
253
+ - 34 identify channel [\#46](https://github.com/stimulusreflex/futurism/pull/46) ([julianrubisch](https://github.com/julianrubisch))
254
+ - docs: add vieditcom as a contributor [\#45](https://github.com/stimulusreflex/futurism/pull/45) ([allcontributors[bot]](https://github.com/apps/allcontributors))
255
+ - Update README.md [\#44](https://github.com/stimulusreflex/futurism/pull/44) ([vieditcom](https://github.com/vieditcom))
256
+
257
+ ## [v0.4.0](https://github.com/stimulusreflex/futurism/tree/v0.4.0) (2020-08-24)
258
+
259
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v0.3.3...v0.4.0)
260
+
261
+ **Merged pull requests:**
262
+
263
+ - Fix partial shorthand bug [\#41](https://github.com/stimulusreflex/futurism/pull/41) ([leastbad](https://github.com/leastbad))
264
+ - docs: add leastbad as a contributor [\#40](https://github.com/stimulusreflex/futurism/pull/40) ([allcontributors[bot]](https://github.com/apps/allcontributors))
265
+ - Refactor element - use SGIDs where possible to minimize over-the-wire size [\#37](https://github.com/stimulusreflex/futurism/pull/37) ([julianrubisch](https://github.com/julianrubisch))
266
+
267
+ ## [v0.3.3](https://github.com/stimulusreflex/futurism/tree/v0.3.3) (2020-07-30)
268
+
269
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v0.3.2...v0.3.3)
270
+
271
+ **Fixed bugs:**
272
+
273
+ - Generated URLs start with /cable [\#20](https://github.com/stimulusreflex/futurism/issues/20)
274
+
275
+ **Merged pull requests:**
276
+
277
+ - 20 fix generated urls [\#35](https://github.com/stimulusreflex/futurism/pull/35) ([julianrubisch](https://github.com/julianrubisch))
278
+
279
+ ## [v0.3.2](https://github.com/stimulusreflex/futurism/tree/v0.3.2) (2020-07-27)
280
+
281
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v0.3.1...v0.3.2)
282
+
283
+ **Implemented enhancements:**
284
+
285
+ - Allow to pass locals when rendering a collection [\#27](https://github.com/stimulusreflex/futurism/issues/27)
286
+
287
+ **Merged pull requests:**
288
+
289
+ - Update bug report template to feature 'Futurism' [\#33](https://github.com/stimulusreflex/futurism/pull/33) ([marcoroth](https://github.com/marcoroth))
290
+ - Allow to specify :as when rendering a collection [\#32](https://github.com/stimulusreflex/futurism/pull/32) ([marcoroth](https://github.com/marcoroth))
291
+ - docs: add marcoroth as a contributor [\#31](https://github.com/stimulusreflex/futurism/pull/31) ([allcontributors[bot]](https://github.com/apps/allcontributors))
292
+ - docs: add sas1ni69 as a contributor [\#30](https://github.com/stimulusreflex/futurism/pull/30) ([allcontributors[bot]](https://github.com/apps/allcontributors))
293
+ - uses AR Collection klass method [\#29](https://github.com/stimulusreflex/futurism/pull/29) ([sas1ni69](https://github.com/sas1ni69))
294
+ - Allow to pass locals when rendering a collection [\#28](https://github.com/stimulusreflex/futurism/pull/28) ([marcoroth](https://github.com/marcoroth))
295
+
296
+ ## [v0.3.1](https://github.com/stimulusreflex/futurism/tree/v0.3.1) (2020-07-25)
297
+
298
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v0.3.0...v0.3.1)
299
+
300
+ **Implemented enhancements:**
301
+
302
+ - Emit futurism:appeared event after morphing is done [\#19](https://github.com/stimulusreflex/futurism/issues/19)
303
+
304
+ **Closed issues:**
305
+
306
+ - NoMethodError - undefined method `map' for nil:NilClass [\#22](https://github.com/stimulusreflex/futurism/issues/22)
307
+
308
+ **Merged pull requests:**
309
+
310
+ - enable passing of html\_options hash [\#26](https://github.com/stimulusreflex/futurism/pull/26) ([leastbad](https://github.com/leastbad))
311
+ - docs: add fractaledmind as a contributor [\#25](https://github.com/stimulusreflex/futurism/pull/25) ([allcontributors[bot]](https://github.com/apps/allcontributors))
312
+ - Dispatch futurism:appear method [\#24](https://github.com/stimulusreflex/futurism/pull/24) ([fractaledmind](https://github.com/fractaledmind))
313
+ - docs: add mepatterson as a contributor [\#21](https://github.com/stimulusreflex/futurism/pull/21) ([allcontributors[bot]](https://github.com/apps/allcontributors))
314
+ - add LI support to Rails helper [\#17](https://github.com/stimulusreflex/futurism/pull/17) ([leastbad](https://github.com/leastbad))
315
+
316
+ ## [v0.3.0](https://github.com/stimulusreflex/futurism/tree/v0.3.0) (2020-07-22)
317
+
318
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v0.2.0...v0.3.0)
319
+
320
+ **Merged pull requests:**
321
+
322
+ - Allow futurizing collections via partial render [\#18](https://github.com/stimulusreflex/futurism/pull/18) ([julianrubisch](https://github.com/julianrubisch))
323
+
324
+ ## [v0.2.0](https://github.com/stimulusreflex/futurism/tree/v0.2.0) (2020-07-21)
325
+
326
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v0.1.4...v0.2.0)
327
+
328
+ **Merged pull requests:**
329
+
330
+ - docs: add leastbad as a contributor [\#16](https://github.com/stimulusreflex/futurism/pull/16) ([allcontributors[bot]](https://github.com/apps/allcontributors))
331
+ - list element [\#15](https://github.com/stimulusreflex/futurism/pull/15) ([leastbad](https://github.com/leastbad))
332
+ - Allow to use arbitrary partials [\#12](https://github.com/stimulusreflex/futurism/pull/12) ([julianrubisch](https://github.com/julianrubisch))
333
+
334
+ ## [v0.1.4](https://github.com/stimulusreflex/futurism/tree/v0.1.4) (2020-07-18)
335
+
336
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v0.1.2...v0.1.4)
337
+
338
+ **Merged pull requests:**
339
+
340
+ - Add safari polyfill [\#14](https://github.com/stimulusreflex/futurism/pull/14) ([julianrubisch](https://github.com/julianrubisch))
341
+ - docs: add excid3 as a contributor [\#13](https://github.com/stimulusreflex/futurism/pull/13) ([allcontributors[bot]](https://github.com/apps/allcontributors))
342
+ - Extract JS code to dedicated npm package [\#11](https://github.com/stimulusreflex/futurism/pull/11) ([julianrubisch](https://github.com/julianrubisch))
343
+ - docs: add andrewmcodes as a contributor [\#10](https://github.com/stimulusreflex/futurism/pull/10) ([allcontributors[bot]](https://github.com/apps/allcontributors))
344
+
345
+ ## [v0.1.2](https://github.com/stimulusreflex/futurism/tree/v0.1.2) (2020-07-12)
346
+
347
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v0.1.1...v0.1.2)
348
+
349
+ **Merged pull requests:**
350
+
351
+ - Testing [\#8](https://github.com/stimulusreflex/futurism/pull/8) ([julianrubisch](https://github.com/julianrubisch))
352
+ - docs: add ParamagicDev as a contributor [\#7](https://github.com/stimulusreflex/futurism/pull/7) ([allcontributors[bot]](https://github.com/apps/allcontributors))
353
+ - feat\(active\_record\): Add ActiveRecord for testing. [\#6](https://github.com/stimulusreflex/futurism/pull/6) ([ParamagicDev](https://github.com/ParamagicDev))
354
+ - docs: add darkrubyist as a contributor [\#5](https://github.com/stimulusreflex/futurism/pull/5) ([allcontributors[bot]](https://github.com/apps/allcontributors))
355
+ - docs: add darkrubyist as a contributor [\#4](https://github.com/stimulusreflex/futurism/pull/4) ([allcontributors[bot]](https://github.com/apps/allcontributors))
356
+ - docs: add julianrubisch as a contributor [\#3](https://github.com/stimulusreflex/futurism/pull/3) ([allcontributors[bot]](https://github.com/apps/allcontributors))
357
+ - Fix pipeline errors [\#2](https://github.com/stimulusreflex/futurism/pull/2) ([julianrubisch](https://github.com/julianrubisch))
358
+ - Created a futurism\_utils file to DRY HTMLElement code [\#1](https://github.com/stimulusreflex/futurism/pull/1) ([dark88888](https://github.com/dark88888))
359
+
360
+ ## [v0.1.1](https://github.com/stimulusreflex/futurism/tree/v0.1.1) (2020-07-09)
361
+
362
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/v0.1.0...v0.1.1)
363
+
364
+ ## [v0.1.0](https://github.com/stimulusreflex/futurism/tree/v0.1.0) (2020-07-09)
365
+
366
+ [Full Changelog](https://github.com/stimulusreflex/futurism/compare/354945a121c4647ce3f6cbfa16ebd846dee62a3e...v0.1.0)
367
+
368
+
369
+
370
+ \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
data/Gemfile ADDED
@@ -0,0 +1,15 @@
1
+ source "https://rubygems.org"
2
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3
+
4
+ # Declare your gem's dependencies in futurism.gemspec.
5
+ # Bundler will treat runtime dependencies like base dependencies, and
6
+ # development dependencies will be added by default to the :development group.
7
+ gemspec
8
+
9
+ # Declare any dependencies that are still in development here instead of in
10
+ # your gemspec. These might include edge Rails or gems from your path or
11
+ # Git. Remember to move these dependencies to your gemspec before releasing
12
+ # your gem to rubygems.org.
13
+
14
+ # To use a debugger
15
+ # gem 'byebug', group: [:development, :test]
data/Gemfile.lock ADDED
@@ -0,0 +1,215 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ futurism (1.2.0.pre10)
5
+ cable_ready (= 5.0.0.pre9)
6
+ rack (~> 2.0)
7
+ rails (>= 5.2)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ actioncable (7.0.2.3)
13
+ actionpack (= 7.0.2.3)
14
+ activesupport (= 7.0.2.3)
15
+ nio4r (~> 2.0)
16
+ websocket-driver (>= 0.6.1)
17
+ actionmailbox (7.0.2.3)
18
+ actionpack (= 7.0.2.3)
19
+ activejob (= 7.0.2.3)
20
+ activerecord (= 7.0.2.3)
21
+ activestorage (= 7.0.2.3)
22
+ activesupport (= 7.0.2.3)
23
+ mail (>= 2.7.1)
24
+ net-imap
25
+ net-pop
26
+ net-smtp
27
+ actionmailer (7.0.2.3)
28
+ actionpack (= 7.0.2.3)
29
+ actionview (= 7.0.2.3)
30
+ activejob (= 7.0.2.3)
31
+ activesupport (= 7.0.2.3)
32
+ mail (~> 2.5, >= 2.5.4)
33
+ net-imap
34
+ net-pop
35
+ net-smtp
36
+ rails-dom-testing (~> 2.0)
37
+ actionpack (7.0.2.3)
38
+ actionview (= 7.0.2.3)
39
+ activesupport (= 7.0.2.3)
40
+ rack (~> 2.0, >= 2.2.0)
41
+ rack-test (>= 0.6.3)
42
+ rails-dom-testing (~> 2.0)
43
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
44
+ actiontext (7.0.2.3)
45
+ actionpack (= 7.0.2.3)
46
+ activerecord (= 7.0.2.3)
47
+ activestorage (= 7.0.2.3)
48
+ activesupport (= 7.0.2.3)
49
+ globalid (>= 0.6.0)
50
+ nokogiri (>= 1.8.5)
51
+ actionview (7.0.2.3)
52
+ activesupport (= 7.0.2.3)
53
+ builder (~> 3.1)
54
+ erubi (~> 1.4)
55
+ rails-dom-testing (~> 2.0)
56
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
57
+ activejob (7.0.2.3)
58
+ activesupport (= 7.0.2.3)
59
+ globalid (>= 0.3.6)
60
+ activemodel (7.0.2.3)
61
+ activesupport (= 7.0.2.3)
62
+ activerecord (7.0.2.3)
63
+ activemodel (= 7.0.2.3)
64
+ activesupport (= 7.0.2.3)
65
+ activestorage (7.0.2.3)
66
+ actionpack (= 7.0.2.3)
67
+ activejob (= 7.0.2.3)
68
+ activerecord (= 7.0.2.3)
69
+ activesupport (= 7.0.2.3)
70
+ marcel (~> 1.0)
71
+ mini_mime (>= 1.1.0)
72
+ activesupport (7.0.2.3)
73
+ concurrent-ruby (~> 1.0, >= 1.0.2)
74
+ i18n (>= 1.6, < 2)
75
+ minitest (>= 5.1)
76
+ tzinfo (~> 2.0)
77
+ appraisal (2.4.1)
78
+ bundler
79
+ rake
80
+ thor (>= 0.14.0)
81
+ ast (2.4.1)
82
+ builder (3.2.4)
83
+ cable_ready (5.0.0.pre9)
84
+ actioncable (>= 5.2)
85
+ actionpack (>= 5.2)
86
+ actionview (>= 5.2)
87
+ activerecord (>= 5.2)
88
+ activesupport (>= 5.2)
89
+ railties (>= 5.2)
90
+ thread-local (>= 1.1.0)
91
+ coderay (1.1.3)
92
+ concurrent-ruby (1.1.10)
93
+ crass (1.0.6)
94
+ digest (3.1.0)
95
+ erubi (1.10.0)
96
+ globalid (1.0.0)
97
+ activesupport (>= 5.0)
98
+ i18n (1.10.0)
99
+ concurrent-ruby (~> 1.0)
100
+ loofah (2.16.0)
101
+ crass (~> 1.0.2)
102
+ nokogiri (>= 1.5.9)
103
+ mail (2.7.1)
104
+ mini_mime (>= 0.1.1)
105
+ marcel (1.0.2)
106
+ method_source (0.9.2)
107
+ mini_mime (1.1.2)
108
+ mini_portile2 (2.8.0)
109
+ minitest (5.15.0)
110
+ net-imap (0.2.3)
111
+ digest
112
+ net-protocol
113
+ strscan
114
+ net-pop (0.1.1)
115
+ digest
116
+ net-protocol
117
+ timeout
118
+ net-protocol (0.1.3)
119
+ timeout
120
+ net-smtp (0.3.1)
121
+ digest
122
+ net-protocol
123
+ timeout
124
+ nio4r (2.5.8)
125
+ nokogiri (1.13.3)
126
+ mini_portile2 (~> 2.8.0)
127
+ racc (~> 1.4)
128
+ parallel (1.19.2)
129
+ parser (2.7.2.0)
130
+ ast (~> 2.4.1)
131
+ pry (0.12.2)
132
+ coderay (~> 1.1.0)
133
+ method_source (~> 0.9.0)
134
+ racc (1.6.0)
135
+ rack (2.2.3)
136
+ rack-test (1.1.0)
137
+ rack (>= 1.0, < 3)
138
+ rails (7.0.2.3)
139
+ actioncable (= 7.0.2.3)
140
+ actionmailbox (= 7.0.2.3)
141
+ actionmailer (= 7.0.2.3)
142
+ actionpack (= 7.0.2.3)
143
+ actiontext (= 7.0.2.3)
144
+ actionview (= 7.0.2.3)
145
+ activejob (= 7.0.2.3)
146
+ activemodel (= 7.0.2.3)
147
+ activerecord (= 7.0.2.3)
148
+ activestorage (= 7.0.2.3)
149
+ activesupport (= 7.0.2.3)
150
+ bundler (>= 1.15.0)
151
+ railties (= 7.0.2.3)
152
+ rails-dom-testing (2.0.3)
153
+ activesupport (>= 4.2.0)
154
+ nokogiri (>= 1.6)
155
+ rails-html-sanitizer (1.4.2)
156
+ loofah (~> 2.3)
157
+ railties (7.0.2.3)
158
+ actionpack (= 7.0.2.3)
159
+ activesupport (= 7.0.2.3)
160
+ method_source
161
+ rake (>= 12.2)
162
+ thor (~> 1.0)
163
+ zeitwerk (~> 2.5)
164
+ rainbow (3.0.0)
165
+ rake (13.0.6)
166
+ regexp_parser (1.8.1)
167
+ rexml (3.2.5)
168
+ rubocop (0.92.0)
169
+ parallel (~> 1.10)
170
+ parser (>= 2.7.1.5)
171
+ rainbow (>= 2.2.2, < 4.0)
172
+ regexp_parser (>= 1.7)
173
+ rexml
174
+ rubocop-ast (>= 0.5.0)
175
+ ruby-progressbar (~> 1.7)
176
+ unicode-display_width (>= 1.4.0, < 2.0)
177
+ rubocop-ast (0.7.1)
178
+ parser (>= 2.7.1.5)
179
+ rubocop-performance (1.8.1)
180
+ rubocop (>= 0.87.0)
181
+ rubocop-ast (>= 0.4.0)
182
+ ruby-progressbar (1.10.1)
183
+ sqlite3 (1.4.2)
184
+ standard (0.7)
185
+ rubocop (= 0.92)
186
+ rubocop-performance (= 1.8.1)
187
+ standardrb (1.0.0)
188
+ standard
189
+ strscan (3.0.1)
190
+ thor (1.2.1)
191
+ thread-local (1.1.0)
192
+ timeout (0.2.0)
193
+ tzinfo (2.0.4)
194
+ concurrent-ruby (~> 1.0)
195
+ unicode-display_width (1.7.0)
196
+ websocket-driver (0.7.5)
197
+ websocket-extensions (>= 0.1.0)
198
+ websocket-extensions (0.1.5)
199
+ zeitwerk (2.5.4)
200
+
201
+ PLATFORMS
202
+ ruby
203
+
204
+ DEPENDENCIES
205
+ appraisal
206
+ bundler (~> 2.0)
207
+ futurism!
208
+ nokogiri
209
+ pry (~> 0.12.2)
210
+ rake (~> 13.0)
211
+ sqlite3
212
+ standardrb
213
+
214
+ BUNDLED WITH
215
+ 2.2.32