depo 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -0
- data/Rakefile +1 -1
- data/lib/depo.rb +1 -1
- metadata +42 -72
- data/test/rails_root/public/ria/src/DOJO_VERSION +0 -1
- data/test/rails_root/public/ria/src/app/my/Dijit.js +0 -28
- data/test/rails_root/public/ria/src/app/my/templates/Dijit.html +0 -4
- data/test/rails_root/public/ria/src/app/tests/my/Dijit.html +0 -18
- data/test/rails_root/public/ria/src/app/tests/my/Dijit.js +0 -11
- data/test/rails_root/public/ria/src/app/themes/tundra/my/Dijit.css +0 -4
data/README.rdoc
CHANGED
@@ -49,6 +49,7 @@ Is attempt to automate many tasks and practices in building RIA using Dojo and R
|
|
49
49
|
|
50
50
|
* 0.0.5 remove dependency from dojo_src, to extenrnalize control over it
|
51
51
|
* 0.0.7 add app_package customization (default left 'app')
|
52
|
+
* 0.0.8 kung_figure dependency updated
|
52
53
|
|
53
54
|
== LICENSE:
|
54
55
|
|
data/Rakefile
CHANGED
@@ -38,7 +38,7 @@ spec = Gem::Specification.new do |s|
|
|
38
38
|
s.summary = "Rails & Dojo integration"
|
39
39
|
#s.add_dependency('dojo_src')
|
40
40
|
s.add_dependency('rails', '>= 2.3.5')
|
41
|
-
s.add_dependency('kung_figure'
|
41
|
+
s.add_dependency('kung_figure')
|
42
42
|
s.files = PKG_FILES.to_a
|
43
43
|
s.require_path = "lib"
|
44
44
|
s.has_rdoc = false
|
data/lib/depo.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: depo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease: false
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 7
|
10
|
-
version: 0.0.7
|
4
|
+
version: 0.0.8
|
11
5
|
platform: ruby
|
12
6
|
authors:
|
13
7
|
- niquola, smecsia
|
@@ -15,41 +9,29 @@ autorequire:
|
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
11
|
|
18
|
-
date: 2010-
|
12
|
+
date: 2010-09-10 00:00:00 +04:00
|
19
13
|
default_executable:
|
20
14
|
dependencies:
|
21
15
|
- !ruby/object:Gem::Dependency
|
22
16
|
name: rails
|
23
|
-
|
24
|
-
|
25
|
-
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
20
|
requirements:
|
27
21
|
- - ">="
|
28
22
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 9
|
30
|
-
segments:
|
31
|
-
- 2
|
32
|
-
- 3
|
33
|
-
- 5
|
34
23
|
version: 2.3.5
|
35
|
-
|
36
|
-
version_requirements: *id001
|
24
|
+
version:
|
37
25
|
- !ruby/object:Gem::Dependency
|
38
26
|
name: kung_figure
|
39
|
-
|
40
|
-
|
41
|
-
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
42
30
|
requirements:
|
43
|
-
- - "
|
31
|
+
- - ">="
|
44
32
|
- !ruby/object:Gem::Version
|
45
|
-
|
46
|
-
|
47
|
-
- 0
|
48
|
-
- 0
|
49
|
-
- 2
|
50
|
-
version: 0.0.2
|
51
|
-
type: :runtime
|
52
|
-
version_requirements: *id002
|
33
|
+
version: "0"
|
34
|
+
version:
|
53
35
|
description:
|
54
36
|
email: niquola@gmail.com
|
55
37
|
executables: []
|
@@ -60,58 +42,52 @@ extra_rdoc_files:
|
|
60
42
|
- README.rdoc
|
61
43
|
files:
|
62
44
|
- init.rb
|
63
|
-
-
|
45
|
+
- install.rb
|
64
46
|
- uninstall.rb
|
65
47
|
- README.rdoc
|
66
|
-
-
|
48
|
+
- Rakefile
|
67
49
|
- MIT-LICENSE
|
50
|
+
- generators/dijit/USAGE
|
51
|
+
- generators/dijit/templates/test.js
|
52
|
+
- generators/dijit/templates/class.js
|
53
|
+
- generators/dijit/templates/test.html
|
54
|
+
- generators/dijit/templates/template.html
|
55
|
+
- generators/dijit/templates/style.css
|
56
|
+
- generators/dijit/dijit_generator.rb
|
57
|
+
- generators/dpage/USAGE
|
58
|
+
- generators/dpage/dpage_generator.rb
|
59
|
+
- generators/dpage/templates/view.haml
|
60
|
+
- generators/dpage/templates/helper_test.rb
|
68
61
|
- generators/dpage/templates/dpage.css
|
69
|
-
- generators/dpage/templates/app/views.js
|
70
|
-
- generators/dpage/templates/app/controllers.js
|
71
|
-
- generators/dpage/templates/app/models.js
|
72
|
-
- generators/dpage/templates/dpage.js
|
73
62
|
- generators/dpage/templates/controller.rb
|
74
|
-
- generators/dpage/templates/helper_test.rb
|
75
|
-
- generators/dpage/templates/view.haml
|
76
|
-
- generators/dpage/templates/helper.rb
|
77
63
|
- generators/dpage/templates/default_stylesheets/reset.css
|
78
|
-
- generators/dpage/templates/default_stylesheets/theme_override.css
|
79
64
|
- generators/dpage/templates/default_stylesheets/common.css
|
80
65
|
- generators/dpage/templates/default_stylesheets/all.css
|
81
|
-
- generators/dpage/
|
82
|
-
- generators/dpage/
|
83
|
-
- generators/
|
66
|
+
- generators/dpage/templates/default_stylesheets/theme_override.css
|
67
|
+
- generators/dpage/templates/helper.rb
|
68
|
+
- generators/dpage/templates/dpage.js
|
69
|
+
- generators/dpage/templates/app/controllers.js
|
70
|
+
- generators/dpage/templates/app/models.js
|
71
|
+
- generators/dpage/templates/app/views.js
|
84
72
|
- generators/depo_config/USAGE
|
85
73
|
- generators/depo_config/depo_config_generator.rb
|
86
|
-
- generators/
|
87
|
-
-
|
88
|
-
- generators/dijit/templates/template.html
|
89
|
-
- generators/dijit/templates/test.html
|
90
|
-
- generators/dijit/templates/class.js
|
91
|
-
- generators/dijit/templates/test.js
|
92
|
-
- generators/dijit/USAGE
|
93
|
-
- lib/depo/config.rb
|
74
|
+
- generators/depo_config/templates/depo.rb
|
75
|
+
- lib/depo.rb
|
94
76
|
- lib/depo/build.rb
|
95
77
|
- lib/depo/dijit_conventions.rb
|
78
|
+
- lib/depo/config.rb
|
79
|
+
- lib/depo/view_helpers.rb
|
96
80
|
- lib/depo/tasks.rb
|
97
81
|
- lib/depo/templates/dojo_src.tpl
|
98
82
|
- lib/depo/templates/profile.js
|
99
|
-
- lib/depo/view_helpers.rb
|
100
|
-
- lib/depo.rb
|
101
83
|
- tasks/depo.rake
|
102
|
-
- test/build_profile_test.rb
|
103
|
-
- test/action_pack_test.rb
|
104
|
-
- test/path_utils_test.rb
|
105
84
|
- test/generators_test.rb
|
106
|
-
- test/database.yml
|
107
|
-
- test/rails_root/public/ria/src/app/my/templates/Dijit.html
|
108
|
-
- test/rails_root/public/ria/src/app/my/Dijit.js
|
109
|
-
- test/rails_root/public/ria/src/app/themes/tundra/my/Dijit.css
|
110
|
-
- test/rails_root/public/ria/src/app/tests/my/Dijit.html
|
111
|
-
- test/rails_root/public/ria/src/app/tests/my/Dijit.js
|
112
|
-
- test/rails_root/public/ria/src/DOJO_VERSION
|
113
85
|
- test/config_test.rb
|
114
86
|
- test/test_helper.rb
|
87
|
+
- test/database.yml
|
88
|
+
- test/action_pack_test.rb
|
89
|
+
- test/build_profile_test.rb
|
90
|
+
- test/path_utils_test.rb
|
115
91
|
has_rdoc: true
|
116
92
|
homepage:
|
117
93
|
licenses: []
|
@@ -122,27 +98,21 @@ rdoc_options: []
|
|
122
98
|
require_paths:
|
123
99
|
- lib
|
124
100
|
required_ruby_version: !ruby/object:Gem::Requirement
|
125
|
-
none: false
|
126
101
|
requirements:
|
127
102
|
- - ">="
|
128
103
|
- !ruby/object:Gem::Version
|
129
|
-
hash: 3
|
130
|
-
segments:
|
131
|
-
- 0
|
132
104
|
version: "0"
|
105
|
+
version:
|
133
106
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
134
|
-
none: false
|
135
107
|
requirements:
|
136
108
|
- - ">="
|
137
109
|
- !ruby/object:Gem::Version
|
138
|
-
hash: 3
|
139
|
-
segments:
|
140
|
-
- 0
|
141
110
|
version: "0"
|
111
|
+
version:
|
142
112
|
requirements: []
|
143
113
|
|
144
114
|
rubyforge_project:
|
145
|
-
rubygems_version: 1.3.
|
115
|
+
rubygems_version: 1.3.5
|
146
116
|
signing_key:
|
147
117
|
specification_version: 3
|
148
118
|
summary: Rails & Dojo integration
|
@@ -1 +0,0 @@
|
|
1
|
-
1.4.3
|
@@ -1,28 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* app.my.Dijit
|
3
|
-
* Created by niquola@gmail.com
|
4
|
-
**/
|
5
|
-
dojo.provide("app.my.Dijit");
|
6
|
-
|
7
|
-
(function () {
|
8
|
-
//here go private vars and functions
|
9
|
-
dojo.declare("app.my.Dijit",null, {
|
10
|
-
// summary:
|
11
|
-
// HERE WIDGET SUMMARY
|
12
|
-
|
13
|
-
// baseClass: [protected] String
|
14
|
-
baseClass: "AppMyDijit"
|
15
|
-
//templateString: dojo.cache("app.my", "templates/Dijit.html"),
|
16
|
-
widgetsInTemplate: true,
|
17
|
-
//buildRendering: function () {
|
18
|
-
//this.inherited(arguments);
|
19
|
-
//},
|
20
|
-
//layout: function () {
|
21
|
-
//var cb = this._contentBox;
|
22
|
-
//dojo.marginBox(this.containerNode, cb);
|
23
|
-
//},
|
24
|
-
//postCreate: function () {
|
25
|
-
//this.inherited(arguments);
|
26
|
-
//}
|
27
|
-
});
|
28
|
-
})();
|
@@ -1,18 +0,0 @@
|
|
1
|
-
<?xml version='1.0' encoding='utf-8' ?>
|
2
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<title>app.my.Dijit</title>
|
6
|
-
|
7
|
-
<script type="text/javascript" src="/ria/src/dojo/dojo.js" djConfig="isDebug:false,parseOnLoad:true"> </script>
|
8
|
-
<script src="Dijit.js"></script>
|
9
|
-
<link rel="stylesheet" href="public/ria/src/common.css" type="text/css" />
|
10
|
-
|
11
|
-
<link rel="stylesheet" href="/public/ria/src/app/themes/tundra/my/Dijit.css" type="text/css" />
|
12
|
-
</head>
|
13
|
-
<body class="app">
|
14
|
-
<div dojoType="app.my.Dijit" jsId="dijit">
|
15
|
-
</div>
|
16
|
-
</body>
|
17
|
-
</html>
|
18
|
-
|