nozomi 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -1
- data/VERSION +1 -1
- data/lib/rails3-template.rb +5 -1
- data/nozomi.gemspec +6 -3
- metadata +20 -6
data/Rakefile
CHANGED
@@ -6,10 +6,11 @@ begin
|
|
6
6
|
Jeweler::Tasks.new do |gem|
|
7
7
|
gem.name = "nozomi"
|
8
8
|
gem.summary = %Q{Get your rails projects going faster with Nozomi}
|
9
|
-
gem.description = %Q{Opinionated Rails project templating: rspec,
|
9
|
+
gem.description = %Q{Opinionated Rails project templating: rspec, haml, sass, compass, etc}
|
10
10
|
gem.email = "joshcp@gmail.com"
|
11
11
|
gem.homepage = "http://github.com/joshprice/nozomi"
|
12
12
|
gem.authors = ["Josh Price"]
|
13
|
+
gem.add_dependency("rails", '>=3.0.0')
|
13
14
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
14
15
|
end
|
15
16
|
Jeweler::GemcutterTasks.new
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|
data/lib/rails3-template.rb
CHANGED
@@ -56,6 +56,10 @@ def add_landing_page
|
|
56
56
|
file "public/index.html", <<-HAML
|
57
57
|
<h1>Welcome to Nozomi</h1>
|
58
58
|
<p>Your app is now ready to customise</p>
|
59
|
+
<p>Here's exactly what Nozomi did to create this project:</p>
|
60
|
+
<pre>
|
61
|
+
#{`git log`}
|
62
|
+
</pre>
|
59
63
|
HAML
|
60
64
|
end
|
61
65
|
|
@@ -100,11 +104,11 @@ begin
|
|
100
104
|
git_commit("Readme") { add_readme }
|
101
105
|
git_commit("Bundler gemfile") { add_gemfile }
|
102
106
|
git_commit("Bundle install") { run 'bundle install' }
|
103
|
-
git_commit("Friendly landing page") { add_landing_page }
|
104
107
|
git_commit("Copy database.yml") { copy_db_yml }
|
105
108
|
git_commit("Install jQuery") { install_jquery }
|
106
109
|
git_commit("Install rspec") { install_rspec }
|
107
110
|
git_commit("Install compass") { run 'compass init rails .' }
|
111
|
+
git_commit("Friendly landing page") { add_landing_page }
|
108
112
|
|
109
113
|
# run 'rails server &'
|
110
114
|
# run 'open http://localhost:3000'
|
data/nozomi.gemspec
CHANGED
@@ -5,13 +5,13 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{nozomi}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Josh Price"]
|
12
|
-
s.date = %q{2010-11-
|
12
|
+
s.date = %q{2010-11-25}
|
13
13
|
s.default_executable = %q{nozomi}
|
14
|
-
s.description = %q{Opinionated Rails project templating: rspec,
|
14
|
+
s.description = %q{Opinionated Rails project templating: rspec, haml, sass, compass, etc}
|
15
15
|
s.email = %q{joshcp@gmail.com}
|
16
16
|
s.executables = ["nozomi"]
|
17
17
|
s.extra_rdoc_files = [
|
@@ -41,9 +41,12 @@ Gem::Specification.new do |s|
|
|
41
41
|
s.specification_version = 3
|
42
42
|
|
43
43
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
44
|
+
s.add_runtime_dependency(%q<rails>, [">= 3.0.0"])
|
44
45
|
else
|
46
|
+
s.add_dependency(%q<rails>, [">= 3.0.0"])
|
45
47
|
end
|
46
48
|
else
|
49
|
+
s.add_dependency(%q<rails>, [">= 3.0.0"])
|
47
50
|
end
|
48
51
|
end
|
49
52
|
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 4
|
9
|
+
version: 0.0.4
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Josh Price
|
@@ -14,11 +14,25 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-11-
|
17
|
+
date: 2010-11-25 00:00:00 +11:00
|
18
18
|
default_executable: nozomi
|
19
|
-
dependencies:
|
20
|
-
|
21
|
-
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: rails
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
segments:
|
29
|
+
- 3
|
30
|
+
- 0
|
31
|
+
- 0
|
32
|
+
version: 3.0.0
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
35
|
+
description: "Opinionated Rails project templating: rspec, haml, sass, compass, etc"
|
22
36
|
email: joshcp@gmail.com
|
23
37
|
executables:
|
24
38
|
- nozomi
|