appleseed 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/appleseed.gemspec +2 -2
- data/lib/appleseed/generator.rb +1 -2
- data/templates/default.rb +13 -13
- metadata +5 -5
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.4.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.
|
8
|
+
s.version = "0.4.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-
|
12
|
+
s.date = %q{2010-12-03}
|
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"]
|
data/lib/appleseed/generator.rb
CHANGED
@@ -57,8 +57,7 @@ class Appleseed
|
|
57
57
|
self.summary = options[:summary] || 'TODO: one-line summary of your web site'
|
58
58
|
self.description = options[:description] || 'TODO: longer description of your web site'
|
59
59
|
|
60
|
-
self.template_url = options[:template_url] || '
|
61
|
-
# self.template_url = options[:template_url] || 'http://localhost/projects/appleseed/templates/default.rb'
|
60
|
+
self.template_url = options[:template_url] || File.join(File.dirname(__FILE__),'..','..','templates','default.rb')
|
62
61
|
|
63
62
|
self.user_name = options[:user_name]
|
64
63
|
self.user_email = options[:user_email]
|
data/templates/default.rb
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
apply '
|
2
|
-
apply '
|
3
|
-
apply '
|
4
|
-
apply '
|
5
|
-
apply '
|
1
|
+
apply 'https://github.com/endymion/appleseed/raw/master/templates/haml_gem.rb'
|
2
|
+
apply 'https://github.com/endymion/appleseed/raw/master/templates/compass_gem.rb'
|
3
|
+
apply 'https://github.com/endymion/appleseed/raw/master/templates/jquery_gem.rb'
|
4
|
+
apply 'https://github.com/endymion/appleseed/raw/master/templates/rspec_gem.rb'
|
5
|
+
apply 'https://github.com/endymion/appleseed/raw/master/templates/cucumber_gems.rb'
|
6
6
|
|
7
|
-
apply '
|
7
|
+
apply 'https://github.com/endymion/appleseed/raw/master/templates/bundle_install.rb'
|
8
8
|
|
9
|
-
apply '
|
10
|
-
apply '
|
11
|
-
apply '
|
12
|
-
apply '
|
13
|
-
apply '
|
14
|
-
apply '
|
15
|
-
apply '
|
9
|
+
apply 'https://github.com/endymion/appleseed/raw/master/templates/gitignore.rb'
|
10
|
+
apply 'https://github.com/endymion/appleseed/raw/master/templates/haml.rb'
|
11
|
+
apply 'https://github.com/endymion/appleseed/raw/master/templates/compass.rb'
|
12
|
+
apply 'https://github.com/endymion/appleseed/raw/master/templates/jquery.rb'
|
13
|
+
apply 'https://github.com/endymion/appleseed/raw/master/templates/rspec.rb'
|
14
|
+
apply 'https://github.com/endymion/appleseed/raw/master/templates/cucumber.rb'
|
15
|
+
apply 'https://github.com/endymion/appleseed/raw/master/templates/root_controller.rb'
|
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:
|
4
|
+
hash: 15
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 4
|
9
|
+
- 0
|
10
|
+
version: 0.4.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-
|
18
|
+
date: 2010-12-03 00:00:00 -05:00
|
19
19
|
default_executable: appleseed
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|