Skip to content
This repository was archived by the owner on Dec 14, 2021. It is now read-only.

Commit 24aa364

Browse files
committed
Version 1.10.0. The end.
1 parent 2eebead commit 24aa364

File tree

4 files changed

+113
-96
lines changed

4 files changed

+113
-96
lines changed

Gemfile.lock

Lines changed: 97 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -1,146 +1,149 @@
11
PATH
22
remote: .
33
specs:
4-
jquery-slick-rails (1.9.0)
4+
jquery-slick-rails (1.10.0)
55
railties (>= 3.1)
66

77
GEM
88
remote: http://rubygems.org/
99
specs:
10-
actioncable (6.0.3.4)
11-
actionpack (= 6.0.3.4)
10+
actioncable (7.0.0.rc1)
11+
actionpack (= 7.0.0.rc1)
12+
activesupport (= 7.0.0.rc1)
1213
nio4r (~> 2.0)
1314
websocket-driver (>= 0.6.1)
14-
actionmailbox (6.0.3.4)
15-
actionpack (= 6.0.3.4)
16-
activejob (= 6.0.3.4)
17-
activerecord (= 6.0.3.4)
18-
activestorage (= 6.0.3.4)
19-
activesupport (= 6.0.3.4)
15+
actionmailbox (7.0.0.rc1)
16+
actionpack (= 7.0.0.rc1)
17+
activejob (= 7.0.0.rc1)
18+
activerecord (= 7.0.0.rc1)
19+
activestorage (= 7.0.0.rc1)
20+
activesupport (= 7.0.0.rc1)
2021
mail (>= 2.7.1)
21-
actionmailer (6.0.3.4)
22-
actionpack (= 6.0.3.4)
23-
actionview (= 6.0.3.4)
24-
activejob (= 6.0.3.4)
22+
actionmailer (7.0.0.rc1)
23+
actionpack (= 7.0.0.rc1)
24+
actionview (= 7.0.0.rc1)
25+
activejob (= 7.0.0.rc1)
26+
activesupport (= 7.0.0.rc1)
2527
mail (~> 2.5, >= 2.5.4)
2628
rails-dom-testing (~> 2.0)
27-
actionpack (6.0.3.4)
28-
actionview (= 6.0.3.4)
29-
activesupport (= 6.0.3.4)
30-
rack (~> 2.0, >= 2.0.8)
29+
actionpack (7.0.0.rc1)
30+
actionview (= 7.0.0.rc1)
31+
activesupport (= 7.0.0.rc1)
32+
rack (~> 2.0, >= 2.2.0)
3133
rack-test (>= 0.6.3)
3234
rails-dom-testing (~> 2.0)
3335
rails-html-sanitizer (~> 1.0, >= 1.2.0)
34-
actiontext (6.0.3.4)
35-
actionpack (= 6.0.3.4)
36-
activerecord (= 6.0.3.4)
37-
activestorage (= 6.0.3.4)
38-
activesupport (= 6.0.3.4)
36+
actiontext (7.0.0.rc1)
37+
actionpack (= 7.0.0.rc1)
38+
activerecord (= 7.0.0.rc1)
39+
activestorage (= 7.0.0.rc1)
40+
activesupport (= 7.0.0.rc1)
41+
globalid (>= 0.6.0)
3942
nokogiri (>= 1.8.5)
40-
actionview (6.0.3.4)
41-
activesupport (= 6.0.3.4)
43+
actionview (7.0.0.rc1)
44+
activesupport (= 7.0.0.rc1)
4245
builder (~> 3.1)
4346
erubi (~> 1.4)
4447
rails-dom-testing (~> 2.0)
4548
rails-html-sanitizer (~> 1.1, >= 1.2.0)
46-
activejob (6.0.3.4)
47-
activesupport (= 6.0.3.4)
49+
activejob (7.0.0.rc1)
50+
activesupport (= 7.0.0.rc1)
4851
globalid (>= 0.3.6)
49-
activemodel (6.0.3.4)
50-
activesupport (= 6.0.3.4)
51-
activerecord (6.0.3.4)
52-
activemodel (= 6.0.3.4)
53-
activesupport (= 6.0.3.4)
54-
activestorage (6.0.3.4)
55-
actionpack (= 6.0.3.4)
56-
activejob (= 6.0.3.4)
57-
activerecord (= 6.0.3.4)
58-
marcel (~> 0.3.1)
59-
activesupport (6.0.3.4)
52+
activemodel (7.0.0.rc1)
53+
activesupport (= 7.0.0.rc1)
54+
activerecord (7.0.0.rc1)
55+
activemodel (= 7.0.0.rc1)
56+
activesupport (= 7.0.0.rc1)
57+
activestorage (7.0.0.rc1)
58+
actionpack (= 7.0.0.rc1)
59+
activejob (= 7.0.0.rc1)
60+
activerecord (= 7.0.0.rc1)
61+
activesupport (= 7.0.0.rc1)
62+
marcel (~> 1.0)
63+
mini_mime (>= 1.1.0)
64+
activesupport (7.0.0.rc1)
6065
concurrent-ruby (~> 1.0, >= 1.0.2)
61-
i18n (>= 0.7, < 2)
62-
minitest (~> 5.1)
63-
tzinfo (~> 1.1)
64-
zeitwerk (~> 2.2, >= 2.2.2)
66+
i18n (>= 1.6, < 2)
67+
minitest (>= 5.1)
68+
tzinfo (~> 2.0)
6569
builder (3.2.4)
66-
concurrent-ruby (1.1.7)
70+
concurrent-ruby (1.1.9)
6771
crass (1.0.6)
6872
erubi (1.10.0)
69-
globalid (0.4.2)
70-
activesupport (>= 4.2.0)
71-
i18n (1.8.5)
73+
globalid (1.0.0)
74+
activesupport (>= 5.0)
75+
i18n (1.8.11)
7276
concurrent-ruby (~> 1.0)
7377
jquery-rails (4.4.0)
7478
rails-dom-testing (>= 1, < 3)
7579
railties (>= 4.2.0)
7680
thor (>= 0.14, < 2.0)
77-
loofah (2.7.0)
81+
loofah (2.13.0)
7882
crass (~> 1.0.2)
7983
nokogiri (>= 1.5.9)
8084
mail (2.7.1)
8185
mini_mime (>= 0.1.1)
82-
marcel (0.3.3)
83-
mimemagic (~> 0.3.2)
86+
marcel (1.0.2)
8487
method_source (1.0.0)
85-
mimemagic (0.3.5)
86-
mini_mime (1.0.2)
87-
mini_portile2 (2.4.0)
88-
minitest (5.14.2)
89-
nio4r (2.5.4)
90-
nokogiri (1.10.10)
91-
mini_portile2 (~> 2.4.0)
92-
nokogiri (1.10.10-x64-mingw32)
93-
mini_portile2 (~> 2.4.0)
94-
power_assert (1.2.0)
88+
mini_mime (1.1.2)
89+
mini_portile2 (2.6.1)
90+
minitest (5.14.4)
91+
nio4r (2.5.8)
92+
nokogiri (1.12.5)
93+
mini_portile2 (~> 2.6.1)
94+
racc (~> 1.4)
95+
nokogiri (1.12.5-x64-mingw32)
96+
racc (~> 1.4)
97+
power_assert (2.0.1)
98+
racc (1.6.0)
9599
rack (2.2.3)
96100
rack-test (1.1.0)
97101
rack (>= 1.0, < 3)
98-
rails (6.0.3.4)
99-
actioncable (= 6.0.3.4)
100-
actionmailbox (= 6.0.3.4)
101-
actionmailer (= 6.0.3.4)
102-
actionpack (= 6.0.3.4)
103-
actiontext (= 6.0.3.4)
104-
actionview (= 6.0.3.4)
105-
activejob (= 6.0.3.4)
106-
activemodel (= 6.0.3.4)
107-
activerecord (= 6.0.3.4)
108-
activestorage (= 6.0.3.4)
109-
activesupport (= 6.0.3.4)
110-
bundler (>= 1.3.0)
111-
railties (= 6.0.3.4)
112-
sprockets-rails (>= 2.0.0)
102+
rails (7.0.0.rc1)
103+
actioncable (= 7.0.0.rc1)
104+
actionmailbox (= 7.0.0.rc1)
105+
actionmailer (= 7.0.0.rc1)
106+
actionpack (= 7.0.0.rc1)
107+
actiontext (= 7.0.0.rc1)
108+
actionview (= 7.0.0.rc1)
109+
activejob (= 7.0.0.rc1)
110+
activemodel (= 7.0.0.rc1)
111+
activerecord (= 7.0.0.rc1)
112+
activestorage (= 7.0.0.rc1)
113+
activesupport (= 7.0.0.rc1)
114+
bundler (>= 1.15.0)
115+
railties (= 7.0.0.rc1)
113116
rails-dom-testing (2.0.3)
114117
activesupport (>= 4.2.0)
115118
nokogiri (>= 1.6)
116-
rails-html-sanitizer (1.3.0)
119+
rails-html-sanitizer (1.4.2)
117120
loofah (~> 2.3)
118-
railties (6.0.3.4)
119-
actionpack (= 6.0.3.4)
120-
activesupport (= 6.0.3.4)
121+
railties (7.0.0.rc1)
122+
actionpack (= 7.0.0.rc1)
123+
activesupport (= 7.0.0.rc1)
121124
method_source
122-
rake (>= 0.8.7)
123-
thor (>= 0.20.3, < 2.0)
124-
rake (13.0.1)
125+
rake (>= 12.2)
126+
thor (~> 1.0)
127+
zeitwerk (~> 2.5)
128+
rake (13.0.6)
125129
sprockets (4.0.2)
126130
concurrent-ruby (~> 1.0)
127131
rack (> 1, < 3)
128-
sprockets-rails (3.2.2)
129-
actionpack (>= 4.0)
130-
activesupport (>= 4.0)
132+
sprockets-rails (3.4.2)
133+
actionpack (>= 5.2)
134+
activesupport (>= 5.2)
131135
sprockets (>= 3.0.0)
132-
test-unit (3.3.7)
136+
test-unit (3.5.2)
133137
power_assert
134-
thor (1.0.1)
135-
thread_safe (0.3.6)
136-
tzinfo (1.2.8)
137-
thread_safe (~> 0.1)
138-
tzinfo-data (1.2020.4)
138+
thor (1.1.0)
139+
tzinfo (2.0.4)
140+
concurrent-ruby (~> 1.0)
141+
tzinfo-data (1.2021.5)
139142
tzinfo (>= 1.0.0)
140-
websocket-driver (0.7.3)
143+
websocket-driver (0.7.5)
141144
websocket-extensions (>= 0.1.0)
142145
websocket-extensions (0.1.5)
143-
zeitwerk (2.4.1)
146+
zeitwerk (2.5.1)
144147

