base-generators 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/README.textile +7 -5
  2. data/Rakefile +7 -0
  3. data/VERSION +1 -1
  4. data/base-generators.gemspec +22 -1
  5. metadata +101 -4
data/README.textile CHANGED
@@ -12,9 +12,11 @@ Easy, dude.
12
12
 
13
13
  h2. Generators
14
14
 
15
+ It provides two generators (so far)
16
+
15
17
  h3. base_bootstrap
16
18
 
17
- This generator copies all the templates and helper methods needed for the base_scaffold generator.
19
+ This generator copies all the templates and helper methods needed for the base_scaffold generator to work.
18
20
 
19
21
  <pre>
20
22
  ruby script/generate base_bootstrap layout_name
@@ -36,27 +38,27 @@ h2. Dependencies
36
38
  ** inherited_resources
37
39
  ** searchlogic
38
40
  ** validation_reflection
39
- ** web-app-theme
41
+ ** web-app-theme (only needed for the bootstrap)
40
42
  ** will_paginate
41
43
  ** show_for (version 0.1.3)
42
44
 
43
45
  * Javascripts Files
44
46
  ** "jquery":http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js
45
- ** "jquery.form":http://jquery.malsup.com/form/jquery.form.js?2.36
47
+ ** "jquery.form":http://github.com/malsup/form/raw/master/jquery.form.js?v2.40
46
48
  ** "jquery-ui":http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js
47
49
  ** "jrails":http://github.com/aaronchi/jrails/raw/master/javascripts/jrails.js
48
50
  ** "livequery":http://github.com/brandonaaron/livequery/raw/master/jquery.livequery.js
49
51
 
52
+
50
53
  h2. PLUS: Easy bootstrap of your new app!
51
54
 
52
55
  If your starting with a new app, then you can rely on my own rails template to install the dependencies.
53
56
  *Warning*: Although it's base on other rails templates, it also includes my personal choices, so you may not agree with it.
54
57
 
55
58
  <pre>
56
- rails -m http://github.com/lucasefe/base-generators/raw/master/rails_template.rb my_new_rails_app
59
+ rails -m http://github.com/lucasefe/base-generators/raw/master/rails_template.rb my_new_rails_app
57
60
  </pre>
58
61
 
59
-
60
62
  h2. Disclaimer
61
63
 
62
64
  This is a work in progress, so don't complain about it. If you don't like something, contribute to fix it.
data/Rakefile CHANGED
@@ -23,6 +23,13 @@ begin
23
23
  gemspec.homepage = "http://github.com/lucasefe/base-generators"
24
24
  gemspec.authors = ["Lucas Efe"]
25
25
  gemspec.email = "lucasefe@gmail.com"
26
+ gemspec.add_dependency('searchlogic', '>= 2.4.19')
27
+ gemspec.add_dependency('inherited_resources', '= 1.0.6')
28
+ gemspec.add_dependency('formtastic','= 0.9.8')
29
+ gemspec.add_dependency('validation_reflection','= 0.3.6')
30
+ gemspec.add_dependency('show_for','= 0.1.3')
31
+ gemspec.add_dependency('will_paginate','= 2.3.12')
32
+ gemspec.add_dependency('haml','2.2.23')
26
33
  end
27
34
  Jeweler::GemcutterTasks.new
28
35
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{base-generators}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Lucas Efe"]
@@ -67,9 +67,30 @@ Gem::Specification.new do |s|
67
67
  s.specification_version = 3
68
68
 
69
69
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
70
+ s.add_runtime_dependency(%q<searchlogic>, [">= 2.4.19"])
71
+ s.add_runtime_dependency(%q<inherited_resources>, ["= 1.0.6"])
72
+ s.add_runtime_dependency(%q<formtastic>, ["= 0.9.8"])
73
+ s.add_runtime_dependency(%q<validation_reflection>, ["= 0.3.6"])
74
+ s.add_runtime_dependency(%q<show_for>, ["= 0.1.3"])
75
+ s.add_runtime_dependency(%q<will_paginate>, ["= 2.3.12"])
76
+ s.add_runtime_dependency(%q<haml>, ["= 2.2.23"])
70
77
  else
