prigner 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. data/CHANGELOG +248 -0
  2. data/COPYING +21 -0
  3. data/README.mkd +90 -0
  4. data/Rakefile +211 -0
  5. data/bin/prign +65 -0
  6. data/lib/prigner/builder.rb +51 -0
  7. data/lib/prigner/cli/copy.rb +0 -0
  8. data/lib/prigner/cli/list.rb +54 -0
  9. data/lib/prigner/cli/new.rb +96 -0
  10. data/lib/prigner/cli.rb +102 -0
  11. data/lib/prigner/extensions.rb +67 -0
  12. data/lib/prigner/model.rb +97 -0
  13. data/lib/prigner/project.rb +71 -0
  14. data/lib/prigner/template.rb +148 -0
  15. data/lib/prigner.rb +186 -0
  16. data/prigner.gemspec +120 -0
  17. data/share/templates/ruby/default/models/CHANGELOG +13 -0
  18. data/share/templates/ruby/default/models/COPYING +21 -0
  19. data/share/templates/ruby/default/models/README.rdoc +4 -0
  20. data/share/templates/ruby/default/models/module.rb +5 -0
  21. data/share/templates/ruby/default/specfile +16 -0
  22. data/share/templates/ruby/gem/models/CHANGELOG +13 -0
  23. data/share/templates/ruby/gem/models/COPYING +21 -0
  24. data/share/templates/ruby/gem/models/README.mkd +5 -0
  25. data/share/templates/ruby/gem/models/Rakefile +213 -0
  26. data/share/templates/ruby/gem/models/empty_test.rb +16 -0
  27. data/share/templates/ruby/gem/models/gemspec +67 -0
  28. data/share/templates/ruby/gem/models/module.rb +71 -0
  29. data/share/templates/ruby/gem/specfile +20 -0
  30. data/test/builder_test.rb +38 -0
  31. data/test/fixtures/model.rb.erb +12 -0
  32. data/test/fixtures/templates/shared/ruby/default/README.mkd +2 -0
  33. data/test/fixtures/templates/shared/ruby/default/models/README.mkd +2 -0
  34. data/test/fixtures/templates/shared/ruby/default/models/Rakefile +7 -0
  35. data/test/fixtures/templates/shared/ruby/default/models/empty_test.rb +21 -0
  36. data/test/fixtures/templates/shared/ruby/default/models/module.rb +6 -0
  37. data/test/fixtures/templates/shared/ruby/default/specfile +18 -0
  38. data/test/fixtures/templates/user/bash/default/specfile +0 -0
  39. data/test/fixtures/templates/user/ruby/program/models/README.erb +2 -0
  40. data/test/fixtures/templates/user/ruby/program/models/cli.rb.erb +5 -0
  41. data/test/fixtures/templates/user/ruby/program/models/module.rb.erb +6 -0
  42. data/test/fixtures/templates/user/ruby/program/models/program.rb.erb +3 -0
  43. data/test/fixtures/templates/user/ruby/program/specfile +18 -0
  44. data/test/fixtures/templates/user/vim/default/specfile +0 -0
  45. data/test/fixtures/templates/user/vim/plugin/specfile +0 -0
  46. data/test/fixtures/templates/user/vim/syntax/specfile +0 -0
  47. data/test/helpers.rb +22 -0
  48. data/test/model_test.rb +82 -0
  49. data/test/project_test.rb +46 -0
  50. data/test/spec_test.rb +64 -0
  51. data/test/template_test.rb +88 -0
  52. metadata +142 -0
