moka 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. data/LICENSE.txt +20 -0
  2. data/Manifest +48 -0
  3. data/README.rdoc +9 -0
  4. data/Rakefile +17 -0
  5. data/bin/moka +21 -0
  6. data/lib/commands.rb +54 -0
  7. data/lib/commands/compile.rb +77 -0
  8. data/lib/commands/delete.rb +47 -0
  9. data/lib/commands/group/delete.rb +59 -0
  10. data/lib/commands/group/group_generator.rb +115 -0
  11. data/lib/commands/group/inspect.rb +40 -0
  12. data/lib/commands/group/new.rb +2 -0
  13. data/lib/commands/group/template/groupdir/variables.yml +1 -0
  14. data/lib/commands/inspect.rb +55 -0
  15. data/lib/commands/lib/compiler.rb +114 -0
  16. data/lib/commands/lib/helpers.rb +156 -0
  17. data/lib/commands/lib/lipsum_constants.rb +159 -0
  18. data/lib/commands/lib/lipsum_helpers.rb +56 -0
  19. data/lib/commands/lib/page_scope.rb +29 -0
  20. data/lib/commands/lib/partials_inclusion.rb +42 -0
  21. data/lib/commands/lib/site_tree.rb +274 -0
  22. data/lib/commands/lib/string_inflectors.rb +13 -0
  23. data/lib/commands/lib/utilities.rb +45 -0
  24. data/lib/commands/new.rb +64 -0
  25. data/lib/commands/order_groups.rb +115 -0
  26. data/lib/commands/order_pages.rb +128 -0
  27. data/lib/commands/page/delete.rb +47 -0
  28. data/lib/commands/page/inspect.rb +35 -0
  29. data/lib/commands/page/new.rb +2 -0
  30. data/lib/commands/page/page_generator.rb +130 -0
  31. data/lib/commands/page/template/pagedir/variables.yml +1 -0
  32. data/lib/commands/server.rb +125 -0
  33. data/lib/commands/site/inspect.rb +28 -0
  34. data/lib/commands/site/new.rb +10 -0
  35. data/lib/commands/site/site_generator.rb +93 -0
  36. data/lib/commands/site/template/manifest.yml +4 -0
  37. data/lib/commands/site/template/project/lib/helpers.rb +1 -0
  38. data/lib/commands/site/template/project/site/content.erb +14 -0
  39. data/lib/commands/site/template/project/site/header.erb +7 -0
  40. data/lib/commands/site/template/project/site/layout.erb +20 -0
  41. data/lib/commands/site/template/project/site/navigation.erb +7 -0
  42. data/lib/commands/site/template/project/site/variables.yml +1 -0
  43. data/lib/commands/site/template/project/styles/style.sass +74 -0
  44. data/lib/commands/site/template/script/config/boot.rb +5 -0
  45. data/lib/commands/site/template/script/moka +4 -0
  46. data/lib/script_moka_loader.rb +14 -0
  47. data/lib/version.rb +10 -0
  48. data/moka.gemspec +39 -0
  49. metadata +182 -0
