commontator 6.2.0 → 6.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -2
- data/app/assets/config/commontator/manifest.js +3 -0
- data/lib/commontator/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c41d7e4b88feb84affff73e5a74d3dd276d05946e4522bb40944b5a2787393c
|
4
|
+
data.tar.gz: fd642e33b5674fc580225b551718cad420d51fba59750608c47201b130afe1e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8143238089fdd8d0dd8ddefe5a0ce9c388760d428db5f946cf210f876c529b534eff165f9b8eb74bd3c1efa545d1895cda611502a315a9d3bab0d239edd66917
|
7
|
+
data.tar.gz: 18912adb40b3ee23d9aa26ac8ed47a89c0ef7a1e276fc382042333fe35fdb184b166d5ebdbfd6d14d5fbd3225b8f2a55d095ba0542136a05db2c8b606b4223cf
|
data/README.md
CHANGED
@@ -79,7 +79,9 @@ Follow the steps below to install Commontator:
|
|
79
79
|
|
80
80
|
You can change the mount path if you would like a different one.
|
81
81
|
|
82
|
-
|
82
|
+
### Assets
|
83
|
+
|
84
|
+
1. Javascripts
|
83
85
|
|
84
86
|
Make sure your application.js requires jquery and rails-ujs or jquery-ujs:
|
85
87
|
|
@@ -104,7 +106,7 @@ Follow the steps below to install Commontator:
|
|
104
106
|
//= require commontator/application
|
105
107
|
```
|
106
108
|
|
107
|
-
|
109
|
+
2. Stylesheets
|
108
110
|
|
109
111
|
In order to display comment threads properly, you must
|
110
112
|
require Commontator's application.scss in your `application.[s]css`:
|
@@ -113,6 +115,18 @@ Follow the steps below to install Commontator:
|
|
113
115
|
*= require commontator/application
|
114
116
|
```
|
115
117
|
|
118
|
+
#### Sprockets 4+
|
119
|
+
|
120
|
+
You must require Commontator's manifest.js in your app's manifest.js for images to work properly:
|
121
|
+
|
122
|
+
```js
|
123
|
+
//= link commontator/manifest.js
|
124
|
+
```
|
125
|
+
|
126
|
+
You also need to either add the necessary link tag commands to your layout to load
|
127
|
+
commontator/application.js and commontator/application.css or require them in your app's
|
128
|
+
application.js and application.css like in Sprockets 3.
|
129
|
+
|
116
130
|
## Usage
|
117
131
|
|
118
132
|
Follow the steps below to add Commontator to your models and views:
|
data/lib/commontator/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
COMMONTATOR_VERSION = '6.2.
|
1
|
+
COMMONTATOR_VERSION = '6.2.1'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: commontator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.2.
|
4
|
+
version: 6.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dante Soares
|
@@ -159,6 +159,7 @@ extra_rdoc_files: []
|
|
159
159
|
files:
|
160
160
|
- MIT-LICENSE
|
161
161
|
- README.md
|
162
|
+
- app/assets/config/commontator/manifest.js
|
162
163
|
- app/assets/images/commontator/downvote.png
|
163
164
|
- app/assets/images/commontator/downvote_active.png
|
164
165
|
- app/assets/images/commontator/downvote_disabled.png
|