thredded 0.12.3 → 0.12.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86b9c121f8dce31cb5c0bf7faa2f9e5b9e0b23bf
|
4
|
+
data.tar.gz: e1d798dfa2ca61bca551b052cbc23b4e91ba66c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63e6821ccfc2a24cc7e2c3fd5ec5a1f080523b2eaaa4c64c8e4898101742f51c69e5d9946b419824f22dfe4a3e7593732b15036ff3257c38c1df688d900e4ee9
|
7
|
+
data.tar.gz: 10dc01b049b0e019b807e76a30b597ca2bec14746eb5ac8e3c005baa2f25d975eecec5cae7d667e942a2bda0d6b7f35f27cb8cdf4f3a1e1f7cd655cf557c7fc8
|
data/README.md
CHANGED
@@ -99,7 +99,7 @@ Then, see the rest of this Readme for more information about using and customizi
|
|
99
99
|
Add the gem to your Gemfile:
|
100
100
|
|
101
101
|
```ruby
|
102
|
-
gem 'thredded', '~> 0.12.
|
102
|
+
gem 'thredded', '~> 0.12.4'
|
103
103
|
```
|
104
104
|
|
105
105
|
Add the Thredded [initializer] to your parent app by running the install generator.
|
@@ -240,6 +240,20 @@ or `// require jquery2`. If you are not loading jQuery in your app, or if you ar
|
|
240
240
|
|
241
241
|
[jquery-rails]: https://github.com/rails/jquery-rails
|
242
242
|
|
243
|
+
#### Rails UJS version
|
244
|
+
|
245
|
+
By default, thredded requires `jquery_ujs`. If you'd like to change that to `rails-ujs` (default since Rails v5.1),
|
246
|
+
run this command from your app directory:
|
247
|
+
|
248
|
+
```bash
|
249
|
+
mkdir -p app/assets/javascripts/thredded/dependencies/
|
250
|
+
echo '//= require rails-ujs' > app/assets/javascripts/thredded/dependencies/ujs.js
|
251
|
+
```
|
252
|
+
|
253
|
+
The default UJS framework will change from `jquery_ujs` to `rails-ujs` in the upcoming Thredded v0.13.0 release.
|
254
|
+
|
255
|
+
#### Thredded page title and ID
|
256
|
+
|
243
257
|
Thredded views also provide two `content_tag`s available to yield - `:thredded_page_title` and `:thredded_page_id`.
|
244
258
|
The views within Thredded pass those up through to your layout if you would like to use them.
|
245
259
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
//= require thredded/dependencies/jquery
|
2
2
|
// Require jquery.timeago instead of rails-timeago so that we can control the initialization.
|
3
3
|
//= require jquery.timeago
|
4
|
-
//= require
|
4
|
+
//= require thredded/dependencies/ujs
|
5
5
|
//= require autosize
|
6
6
|
//= require jquery.textcomplete
|
7
7
|
//= require select2
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require jquery_ujs
|
data/lib/thredded/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thredded
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel Oliveira
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-05-
|
12
|
+
date: 2017-05-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pundit
|
@@ -718,6 +718,7 @@ files:
|
|
718
718
|
- app/assets/javascripts/thredded/components/turboforms.es6
|
719
719
|
- app/assets/javascripts/thredded/components/user_preferences_form.es6
|
720
720
|
- app/assets/javascripts/thredded/components/users_select.es6
|
721
|
+
- app/assets/javascripts/thredded/core/csrf_tokens.es6
|
721
722
|
- app/assets/javascripts/thredded/core/debounce.es6
|
722
723
|
- app/assets/javascripts/thredded/core/hide_soft_keyboard.es6
|
723
724
|
- app/assets/javascripts/thredded/core/mention_autocompletion.es6
|
@@ -725,6 +726,7 @@ files:
|
|
725
726
|
- app/assets/javascripts/thredded/core/thredded.es6
|
726
727
|
- app/assets/javascripts/thredded/dependencies.js
|
727
728
|
- app/assets/javascripts/thredded/dependencies/jquery.js
|
729
|
+
- app/assets/javascripts/thredded/dependencies/ujs.js
|
728
730
|
- app/assets/javascripts/thredded/thredded.es6
|
729
731
|
- app/assets/stylesheets/thredded.scss
|
730
732
|
- app/assets/stylesheets/thredded/_base.scss
|