drupal.rb 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. data/History.txt +53 -0
  2. data/Manifest.txt +23 -0
  3. data/README.txt +108 -0
  4. data/Rakefile +21 -0
  5. data/bin/drupal +4 -0
  6. data/drupal.rb.gemspec +59 -0
  7. data/lib/drupal/create_module.rb +276 -0
  8. data/lib/drupal/install.rb +143 -0
  9. data/lib/drupal/templates/5.x/base/info +6 -0
  10. data/lib/drupal/templates/5.x/comments/file +9 -0
  11. data/lib/drupal/templates/5.x/comments/large +6 -0
  12. data/lib/drupal/templates/5.x/hooks/block +44 -0
  13. data/lib/drupal/templates/5.x/hooks/cron +7 -0
  14. data/lib/drupal/templates/5.x/hooks/form_alter +14 -0
  15. data/lib/drupal/templates/5.x/hooks/init +7 -0
  16. data/lib/drupal/templates/5.x/hooks/install +15 -0
  17. data/lib/drupal/templates/5.x/hooks/menu +24 -0
  18. data/lib/drupal/templates/5.x/hooks/perm +7 -0
  19. data/lib/drupal/templates/5.x/txt/changelog +9 -0
  20. data/lib/drupal/templates/5.x/txt/readme +36 -0
  21. data/lib/drupal/templates/6.x/base/info +6 -0
  22. data/lib/drupal/templates/6.x/comments/file +9 -0
  23. data/lib/drupal/templates/6.x/comments/large +6 -0
  24. data/lib/drupal/templates/6.x/hooks/block +45 -0
  25. data/lib/drupal/templates/6.x/hooks/boot +7 -0
  26. data/lib/drupal/templates/6.x/hooks/cron +7 -0
  27. data/lib/drupal/templates/6.x/hooks/form_alter +11 -0
  28. data/lib/drupal/templates/6.x/hooks/init +8 -0
  29. data/lib/drupal/templates/6.x/hooks/menu +17 -0
  30. data/lib/drupal/templates/6.x/hooks/perm +7 -0
  31. data/lib/drupal/templates/6.x/hooks/theme +11 -0
  32. data/lib/drupal/templates/6.x/txt/changelog +9 -0
  33. data/lib/drupal/templates/6.x/txt/readme +36 -0
  34. data/lib/drupal/todo_list.rb +72 -0
  35. data/lib/drupal.rb +156 -0
  36. data/test/test_create_module.rb +1 -0
  37. data/test/test_drupal.rb +6 -0
  38. data/test/test_install.rb +23 -0
  39. data/test/test_todo_list.rb +0 -0
  40. metadata +145 -0
