appleseed 0.1.3 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.2.0
data/appleseed.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{appleseed}
8
- s.version = "0.1.3"
8
+ s.version = "0.2.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ryan Alyn Porter"]
12
- s.date = %q{2010-08-30}
12
+ s.date = %q{2010-08-31}
13
13
  s.default_executable = %q{appleseed}
14
14
  s.description = %q{Generator for a Rails 3 app that will also push the project to GitHub and Heroku.}
15
15
  s.executables = ["appleseed"]
@@ -35,15 +35,21 @@ Gem::Specification.new do |s|
35
35
  "spec/appleseed_spec.rb",
36
36
  "spec/spec.opts",
37
37
  "spec/spec_helper.rb",
38
+ "templates/bundle_install.rb",
38
39
  "templates/compass.rb",
40
+ "templates/compass_gem.rb",
39
41
  "templates/cucumber.rb",
42
+ "templates/cucumber_gems.rb",
40
43
  "templates/default.rb",
44
+ "templates/development.rb",
41
45
  "templates/gitignore.rb",
42
46
  "templates/haml.rb",
47
+ "templates/haml_gem.rb",
43
48
  "templates/jquery.rb",
44
- "templates/remove_prototype.rb",
49
+ "templates/jquery_gem.rb",
45
50
  "templates/root_controller.rb",
46
- "templates/rspec.rb"
51
+ "templates/rspec.rb",
52
+ "templates/rspec_gem.rb"
47
53
  ]
