groove 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +5 -4
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/bin/groove +5 -13
- data/groove.gemspec +3 -3
- metadata +3 -3
data/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Groove
|
|
2
2
|
======
|
|
3
3
|
|
|
4
|
-
Generator to create a web application
|
|
5
|
-
Sinatra, MongoDB, jQuery, HTML5, Effigy, and Hoptoad
|
|
4
|
+
Generator to create a web application consisting of
|
|
5
|
+
Sinatra, MongoDB, jQuery, HTML5, Effigy, and Hoptoad.
|
|
6
6
|
|
|
7
7
|
Usage
|
|
8
8
|
-----
|
|
@@ -23,8 +23,9 @@ Using Heroku and MongoHQ.
|
|
|
23
23
|
|
|
24
24
|
heroku config
|
|
25
25
|
|
|
26
|
-
MONGO_DB =>
|
|
27
|
-
MONGO_HOST =>
|
|
26
|
+
MONGO_DB => weekapaug
|
|
27
|
+
MONGO_HOST => swan.mongohq.com
|
|
28
|
+
MONGO_PORT => 27027
|
|
28
29
|
MONGO_USER => user
|
|
29
30
|
MONGO_PASSWORD => password
|
|
30
31
|
HOPTOAD => apikey123
|
data/Rakefile
CHANGED
|
@@ -2,8 +2,8 @@ require 'jeweler'
|
|
|
2
2
|
|
|
3
3
|
Jeweler::Tasks.new do |gem|
|
|
4
4
|
gem.name = "groove"
|
|
5
|
-
gem.summary = "
|
|
6
|
-
gem.description = "Generator to create a Sinatra, MongoDB, Effigy, and Hoptoad
|
|
5
|
+
gem.summary = "Web application generator."
|
|
6
|
+
gem.description = "Generator to create a web application consisting of Sinatra, MongoDB, jQuery, HTML5, Effigy, and Hoptoad."
|
|
7
7
|
gem.email = "dcroak@thoughtbot.com"
|
|
8
8
|
gem.homepage = "http://github.com/dancroak/groove"
|
|
9
9
|
gem.authors = ["Dan Croak"]
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.9
|
data/bin/groove
CHANGED
|
@@ -11,13 +11,12 @@ class Groove < Thor::Group
|
|
|
11
11
|
def create_gemfile
|
|
12
12
|
create_file("#{name}/Gemfile") do
|
|
13
13
|
<<-RUBY
|
|
14
|
-
source :gemcutter
|
|
14
|
+
source :gemcutter
|
|
15
15
|
|
|
16
16
|
gem 'sinatra'
|
|
17
|
-
|
|
17
|
+
gem 'hoptoad_notifier'
|
|
18
18
|
gem 'sinatra-effigy', :require_as => 'sinatra/effigy'
|
|
19
19
|
gem 'sinatra-mongoid', :require_as => 'sinatra/mongoid'
|
|
20
|
-
gem 'hoptoad_notifier'
|
|
21
20
|
RUBY
|
|
22
21
|
end
|
|
23
22
|
end
|
|
@@ -35,13 +34,8 @@ RUBY
|
|
|
35
34
|
def create_app
|
|
36
35
|
create_file("#{name}/app.rb") do
|
|
37
36
|
<<-RUBY
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
rescue LoadError
|
|
41
|
-
require 'rubygems'
|
|
42
|
-
require 'bundler'
|
|
43
|
-
Bundler.setup
|
|
44
|
-
end
|
|
37
|
+
require File.expand_path('.bundle/environment', File.dirname(__FILE__))
|
|
38
|
+
Bundler.require
|
|
45
39
|
|
|
46
40
|
set :app_file, __FILE__
|
|
47
41
|
|
|
@@ -93,9 +87,7 @@ RUBY
|
|
|
93
87
|
def create_gitignore
|
|
94
88
|
create_file("#{name}/.gitignore") do
|
|
95
89
|
<<-RUBY
|
|
96
|
-
|
|
97
|
-
vendor/gems/specifications
|
|
98
|
-
vendor/gems/doc
|
|
90
|
+
.bundle
|
|
99
91
|
RUBY
|
|
100
92
|
end
|
|
101
93
|
end
|
data/groove.gemspec
CHANGED
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{groove}
|
|
8
|
-
s.version = "0.1.
|
|
8
|
+
s.version = "0.1.9"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Dan Croak"]
|
|
12
12
|
s.date = %q{2010-02-28}
|
|
13
13
|
s.default_executable = %q{groove}
|
|
14
|
-
s.description = %q{Generator to create a Sinatra, MongoDB, Effigy, and Hoptoad
|
|
14
|
+
s.description = %q{Generator to create a web application consisting of Sinatra, MongoDB, jQuery, HTML5, Effigy, and Hoptoad.}
|
|
15
15
|
s.email = %q{dcroak@thoughtbot.com}
|
|
16
16
|
s.executables = ["groove"]
|
|
17
17
|
s.extra_rdoc_files = [
|
|
@@ -30,7 +30,7 @@ Gem::Specification.new do |s|
|
|
|
30
30
|
s.rdoc_options = ["--charset=UTF-8"]
|
|
31
31
|
s.require_paths = ["lib"]
|
|
32
32
|
s.rubygems_version = %q{1.3.5}
|
|
33
|
-
s.summary = %q{
|
|
33
|
+
s.summary = %q{Web application generator.}
|
|
34
34
|
|
|
35
35
|
if s.respond_to? :specification_version then
|
|
36
36
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: groove
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dan Croak
|
|
@@ -22,7 +22,7 @@ dependencies:
|
|
|
22
22
|
- !ruby/object:Gem::Version
|
|
23
23
|
version: "0"
|
|
24
24
|
version:
|
|
25
|
-
description: Generator to create a Sinatra, MongoDB, Effigy, and Hoptoad
|
|
25
|
+
description: Generator to create a web application consisting of Sinatra, MongoDB, jQuery, HTML5, Effigy, and Hoptoad.
|
|
26
26
|
email: dcroak@thoughtbot.com
|
|
27
27
|
executables:
|
|
28
28
|
- groove
|
|
@@ -65,6 +65,6 @@ rubyforge_project:
|
|
|
65
65
|
rubygems_version: 1.3.5
|
|
66
66
|
signing_key:
|
|
67
67
|
specification_version: 3
|
|
68
|
-
summary:
|
|
68
|
+
summary: Web application generator.
|
|
69
69
|
test_files: []
|
|
70
70
|
|