145148
PLATFORMS
146149
ruby
@@ -149,9 +152,10 @@ PLATFORMS
149152
DEPENDENCIES
150153
jquery-rails
151154
jquery-slick-rails!
152-
rails (~> 6.0)
155+
rails (= 7.0.0.rc1)
156+
sprockets-rails (~> 3.4)
153157
test-unit (~> 3.1)
154158
tzinfo-data
155159

156160
BUNDLED WITH
157-
2.1.4
161+
2.2.33

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@ A ruby gem that uses the Rails asset pipeline to include the jQuery Slick plugin
99

1010
If you are using Rails 6 with Webpacker then you don't need this gem (install Slick directly from NPM instead). Check out [this sample app](https://github.com/bodrovis/jquery-slick-rails-demo/tree/master/Rails6Webpacker) for more info.
1111

12+
## DEPRECATION NOTICE
13+
14+
This gem was created in 2014 and since then it has been downloaded more than 2 million times. I'm glad you guys found it useful! However, it's time to move on. Rails 6 uses Webpacker as a de-facto standard to bundle assets therefore **this gem became redundant for setups that utilize Webpacker or other bundlers like esbuild**. Moreover, Rails 7 is coming in December 2021 and this new version uses another modern approach: you can rely on [jsbundling-rails](https://github.com/rails/jsbundling-rails) and choose your favourite bundler (Webpacker, esbuild, rollup). Basically, it means that it's not recommended to install front-end packages as Ruby gems anymore.
15+
16+
Another thing to mention is that **Slick itself was abandoned** by its maintainer: there are no new releases since 2018. Slick was a great solution back in the day but now it was superseded by other modern libraries that do not rely on jQuery.
17+
18+
Therefore, **jquery-slick-rails** is officially deprecated since December, 2021. **Version 1.10.0 is the final release** I'm going to roll out: it is tested with Rails 7 so it should still work fine with older setups. But once again: it's very much recommended to migrate to jsbundling-rails or Webpacker.
19+
20+
Thank you for your attention, and hopefully you'll find [my other solutions useful](https://rubygems.org/profiles/bodrovis).
21+
22+
*Ilya Bodrov-Krukowski*
23+
1224
## Installation
1325

1426
Add this line to your application's Gemfile:

jquery-slick-rails.gemspec

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
88
s.email = ["[email protected]"]
99
s.homepage = "https://github.com/bodrovis/jquery-slick-rails"
1010
s.summary = "Integrates Slick carousel into Rails app."
11-
s.description = "Integrates Slick carousel, a jQuery plugin by Ken Wheeler, into your Rails app."
11+
s.description = "Integrates Slick carousel, a jQuery plugin by Ken Wheeler, into your Rails app. THIS GEM IS DEPRECATED."
1212

1313
s.files = Dir["{lib,app}/**/*"] + ["LICENSE", "README.md"]
1414
s.executables = s.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -17,6 +17,7 @@ Gem::Specification.new do |s|
1717
s.license = 'MIT'
1818

1919
s.add_dependency 'railties', '>= 3.1'
20-
s.add_development_dependency "rails", "~> 6.0"
20+
s.add_development_dependency "rails", "7.0.0.rc1"
21+
s.add_development_dependency 'sprockets-rails', '~> 3.4'
2122
s.add_development_dependency 'test-unit', '~> 3.1'
2223
end

lib/jquery-slick-rails/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module JquerySlickRails
2-
VERSION = '1.9.0'
2+
VERSION = '1.10.0'
33
end

0 commit comments

Comments
 (0)