48
54
  s.homepage = %q{http://github.com/endymion/appleseed}
49
55
  s.rdoc_options = ["--charset=UTF-8"]
@@ -0,0 +1 @@
1
+ run 'bundle install'
data/templates/compass.rb CHANGED
@@ -1,7 +1,3 @@
1
- gem "compass"
2
-
3
- run 'bundle install'
4
-
5
1
  run 'compass init rails . --using blueprint --sass-dir app/stylesheets --css-dir public/stylesheets/compiled'
6
2
 
7
3
  run 'compass compile'
@@ -0,0 +1 @@
1
+ gem "compass"
@@ -1,8 +1 @@
1
- gem 'cucumber'
2
- gem 'cucumber-rails'
3
- gem 'capybara'
4
-
5
- run 'bundle install'
6
-
7
- # Generate Cucumber infrastructure.
8
- run 'rails generate cucumber:install --rspec --capybara'
1
+ generate 'cucumber:install --rspec --capybara'
@@ -0,0 +1,3 @@
1
+ gem 'cucumber'
2
+ gem 'cucumber-rails'
3
+ gem 'capybara'
data/templates/default.rb CHANGED
@@ -1,17 +1,7 @@
1
1
  apply 'http://github.com/endymion/appleseed/raw/master/templates/gitignore.rb'
2
2
  apply 'http://github.com/endymion/appleseed/raw/master/templates/haml.rb'
3
3
  apply 'http://github.com/endymion/appleseed/raw/master/templates/compass.rb'
4
- apply 'http://github.com/endymion/appleseed/raw/master/templates/remove_prototype.rb'
5
4
  apply 'http://github.com/endymion/appleseed/raw/master/templates/jquery.rb'
6
5
  apply 'http://github.com/endymion/appleseed/raw/master/templates/rspec.rb'
7
6
  apply 'http://github.com/endymion/appleseed/raw/master/templates/cucumber.rb'
8
- apply 'http://github.com/endymion/appleseed/raw/master/templates/root_controller.rb'
9
-
10
- # apply 'http://localhost/projects/appleseed/templates/gitignore.rb'
11
- # apply 'http://localhost/projects/appleseed/templates/haml.rb'
12
- # apply 'http://localhost/projects/appleseed/templates/compass.rb'
13
- # apply 'http://localhost/projects/appleseed/templates/remove_prototype.rb'
14
- # apply 'http://localhost/projects/appleseed/templates/jquery.rb'
15
- # apply 'http://localhost/projects/appleseed/templates/rspec.rb'
16
- # apply 'http://localhost/projects/appleseed/templates/cucumber.rb'
17
- # apply 'http://localhost/projects/appleseed/templates/root_controller.rb'
7
+ apply 'http://github.com/endymion/appleseed/raw/master/templates/root_controller.rb'
@@ -0,0 +1,15 @@
1
+ apply 'http://localhost/projects/appleseed/templates/haml_gem.rb'
2
+ apply 'http://localhost/projects/appleseed/templates/compass_gem.rb'
3
+ apply 'http://localhost/projects/appleseed/templates/jquery_gem.rb'
4
+ apply 'http://localhost/projects/appleseed/templates/rspec_gem.rb'
5
+ apply 'http://localhost/projects/appleseed/templates/cucumber_gems.rb'
6
+
7
+ apply 'http://localhost/projects/appleseed/templates/bundle_install.rb'
8
+
9
+ apply 'http://localhost/projects/appleseed/templates/gitignore.rb'
10
+ apply 'http://localhost/projects/appleseed/templates/haml.rb'
11
+ apply 'http://localhost/projects/appleseed/templates/compass.rb'
12
+ apply 'http://localhost/projects/appleseed/templates/jquery.rb'
13
+ apply 'http://localhost/projects/appleseed/templates/rspec.rb'
14
+ apply 'http://localhost/projects/appleseed/templates/cucumber.rb'
15
+ apply 'http://localhost/projects/appleseed/templates/root_controller.rb'
data/templates/haml.rb CHANGED
@@ -1,7 +1,3 @@
1
- gem 'haml'
2
-
3
- run 'bundle install'
4
-
5
1
  run 'haml --rails .'
6
2
 
7
3
  run 'git clone git://github.com/psynix/rails3_haml_scaffold_generator.git lib/generators/haml'
@@ -0,0 +1 @@
1
+ gem 'haml'
data/templates/jquery.rb CHANGED
@@ -1,6 +1,3 @@
1
- # Install JQuery 1.4.2.
2
- run "curl -L http://code.jquery.com/jquery-1.4.2.min.js > public/javascripts/jquery.js"
3
- get "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js", "public/javascripts/jquery-ui.js"
4
-
5
1
  run 'rm public/javascripts/rails.js'
6
- get "http://github.com/rails/jquery-ujs/raw/master/src/rails.js", "public/javascripts/rails.js"
2
+
3
+ generate 'jquery:install'
@@ -0,0 +1 @@
1
+ gem 'jquery-rails'
data/templates/rspec.rb CHANGED
@@ -1,7 +1,4 @@
1
- gem "rspec-rails", ">= 2.0.0.beta.17"
2
- gem "factory_girl"
3
-
4
- generate("rspec")
1
+ generate 'rspec'
5
2
 
6
3
  gsub_file 'config/application.rb', /^\s*config.generators do \|g\|$/, %{
7
4
  config.generators do |g|
@@ -0,0 +1,2 @@
1
+ gem "rspec-rails", ">= 2.0.0.beta.17"
2
+ gem "factory_girl"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appleseed
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 1
9
- - 3
10
- version: 0.1.3
8
+ - 2
9
+ - 0
10
+ version: 0.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Alyn Porter
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-30 00:00:00 -04:00
18
+ date: 2010-08-31 00:00:00 -04:00
19
19
  default_executable: appleseed
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -61,15 +61,21 @@ files:
61
61
  - spec/appleseed_spec.rb
62
62
  - spec/spec.opts
63
63
  - spec/spec_helper.rb
64
+ - templates/bundle_install.rb
64
65
  - templates/compass.rb
66
+ - templates/compass_gem.rb
65
67
  - templates/cucumber.rb
68
+ - templates/cucumber_gems.rb
66
69
  - templates/default.rb
70
+ - templates/development.rb
67
71
  - templates/gitignore.rb
68
72
  - templates/haml.rb
73
+ - templates/haml_gem.rb
69
74
  - templates/jquery.rb
70
- - templates/remove_prototype.rb
75
+ - templates/jquery_gem.rb
71
76
  - templates/root_controller.rb
72
77
  - templates/rspec.rb
78
+ - templates/rspec_gem.rb
73
79
  has_rdoc: true
74
80
  homepage: http://github.com/endymion/appleseed
75
81
  licenses: []
@@ -1,5 +0,0 @@
1
- # Remove default JavaScript files that use Prototype.
2
- run "rm public/javascripts/controls.js"
3
- run "rm public/javascripts/dragdrop.js"
4
- run "rm public/javascripts/effects.js"
5
- run "rm public/javascripts/prototype.js"