jscrollpane-rails 2.1.1 → 2.2.4

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
2
  SHA256:
3
- metadata.gz: 9c15c972ab89b174afc35bf344794b048931d0cc9999c65636ba6abed26a826d
4
- data.tar.gz: 74f378e3a67dc80c9245f7f575844763b01687e9e0ad0fd4a7c0994a97682448
3
+ metadata.gz: 8b8d8c438b7b92a0bd80267c8f55880250d6bb27e19002187d5ef9b47f54378f
4
+ data.tar.gz: 556b0530dc7d08ea187ad77885fc166431f3388ef0caef6fea5d42871c976141
5
5
  SHA512:
6
- metadata.gz: d936c215413507def66dd9eac6b87d54d3c9908bf0a3d5bc7338d9f88cadbaa4da7b3688eb05220058e51d4819e535357bc6debafab53669b406867bc78a5eca
7
- data.tar.gz: 7c31b7bf374ced64f9e84e513125a021a35a7c0683da4874553c507e2443496cc72ed2927618ea5ccc40f711396fb51655945e454177d68bdbeb68a797461a6b
6
+ metadata.gz: 9376babdcb7796cd64fb64ea2397e1f3937ba382910c665df30b31071ed37f6d61725c8aa94c3c6a5f4db2c6a37a94532fc7954b9939bb9e9cfb1e05913909d7
7
+ data.tar.gz: d458b596da74badd53ac38440a9d19fb7c74ab1ee50837f03d5f8c680dffc8e7c3f42f9ec08e05598d28173a859da4845c4ff11199579c2144beb9d7e888c34f
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2018 Ilya Bodrov
1
+ Copyright (c) 2020 Ilya Bodrov-Krukowski
2
2
 
3
3
  MIT License
4
4
 
@@ -19,4 +19,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
19
  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
20
  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
21
  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -1,19 +1,33 @@
1
1
  # jScrollPane plugin for Rails
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/jscrollpane-rails.png)](http://badge.fury.io/rb/jscrollpane-rails)
4
- [![Build Status](https://travis-ci.org/bodrovis/jscrollpane-rails.svg?branch=master)](https://travis-ci.org/bodrovis/jscrollpane-rails)
5
- [![Dependency Status](https://gemnasium.com/badges/github.com/bodrovis/jscrollpane-rails.svg)](https://gemnasium.com/github.com/bodrovis/jscrollpane-rails)
3
+ [![Gem Version](https://badge.fury.io/rb/jscrollpane-rails.svg)](http://badge.fury.io/rb/jscrollpane-rails)
4
+ [![Build Status](https://travis-ci.com/bodrovis/jscrollpane-rails.svg?branch=master)](https://travis-ci.com/github/bodrovis/jscrollpane-rails)
5
+ ![Downloads total](https://img.shields.io/gem/dt/jscrollpane-rails)
6
6
 
7
- A ruby gem that uses the Rails asset pipeline to include the jScrollPane plugin by Kelvin Luck and Tuukka Pasanen:
7
+ A Ruby gem that uses the Rails asset pipeline to include the jScrollPane plugin by Kelvin Luck and Tuukka Pasanen:
8
8
 
9
9
  * [Library's homepage](http://jscrollpane.kelvinluck.com/)
10
10
  * [Source code](https://github.com/vitch/jScrollPane)
11
11
 
12
+ ## DEPRECATION NOTICE
13
+
14
+ This gem was created in 2013 and since then it has been downloaded more than 41k 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 **jScrollPane itself was abandoned** by its maintainer: there were no stable releases for years.
17
+
18
+ Therefore, **jscrollpane-rails** is officially deprecated since December, 2021. **Version 2.2.4 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
+
12
24
  ## Installation
13
25
 
14
26
  Add this line to your application's Gemfile:
15
27
 
16
- gem 'jscrollpane-rails'
28
+ ```ruby
29
+ gem 'jscrollpane-rails'
30
+ ```
17
31
 
18
32
  And then execute:
19
33
 
@@ -54,7 +68,7 @@ In your `application.js` you will need to add this line:
54
68
  And in your `application.scss` you will need to add this line:
55
69
 
56
70
  ```scss
57
- @import 'jscrollpane';
71
+ @import 'jquery.jscrollpane';
58
72
  ```
59
73
 
60
74
  ## Testing
@@ -81,6 +95,6 @@ $ rake test
81
95
 
82
96
  ## License
83
97
 
84
- This plugin is licensed under the [MIT License](https://github.com/bodrovis/jscrollpane-rails/blob/master/LICENSE).
98
+ This plugin is licensed under the [MIT license](https://github.com/bodrovis/jscrollpane-rails/blob/master/LICENSE). The jScrollPane itself is dual-licensed under the [GPL 2 license](https://github.com/vitch/jScrollPane/blob/master/GPL-LICENSE.txt) and the MIT license.
85
99
 
86
- Copyright (c) 2018 [Ilya Bodrov](http://bodrovis.tech)
100
+ Copyright (c) 2020 [Ilya Bodrov-Krukowski](http://bodrovis.tech)