vgenerator 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/Manifest ADDED
@@ -0,0 +1,4 @@
1
+ Manifest
2
+ README.rdoc
3
+ Rakefile
4
+ lib/vgenerator.rb
data/README.rdoc ADDED
File without changes
data/Rakefile ADDED
@@ -0,0 +1,14 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+ require 'echoe'
4
+
5
+ Echoe.new('vgenerator', '0.1.1') do |p|
6
+ p.description = "Adds class options to rails new command"
7
+ p.url = "http://www.liquidphire.com"
8
+ p.author = "Ahmad Varoqua"
9
+ p.email = "ahmad.varoqua@gmail.com"
10
+ p.ignore_pattern = ["tmp/*", "script/*"]
11
+ p.development_dependencies = []
12
+ end
13
+
14
+ Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }
data/lib/vgenerator.rb ADDED
@@ -0,0 +1,18 @@
1
+ class VaroquaGroupAppGenerator < Rails::Generators::AppGenerator
2
+ include Thor::Shell
3
+
4
+ source_root File.expand_path('../templates', __FILE__)
5
+
6
+ #class_option :skip_rspec, :type => :boolean, :aliases => "-R", :default => false, :desc => "Skip rspec"
7
+ #class_option :skip_cucumber, :type => :boolean, :aliases => "-C", :default => false, :desc => "Skip cucumber"
8
+ #class_option :skip_jasmine, :type => :boolean, :aliases => "-J", :default => false, :desc => "Skip jasmine"
9
+
10
+ #class_option :skip_jquery, :type => :boolean, :aliases => "-jq", :default => false, :desc => "Skip jQuery."
11
+ #class_option :skip_github, :type => :boolean, :aliases => "-gh", :default => false, :desc => "Skip github."
12
+ class_option :skip_hello, :type => :boolean, :aliases => "-hello", :default => false, :desc => "Skip hello."
13
+
14
+ end
15
+
16
+ class Rails::Generators::AppGenerator
17
+ include VaroquaGroupAppGenerator
18
+ end
@@ -0,0 +1,30 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{vgenerator}
5
+ s.version = "0.1.1"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["Ahmad Varoqua"]
9
+ s.date = %q{2010-10-10}
10
+ s.description = %q{Adds class options to rails new command}
11
+ s.email = %q{ahmad.varoqua@gmail.com}
12
+ s.extra_rdoc_files = ["README.rdoc", "lib/vgenerator.rb"]
13
+ s.files = ["Manifest", "README.rdoc", "Rakefile", "lib/vgenerator.rb", "vgenerator.gemspec"]
14
+ s.homepage = %q{http://www.liquidphire.com}
15
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Vgenerator", "--main", "README.rdoc"]
16
+ s.require_paths = ["lib"]
17
+ s.rubyforge_project = %q{vgenerator}
18
+ s.rubygems_version = %q{1.3.7}
19
+ s.summary = %q{Adds class options to rails new command}
20
+
21
+ if s.respond_to? :specification_version then
22
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
23
+ s.specification_version = 3
24
+
25
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
26
+ else
27
+ end
28
+ else
29
+ end
30
+ end
metadata ADDED
@@ -0,0 +1,78 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: vgenerator
3
+ version: !ruby/object:Gem::Version
4
+ hash: 25
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 1
10
+ version: 0.1.1
11
+ platform: ruby
12
+ authors:
13
+ - Ahmad Varoqua
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-10-10 00:00:00 -07:00
19
+ default_executable:
20
+ dependencies: []
21
+
22
+ description: Adds class options to rails new command
23
+ email: ahmad.varoqua@gmail.com
24
+ executables: []
25
+
26
+ extensions: []
27
+
28
+ extra_rdoc_files:
29
+ - README.rdoc
30
+ - lib/vgenerator.rb
31
+ files:
32
+ - Manifest
33
+ - README.rdoc
34
+ - Rakefile
35
+ - lib/vgenerator.rb
36
+ - vgenerator.gemspec
37
+ has_rdoc: true
38
+ homepage: http://www.liquidphire.com
39
+ licenses: []
40
+
41
+ post_install_message:
42
+ rdoc_options:
43
+ - --line-numbers
44
+ - --inline-source
45
+ - --title
46
+ - Vgenerator
47
+ - --main
48
+ - README.rdoc
49
+ require_paths:
50
+ - lib
51
+ required_ruby_version: !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ hash: 3
57
+ segments:
58
+ - 0
59
+ version: "0"
60
+ required_rubygems_version: !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ hash: 11
66
+ segments:
67
+ - 1
68
+ - 2
69
+ version: "1.2"
70
+ requirements: []
71
+
72
+ rubyforge_project: vgenerator
73
+ rubygems_version: 1.3.7
74
+ signing_key:
75
+ specification_version: 3
76
+ summary: Adds class options to rails new command
77
+ test_files: []
78
+