78
+ s.add_dependency(%q<searchlogic>, [">= 2.4.19"])
79
+ s.add_dependency(%q<inherited_resources>, ["= 1.0.6"])
80
+ s.add_dependency(%q<formtastic>, ["= 0.9.8"])
81
+ s.add_dependency(%q<validation_reflection>, ["= 0.3.6"])
82
+ s.add_dependency(%q<show_for>, ["= 0.1.3"])
83
+ s.add_dependency(%q<will_paginate>, ["= 2.3.12"])
84
+ s.add_dependency(%q<haml>, ["= 2.2.23"])
71
85
  end
72
86
  else
87
+ s.add_dependency(%q<searchlogic>, [">= 2.4.19"])
88
+ s.add_dependency(%q<inherited_resources>, ["= 1.0.6"])
89
+ s.add_dependency(%q<formtastic>, ["= 0.9.8"])
90
+ s.add_dependency(%q<validation_reflection>, ["= 0.3.6"])
91
+ s.add_dependency(%q<show_for>, ["= 0.1.3"])
92
+ s.add_dependency(%q<will_paginate>, ["= 2.3.12"])
93
+ s.add_dependency(%q<haml>, ["= 2.2.23"])
73
94
  end
74
95
  end
75
96
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 1
9
- version: 0.1.1
8
+ - 2
9
+ version: 0.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Lucas Efe
@@ -16,8 +16,105 @@ cert_chain: []
16
16
 
17
17
  date: 2010-04-26 00:00:00 -03:00
18
18
  default_executable:
19
- dependencies: []
20
-
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: searchlogic
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 2
29
+ - 4
30
+ - 19
31
+ version: 2.4.19
32
+ type: :runtime
33
+ version_requirements: *id001
34
+ - !ruby/object:Gem::Dependency
35
+ name: inherited_resources
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "="
40
+ - !ruby/object:Gem::Version
41
+ segments:
42
+ - 1
43
+ - 0
44
+ - 6
45
+ version: 1.0.6
46
+ type: :runtime
47
+ version_requirements: *id002
48
+ - !ruby/object:Gem::Dependency
49
+ name: formtastic
50
+ prerelease: false
51
+ requirement: &id003 !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "="
54
+ - !ruby/object:Gem::Version
55
+ segments:
56
+ - 0
57
+ - 9
58
+ - 8
59
+ version: 0.9.8
60
+ type: :runtime
61
+ version_requirements: *id003
62
+ - !ruby/object:Gem::Dependency
63
+ name: validation_reflection
64
+ prerelease: false
65
+ requirement: &id004 !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "="
68
+ - !ruby/object:Gem::Version
69
+ segments:
70
+ - 0
71
+ - 3
72
+ - 6
73
+ version: 0.3.6
74
+ type: :runtime
75
+ version_requirements: *id004
76
+ - !ruby/object:Gem::Dependency
77
+ name: show_for
78
+ prerelease: false
79
+ requirement: &id005 !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "="
82
+ - !ruby/object:Gem::Version
83
+ segments:
84
+ - 0
85
+ - 1
86
+ - 3
87
+ version: 0.1.3
88
+ type: :runtime
89
+ version_requirements: *id005
90
+ - !ruby/object:Gem::Dependency
91
+ name: will_paginate
92
+ prerelease: false
93
+ requirement: &id006 !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - "="
96
+ - !ruby/object:Gem::Version
97
+ segments:
98
+ - 2
99
+ - 3
100
+ - 12
101
+ version: 2.3.12
102
+ type: :runtime
103
+ version_requirements: *id006
104
+ - !ruby/object:Gem::Dependency
105
+ name: haml
106
+ prerelease: false
107
+ requirement: &id007 !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - "="
110
+ - !ruby/object:Gem::Version
111
+ segments:
112
+ - 2
113
+ - 2
114
+ - 23
115
+ version: 2.2.23
116
+ type: :runtime
117
+ version_requirements: *id007
21
118
  description: BaseGenerators tries to ease the pain of starting a new app from scratch by automating tasks with generators.
22
119
  email: lucasefe@gmail.com
23
120
  executables: []