suspenders 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/features/rake_clean.feature +1 -0
- data/suspenders.gemspec +11 -6
- metadata +114 -7
data/Rakefile
CHANGED
@@ -4,7 +4,7 @@ require 'cucumber/rake/task'
|
|
4
4
|
require 'date'
|
5
5
|
|
6
6
|
TEST_PROJECT = 'test_project'
|
7
|
-
SUSPENDERS_GEM_VERSION = '0.0.
|
7
|
+
SUSPENDERS_GEM_VERSION = '0.0.4'
|
8
8
|
|
9
9
|
#############################################################################
|
10
10
|
#
|
@@ -23,6 +23,7 @@ task :generate => ['generate:finish']
|
|
23
23
|
namespace :generate do
|
24
24
|
desc 'Suspend a new project. Pass REPO=... to change the Suspenders repo.'
|
25
25
|
task :suspenders do
|
26
|
+
FileUtils.rm_rf(TEST_PROJECT)
|
26
27
|
sh './bin/suspenders', 'create', TEST_PROJECT, ENV['REPO'].to_s
|
27
28
|
end
|
28
29
|
|
data/features/rake_clean.feature
CHANGED
@@ -2,6 +2,7 @@ Feature: Rake works in the suspended project
|
|
2
2
|
|
3
3
|
Scenario: Running rake in the suspended project
|
4
4
|
When I drop and create the required databases
|
5
|
+
And I run the rake task "db:create"
|
5
6
|
And I run the rake task "db:migrate"
|
6
7
|
And I run the rake task "cucumber"
|
7
8
|
Then I see a successful response in the shell
|
data/suspenders.gemspec
CHANGED
@@ -4,8 +4,8 @@ Gem::Specification.new do |s|
|
|
4
4
|
s.rubygems_version = '1.3.5'
|
5
5
|
|
6
6
|
s.name = 'suspenders'
|
7
|
-
s.version = '0.0.
|
8
|
-
s.date = '2010-
|
7
|
+
s.version = '0.0.4'
|
8
|
+
s.date = '2010-08-10'
|
9
9
|
|
10
10
|
s.summary = "Generate a Rails app using thoughtbot's best practices."
|
11
11
|
s.description = <<-HERE
|
@@ -14,8 +14,8 @@ thoughtbot to get a jump start on a working app. Use Suspenders if you're in a
|
|
14
14
|
rush to build something amazing; don't use it if you like missing deadlines.
|
15
15
|
HERE
|
16
16
|
|
17
|
-
s.authors = ["
|
18
|
-
s.email = '
|
17
|
+
s.authors = ["thoughtbot"]
|
18
|
+
s.email = 'support@thoughtbot.com'
|
19
19
|
s.homepage = 'http://github.com/thoughtbot/suspenders-gem'
|
20
20
|
|
21
21
|
s.executables = ["suspenders"]
|
@@ -24,10 +24,15 @@ rush to build something amazing; don't use it if you like missing deadlines.
|
|
24
24
|
s.rdoc_options = ["--charset=UTF-8"]
|
25
25
|
s.extra_rdoc_files = %w[README.md LICENSE]
|
26
26
|
|
27
|
-
s.
|
28
|
-
|
27
|
+
s.add_dependency('cucumber', [">= 0.6.2"])
|
29
28
|
s.add_dependency('nokogiri', '1.4.0')
|
30
29
|
s.add_dependency('RedCloth', '4.2.2')
|
30
|
+
s.add_dependency('cucumber-rails', '>=0.3.0')
|
31
|
+
s.add_dependency('mysql', '2.8.1')
|
32
|
+
s.add_dependency('rspec','1.3.0')
|
33
|
+
s.add_dependency('rspec-rails','= 1.3.2')
|
34
|
+
s.add_dependency('webrat','>=0.7.0')
|
35
|
+
s.add_dependency('treetop','1.4.5')
|
31
36
|
|
32
37
|
# = MANIFEST =
|
33
38
|
s.files = %w[
|
metadata
CHANGED
@@ -1,43 +1,48 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: suspenders
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 23
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
|
-
-
|
13
|
+
- thoughtbot
|
13
14
|
autorequire:
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2010-
|
18
|
+
date: 2010-08-10 00:00:00 -04:00
|
18
19
|
default_executable: suspenders
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
21
22
|
name: cucumber
|
22
23
|
prerelease: false
|
23
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
24
26
|
requirements:
|
25
27
|
- - ">="
|
26
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
27
30
|
segments:
|
28
31
|
- 0
|
29
32
|
- 6
|
30
33
|
- 2
|
31
34
|
version: 0.6.2
|
32
|
-
type: :
|
35
|
+
type: :runtime
|
33
36
|
version_requirements: *id001
|
34
37
|
- !ruby/object:Gem::Dependency
|
35
38
|
name: nokogiri
|
36
39
|
prerelease: false
|
37
40
|
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
38
42
|
requirements:
|
39
43
|
- - "="
|
40
44
|
- !ruby/object:Gem::Version
|
45
|
+
hash: 7
|
41
46
|
segments:
|
42
47
|
- 1
|
43
48
|
- 4
|
@@ -49,9 +54,11 @@ dependencies:
|
|
49
54
|
name: RedCloth
|
50
55
|
prerelease: false
|
51
56
|
requirement: &id003 !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
52
58
|
requirements:
|
53
59
|
- - "="
|
54
60
|
- !ruby/object:Gem::Version
|
61
|
+
hash: 51
|
55
62
|
segments:
|
56
63
|
- 4
|
57
64
|
- 2
|
@@ -59,12 +66,108 @@ dependencies:
|
|
59
66
|
version: 4.2.2
|
60
67
|
type: :runtime
|
61
68
|
version_requirements: *id003
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: cucumber-rails
|
71
|
+
prerelease: false
|
72
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
hash: 19
|
78
|
+
segments:
|
79
|
+
- 0
|
80
|
+
- 3
|
81
|
+
- 0
|
82
|
+
version: 0.3.0
|
83
|
+
type: :runtime
|
84
|
+
version_requirements: *id004
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: mysql
|
87
|
+
prerelease: false
|
88
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - "="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
hash: 45
|
94
|
+
segments:
|
95
|
+
- 2
|
96
|
+
- 8
|
97
|
+
- 1
|
98
|
+
version: 2.8.1
|
99
|
+
type: :runtime
|
100
|
+
version_requirements: *id005
|
101
|
+
- !ruby/object:Gem::Dependency
|
102
|
+
name: rspec
|
103
|
+
prerelease: false
|
104
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - "="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
hash: 27
|
110
|
+
segments:
|
111
|
+
- 1
|
112
|
+
- 3
|
113
|
+
- 0
|
114
|
+
version: 1.3.0
|
115
|
+
type: :runtime
|
116
|
+
version_requirements: *id006
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: rspec-rails
|
119
|
+
prerelease: false
|
120
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - "="
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
hash: 31
|
126
|
+
segments:
|
127
|
+
- 1
|
128
|
+
- 3
|
129
|
+
- 2
|
130
|
+
version: 1.3.2
|
131
|
+
type: :runtime
|
132
|
+
version_requirements: *id007
|
133
|
+
- !ruby/object:Gem::Dependency
|
134
|
+
name: webrat
|
135
|
+
prerelease: false
|
136
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ">="
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
hash: 3
|
142
|
+
segments:
|
143
|
+
- 0
|
144
|
+
- 7
|
145
|
+
- 0
|
146
|
+
version: 0.7.0
|
147
|
+
type: :runtime
|
148
|
+
version_requirements: *id008
|
149
|
+
- !ruby/object:Gem::Dependency
|
150
|
+
name: treetop
|
151
|
+
prerelease: false
|
152
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - "="
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
hash: 13
|
158
|
+
segments:
|
159
|
+
- 1
|
160
|
+
- 4
|
161
|
+
- 5
|
162
|
+
version: 1.4.5
|
163
|
+
type: :runtime
|
164
|
+
version_requirements: *id009
|
62
165
|
description: |
|
63
166
|
Suspenders is a base Rails project that you can upgrade. It is used by
|
64
167
|
thoughtbot to get a jump start on a working app. Use Suspenders if you're in a
|
65
168
|
rush to build something amazing; don't use it if you like missing deadlines.
|
66
169
|
|
67
|
-
email:
|
170
|
+
email: support@thoughtbot.com
|
68
171
|
executables:
|
69
172
|
- suspenders
|
70
173
|
extensions: []
|
@@ -94,23 +197,27 @@ rdoc_options:
|
|
94
197
|
require_paths:
|
95
198
|
- lib
|
96
199
|
required_ruby_version: !ruby/object:Gem::Requirement
|
200
|
+
none: false
|
97
201
|
requirements:
|
98
202
|
- - ">="
|
99
203
|
- !ruby/object:Gem::Version
|
204
|
+
hash: 3
|
100
205
|
segments:
|
101
206
|
- 0
|
102
207
|
version: "0"
|
103
208
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
104
210
|
requirements:
|
105
211
|
- - ">="
|
106
212
|
- !ruby/object:Gem::Version
|
213
|
+
hash: 3
|
107
214
|
segments:
|
108
215
|
- 0
|
109
216
|
version: "0"
|
110
217
|
requirements: []
|
111
218
|
|
112
219
|
rubyforge_project:
|
113
|
-
rubygems_version: 1.3.
|
220
|
+
rubygems_version: 1.3.7
|
114
221
|
signing_key:
|
115
222
|
specification_version: 2
|
116
223
|
summary: Generate a Rails app using thoughtbot's best practices.
|