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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 20f7334bdd95f1620415f521e0aa12e51903e846
4
- data.tar.gz: c319585060fbaeca206b9d096c2c0a511071343c
3
+ metadata.gz: 5893d3a56c36a18ddf2070e6aa5863fa81d63ae0
4
+ data.tar.gz: 92523699d751169b15e8856f57fe5a7d78abd8db
5
5
  SHA512:
6
- metadata.gz: f3ee6fc10bc91def7a5d1317e4fdae8f48c248805ff3747e1548cc71c3683372a87a8455cb42fda9e3afbccf1db049892c80ff9a8fa7c513f6cad367bf417b6d
7
- data.tar.gz: 8ace89d0971ee23b890d084df678b03dbffd8c8557fe09003c81e828b7ff808464276ca8c97842df7e9b11e8b98b96cdd273e62f6b9e6c62b0d58c84f26167ec
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
@@ -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"
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.7
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-21 00:00:00.000000000 Z
11
+ date: 2016-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler