high_five 0.1.3 → 0.1.4

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.
data/Gemfile.lock CHANGED
@@ -1,10 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- high_five (0.1.3)
4
+ high_five (0.1.4)
5
5
  compass (~> 0.12.2)
6
6
  multi_json (~> 1.0)
7
- sprockets (~> 2.9.0)
7
+ sprockets (>= 2.0)
8
8
  thor (~> 0.17.0)
9
9
  uglifier (~> 2.1.1)
10
10
  yui-compressor (~> 0.9.6)
@@ -21,12 +21,12 @@ GEM
21
21
  chunky_png (~> 1.2)
22
22
  fssm (>= 0.2.7)
23
23
  sass (~> 3.1)
24
- diff-lcs (1.2.1)
24
+ diff-lcs (1.2.4)
25
25
  execjs (1.4.0)
26
26
  multi_json (~> 1.0)
27
27
  fssm (0.2.10)
28
- hike (1.2.2)
29
- multi_json (1.7.2)
28
+ hike (1.2.3)
29
+ multi_json (1.7.6)
30
30
  open4 (1.3.0)
31
31
  rack (1.5.2)
32
32
  rspec (2.13.0)
@@ -36,15 +36,15 @@ GEM
36
36
  rspec-core (2.13.1)
37
37
  rspec-expectations (2.13.0)
38
38
  diff-lcs (>= 1.1.3, < 2.0)
39
- rspec-mocks (2.13.0)
40
- sass (3.2.7)
41
- sprockets (2.9.2)
39
+ rspec-mocks (2.13.1)
40
+ sass (3.2.9)
41
+ sprockets (2.10.0)
42
42
  hike (~> 1.2)
43
43
  multi_json (~> 1.0)
44
44
  rack (~> 1.0)
45
45
  tilt (~> 1.1, != 1.3.0)
46
46
  thor (0.17.0)
47
- tilt (1.3.7)
47
+ tilt (1.4.1)
48
48
  uglifier (2.1.1)
49
49
  execjs (>= 0.3.0)
50
50
  multi_json (~> 1.0, >= 1.0.2)
data/high_five.gemspec CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.add_runtime_dependency "compass", "~>0.12.2"
21
21
  s.add_runtime_dependency "yui-compressor", "~>0.9.6"
22
22
  s.add_runtime_dependency "uglifier", "~>2.1.1"
23
- s.add_runtime_dependency "sprockets", "~>2.9.0"
23
+ s.add_runtime_dependency "sprockets", ">=2.0"
24
24
  s.add_development_dependency "rspec", "~>2.13.0"
25
25
 
26
26
 
@@ -1,4 +1,4 @@
1
- require 'json'
1
+ require 'multi_json'
2
2
  module HighFive
3
3
  class Config
4
4
  attr_accessor :meta, # config.meta << { http-equiv: "Content-Type" content: "text/html; charset=utf-8" }
@@ -160,7 +160,7 @@ module HighFive
160
160
 
161
161
  def high_five_javascript
162
162
  js = '<script type="text/javascript">'
163
- js += "if(typeof(window.HighFive)==='undefined'){window.HighFive={};}window.HighFive.Settings=#{JSON.dump(js_settings)};"
163
+ js += "if(typeof(window.HighFive)==='undefined'){window.HighFive={};}window.HighFive.Settings=#{MultiJson.dump(js_settings)};"
164
164
  js += '</script>'
165
165
  js
166
166
  end
@@ -5,4 +5,10 @@ CACHE MANIFEST
5
5
  CACHE:
6
6
  <% @manifest_cache.each do |path| -%>
7
7
  <%= URI::encode(path) %>
8
- <% end -%>
8
+ <% end -%>
9
+
10
+ # Whitelist ajax requests and any external js/css/etc requests
11
+ NETWORK:
12
+ *
13
+ http://*
14
+ https://*
@@ -1,3 +1,3 @@
1
1
  module HighFive
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: high_five
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-23 00:00:00.000000000 Z
12
+ date: 2013-06-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multi_json
@@ -96,17 +96,17 @@ dependencies:
96
96
  requirement: !ruby/object:Gem::Requirement
97
97
  none: false
98
98
  requirements:
99
- - - ~>
99
+ - - ! '>='
100
100
  - !ruby/object:Gem::Version
101
- version: 2.9.0
101
+ version: '2.0'
102
102
  type: :runtime
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
- - - ~>
107
+ - - ! '>='
108
108
  - !ruby/object:Gem::Version
109
- version: 2.9.0
109
+ version: '2.0'
110
110
  - !ruby/object:Gem::Dependency
111
111
  name: rspec
112
112
  requirement: !ruby/object:Gem::Requirement