metadata ADDED
@@ -0,0 +1,142 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: prigner
3
+ version: !ruby/object:Gem::Version
4
+ hash: 27
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 0
10
+ version: 0.1.0
11
+ platform: ruby
12
+ authors:
13
+ - Hallison Batista
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-10-18 00:00:00 -04:00
19
+ default_executable: prign
20
+ dependencies: []
21
+
22
+ description: Prigner is a Project Design Kit.
23
+ email: hallison@codigorama.com
24
+ executables:
25
+ - prign
26
+ extensions: []
27
+
28
+ extra_rdoc_files:
29
+ - README.mkd
30
+ - COPYING
31
+ - CHANGELOG
32
+ files:
33
+ - CHANGELOG
34
+ - COPYING
35
+ - README.mkd
36
+ - Rakefile
37
+ - bin/prign
38
+ - lib/prigner.rb
39
+ - lib/prigner/builder.rb
40
+ - lib/prigner/cli.rb
41
+ - lib/prigner/cli/copy.rb
42
+ - lib/prigner/cli/list.rb
43
+ - lib/prigner/cli/new.rb
44
+ - lib/prigner/extensions.rb
45
+ - lib/prigner/model.rb
46
+ - lib/prigner/project.rb
47
+ - lib/prigner/template.rb
48
+ - prigner.gemspec
49
+ - share/templates/ruby/default/models/CHANGELOG
50
+ - share/templates/ruby/default/models/COPYING
51
+ - share/templates/ruby/default/models/README.rdoc
52
+ - share/templates/ruby/default/models/module.rb
53
+ - share/templates/ruby/default/specfile
54
+ - share/templates/ruby/gem/models/CHANGELOG
55
+ - share/templates/ruby/gem/models/COPYING
56
+ - share/templates/ruby/gem/models/README.mkd
57
+ - share/templates/ruby/gem/models/Rakefile
58
+ - share/templates/ruby/gem/models/empty_test.rb
59
+ - share/templates/ruby/gem/models/gemspec
60
+ - share/templates/ruby/gem/models/module.rb
61
+ - share/templates/ruby/gem/specfile
62
+ - test/builder_test.rb
63
+ - test/fixtures/model.rb.erb
64
+ - test/fixtures/templates/shared/ruby/default/README.mkd
65
+ - test/fixtures/templates/shared/ruby/default/models/README.mkd
66
+ - test/fixtures/templates/shared/ruby/default/models/Rakefile
67
+ - test/fixtures/templates/shared/ruby/default/models/empty_test.rb
68
+ - test/fixtures/templates/shared/ruby/default/models/module.rb
69
+ - test/fixtures/templates/shared/ruby/default/specfile
70
+ - test/fixtures/templates/user/bash/default/specfile
71
+ - test/fixtures/templates/user/ruby/program/models/README.erb
72
+ - test/fixtures/templates/user/ruby/program/models/cli.rb.erb
73
+ - test/fixtures/templates/user/ruby/program/models/module.rb.erb
74
+ - test/fixtures/templates/user/ruby/program/models/program.rb.erb
75
+ - test/fixtures/templates/user/ruby/program/specfile
76
+ - test/fixtures/templates/user/vim/default/specfile
77
+ - test/fixtures/templates/user/vim/plugin/specfile
78
+ - test/fixtures/templates/user/vim/syntax/specfile
79
+ - test/helpers.rb
80
+ - test/model_test.rb
81
+ - test/project_test.rb
82
+ - test/spec_test.rb
83
+ - test/template_test.rb
84
+ has_rdoc: true
85
+ homepage: http://codigorama.com/products/prigner
86
+ licenses: []
87
+
88
+ post_install_message: |
89
+ ------------------------------------------------------------------------------
90
+ Prigner v0.1.0
91
+
92
+ Thanks for use Prigner.
93
+
94
+ Try run:
95
+
96
+ $ prign list
97
+
98
+ See all shared templates. If you want customize a template, just run:
99
+
100
+ $ prign copy <namespace>[:template]
101
+
102
+ Please, feedback in http://github.com/codigorama/prigner/issues.
103
+ ------------------------------------------------------------------------------
104
+
105
+ rdoc_options:
106
+ - --inline-source
107
+ - --line-numbers
108
+ - --charset
109
+ - utf8
110
+ - --main
111
+ - Prigner
112
+ - --title
113
+ - Prigner v0.1.0 API Documentation
114
+ require_paths:
115
+ - lib
116
+ required_ruby_version: !ruby/object:Gem::Requirement
117
+ none: false
118
+ requirements:
119
+ - - ">="
120
+ - !ruby/object:Gem::Version
121
+ hash: 3
122
+ segments:
123
+ - 0
124
+ version: "0"
125
+ required_rubygems_version: !ruby/object:Gem::Requirement
126
+ none: false
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ hash: 3
131
+ segments:
132
+ - 0
133
+ version: "0"
134
+ requirements: []
135
+
136
+ rubyforge_project: prigner
137
+ rubygems_version: 1.3.7
138
+ signing_key:
139
+ specification_version: 3
140
+ summary: Project designer.
141
+ test_files: []
142
+