popularity_contest 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/popularity_contest/view_helpers.rb +2 -2
- data/popularity_contest.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5893d3a56c36a18ddf2070e6aa5863fa81d63ae0
|
|
4
|
+
data.tar.gz: 92523699d751169b15e8856f57fe5a7d78abd8db
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: de79366560dba8da393bd91cec4c7802681e3b7d633317a4c7c3d4fdd6627d811cb9746e8877a50f129d771da696732b81b799707a8cd755bdb13e37c144b69d
|
|
7
|
+
data.tar.gz: f917debb434a69fbf0f5da4528c6cdc1763ef584dab6228adbb2de2ce17fa7f13f2f5d58af54bf856b4ecaa7e4d8abd2cdceffaea43bec8ae449da0046f5bb44
|
|
@@ -13,7 +13,7 @@ module PopularityContest
|
|
|
13
13
|
url = build_path(content_type, content_id)
|
|
14
14
|
<<-SJS
|
|
15
15
|
<script>
|
|
16
|
-
if (jQuery)
|
|
16
|
+
if (jQuery) {
|
|
17
17
|
(function(window, document, $, undefined) {
|
|
18
18
|
$.ajax({
|
|
19
19
|
url: '#{url}',
|
|
@@ -21,7 +21,7 @@ if (jQuery)
|
|
|
21
21
|
cache: false
|
|
22
22
|
})
|
|
23
23
|
}(window, document, jQuery));
|
|
24
|
-
|
|
24
|
+
}
|
|
25
25
|
</script>
|
|
26
26
|
SJS
|
|
27
27
|
rescue
|
data/popularity_contest.gemspec
CHANGED
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = "popularity_contest"
|
|
7
|
-
spec.version = "0.0.
|
|
7
|
+
spec.version = "0.0.8"
|
|
8
8
|
spec.authors = ["Kasper Grubbe"]
|
|
9
9
|
spec.email = ["kawsper@gmail.com"]
|
|
10
10
|
spec.description = "A Rack application to count and sort popular content on our websites"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: popularity_contest
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kasper Grubbe
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-03-
|
|
11
|
+
date: 2016-03-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|