historyjs-rails 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/.rspec +3 -0
- data/Gemfile +3 -0
- data/LICENSE +9 -0
- data/README.md +84 -0
- data/Rakefile +5 -0
- data/historyjs-rails.gemspec +28 -0
- data/lib/generators/historyjs/install/install_generator.rb +72 -0
- data/lib/historyjs-rails.rb +1 -0
- data/lib/historyjs/rails.rb +10 -0
- data/lib/historyjs/rails/engine.rb +6 -0
- data/lib/historyjs/rails/railtie.rb +6 -0
- data/lib/historyjs/rails/version.rb +6 -0
- data/spec/historyjs/rails/version_spec.rb +6 -0
- data/spec/spec_helper.rb +3 -0
- data/vendor/assets/javascripts/history_adapter_jquery.js +77 -0
- data/vendor/assets/javascripts/history_adapter_jquery.min.js +1 -0
- data/vendor/assets/javascripts/history_adapter_mootools.js +84 -0
- data/vendor/assets/javascripts/history_adapter_mootools.min.js +1 -0
- data/vendor/assets/javascripts/history_adapter_native.js +121 -0
- data/vendor/assets/javascripts/history_adapter_native.min.js +1 -0
- data/vendor/assets/javascripts/history_adapter_right.js +78 -0
- data/vendor/assets/javascripts/history_adapter_right.min.js +1 -0
- data/vendor/assets/javascripts/history_adapter_zepto.js +74 -0
- data/vendor/assets/javascripts/history_adapter_zepto.min.js +1 -0
- data/vendor/assets/javascripts/history_core.js +1943 -0
- data/vendor/assets/javascripts/history_core.min.js +1 -0
- data/vendor/assets/javascripts/history_html4.js +621 -0
- data/vendor/assets/javascripts/history_html4.min.js +1 -0
- data/vendor/assets/javascripts/history_jquery.js +4 -0
- data/vendor/assets/javascripts/history_jquery.min.js +4 -0
- data/vendor/assets/javascripts/history_jquery_html5.js +3 -0
- data/vendor/assets/javascripts/history_jquery_html5.min.js +3 -0
- data/vendor/assets/javascripts/history_mootools.js +4 -0
- data/vendor/assets/javascripts/history_mootools.min.js +4 -0
- data/vendor/assets/javascripts/history_mootools_html5.js +3 -0
- data/vendor/assets/javascripts/history_mootools_html5.min.js +3 -0
- data/vendor/assets/javascripts/history_native.js +4 -0
- data/vendor/assets/javascripts/history_native.min.js +4 -0
- data/vendor/assets/javascripts/history_native_html5.js +3 -0
- data/vendor/assets/javascripts/history_native_html5.min.js +3 -0
- data/vendor/assets/javascripts/history_right.js +4 -0
- data/vendor/assets/javascripts/history_right.min.js +4 -0
- data/vendor/assets/javascripts/history_right_html5.js +3 -0
- data/vendor/assets/javascripts/history_right_html5.min.js +3 -0
- data/vendor/assets/javascripts/history_zepto.js +4 -0
- data/vendor/assets/javascripts/history_zepto.min.js +4 -0
- data/vendor/assets/javascripts/history_zepto_html5.js +3 -0
- data/vendor/assets/javascripts/history_zepto_html5.min.js +3 -0
- data/vendor/assets/javascripts/json2.js +480 -0
- data/vendor/assets/javascripts/json2.min.js +1 -0
- metadata +117 -0
@@ -0,0 +1 @@
|
|
1
|
+
window.JSON||(window.JSON={}),function(){function f(a){return a<10?"0"+a:a}function quote(a){return escapable.lastIndex=0,escapable.test(a)?'"'+a.replace(escapable,function(a){var b=meta[a];return typeof b=="string"?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function str(a,b){var c,d,e,f,g=gap,h,i=b[a];i&&typeof i=="object"&&typeof i.toJSON=="function"&&(i=i.toJSON(a)),typeof rep=="function"&&(i=rep.call(b,a,i));switch(typeof i){case"string":return quote(i);case"number":return isFinite(i)?String(i):"null";case"boolean":case"null":return String(i);case"object":if(!i)return"null";gap+=indent,h=[];if(Object.prototype.toString.apply(i)==="[object Array]"){f=i.length;for(c=0;c<f;c+=1)h[c]=str(c,i)||"null";return e=h.length===0?"[]":gap?"[\n"+gap+h.join(",\n"+gap)+"\n"+g+"]":"["+h.join(",")+"]",gap=g,e}if(rep&&typeof rep=="object"){f=rep.length;for(c=0;c<f;c+=1)d=rep[c],typeof d=="string"&&(e=str(d,i),e&&h.push(quote(d)+(gap?": ":":")+e))}else for(d in i)Object.hasOwnProperty.call(i,d)&&(e=str(d,i),e&&h.push(quote(d)+(gap?": ":":")+e));return e=h.length===0?"{}":gap?"{\n"+gap+h.join(",\n"+gap)+"\n"+g+"}":"{"+h.join(",")+"}",gap=g,e}}"use strict",typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(a){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(a){return this.valueOf()});var JSON=window.JSON,cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;typeof JSON.stringify!="function"&&(JSON.stringify=function(a,b,c){var d;gap="",indent="";if(typeof c=="number")for(d=0;d<c;d+=1)indent+=" ";else typeof c=="string"&&(indent=c);rep=b;if(!b||typeof b=="function"||typeof b=="object"&&typeof b.length=="number")return str("",{"":a});throw new Error("JSON.stringify")}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){function walk(a,b){var c,d,e=a[b];if(e&&typeof e=="object")for(c in e)Object.hasOwnProperty.call(e,c)&&(d=walk(e,c),d!==undefined?e[c]=d:delete e[c]);return reviver.call(a,b,e)}var j;text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()
|
metadata
ADDED
@@ -0,0 +1,117 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: historyjs-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Phil Ostler
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-03-06 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: railties
|
16
|
+
requirement: &22254672 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '3.0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *22254672
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: rspec
|
27
|
+
requirement: &22254120 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '2.0'
|
33
|
+
type: :development
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *22254120
|
36
|
+
description: Provides History.js for use with Rails 3
|
37
|
+
email: philostler@gmail.com
|
38
|
+
executables: []
|
39
|
+
extensions: []
|
40
|
+
extra_rdoc_files: []
|
41
|
+
files:
|
42
|
+
- .gitignore
|
43
|
+
- .rspec
|
44
|
+
- Gemfile
|
45
|
+
- historyjs-rails.gemspec
|
46
|
+
- LICENSE
|
47
|
+
- Rakefile
|
48
|
+
- README.md
|
49
|
+
- vendor/assets/javascripts/history_adapter_jquery.js
|
50
|
+
- vendor/assets/javascripts/history_adapter_jquery.min.js
|
51
|
+
- vendor/assets/javascripts/history_adapter_mootools.js
|
52
|
+
- vendor/assets/javascripts/history_adapter_mootools.min.js
|
53
|
+
- vendor/assets/javascripts/history_adapter_native.js
|
54
|
+
- vendor/assets/javascripts/history_adapter_native.min.js
|
55
|
+
- vendor/assets/javascripts/history_adapter_right.js
|
56
|
+
- vendor/assets/javascripts/history_adapter_right.min.js
|
57
|
+
- vendor/assets/javascripts/history_adapter_zepto.js
|
58
|
+
- vendor/assets/javascripts/history_adapter_zepto.min.js
|
59
|
+
- vendor/assets/javascripts/history_core.js
|
60
|
+
- vendor/assets/javascripts/history_core.min.js
|
61
|
+
- vendor/assets/javascripts/history_html4.js
|
62
|
+
- vendor/assets/javascripts/history_html4.min.js
|
63
|
+
- vendor/assets/javascripts/history_jquery.js
|
64
|
+
- vendor/assets/javascripts/history_jquery.min.js
|
65
|
+
- vendor/assets/javascripts/history_jquery_html5.js
|
66
|
+
- vendor/assets/javascripts/history_jquery_html5.min.js
|
67
|
+
- vendor/assets/javascripts/history_mootools.js
|
68
|
+
- vendor/assets/javascripts/history_mootools.min.js
|
69
|
+
- vendor/assets/javascripts/history_mootools_html5.js
|
70
|
+
- vendor/assets/javascripts/history_mootools_html5.min.js
|
71
|
+
- vendor/assets/javascripts/history_native.js
|
72
|
+
- vendor/assets/javascripts/history_native.min.js
|
73
|
+
- vendor/assets/javascripts/history_native_html5.js
|
74
|
+
- vendor/assets/javascripts/history_native_html5.min.js
|
75
|
+
- vendor/assets/javascripts/history_right.js
|
76
|
+
- vendor/assets/javascripts/history_right.min.js
|
77
|
+
- vendor/assets/javascripts/history_right_html5.js
|
78
|
+
- vendor/assets/javascripts/history_right_html5.min.js
|
79
|
+
- vendor/assets/javascripts/history_zepto.js
|
80
|
+
- vendor/assets/javascripts/history_zepto.min.js
|
81
|
+
- vendor/assets/javascripts/history_zepto_html5.js
|
82
|
+
- vendor/assets/javascripts/history_zepto_html5.min.js
|
83
|
+
- vendor/assets/javascripts/json2.js
|
84
|
+
- vendor/assets/javascripts/json2.min.js
|
85
|
+
- lib/generators/historyjs/install/install_generator.rb
|
86
|
+
- lib/historyjs/rails/engine.rb
|
87
|
+
- lib/historyjs/rails/railtie.rb
|
88
|
+
- lib/historyjs/rails/version.rb
|
89
|
+
- lib/historyjs/rails.rb
|
90
|
+
- lib/historyjs-rails.rb
|
91
|
+
- spec/historyjs/rails/version_spec.rb
|
92
|
+
- spec/spec_helper.rb
|
93
|
+
homepage: http://github.com/philostler/historyjs-rails
|
94
|
+
licenses: []
|
95
|
+
post_install_message:
|
96
|
+
rdoc_options: []
|
97
|
+
require_paths:
|
98
|
+
- lib
|
99
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
100
|
+
none: false
|
101
|
+
requirements:
|
102
|
+
- - ! '>='
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0'
|
105
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
106
|
+
none: false
|
107
|
+
requirements:
|
108
|
+
- - ! '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
requirements: []
|
112
|
+
rubyforge_project:
|
113
|
+
rubygems_version: 1.8.15
|
114
|
+
signing_key:
|
115
|
+
specification_version: 3
|
116
|
+
summary: History.js for Rails
|
117
|
+
test_files: []
|