suspenders 0.1.0.beta.7 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,161 +1,67 @@
1
- Suspenders is a base Rails project that you can upgrade. It is used by
2
- thoughtbot.
1
+ Suspenders is a base Rails application that you can upgrade.
3
2
 
4
- ![Suspenders](http://www.blogcdn.com/www.autoblog.com/media/2008/08/misuse-of-hydraulics.jpg)
3
+ ![Suspenders boy](http://media.tumblr.com/1TEAMALpseh5xzf0Jt6bcwSMo1_400.png)
5
4
 
6
- To create a new project first install suspenders:
5
+ Installation
6
+ ------------
7
7
 
8
- gem install suspenders
8
+ First install the suspenders gem:
9
9
 
10
- Then run:
11
-
12
- suspenders create projectname
13
-
14
- This will create a project in `projectname'. You should then follow the
15
- instructions on Github to upload that project there. This script creates an
16
- entirely new git repository, and is not meant to be used against an existing
17
- repo.
18
-
19
- When making a change to a project that was created via this template, consider
20
- whether it's a change that should be made across all projects. If so, then
21
- make the change in suspenders instead of your project. Note: If you don't
22
- have commit access to suspenders, create a github ticket and we'll review your
23
- suggestion.
24
-
25
- Once that's committed, you can pull into your project to get all the changes
26
- that have been made in suspenders since your last pull:
27
-
28
- git pull suspenders master
29
-
30
- About Suspenders
31
- ----------------
32
-
33
- Suspenders was created for use at thoughtbot, inc. (http://thoughtbot.com) as a
34
- baseline application setup, with reasonable default plugins that the majority
35
- (if not all) of our applications used, as well as best-practice configuration
36
- options.
37
-
38
- Suspenders currently includes a version of Rails from the 2.3 stable branch.
39
- You can determine the changeset with the vendor/rails/REVISION_xxxxx file.
40
-
41
- Gems (unpacked in vendor/gems, unless they are compiled gems):
42
- --------------------------------------------------------------
43
-
44
- For record pagination:
45
-
46
- will_paginate (2.3.11)
47
-
48
- For text formatting:
49
-
50
- RedCloth (4.2.2, not unpacked, this is a compiled gem)
51
-
52
- Form builder:
53
-
54
- Formtastic (0.2.1)
55
-
56
- File attachments:
57
-
58
- Paperclip (2.3.0)
10
+ gem install suspenders
59
11
 
60
- Basic user auth:
61
-
62
- Clearance (0.7.0 engine)
63
-
64
- For testing:
65
-
66
- rspec
67
- jferris-mocha (standard mocha plus test spies)
68
- factory_girl (fixture replacement for test data)
69
- shoulda (rails test helpers and context framework)
70
- timecop (for time sensitive tests)
71
- fakeweb (for blocking HTTP calls to third-party services)
72
-
73
- Plugins (in vendor/plugins):
74
- ----------------------------
75
-
76
- hoptoad_notifier
77
- limerick_rake
78
- validation_reflection (used by formtastic to find required fields)
79
-
80
- Initializers (in config/initializers)
81
- -------------------------------------
82
-
83
- action_mailer_configs.rb
84
- We use SMTP by default in all applications.
85
-
86
- hoptoad.rb
87
- Get your API key at http://hoptoadapp.com
88
-
89
- requires.rb
90
- Automatically requires everything in
91
- lib/
92
- lib/extensions
93
- test/mocks/RAILS_ENV (Removed in Rails 2, we decided to keep it)
94
- Add other things you need to require in here.
12
+ Then run:
95
13
 
96
- time_formats.rb
97
- Two time formats are available by default, :short_date and :long_date.
98
- Add other time formats here.
14
+ suspenders create projectname
99
15
 
100
- Rake Tasks
101
- ----------
16
+ This will create a Rails 3 app in `projectname'. This script creates a new
17
+ new git repository. It is not meant to be used against an existing repo.
102
18
 
103
- Rake tasks are contained in the limerick_rake gem.
19
+ Suspenders uses [Trout](https://github.com/thoughtbot/trout) to make it
20
+ easier to maintain a base version of special files (like Gemfile) in
21
+ Suspenders.
104
22
 
105
- bootstrap
106
- Provides rake tasks for loading data into the database. These are used for
107
- an initial application dataset needed for production.
23
+ Whenever you want to get the latest and greatest Suspenders' Gemfile, run:
108
24
 
109
- capistrano
110
- Standard capistrano deployment tasks
25
+ trout update Gemfile
111
26
 
112
- Testing
27
+ Gemfile
113
28
  -------
114
29
 
115
- Testing is done utilizing RSpec, Shoulda, factory_girl, and mocha.
116
-
117
- factory_girl is a fixture replacement library, following the factory pattern.
118
- Place your factories in test/factories.rb. The fixture directory has been
119
- removed, as fixtures are not used.
120
-
121
- Shoulda matchers are used on top of RSpec.
122
-
123
- Timecop is used to freeze the time for the entire test suite. It is frozen to
124
- the value of Time.now; that is, the time that the tests suite starts running.
125
-
126
- Deployment
127
- ----------
128
-
129
- Deployment is done using capistrano, and deploys to a mongrel cluster, running
130
- under Apache.
131
-
132
- Rake tasks are provided for managing git branches which the different
133
- environments pull from for deploy.
134
-
135
- To push the git master to git staging branch run:
136
-
137
- rake git:push:staging
30
+ To see the latest and greatest gems, look at Suspenders'
31
+ [template/trout/Gemfile](https://github.com/thoughtbot/suspenders/blob/master/template/trout/Gemfile),
32
+ which will be copied into your projectname/Gemfile.
138
33
 
139
- To push the git staging branch to production branch run:
34
+ It includes application gems like:
140
35
 
141
- rake git:push:production
36
+ * [Paperclip](https://github.com/thoughtbot/paperclip) for file uploads
37
+ * [Formtastic](https://github.com/justinfrench/formtastic) for better forms
38
+ * [Hoptoad Notifier](https://github.com/thoughtbot/hoptoad_notifier) for exception notification
39
+ * [Flutie](https://github.com/thoughtbot/flutie) for default CSS styles
40
+ * [Clearance](https://github.com/thoughtbot/clearance) for authentication
142
41
 
143
- Setup your deployment environment by running:
42
+ And testing gems like:
144
43
 
145
- cap ENVIRONMENT deploy:setup
146
- (You'll be prompted for the environment's database password)
44
+ * [Cucumber, Capybara, and Akephalos](http://robots.thoughtbot.com/post/1658763359/thoughtbot-and-the-holy-grail) for integration testing, including Javascript behavior
45
+ * [RSpec](https://github.com/rspec/rspec) for awesome, readable isolation testing
46
+ * [Factory Girl](https://github.com/thoughtbot/factory_girl) for easier creation of test data
47
+ * [Shoulda](http://github.com/thoughtbot/shoulda) for frequently needed Rails and RSpec matchers
48
+ * [Timecop](https://github.com/jtrupiano/timecop) for dealing with time
49
+ * [Bourne](https://github.com/thoughtbot/bourne) and Mocha for stubbing and spying
147
50
 
148
- Deploy to the desired environment by running:
51
+ Other goodies
52
+ -------------
149
53
 
150
- cap ENVIRONMENT deploy
54
+ Suspenders also comes with:
151
55
 
152
- The default environment for deploy is staging, to deploy to staging, just run:
56
+ * [jQuery](https://github.com/jquery/jquery) for Javascript pleasantry
57
+ * Rails' flashes set up and in application layout.
58
+ * A few nice time formats.
153
59
 
154
- cap deploy
60
+ See [template/files](https://github.com/thoughtbot/suspenders/blob/master/template/files) to
61
+ see what is generated one-time.
155
62
 
156
- Mascot
63
+ Issues
157
64
  ------
158
65
 
159
- The official Suspenders mascot is Suspenders Boy:
66
+ If you have problems, please create a [Github issue](https://github.com/thoughtbot/suspenders/issues).
160
67
 
161
- http://media.tumblr.com/1TEAMALpseh5xzf0Jt6bcwSMo1_400.png
@@ -4,7 +4,7 @@ Gem::Specification.new do |s|
4
4
  s.rubygems_version = '1.3.5'
5
5
 
6
6
  s.name = 'suspenders'
7
- s.version = '0.1.0.beta.7'
7
+ s.version = '0.2.0'
8
8
  s.date = '2010-11-29'
9
9
 
10
10
  s.summary = "Generate a Rails app using thoughtbot's best practices."
@@ -1,166 +1,67 @@
1
- This is Suspenders, the thoughtbot rails template.
1
+ Suspenders is a base Rails application that you can upgrade.
2
2
 
3
- To create a new project, first install the suspenders gem:
3
+ ![Suspenders boy](http://media.tumblr.com/1TEAMALpseh5xzf0Jt6bcwSMo1_400.png)
4
4
 
5
- gem install suspenders
5
+ Installation
6
+ ------------
6
7
 
7
- Then run:
8
-
9
- suspenders create projectname
10
-
11
- This will create a project in ../projectname. You should then follow the
12
- instructions on Github to upload that project there. This creates an
13
- entirely new git repository, and is not meant to be used against an existing
14
- repo.
15
-
16
- When making a change to a project that was created via this template, consider
17
- whether it's a change that should be made across all projects. If so, then
18
- make the change in suspenders instead of your project. Note: If you don't
19
- have commit access to suspenders, create a github ticket and we'll review your
20
- suggestion.
21
-
22
- Once that's committed, you can pull into your project to get all the changes
23
- that have been made in suspenders since your last pull:
24
-
25
- rake git:pull:suspenders
26
-
27
- About Suspenders
28
- ----------------
29
-
30
- Suspenders was created for use at thoughtbot, inc. (http://thoughtbot.com) as a
31
- baseline application setup, with reasonable default plugins that the majority
32
- (if not all) of our applications used, as well as best-practice configuration
33
- options.
34
-
35
- Suspenders currently includes a version of Rails from the 2.3 stable branch.
36
- You can determine the changeset with the vendor/rails/REVISION_xxxxx file.
37
-
38
- Gems (unpacked in vendor/gems, unless they are compiled gems):
39
- --------------------------------------------------------------
40
-
41
- For record pagination:
42
-
43
- will_paginate
44
-
45
- For text formatting:
46
-
47
- RedCloth (4.2.2, not unpacked, this is a compiled gem)
48
-
49
- Form builder:
50
-
51
- Formtastic
52
-
53
- File attachments:
8
+ First install the suspenders gem:
54
9
 
55
- Paperclip
10
+ gem install suspenders
56
11
 
57
- Basic user auth:
58
-
59
- Clearance
60
-
61
- For testing:
62
-
63
- jferris-mocha (standard mocha plus test spies)
64
- factory_girl (fixture replacement for test data)
65
- shoulda (rails test helpers and context framework)
66
- timecop (for time sensitive tests)
67
- fakeweb (for blocking HTTP calls to third-party services)
68
-
69
- Error notification:
70
-
71
- hoptoad_notifier
72
-
73
- Plugins (in vendor/plugins):
74
- ----------------------------
75
-
76
- limerick_rake (useful rake tasks)
77
- validation_reflection (used by formtastic to find required fields)
78
- high_voltage (Rails engine for static pages)
12
+ Then run:
79
13
 
80
- Initializers (in config/initializers)
81
- -------------------------------------
14
+ suspenders create projectname
82
15
 
83
- action_mailer_configs.rb
84
- We use SMTP by default in all applications.
16
+ This will create a Rails 3 app in `projectname'. This script creates a new
17
+ new git repository. It is not meant to be used against an existing repo.
85
18
 
86
- hoptoad.rb
87
- Get your API key at http://hoptoadapp.com
88
-
89
- requires.rb
90
- Automatically requires everything in
91
- lib/
92
- lib/extensions
93
- test/mocks/RAILS_ENV (Removed in Rails 2, we decided to keep it)
94
- Add other things you need to require in here.
19
+ Suspenders uses [Trout](https://github.com/thoughtbot/trout) to make it
20
+ easier to maintain a base version of special files (like Gemfile) in
21
+ Suspenders.
95
22
 
96
- time_formats.rb
97
- Two time formats are available by default, :short_date and :long_date.
98
- Add other time formats here.
99
-
100
- Rake Tasks
101
- ----------
23
+ Whenever you want to get the latest and greatest Suspenders' Gemfile, run:
102
24
 
103
- Rake tasks are contained in the limerick_rake gem.
25
+ trout update Gemfile
104
26
 
105
- bootstrap
106
- Provides rake tasks for loading data into the database. These are used for
107
- an initial application dataset needed for production.
108
-
109
- capistrano
110
- Standard capistrano deployment tasks
111
-
112
- Testing
27
+ Gemfile
113
28
  -------
114
29
 
115
- Testing is done utilizing Test::Unit, Shoulda, factory_girl, and mocha.
116
-
117
- factory_girl is a fixture replacement library, following the factory pattern.
118
- Place your factories in test/factories.rb. The fixture directory has been
119
- removed, as fixtures are not used.
120
-
121
- Shoulda is a pragmatic testing framework for TDD and BDD built on top of
122
- Test::Unit. A number of additional testing macros are provided in
123
- test/shoulda_macros:
124
-
125
- shoulda_have_form
126
- shoulda_paginate_collection
127
-
128
- Timecop is used to freeze the time for the entire test suite. It is frozen to
129
- the value of Time.now; that is, the time that the tests suite starts running.
130
-
131
- Deployment
132
- ----------
133
-
134
- Deployment is done using capistrano, and deploys to a mongrel cluster, running
135
- under Apache.
136
-
137
- Rake tasks are provided for managing git branches which the different
138
- environments pull from for deploy.
139
-
140
- To push the git master to git staging branch run:
30
+ To see the latest and greatest gems, look at Suspenders'
31
+ [template/trout/Gemfile](https://github.com/thoughtbot/suspenders/blob/master/template/trout/Gemfile),
32
+ which will be copied into your projectname/Gemfile.
141
33
 
142
- rake git:push:staging
34
+ It includes application gems like:
143
35
 
144
- To push the git staging branch to production branch run:
36
+ * [Paperclip](https://github.com/thoughtbot/paperclip) for file uploads
37
+ * [Formtastic](https://github.com/justinfrench/formtastic) for better forms
38
+ * [Hoptoad Notifier](https://github.com/thoughtbot/hoptoad_notifier) for exception notification
39
+ * [Flutie](https://github.com/thoughtbot/flutie) for default CSS styles
40
+ * [Clearance](https://github.com/thoughtbot/clearance) for authentication
145
41
 
146
- rake git:push:production
42
+ And testing gems like:
147
43
 
148
- Setup your deployment environment by running:
44
+ * [Cucumber, Capybara, and Akephalos](http://robots.thoughtbot.com/post/1658763359/thoughtbot-and-the-holy-grail) for integration testing, including Javascript behavior
45
+ * [RSpec](https://github.com/rspec/rspec) for awesome, readable isolation testing
46
+ * [Factory Girl](https://github.com/thoughtbot/factory_girl) for easier creation of test data
47
+ * [Shoulda](http://github.com/thoughtbot/shoulda) for frequently needed Rails and RSpec matchers
48
+ * [Timecop](https://github.com/jtrupiano/timecop) for dealing with time
49
+ * [Bourne](https://github.com/thoughtbot/bourne) and Mocha for stubbing and spying
149
50
 
150
- cap ENVIRONMENT deploy:setup
151
- (You'll be prompted for the environment's database password)
51
+ Other goodies
52
+ -------------
152
53
 
153
- Deploy to the desired environment by running:
54
+ Suspenders also comes with:
154
55
 
155
- cap ENVIRONMENT deploy
156
-
157
- The default environment for deploy is staging, to deploy to staging, just run:
56
+ * [jQuery](https://github.com/jquery/jquery) for Javascript pleasantry
57
+ * Rails' flashes set up and in application layout.
58
+ * A few nice time formats.
158
59
 
159
- cap deploy
60
+ See [template/files](https://github.com/thoughtbot/suspenders/blob/master/template/files) to
61
+ see what is generated one-time.
160
62
 
161
- Mascot
63
+ Issues
162
64
  ------
163
65
 
164
- The official Suspenders mascot is Suspenders Boy:
66
+ If you have problems, please create a [Github issue](https://github.com/thoughtbot/suspenders/issues).
165
67
 
166
- http://media.tumblr.com/1TEAMALpseh5xzf0Jt6bcwSMo1_400.png
metadata CHANGED
@@ -1,15 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: suspenders
3
3
  version: !ruby/object:Gem::Version
4
- hash: 62196413
5
- prerelease: true
4
+ hash: 23
5
+ prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 1
8
+ - 2
9
9
  - 0
10
- - beta
11
- - 7
12
- version: 0.1.0.beta.7
10
+ version: 0.2.0
13
11
  platform: ruby
14
12
  authors:
15
13
  - thoughtbot
@@ -128,14 +126,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
128
126
  required_rubygems_version: !ruby/object:Gem::Requirement
129
127
  none: false
130
128
  requirements:
131
- - - ">"
129
+ - - ">="
132
130
  - !ruby/object:Gem::Version
133
- hash: 25
131
+ hash: 3
134
132
  segments:
135
- - 1
136
- - 3
137
- - 1
138
- version: 1.3.1
133
+ - 0
134
+ version: "0"
139
135
  requirements: []
140
136
 
141
137
  rubyforge_project: