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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '090fc289133016e2dee74b6443dbb24d87474a147f0af5be10794d1528572f1f'
4
- data.tar.gz: caa26ed1c165afc9dbc133196c0a1bc40c9fb5271835cf5c24195da98eacdb1a
3
+ metadata.gz: 8c41d7e4b88feb84affff73e5a74d3dd276d05946e4522bb40944b5a2787393c
4
+ data.tar.gz: fd642e33b5674fc580225b551718cad420d51fba59750608c47201b130afe1e2
5
5
  SHA512:
6
- metadata.gz: 6b4eb3166f2de162d2a34f1bcc724e14dd538043a90658a87515d6d105509a25570babdca58e25149cfc9aac2d1f496844753f8087923c922a4e1555ec57ad28
7
- data.tar.gz: ddb3662fa3723c0fd27809eaa80e19ac1ffd46d9e80b8c0d9f5909e2e4fa159676ea8fe5fba9a220fb6d555ae20db5da30e1c144a3eec5840c12bf797d591199
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
- 5. Javascripts
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
- 6. Stylesheets
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:
@@ -0,0 +1,3 @@
1
+ //= link_tree ../../images
2
+ //= link_directory ../../javascripts .js
3
+ //= link_directory ../../stylesheets .css
@@ -1 +1 @@
1
- COMMONTATOR_VERSION = '6.2.0'
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.0
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