suspenders 1.36.0 → 1.37.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +3 -0
- data/NEWS.md +13 -0
- data/README.md +1 -1
- data/lib/suspenders/adapters/heroku.rb +1 -1
- data/lib/suspenders/app_builder.rb +8 -1
- data/lib/suspenders/generators/app_generator.rb +1 -0
- data/lib/suspenders/version.rb +1 -1
- data/spec/features/new_project_spec.rb +1 -1
- data/suspenders.gemspec +5 -1
- data/templates/Gemfile.erb +4 -3
- data/templates/_css_overrides.html.erb +8 -0
- data/templates/app.json.erb +0 -3
- data/templates/application.scss +2 -1
- data/templates/browserslist +1 -2
- data/templates/circle.yml.erb +1 -1
- data/templates/hound.yml +0 -3
- data/templates/postgresql_database.yml.erb +0 -1
- data/templates/rails_helper.rb +1 -1
- data/templates/spec_helper.rb +6 -0
- data/templates/suspenders_layout.html.erb.erb +1 -0
- metadata +70 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 968be501f2d79ae35eebc0e702fd06fdeb9520fd
|
4
|
+
data.tar.gz: 0f499e1c7069a7b726d6c44c3b60b2c8b2051a30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b5d767fdd1e1c98aac56ad7b25d0c61fcbd4b54a867f3cecd42c85b455ec00c304a1f5f3f3209e8c87dcef41eb6ae518a572de619b80c920f2b3bb5c2e2dbc4
|
7
|
+
data.tar.gz: f1093c609e429105deffd20e8b82c4a9beaf865f04de54bb6f5d0fd489b251b07e7577268d2f27ef47093ea5ce03267c0638c5249bdf4d513b6d06e334a46e5a
|
data/CONTRIBUTING.md
CHANGED
@@ -13,6 +13,9 @@ Set up your machine:
|
|
13
13
|
|
14
14
|
./bin/setup
|
15
15
|
|
16
|
+
If you're having trouble installing `capybara-webkit` check their [installation
|
17
|
+
instructions](https://github.com/thoughtbot/capybara-webkit#qt-dependency-and-installation-issues).
|
18
|
+
|
16
19
|
Make sure the tests pass:
|
17
20
|
|
18
21
|
rake
|
data/NEWS.md
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
1.37.0 (March 13, 2016)
|
2
|
+
|
3
|
+
* Remove `RAILS_ENV` definitions
|
4
|
+
* Set development `action_mailer.delivery_method` to `:file`
|
5
|
+
so that mails are copied to `./tmp/mails/` directory for easy development
|
6
|
+
access.
|
7
|
+
* Update Bourbon to v5.0.0.beta.3
|
8
|
+
* Update Bitters to v1.3
|
9
|
+
* Update Autoprefixer config, drop support for IE 9, IE 10 and iOS 7
|
10
|
+
* Better db support in linux environments
|
11
|
+
* Replaces coffeescript with babel
|
12
|
+
* Update CSS tests to ignore transitions
|
13
|
+
|
1
14
|
1.36.0 (February 26, 2016)
|
2
15
|
|
3
16
|
* Update Bitters to v1.2
|
data/README.md
CHANGED
@@ -129,7 +129,7 @@ This:
|
|
129
129
|
|
130
130
|
* Creates a staging and production Heroku app
|
131
131
|
* Sets them as `staging` and `production` Git remotes
|
132
|
-
* Configures staging with `RACK_ENV`
|
132
|
+
* Configures staging with `RACK_ENV` environment variable set
|
133
133
|
to `staging`
|
134
134
|
* Adds the [Rails Stdout Logging][logging-gem] gem
|
135
135
|
to configure the app to log to standard out,
|
@@ -25,7 +25,7 @@ module Suspenders
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def create_staging_heroku_app(flags)
|
28
|
-
rack_env = "RACK_ENV=staging
|
28
|
+
rack_env = "RACK_ENV=staging"
|
29
29
|
app_name = heroku_app_name_for("staging")
|
30
30
|
|
31
31
|
run_toolbelt_command "create #{app_name} #{flags}", "staging"
|
@@ -51,7 +51,7 @@ module Suspenders
|
|
51
51
|
def set_test_delivery_method
|
52
52
|
inject_into_file(
|
53
53
|
"config/environments/development.rb",
|
54
|
-
"\n config.action_mailer.delivery_method = :
|
54
|
+
"\n config.action_mailer.delivery_method = :file",
|
55
55
|
after: "config.action_mailer.raise_delivery_errors = true",
|
56
56
|
)
|
57
57
|
end
|
@@ -231,6 +231,13 @@ end
|
|
231
231
|
copy_file '_javascript.html.erb', 'app/views/application/_javascript.html.erb'
|
232
232
|
end
|
233
233
|
|
234
|
+
def create_shared_css_overrides
|
235
|
+
copy_file(
|
236
|
+
"_css_overrides.html.erb",
|
237
|
+
"app/views/application/_css_overrides.html.erb",
|
238
|
+
)
|
239
|
+
end
|
240
|
+
|
234
241
|
def create_application_layout
|
235
242
|
template 'suspenders_layout.html.erb.erb',
|
236
243
|
'app/views/layouts/application.html.erb',
|
data/lib/suspenders/version.rb
CHANGED
@@ -153,7 +153,7 @@ RSpec.describe "Suspend a new project with default configuration" do
|
|
153
153
|
it "configs :test email delivery method for development" do
|
154
154
|
dev_env_file = IO.read("#{project_path}/config/environments/development.rb")
|
155
155
|
expect(dev_env_file).
|
156
|
-
to match(/^ +config.action_mailer.delivery_method = :
|
156
|
+
to match(/^ +config.action_mailer.delivery_method = :file$/)
|
157
157
|
end
|
158
158
|
|
159
159
|
it "uses APPLICATION_HOST, not HOST in the production config" do
|
data/suspenders.gemspec
CHANGED
@@ -27,9 +27,13 @@ rush to build something amazing; don't use it if you like missing deadlines.
|
|
27
27
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
28
28
|
s.version = Suspenders::VERSION
|
29
29
|
|
30
|
-
s.add_dependency 'bitters', '~> 1.2'
|
31
30
|
s.add_dependency 'bundler', '~> 1.3'
|
32
31
|
s.add_dependency 'rails', Suspenders::RAILS_VERSION
|
33
32
|
|
34
33
|
s.add_development_dependency 'rspec', '~> 3.2'
|
34
|
+
s.add_development_dependency 'bitters', '~> 1.3'
|
35
|
+
s.add_development_dependency 'simple_form', '~> 3.2'
|
36
|
+
s.add_development_dependency 'title', '~> 0.0'
|
37
|
+
s.add_development_dependency 'quiet_assets', '~> 1.1'
|
38
|
+
s.add_development_dependency 'capybara-webkit', '~> 1.8'
|
35
39
|
end
|
data/templates/Gemfile.erb
CHANGED
@@ -3,8 +3,7 @@ source "https://rubygems.org"
|
|
3
3
|
ruby "<%= Suspenders::RUBY_VERSION %>"
|
4
4
|
|
5
5
|
gem "autoprefixer-rails"
|
6
|
-
gem "bourbon", "
|
7
|
-
gem "coffee-rails", "~> 4.1.0"
|
6
|
+
gem "bourbon", "5.0.0.beta.3"
|
8
7
|
gem "delayed_job_active_record"
|
9
8
|
gem "flutie"
|
10
9
|
gem "high_voltage"
|
@@ -20,6 +19,8 @@ gem "rails", "<%= Suspenders::RAILS_VERSION %>"
|
|
20
19
|
gem "recipient_interceptor"
|
21
20
|
gem "sass-rails", "~> 5.0"
|
22
21
|
gem "simple_form"
|
22
|
+
gem "sprockets", ">= 3.0.0"
|
23
|
+
gem "sprockets-es6"
|
23
24
|
gem "title"
|
24
25
|
gem "uglifier"
|
25
26
|
|
@@ -34,7 +35,7 @@ end
|
|
34
35
|
group :development, :test do
|
35
36
|
gem "awesome_print"
|
36
37
|
gem "bullet"
|
37
|
-
gem "bundler-audit", require: false
|
38
|
+
gem "bundler-audit", ">= 0.5.0", require: false
|
38
39
|
gem "dotenv-rails"
|
39
40
|
gem "factory_girl_rails"
|
40
41
|
gem "pry-byebug"
|
data/templates/app.json.erb
CHANGED
data/templates/application.scss
CHANGED
data/templates/browserslist
CHANGED
data/templates/circle.yml.erb
CHANGED
data/templates/hound.yml
CHANGED
data/templates/rails_helper.rb
CHANGED
data/templates/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,59 +1,73 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: suspenders
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.37.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- thoughtbot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.3'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 4.2.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 4.2.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
48
|
-
type: :
|
47
|
+
version: '3.2'
|
48
|
+
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: '3.2'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: bitters
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.3'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.3'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: simple_form
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
73
|
- - "~>"
|
@@ -66,6 +80,48 @@ dependencies:
|
|
66
80
|
- - "~>"
|
67
81
|
- !ruby/object:Gem::Version
|
68
82
|
version: '3.2'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: title
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: quiet_assets
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.1'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.1'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: capybara-webkit
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '1.8'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '1.8'
|
69
125
|
description: |
|
70
126
|
Suspenders is a base Rails project that you can upgrade. It is used by
|
71
127
|
thoughtbot to get a jump start on a working app. Use Suspenders if you're in a
|
@@ -113,6 +169,7 @@ files:
|
|
113
169
|
- templates/Procfile
|
114
170
|
- templates/README.md.erb
|
115
171
|
- templates/_analytics.html.erb
|
172
|
+
- templates/_css_overrides.html.erb
|
116
173
|
- templates/_flashes.html.erb
|
117
174
|
- templates/_javascript.html.erb
|
118
175
|
- templates/action_mailer.rb
|