eyeballs 0.3.7 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +6 -0
- data/Gemfile +13 -0
- data/Gemfile.lock +47 -0
- data/README.md +62 -17
- data/Rakefile +1 -1
- data/dist/{jquery-1.4.2.min.js → jquery/jquery-1.4.2.min.js} +0 -0
- data/dist/jquery/jquery.ba-hashchange.js +244 -0
- data/dist/{jquery.livequery.js → jquery/jquery.livequery.js} +0 -0
- data/dist/{mustache.js → mustache/mustache.0.2.3.js} +27 -50
- data/eyeballs.gemspec +23 -14
- data/lib/eyeballs/app_generator.rb +3 -3
- data/spec/app_generator_spec.rb +7 -1
- data/spec/spec_helper.rb +1 -2
- data/src/{o_O.localstorage.js → adapters/o_O.localstorage.js} +0 -0
- data/src/{jquery.o_O.couchdb.js → drivers/jquery/adapters/o_O.couchdb.js} +0 -0
- data/src/{jquery.o_O.dom.js → drivers/jquery/adapters/o_O.dom.js} +0 -0
- data/src/{jquery.o_O.rails.js → drivers/jquery/adapters/o_O.rest.js} +1 -1
- data/src/{jquery.o_O.js → drivers/jquery/modules/o_O.controller.js} +3 -65
- data/src/drivers/jquery/modules/o_O.routes.js +45 -0
- data/src/drivers/jquery/modules/o_O.support.js +69 -0
- data/src/modules/o_O.model.js +188 -0
- data/src/modules/o_O.validations.js +45 -0
- data/src/o_O.js +0 -235
- data/templates/app_root/config/initializer.js +3 -0
- data/templates/app_root/config/routes.js +7 -0
- data/test/unit/test_controller.html +7 -7
- data/test/unit/test_dom.html +7 -4
- data/test/unit/test_dom_with_callbacks.html +7 -3
- data/test/unit/test_form.html +7 -2
- data/test/unit/test_localstorage.html +7 -4
- data/test/unit/test_model.html +7 -3
- data/test/unit/test_model_with_callbacks.html +7 -3
- data/test/unit/{test_rails.html → test_rest.html} +9 -6
- data/test/unit/test_routing.html +76 -0
- metadata +39 -15
- data/eyeballs.js.gemspec +0 -83
@@ -2,10 +2,10 @@
|
|
2
2
|
"http://www.w3.org/TR/html4/loose.dtd">
|
3
3
|
<html>
|
4
4
|
<head>
|
5
|
-
<script src="../../dist/jquery-1.4.2.min.js"></script>
|
6
|
-
<script src="../../dist/jquery.livequery.js"></script>
|
5
|
+
<script src="../../dist/jquery/jquery-1.4.2.min.js"></script>
|
6
|
+
<script src="../../dist/jquery/jquery.livequery.js"></script>
|
7
7
|
<script src="../../src/o_O.js"></script>
|
8
|
-
<script src="../../src/jquery
|
8
|
+
<script src="../../src/drivers/jquery/modules/o_O.controller.js"></script>
|
9
9
|
<link rel="stylesheet" href="qunit.css" type="text/css" media="screen" />
|
10
10
|
<script type="text/javascript" src="qunit.js"></script>
|
11
11
|
|
@@ -111,7 +111,7 @@
|
|
111
111
|
test form
|
112
112
|
</form>
|
113
113
|
|
114
|
-
<form id="myShortcutForm" data-bind="reviews
|
114
|
+
<form id="myShortcutForm" data-bind="reviews#create">
|
115
115
|
test form
|
116
116
|
</form>
|
117
117
|
|
@@ -119,19 +119,19 @@
|
|
119
119
|
test link
|
120
120
|
</a>
|
121
121
|
|
122
|
-
<a id="myShortcutLink" data-bind="reviews
|
122
|
+
<a id="myShortcutLink" data-bind="reviews#show">
|
123
123
|
test link
|
124
124
|
</a>
|
125
125
|
|
126
126
|
<div id="myDiv" data-controller="reviews" data-action="other" data-event="mouseenter">stuff</div>
|
127
|
-
<div id="shortcut" data-bind="click:reviews
|
127
|
+
<div id="shortcut" data-bind="click:reviews#shortcut; mouseenter:reviews#multi">
|
128
128
|
I'm a shortcut
|
129
129
|
</div>
|
130
130
|
<div id="anotherDiv">
|
131
131
|
|
132
132
|
</div>
|
133
133
|
<input id="myCheckbox" data-controller="reviews" data-action="check" data-default="true" type="checkbox">
|
134
|
-
<input id="myOtherCheckbox" data-bind="+click:reviews
|
134
|
+
<input id="myOtherCheckbox" data-bind="+click:reviews#check" type="checkbox" value="toast">
|
135
135
|
</div>
|
136
136
|
</body>
|
137
137
|
</html>
|
data/test/unit/test_dom.html
CHANGED
@@ -2,11 +2,14 @@
|
|
2
2
|
"http://www.w3.org/TR/html4/loose.dtd">
|
3
3
|
<html>
|
4
4
|
<head>
|
5
|
-
<script src="../../dist/jquery-1.4.2.min.js"></script>
|
6
|
-
<script src="../../dist/jquery.livequery.js"></script>
|
5
|
+
<script src="../../dist/jquery/jquery-1.4.2.min.js"></script>
|
6
|
+
<script src="../../dist/jquery/jquery.livequery.js"></script>
|
7
7
|
<script src="../../src/o_O.js"></script>
|
8
|
-
<script src="../../src/
|
9
|
-
<script src="../../src/
|
8
|
+
<script src="../../src/modules/o_O.model.js"></script>
|
9
|
+
<script src="../../src/modules/o_O.validations.js"></script>
|
10
|
+
<script src="../../src/drivers/jquery/adapters/o_O.dom.js"></script>
|
11
|
+
<script src="../../src/drivers/jquery/modules/o_O.controller.js"></script>
|
12
|
+
<script src="../../src/drivers/jquery/modules/o_O.support.js"></script>
|
10
13
|
<link rel="stylesheet" href="qunit.css" type="text/css" media="screen" />
|
11
14
|
<script type="text/javascript" src="qunit.js"></script>
|
12
15
|
|
@@ -2,10 +2,14 @@
|
|
2
2
|
"http://www.w3.org/TR/html4/loose.dtd">
|
3
3
|
<html>
|
4
4
|
<head>
|
5
|
-
<script src="../../dist/jquery-1.4.2.min.js"></script>
|
5
|
+
<script src="../../dist/jquery/jquery-1.4.2.min.js"></script>
|
6
|
+
<script src="../../dist/jquery/jquery.livequery.js"></script>
|
6
7
|
<script src="../../src/o_O.js"></script>
|
7
|
-
<script src="../../src/
|
8
|
-
<script src="../../src/
|
8
|
+
<script src="../../src/modules/o_O.model.js"></script>
|
9
|
+
<script src="../../src/modules/o_O.validations.js"></script>
|
10
|
+
<script src="../../src/drivers/jquery/adapters/o_O.dom.js"></script>
|
11
|
+
<script src="../../src/drivers/jquery/modules/o_O.controller.js"></script>
|
12
|
+
<script src="../../src/drivers/jquery/modules/o_O.support.js"></script>
|
9
13
|
<link rel="stylesheet" href="qunit.css" type="text/css" media="screen" />
|
10
14
|
<script type="text/javascript" src="qunit.js"></script>
|
11
15
|
|
data/test/unit/test_form.html
CHANGED
@@ -2,9 +2,14 @@
|
|
2
2
|
"http://www.w3.org/TR/html4/loose.dtd">
|
3
3
|
<html>
|
4
4
|
<head>
|
5
|
-
<script src="../../dist/jquery-1.4.2.min.js"></script>
|
5
|
+
<script src="../../dist/jquery/jquery-1.4.2.min.js"></script>
|
6
|
+
<script src="../../dist/jquery/jquery.livequery.js"></script>
|
6
7
|
<script src="../../src/o_O.js"></script>
|
7
|
-
<script src="../../src/
|
8
|
+
<script src="../../src/modules/o_O.model.js"></script>
|
9
|
+
<script src="../../src/modules/o_O.validations.js"></script>
|
10
|
+
<script src="../../src/drivers/jquery/adapters/o_O.dom.js"></script>
|
11
|
+
<script src="../../src/drivers/jquery/modules/o_O.controller.js"></script>
|
12
|
+
<script src="../../src/drivers/jquery/modules/o_O.support.js"></script>
|
8
13
|
<link rel="stylesheet" href="qunit.css" type="text/css" media="screen" />
|
9
14
|
<script type="text/javascript" src="qunit.js"></script>
|
10
15
|
|
@@ -2,11 +2,14 @@
|
|
2
2
|
"http://www.w3.org/TR/html4/loose.dtd">
|
3
3
|
<html>
|
4
4
|
<head>
|
5
|
-
<script src="../../dist/jquery-1.4.2.min.js"></script>
|
6
|
-
<script src="../../dist/jquery.livequery.js"></script>
|
5
|
+
<script src="../../dist/jquery/jquery-1.4.2.min.js"></script>
|
6
|
+
<script src="../../dist/jquery/jquery.livequery.js"></script>
|
7
7
|
<script src="../../src/o_O.js"></script>
|
8
|
-
<script src="../../src/o_O.
|
9
|
-
<script src="../../src/
|
8
|
+
<script src="../../src/modules/o_O.model.js"></script>
|
9
|
+
<script src="../../src/modules/o_O.validations.js"></script>
|
10
|
+
<script src="../../src/adapters/o_O.localstorage.js"></script>
|
11
|
+
<script src="../../src/drivers/jquery/modules/o_O.controller.js"></script>
|
12
|
+
<script src="../../src/drivers/jquery/modules/o_O.support.js"></script>
|
10
13
|
<link rel="stylesheet" href="qunit.css" type="text/css" media="screen" />
|
11
14
|
<script type="text/javascript" src="qunit.js"></script>
|
12
15
|
|
data/test/unit/test_model.html
CHANGED
@@ -2,10 +2,14 @@
|
|
2
2
|
"http://www.w3.org/TR/html4/loose.dtd">
|
3
3
|
<html>
|
4
4
|
<head>
|
5
|
-
<script src="../../dist/jquery-1.4.2.min.js"></script>
|
5
|
+
<script src="../../dist/jquery/jquery-1.4.2.min.js"></script>
|
6
|
+
<script src="../../dist/jquery/jquery.livequery.js"></script>
|
6
7
|
<script src="../../src/o_O.js"></script>
|
7
|
-
<script src="../../src/
|
8
|
-
<script src="../../src/
|
8
|
+
<script src="../../src/modules/o_O.model.js"></script>
|
9
|
+
<script src="../../src/modules/o_O.validations.js"></script>
|
10
|
+
<script src="../../src/drivers/jquery/adapters/o_O.dom.js"></script>
|
11
|
+
<script src="../../src/drivers/jquery/modules/o_O.controller.js"></script>
|
12
|
+
<script src="../../src/drivers/jquery/modules/o_O.support.js"></script>
|
9
13
|
<link rel="stylesheet" href="qunit.css" type="text/css" media="screen" />
|
10
14
|
<script type="text/javascript" src="qunit.js"></script>
|
11
15
|
|
@@ -2,10 +2,14 @@
|
|
2
2
|
"http://www.w3.org/TR/html4/loose.dtd">
|
3
3
|
<html>
|
4
4
|
<head>
|
5
|
-
<script src="../../dist/jquery-1.4.2.min.js"></script>
|
5
|
+
<script src="../../dist/jquery/jquery-1.4.2.min.js"></script>
|
6
|
+
<script src="../../dist/jquery/jquery.livequery.js"></script>
|
6
7
|
<script src="../../src/o_O.js"></script>
|
7
|
-
<script src="../../src/
|
8
|
-
<script src="../../src/
|
8
|
+
<script src="../../src/modules/o_O.model.js"></script>
|
9
|
+
<script src="../../src/modules/o_O.validations.js"></script>
|
10
|
+
<script src="../../src/drivers/jquery/adapters/o_O.dom.js"></script>
|
11
|
+
<script src="../../src/drivers/jquery/modules/o_O.controller.js"></script>
|
12
|
+
<script src="../../src/drivers/jquery/modules/o_O.support.js"></script>
|
9
13
|
<link rel="stylesheet" href="qunit.css" type="text/css" media="screen" />
|
10
14
|
<script type="text/javascript" src="qunit.js"></script>
|
11
15
|
|
@@ -2,12 +2,15 @@
|
|
2
2
|
"http://www.w3.org/TR/html4/loose.dtd">
|
3
3
|
<html>
|
4
4
|
<head>
|
5
|
-
<script src="../../dist/jquery-1.4.2.min.js"></script>
|
6
|
-
<script src="../../dist/jquery.livequery.js"></script>
|
7
|
-
|
5
|
+
<script src="../../dist/jquery/jquery-1.4.2.min.js"></script>
|
6
|
+
<script src="../../dist/jquery/jquery.livequery.js"></script>
|
7
|
+
|
8
8
|
<script src="../../src/o_O.js"></script>
|
9
|
-
<script src="../../src/
|
10
|
-
<script src="../../src/
|
9
|
+
<script src="../../src/modules/o_O.model.js"></script>
|
10
|
+
<script src="../../src/modules/o_O.validations.js"></script>
|
11
|
+
<script src="../../src/drivers/jquery/adapters/o_O.rest.js"></script>
|
12
|
+
<script src="../../src/drivers/jquery/modules/o_O.controller.js"></script>
|
13
|
+
<script src="../../src/drivers/jquery/modules/o_O.support.js"></script>
|
11
14
|
<link rel="stylesheet" href="qunit.css" type="text/css" media="screen" />
|
12
15
|
<script type="text/javascript" src="qunit.js"></script>
|
13
16
|
|
@@ -16,7 +19,7 @@
|
|
16
19
|
|
17
20
|
$(document).ready(function(){
|
18
21
|
|
19
|
-
o_O.model.adapter = o_O.
|
22
|
+
o_O.model.adapter = o_O.rest;
|
20
23
|
|
21
24
|
module("Rails Test (with jQuery)");
|
22
25
|
|
@@ -0,0 +1,76 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/html4/loose.dtd">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<script src="../../dist/jquery/jquery-1.4.2.min.js"></script>
|
6
|
+
<script src="../../dist/jquery/jquery.livequery.js"></script>
|
7
|
+
<script src="../../dist/jquery/jquery.ba-hashchange.js"></script>
|
8
|
+
<script src="../../src/o_O.js"></script>
|
9
|
+
<script src="../../src/modules/o_O.model.js"></script>
|
10
|
+
<script src="../../src/modules/o_O.validations.js"></script>
|
11
|
+
<script src="../../src/drivers/jquery/adapters/o_O.dom.js"></script>
|
12
|
+
<script src="../../src/drivers/jquery/modules/o_O.controller.js"></script>
|
13
|
+
<script src="../../src/drivers/jquery/modules/o_O.support.js"></script>
|
14
|
+
<script src="../../src/modules/o_O.routes.js"></script>
|
15
|
+
<script src="../../src/drivers/jquery/modules/o_O.routes.js"></script>
|
16
|
+
|
17
|
+
<link rel="stylesheet" href="qunit.css" type="text/css" media="screen" />
|
18
|
+
<script type="text/javascript" src="qunit.js"></script>
|
19
|
+
|
20
|
+
<script>
|
21
|
+
o_O('ReviewsController', {
|
22
|
+
index: function(bit){
|
23
|
+
var out;
|
24
|
+
if(bit == 'test')
|
25
|
+
{
|
26
|
+
out = 'clicked!'
|
27
|
+
}
|
28
|
+
else
|
29
|
+
{
|
30
|
+
out = 'indexed!'
|
31
|
+
}
|
32
|
+
$('div#index').html(out);
|
33
|
+
return 'whoop!'
|
34
|
+
}
|
35
|
+
});
|
36
|
+
|
37
|
+
o_O.routes.draw(function(map){
|
38
|
+
map.match('/', {to: "reviews#index", with: 'test'});
|
39
|
+
})
|
40
|
+
|
41
|
+
$(document).ready(function(){
|
42
|
+
|
43
|
+
module("Simple Route");
|
44
|
+
|
45
|
+
test('o_O.routes.urls', function(){
|
46
|
+
equals(o_O.routes.urls[0], '/', 'should store the necessary URLs')
|
47
|
+
})
|
48
|
+
|
49
|
+
test('o_O.routes.rules', function(){
|
50
|
+
equals(o_O.routes.rules['/'].action(), ReviewsController.index())
|
51
|
+
})
|
52
|
+
|
53
|
+
asyncTest('map.match',function(){
|
54
|
+
$('a#index-link').trigger('click');
|
55
|
+
setTimeout(function(){
|
56
|
+
equals($('div#index').html(), 'clicked!', "should call the action");
|
57
|
+
start();
|
58
|
+
},100)
|
59
|
+
})
|
60
|
+
|
61
|
+
});
|
62
|
+
</script>
|
63
|
+
|
64
|
+
</head>
|
65
|
+
<body>
|
66
|
+
<h1 id="qunit-header">Controller Tests</h1>
|
67
|
+
<h2 id="qunit-banner"></h2>
|
68
|
+
<h2 id="qunit-userAgent"></h2>
|
69
|
+
<ol id="qunit-tests"></ol>
|
70
|
+
|
71
|
+
<a id="index-link" data-ajax-history="true" href="/">Hello!</a>
|
72
|
+
|
73
|
+
<div id="index">
|
74
|
+
</div>
|
75
|
+
</body>
|
76
|
+
</html>
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eyeballs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 13
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
|
-
-
|
8
|
-
-
|
9
|
-
version: 0.
|
8
|
+
- 4
|
9
|
+
- 1
|
10
|
+
version: 0.4.1
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Paul Campbell
|
@@ -14,16 +15,18 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2010-07-
|
18
|
+
date: 2010-07-06 00:00:00 +01:00
|
18
19
|
default_executable: eyeballs
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
21
22
|
name: thor
|
22
23
|
prerelease: false
|
23
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
24
26
|
requirements:
|
25
27
|
- - ">="
|
26
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
27
30
|
segments:
|
28
31
|
- 0
|
29
32
|
version: "0"
|
@@ -33,9 +36,11 @@ dependencies:
|
|
33
36
|
name: activesupport
|
34
37
|
prerelease: false
|
35
38
|
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
36
40
|
requirements:
|
37
41
|
- - ">="
|
38
42
|
- !ruby/object:Gem::Version
|
43
|
+
hash: 3
|
39
44
|
segments:
|
40
45
|
- 0
|
41
46
|
version: "0"
|
@@ -51,16 +56,18 @@ extra_rdoc_files:
|
|
51
56
|
- README.md
|
52
57
|
files:
|
53
58
|
- CHANGELOG
|
59
|
+
- Gemfile
|
60
|
+
- Gemfile.lock
|
54
61
|
- README.md
|
55
62
|
- Rakefile
|
56
63
|
- app.rb
|
57
64
|
- bin/eyeballs
|
58
65
|
- config.ru
|
59
|
-
- dist/jquery-1.4.2.min.js
|
60
|
-
- dist/jquery.
|
61
|
-
- dist/
|
66
|
+
- dist/jquery/jquery-1.4.2.min.js
|
67
|
+
- dist/jquery/jquery.ba-hashchange.js
|
68
|
+
- dist/jquery/jquery.livequery.js
|
69
|
+
- dist/mustache/mustache.0.2.3.js
|
62
70
|
- eyeballs.gemspec
|
63
|
-
- eyeballs.js.gemspec
|
64
71
|
- lib/eyeballs.rb
|
65
72
|
- lib/eyeballs/app_detector.rb
|
66
73
|
- lib/eyeballs/app_generator.rb
|
@@ -68,12 +75,18 @@ files:
|
|
68
75
|
- lib/eyeballs/controller_generator.rb
|
69
76
|
- lib/eyeballs/model_generator.rb
|
70
77
|
- lib/eyeballs/scaffold_generator.rb
|
71
|
-
- src/
|
72
|
-
- src/jquery
|
73
|
-
- src/jquery
|
74
|
-
- src/jquery
|
78
|
+
- src/adapters/o_O.localstorage.js
|
79
|
+
- src/drivers/jquery/adapters/o_O.couchdb.js
|
80
|
+
- src/drivers/jquery/adapters/o_O.dom.js
|
81
|
+
- src/drivers/jquery/adapters/o_O.rest.js
|
82
|
+
- src/drivers/jquery/modules/o_O.controller.js
|
83
|
+
- src/drivers/jquery/modules/o_O.routes.js
|
84
|
+
- src/drivers/jquery/modules/o_O.support.js
|
85
|
+
- src/modules/o_O.model.js
|
86
|
+
- src/modules/o_O.validations.js
|
75
87
|
- src/o_O.js
|
76
|
-
-
|
88
|
+
- templates/app_root/config/initializer.js
|
89
|
+
- templates/app_root/config/routes.js
|
77
90
|
- templates/app_root/index.html
|
78
91
|
- templates/controller.js
|
79
92
|
- templates/model.js
|
@@ -91,7 +104,14 @@ files:
|
|
91
104
|
- test/unit/test_localstorage.html
|
92
105
|
- test/unit/test_model.html
|
93
106
|
- test/unit/test_model_with_callbacks.html
|
94
|
-
- test/unit/
|
107
|
+
- test/unit/test_rest.html
|
108
|
+
- test/unit/test_routing.html
|
109
|
+
- spec/app_generator_spec.rb
|
110
|
+
- spec/controller_generator_spec.rb
|
111
|
+
- spec/model_generator_spec.rb
|
112
|
+
- spec/rack_app_detector_spec.rb
|
113
|
+
- spec/scaffold_generator_spec.rb
|
114
|
+
- spec/spec_helper.rb
|
95
115
|
has_rdoc: true
|
96
116
|
homepage: http://www.github.com/paulca/eyeballs.js
|
97
117
|
licenses: []
|
@@ -102,23 +122,27 @@ rdoc_options:
|
|
102
122
|
require_paths:
|
103
123
|
- lib
|
104
124
|
required_ruby_version: !ruby/object:Gem::Requirement
|
125
|
+
none: false
|
105
126
|
requirements:
|
106
127
|
- - ">="
|
107
128
|
- !ruby/object:Gem::Version
|
129
|
+
hash: 3
|
108
130
|
segments:
|
109
131
|
- 0
|
110
132
|
version: "0"
|
111
133
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
134
|
+
none: false
|
112
135
|
requirements:
|
113
136
|
- - ">="
|
114
137
|
- !ruby/object:Gem::Version
|
138
|
+
hash: 3
|
115
139
|
segments:
|
116
140
|
- 0
|
117
141
|
version: "0"
|
118
142
|
requirements: []
|
119
143
|
|
120
144
|
rubyforge_project:
|
121
|
-
rubygems_version: 1.3.
|
145
|
+
rubygems_version: 1.3.7
|
122
146
|
signing_key:
|
123
147
|
specification_version: 3
|
124
148
|
summary: A lightweight javascript MVC framework.
|
data/eyeballs.js.gemspec
DELETED
@@ -1,83 +0,0 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = %q{eyeballs.js}
|
8
|
-
s.version = "0.3.0"
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Paul Campbell"]
|
12
|
-
s.date = %q{2010-06-08}
|
13
|
-
s.default_executable = %q{eyeballs}
|
14
|
-
s.email = %q{paul@rslw.com}
|
15
|
-
s.executables = ["eyeballs"]
|
16
|
-
s.extra_rdoc_files = [
|
17
|
-
"README.md"
|
18
|
-
]
|
19
|
-
s.files = [
|
20
|
-
"CHANGELOG",
|
21
|
-
"README.md",
|
22
|
-
"Rakefile",
|
23
|
-
"bin/eyeballs",
|
24
|
-
"config.ru",
|
25
|
-
"dist/jquery-1.4.2.min.js",
|
26
|
-
"dist/jquery.livequery.js",
|
27
|
-
"dist/mustache.js",
|
28
|
-
"eyeballs.js.gemspec",
|
29
|
-
"lib/eyeballs.rb",
|
30
|
-
"lib/eyeballs/app_generator.rb",
|
31
|
-
"lib/eyeballs/cli.rb",
|
32
|
-
"lib/eyeballs/controller_generator.rb",
|
33
|
-
"lib/eyeballs/model_generator.rb",
|
34
|
-
"lib/eyeballs/scaffold_generator.rb",
|
35
|
-
"src/jquery.o_O.couchdb.js",
|
36
|
-
"src/jquery.o_O.dom.js",
|
37
|
-
"src/jquery.o_O.js",
|
38
|
-
"src/jquery.o_O.rails.js",
|
39
|
-
"src/o_O.js",
|
40
|
-
"src/o_O.localstorage.js",
|
41
|
-
"templates/app_root/index.html",
|
42
|
-
"templates/controller.js",
|
43
|
-
"templates/model.js",
|
44
|
-
"templates/scaffold_controller.js",
|
45
|
-
"templates/scaffold_edit.html.mustache",
|
46
|
-
"templates/scaffold_index.html",
|
47
|
-
"templates/scaffold_partial.html.mustache",
|
48
|
-
"test/unit/qunit.css",
|
49
|
-
"test/unit/qunit.js",
|
50
|
-
"test/unit/test_controller.html",
|
51
|
-
"test/unit/test_dom.html",
|
52
|
-
"test/unit/test_dom_with_callbacks.html",
|
53
|
-
"test/unit/test_form.html",
|
54
|
-
"test/unit/test_localstorage.html",
|
55
|
-
"test/unit/test_model.html",
|
56
|
-
"test/unit/test_model_with_callbacks.html",
|
57
|
-
"test/unit/test_rails.html"
|
58
|
-
]
|
59
|
-
s.has_rdoc = false
|
60
|
-
s.homepage = %q{http://www.github.com/paulca/eyeballs.js}
|
61
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
62
|
-
s.require_paths = ["lib"]
|
63
|
-
s.rubygems_version = %q{1.3.7}
|
64
|
-
s.summary = %q{A lightweight javascript MVC framework.}
|
65
|
-
s.test_files = [
|
66
|
-
"spec/app_generator_spec.rb",
|
67
|
-
"spec/controller_generator_spec.rb",
|
68
|
-
"spec/model_generator_spec.rb",
|
69
|
-
"spec/scaffold_generator_spec.rb",
|
70
|
-
"spec/spec_helper.rb"
|
71
|
-
]
|
72
|
-
|
73
|
-
if s.respond_to? :specification_version then
|
74
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
75
|
-
s.specification_version = 3
|
76
|
-
|
77
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
78
|
-
else
|
79
|
-
end
|
80
|
-
else
|
81
|
-
end
|
82
|
-
end
|
83
|
-
|