depo 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +71 -0
  3. data/Rakefile +50 -0
  4. data/generators/depo_config/USAGE +5 -0
  5. data/generators/depo_config/depo_config_generator.rb +8 -0
  6. data/generators/depo_config/templates/depo.rb +9 -0
  7. data/generators/dijit/USAGE +0 -0
  8. data/generators/dijit/dijit_generator.rb +34 -0
  9. data/generators/dijit/templates/class.js +30 -0
  10. data/generators/dijit/templates/style.css +4 -0
  11. data/generators/dijit/templates/test.html +15 -0
  12. data/generators/dijit/templates/test.js +11 -0
  13. data/generators/dpage/USAGE +33 -0
  14. data/generators/dpage/dpage_generator.rb +39 -0
  15. data/generators/dpage/templates/app/controllers.js +12 -0
  16. data/generators/dpage/templates/app/models.js +5 -0
  17. data/generators/dpage/templates/app/views.js +4 -0
  18. data/generators/dpage/templates/controller.rb +8 -0
  19. data/generators/dpage/templates/default_stylesheets/all.css +0 -0
  20. data/generators/dpage/templates/default_stylesheets/common.css +11 -0
  21. data/generators/dpage/templates/default_stylesheets/reset.css +51 -0
  22. data/generators/dpage/templates/default_stylesheets/theme_override.css +3 -0
  23. data/generators/dpage/templates/dpage.css +6 -0
  24. data/generators/dpage/templates/dpage.js +4 -0
  25. data/generators/dpage/templates/helper.rb +9 -0
  26. data/generators/dpage/templates/helper_test.rb +5 -0
  27. data/generators/dpage/templates/view.haml +28 -0
  28. data/init.rb +2 -0
  29. data/install.rb +1 -0
  30. data/lib/depo/build.rb +53 -0
  31. data/lib/depo/config.rb +82 -0
  32. data/lib/depo/dijit_conventions.rb +101 -0
  33. data/lib/depo/tasks.rb +1 -0
  34. data/lib/depo/templates/dojo_src.tpl +4 -0
  35. data/lib/depo/templates/profile.js +8 -0
  36. data/lib/depo/view_helpers.rb +32 -0
  37. data/lib/depo.rb +36 -0
  38. data/tasks/depo.rake +29 -0
  39. data/test/action_pack_test.rb +49 -0
  40. data/test/build_profile_test.rb +32 -0
  41. data/test/config_test.rb +55 -0
  42. data/test/database.yml +6 -0
  43. data/test/generators_test.rb +59 -0
  44. data/test/path_utils_test.rb +18 -0
  45. data/test/rails_root/public/ria/src/app/my/Dijit.js +28 -0
  46. data/test/rails_root/public/ria/src/app/tests/my/Dijit.html +16 -0
  47. data/test/rails_root/public/ria/src/app/tests/my/Dijit.js +11 -0
  48. data/test/rails_root/public/ria/src/app/themes/tundra/my/Dijit.css +4 -0
  49. data/test/test_helper.rb +104 -0
  50. data/uninstall.rb +1 -0
  51. metadata +133 -0
metadata ADDED
@@ -0,0 +1,133 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: depo
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - niquola, smecsia
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2010-04-06 00:00:00 +04:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: dojo_src
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: "0"
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: rails
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 2.3.5
34
+ version:
35
+ - !ruby/object:Gem::Dependency
36
+ name: kung_figure
37
+ type: :runtime
38
+ version_requirement:
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - "="
42
+ - !ruby/object:Gem::Version
43
+ version: 0.0.2
44
+ version:
45
+ description:
46
+ email: niquola@gmail.com
47
+ executables: []
48
+
49
+ extensions: []
50
+
51
+ extra_rdoc_files:
52
+ - README.rdoc
53
+ files:
54
+ - init.rb
55
+ - install.rb
56
+ - uninstall.rb
57
+ - README.rdoc
58
+ - Rakefile
59
+ - MIT-LICENSE
60
+ - generators/dijit/USAGE
61
+ - generators/dijit/templates/test.js
62
+ - generators/dijit/templates/class.js
63
+ - generators/dijit/templates/test.html
64
+ - generators/dijit/templates/style.css
65
+ - generators/dijit/dijit_generator.rb
66
+ - generators/dpage/USAGE
67
+ - generators/dpage/dpage_generator.rb
68
+ - generators/dpage/templates/view.haml
69
+ - generators/dpage/templates/helper_test.rb
70
+ - generators/dpage/templates/dpage.css
71
+ - generators/dpage/templates/controller.rb
72
+ - generators/dpage/templates/default_stylesheets/reset.css
73
+ - generators/dpage/templates/default_stylesheets/common.css
74
+ - generators/dpage/templates/default_stylesheets/all.css
75
+ - generators/dpage/templates/default_stylesheets/theme_override.css
76
+ - generators/dpage/templates/helper.rb
77
+ - generators/dpage/templates/dpage.js
78
+ - generators/dpage/templates/app/controllers.js
79
+ - generators/dpage/templates/app/models.js
80
+ - generators/dpage/templates/app/views.js
81
+ - generators/depo_config/USAGE
82
+ - generators/depo_config/depo_config_generator.rb
83
+ - generators/depo_config/templates/depo.rb
84
+ - lib/depo.rb
85
+ - lib/depo/build.rb
86
+ - lib/depo/dijit_conventions.rb
87
+ - lib/depo/config.rb
88
+ - lib/depo/view_helpers.rb
89
+ - lib/depo/tasks.rb
90
+ - lib/depo/templates/dojo_src.tpl
91
+ - lib/depo/templates/profile.js
92
+ - tasks/depo.rake
93
+ - test/generators_test.rb
94
+ - test/config_test.rb
95
+ - test/test_helper.rb
96
+ - test/database.yml
97
+ - test/action_pack_test.rb
98
+ - test/build_profile_test.rb
99
+ - test/path_utils_test.rb
100
+ - test/rails_root/public/ria/src/app/tests/my/Dijit.js
101
+ - test/rails_root/public/ria/src/app/tests/my/Dijit.html
102
+ - test/rails_root/public/ria/src/app/my/Dijit.js
103
+ - test/rails_root/public/ria/src/app/themes/tundra/my/Dijit.css
104
+ has_rdoc: true
105
+ homepage:
106
+ licenses: []
107
+
108
+ post_install_message:
109
+ rdoc_options: []
110
+
111
+ require_paths:
112
+ - lib
113
+ required_ruby_version: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: "0"
118
+ version:
119
+ required_rubygems_version: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: "0"
124
+ version:
125
+ requirements: []
126
+
127
+ rubyforge_project:
128
+ rubygems_version: 1.3.5
129
+ signing_key:
130
+ specification_version: 3
131
+ summary: Rails & Dojo integration
132
+ test_files: []
133
+