highgroove_generator 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +9 -2
- data/highgroove-generator.gemspec +1 -1
- data/lib/highgroove-generator/version.rb +1 -1
- data/lib/highgroove_command.rb +13 -13
- metadata +20 -11
- data/lib/highgroove-generator.rb +0 -7
data/README.md
CHANGED
@@ -5,13 +5,20 @@ Generate Rails projects the way we like them.
|
|
5
5
|
## Installation
|
6
6
|
|
7
7
|
```bash
|
8
|
-
gem install
|
8
|
+
gem install highgroove_generator
|
9
9
|
```
|
10
10
|
|
11
11
|
## Usage
|
12
12
|
|
13
13
|
```bash
|
14
|
-
|
14
|
+
# create a new project
|
15
|
+
highgroove new NAME
|
16
|
+
|
17
|
+
# specify the database type
|
18
|
+
highgroove new NAME --database=DATABASE
|
19
|
+
|
20
|
+
# get help
|
21
|
+
highgroove help
|
15
22
|
```
|
16
23
|
|
17
24
|
## Contributing
|
data/lib/highgroove_command.rb
CHANGED
@@ -13,19 +13,19 @@ class HighgrooveCommand < Thor
|
|
13
13
|
gsub_file "Gemfile", /^ *$\n/, ''
|
14
14
|
append_to_file "Gemfile" do
|
15
15
|
<<-EOF
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
16
|
+
gem 'slim'
|
17
|
+
group :test, :development do
|
18
|
+
gem 'rspec-rails'
|
19
|
+
gem 'factory_girl'
|
20
|
+
gem 'forgery'
|
21
|
+
end
|
22
|
+
group :test do
|
23
|
+
gem 'capybara'
|
24
|
+
gem 'launchy'
|
25
|
+
gem 'database_cleaner'
|
26
|
+
gem 'capybara-webkit'
|
27
|
+
gem 'simplecov'
|
28
|
+
end
|
29
29
|
EOF
|
30
30
|
end
|
31
31
|
run "bundle install --quiet"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: highgroove_generator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,22 +9,27 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05-
|
12
|
+
date: 2012-05-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: 3.2.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.2.0
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: thor
|
27
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
35
|
- - ! '>='
|
@@ -32,7 +37,12 @@ dependencies:
|
|
32
37
|
version: '0'
|
33
38
|
type: :runtime
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
36
46
|
description: Tool to generate a rails project ready for development
|
37
47
|
email:
|
38
48
|
- aubrey.c.rhodes@gmail.com
|
@@ -48,7 +58,6 @@ files:
|
|
48
58
|
- Rakefile
|
49
59
|
- bin/highgroove
|
50
60
|
- highgroove-generator.gemspec
|
51
|
-
- lib/highgroove-generator.rb
|
52
61
|
- lib/highgroove-generator/version.rb
|
53
62
|
- lib/highgroove_command.rb
|
54
63
|
homepage: http://github.com/highgroove/highgroove-generator
|
@@ -65,7 +74,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
65
74
|
version: '0'
|
66
75
|
segments:
|
67
76
|
- 0
|
68
|
-
hash:
|
77
|
+
hash: -3658453003653415754
|
69
78
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
79
|
none: false
|
71
80
|
requirements:
|
@@ -74,10 +83,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
74
83
|
version: '0'
|
75
84
|
segments:
|
76
85
|
- 0
|
77
|
-
hash:
|
86
|
+
hash: -3658453003653415754
|
78
87
|
requirements: []
|
79
88
|
rubyforge_project:
|
80
|
-
rubygems_version: 1.8.
|
89
|
+
rubygems_version: 1.8.24
|
81
90
|
signing_key:
|
82
91
|
specification_version: 3
|
83
92
|
summary: Highgroove rails project generator
|