metadata ADDED
@@ -0,0 +1,182 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: moka
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 1
9
+ version: 0.1.1
10
+ platform: ruby
11
+ authors:
12
+ - Luca Ongaro
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2010-11-16 00:00:00 +01:00
18
+ default_executable: moka
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: thor
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ version: "0"
30
+ type: :runtime
31
+ version_requirements: *id001
32
+ - !ruby/object:Gem::Dependency
33
+ name: haml
34
+ prerelease: false
35
+ requirement: &id002 !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ segments:
40
+ - 0
41
+ version: "0"
42
+ type: :runtime
43
+ version_requirements: *id002
44
+ description: Moka is a damn simple framework designed to build static websites like portfolios, showcases, minisites, HTML mockups, etc. Moka setup takes a single command, and it provides a hierarchical template system and some hyper-convenient helper functions so you never have to write more code than necessary. The result of your work is compiled to plain HTML, CSS and Javascript, so you just have to upload it to your server. Plus, don't forget the Lipsum helper functions to generate dummy text with a single line of code during development or in HTML mockups.
45
+ email: mail@lucaongaro.eu
46
+ executables:
47
+ - moka
48
+ extensions: []
49
+
50
+ extra_rdoc_files:
51
+ - LICENSE.txt
52
+ - README.rdoc
53
+ - bin/moka
54
+ - lib/commands.rb
55
+ - lib/commands/compile.rb
56
+ - lib/commands/delete.rb
57
+ - lib/commands/group/delete.rb
58
+ - lib/commands/group/group_generator.rb
59
+ - lib/commands/group/inspect.rb
60
+ - lib/commands/group/new.rb
61
+ - lib/commands/group/template/groupdir/variables.yml
62
+ - lib/commands/inspect.rb
63
+ - lib/commands/lib/compiler.rb
64
+ - lib/commands/lib/helpers.rb
65
+ - lib/commands/lib/lipsum_constants.rb
66
+ - lib/commands/lib/lipsum_helpers.rb
67
+ - lib/commands/lib/page_scope.rb
68
+ - lib/commands/lib/partials_inclusion.rb
69
+ - lib/commands/lib/site_tree.rb
70
+ - lib/commands/lib/string_inflectors.rb
71
+ - lib/commands/lib/utilities.rb
72
+ - lib/commands/new.rb
73
+ - lib/commands/order_groups.rb
74
+ - lib/commands/order_pages.rb
75
+ - lib/commands/page/delete.rb
76
+ - lib/commands/page/inspect.rb
77
+ - lib/commands/page/new.rb
78
+ - lib/commands/page/page_generator.rb
79
+ - lib/commands/page/template/pagedir/variables.yml
80
+ - lib/commands/server.rb
81
+ - lib/commands/site/inspect.rb
82
+ - lib/commands/site/new.rb
83
+ - lib/commands/site/site_generator.rb
84
+ - lib/commands/site/template/manifest.yml
85
+ - lib/commands/site/template/project/lib/helpers.rb
86
+ - lib/commands/site/template/project/site/content.erb
87
+ - lib/commands/site/template/project/site/header.erb
88
+ - lib/commands/site/template/project/site/layout.erb
89
+ - lib/commands/site/template/project/site/navigation.erb
90
+ - lib/commands/site/template/project/site/variables.yml
91
+ - lib/commands/site/template/project/styles/style.sass
92
+ - lib/commands/site/template/script/config/boot.rb
93
+ - lib/commands/site/template/script/moka
94
+ - lib/script_moka_loader.rb
95
+ - lib/version.rb
96
+ files:
97
+ - LICENSE.txt
98
+ - Manifest
99
+ - README.rdoc
100
+ - Rakefile
101
+ - bin/moka
102
+ - lib/commands.rb
103
+ - lib/commands/compile.rb
104
+ - lib/commands/delete.rb
105
+ - lib/commands/group/delete.rb
106
+ - lib/commands/group/group_generator.rb
107
+ - lib/commands/group/inspect.rb
108
+ - lib/commands/group/new.rb
109
+ - lib/commands/group/template/groupdir/variables.yml
110
+ - lib/commands/inspect.rb
111
+ - lib/commands/lib/compiler.rb
112
+ - lib/commands/lib/helpers.rb
113
+ - lib/commands/lib/lipsum_constants.rb
114
+ - lib/commands/lib/lipsum_helpers.rb
115
+ - lib/commands/lib/page_scope.rb
116
+ - lib/commands/lib/partials_inclusion.rb
117
+ - lib/commands/lib/site_tree.rb
118
+ - lib/commands/lib/string_inflectors.rb
119
+ - lib/commands/lib/utilities.rb
120
+ - lib/commands/new.rb
121
+ - lib/commands/order_groups.rb
122
+ - lib/commands/order_pages.rb
123
+ - lib/commands/page/delete.rb
124
+ - lib/commands/page/inspect.rb
125
+ - lib/commands/page/new.rb
126
+ - lib/commands/page/page_generator.rb
127
+ - lib/commands/page/template/pagedir/variables.yml
128
+ - lib/commands/server.rb
129
+ - lib/commands/site/inspect.rb
130
+ - lib/commands/site/new.rb
131
+ - lib/commands/site/site_generator.rb
132
+ - lib/commands/site/template/manifest.yml
133
+ - lib/commands/site/template/project/lib/helpers.rb
134
+ - lib/commands/site/template/project/site/content.erb
135
+ - lib/commands/site/template/project/site/header.erb
136
+ - lib/commands/site/template/project/site/layout.erb
137
+ - lib/commands/site/template/project/site/navigation.erb
138
+ - lib/commands/site/template/project/site/variables.yml
139
+ - lib/commands/site/template/project/styles/style.sass
140
+ - lib/commands/site/template/script/config/boot.rb
141
+ - lib/commands/site/template/script/moka
142
+ - lib/script_moka_loader.rb
143
+ - lib/version.rb
144
+ - moka.gemspec
145
+ has_rdoc: true
146
+ homepage: https://github.com/DukeLeNoir/Moka
147
+ licenses: []
148
+
149
+ post_install_message: Welcome aboard Moka. You'll love it!
150
+ rdoc_options:
151
+ - --line-numbers
152
+ - --inline-source
153
+ - --title
154
+ - Moka
155
+ - --main
156
+ - README.rdoc
157
+ require_paths:
158
+ - lib
159
+ required_ruby_version: !ruby/object:Gem::Requirement
160
+ requirements:
161
+ - - ">="
162
+ - !ruby/object:Gem::Version
163
+ segments:
164
+ - 0
165
+ version: "0"
166
+ required_rubygems_version: !ruby/object:Gem::Requirement
167
+ requirements:
168
+ - - ">="
169
+ - !ruby/object:Gem::Version
170
+ segments:
171
+ - 1
172
+ - 2
173
+ version: "1.2"
174
+ requirements: []
175
+
176
+ rubyforge_project: moka
177
+ rubygems_version: 1.3.6
178
+ signing_key:
179
+ specification_version: 3
180
+ summary: An damn simple static website framework.
181
+ test_files: []
182
+