metadata ADDED
@@ -0,0 +1,145 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: drupal.rb
3
+ version: !ruby/object:Gem::Version
4
+ hash: 7
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 12
10
+ version: 0.0.12
11
+ platform: ruby
12
+ authors:
13
+ - tj@vision-media.ca
14
+ - ber@webschuur.com
15
+ autorequire:
16
+ bindir: bin
17
+ cert_chain: []
18
+
19
+ date: 2010-02-14 00:00:00 +01:00
20
+ default_executable:
21
+ dependencies:
22
+ - !ruby/object:Gem::Dependency
23
+ name: archive-tar-minitar
24
+ prerelease: false
25
+ requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ">"
29
+ - !ruby/object:Gem::Version
30
+ hash: 11
31
+ segments:
32
+ - 0
33
+ - 5
34
+ - 0
35
+ version: 0.5.0
36
+ type: :runtime
37
+ version_requirements: *id001
38
+ - !ruby/object:Gem::Dependency
39
+ name: active_support
40
+ prerelease: false
41
+ requirement: &id002 !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ">"
45
+ - !ruby/object:Gem::Version
46
+ hash: 31
47
+ segments:
48
+ - 0
49
+ - 0
50
+ - 0
51
+ version: 0.0.0
52
+ type: :runtime
53
+ version_requirements: *id002
54
+ description: Drupal is an open source Ruby development tool allowing developers to quickly generate and manage Drupal modules.
55
+ email: ber@webschuur.com
56
+ executables:
57
+ - drupal
58
+ extensions: []
59
+
60
+ extra_rdoc_files:
61
+ - History.txt
62
+ - Manifest.txt
63
+ - README.txt
64
+ files:
65
+ - History.txt
66
+ - Manifest.txt
67
+ - README.txt
68
+ - Rakefile
69
+ - drupal.rb.gemspec
70
+ - lib/drupal.rb
71
+ - lib/drupal/create_module.rb
72
+ - lib/drupal/todo_list.rb
73
+ - lib/drupal/install.rb
74
+ - lib/drupal/templates/6.x/comments/file
75
+ - lib/drupal/templates/6.x/comments/large
76
+ - lib/drupal/templates/6.x/hooks/block
77
+ - lib/drupal/templates/6.x/hooks/boot
78
+ - lib/drupal/templates/6.x/hooks/cron
79
+ - lib/drupal/templates/6.x/hooks/form_alter
80
+ - lib/drupal/templates/6.x/hooks/init
81
+ - lib/drupal/templates/6.x/hooks/menu
82
+ - lib/drupal/templates/6.x/hooks/perm
83
+ - lib/drupal/templates/6.x/hooks/theme
84
+ - lib/drupal/templates/6.x/txt/changelog
85
+ - lib/drupal/templates/6.x/txt/readme
86
+ - lib/drupal/templates/6.x/base/info
87
+ - lib/drupal/templates/5.x/comments/file
88
+ - lib/drupal/templates/5.x/comments/large
89
+ - lib/drupal/templates/5.x/hooks/block
90
+ - lib/drupal/templates/5.x/hooks/install
91
+ - lib/drupal/templates/5.x/hooks/cron
92
+ - lib/drupal/templates/5.x/hooks/form_alter
93
+ - lib/drupal/templates/5.x/hooks/init
94
+ - lib/drupal/templates/5.x/hooks/menu
95
+ - lib/drupal/templates/5.x/hooks/perm
96
+ - lib/drupal/templates/5.x/txt/changelog
97
+ - lib/drupal/templates/5.x/txt/readme
98
+ - lib/drupal/templates/5.x/base/info
99
+ - bin/drupal
100
+ - test/test_drupal.rb
101
+ - test/test_install.rb
102
+ - test/test_create_module.rb
103
+ - test/test_todo_list.rb
104
+ has_rdoc: true
105
+ homepage: http://berkes.github.com/drupal.rb/
106
+ licenses: []
107
+
108
+ post_install_message:
109
+ rdoc_options:
110
+ - --main
111
+ - README.txt
112
+ require_paths:
113
+ - lib
114
+ required_ruby_version: !ruby/object:Gem::Requirement
115
+ none: false
116
+ requirements:
117
+ - - ">="
118
+ - !ruby/object:Gem::Version
119
+ hash: 3
120
+ segments:
121
+ - 0
122
+ version: "0"
123
+ required_rubygems_version: !ruby/object:Gem::Requirement
124
+ none: false
125
+ requirements:
126
+ - - ">="
127
+ - !ruby/object:Gem::Version
128
+ hash: 3
129
+ segments:
130
+ - 0
131
+ version: "0"
132
+ requirements:
133
+ - A POSIX compliant environment (Mac, Unix, Linux, and for Windows Cygwin)
134
+ - Minitar Gem version 0.5.0 or greater. http://raa.ruby-lang.org/project/minitar
135
+ - Pluralize, as found in active_support, for database scaffolding.
136
+ rubyforge_project:
137
+ rubygems_version: 1.3.7
138
+ signing_key:
139
+ specification_version: 3
140
+ summary: Drupal development kit
141
+ test_files:
142
+ - test/test_drupal.rb
143
+ - test/test_install.rb
144
+ - test/test_create_module.rb
145
+ - test/test_todo_list.rb