suspenders 1.22.0 → 1.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/NEWS.md +14 -0
- data/lib/suspenders/actions.rb +2 -2
- data/lib/suspenders/app_builder.rb +8 -3
- data/lib/suspenders/version.rb +1 -1
- data/templates/Gemfile.erb +2 -2
- data/templates/development_seeds.rb +1 -1
- data/templates/suspenders_gitignore +1 -0
- data/templates/travis.yml.erb +1 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee470f34802ff56e8032e5725872fad57a194042
|
4
|
+
data.tar.gz: e338267ebc0642374ef45e0cb116d731a6212eee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 102c9097b4426c642bdbcf77a9f80847f8cc64c7f2e960b194a566e689fb9c8002d48e3339d332dce4547e0004e02daad4bee341ac097fc60b6597872e9dc752
|
7
|
+
data.tar.gz: 458864e6ae2402201df699e16180e05f1d1b47ecd07f6cef2f0ebc7aa31772b156e978958b90652285e60f5288acc1141320389c3d090ec5b938ac79273fa65a
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
suspenders (1.
|
4
|
+
suspenders (1.23.0)
|
5
5
|
bitters (~> 0.10.0)
|
6
6
|
bundler (~> 1.3)
|
7
7
|
rails (= 4.2.0)
|
@@ -53,7 +53,7 @@ GEM
|
|
53
53
|
bourbon (>= 3.2)
|
54
54
|
sass (>= 3.2)
|
55
55
|
thor
|
56
|
-
bourbon (4.1.
|
56
|
+
bourbon (4.1.1)
|
57
57
|
sass (~> 3.3)
|
58
58
|
thor
|
59
59
|
builder (3.2.2)
|
@@ -80,14 +80,14 @@ GEM
|
|
80
80
|
activesupport (>= 4.1.0)
|
81
81
|
hike (1.2.3)
|
82
82
|
i18n (0.7.0)
|
83
|
-
json (1.8.
|
83
|
+
json (1.8.2)
|
84
84
|
loofah (2.0.1)
|
85
85
|
nokogiri (>= 1.5.9)
|
86
86
|
mail (2.6.3)
|
87
87
|
mime-types (>= 1.16, < 3)
|
88
88
|
mime-types (2.4.3)
|
89
89
|
mini_portile (0.6.0)
|
90
|
-
minitest (5.5.
|
90
|
+
minitest (5.5.1)
|
91
91
|
multi_json (1.10.1)
|
92
92
|
multi_test (0.1.1)
|
93
93
|
nokogiri (1.6.2.1)
|
@@ -128,7 +128,7 @@ GEM
|
|
128
128
|
rspec-expectations (2.99.0)
|
129
129
|
diff-lcs (>= 1.1.3, < 2.0)
|
130
130
|
rspec-mocks (2.99.0)
|
131
|
-
sass (3.4.
|
131
|
+
sass (3.4.10)
|
132
132
|
sprockets (2.12.3)
|
133
133
|
hike (~> 1.2)
|
134
134
|
multi_json (~> 1.0)
|
data/NEWS.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
1.23.0 (January 19, 2015)
|
2
|
+
|
3
|
+
* Use Bourbon 4.1.0.
|
4
|
+
* Use Neat 1.7.0.
|
5
|
+
* Remove [parameter wrapping] for every format, including JSON.
|
6
|
+
* Turn off TravisCI email notifications for Suspended apps.
|
7
|
+
* Run `rake dev:prime` on CI in order to test
|
8
|
+
whether `bin/setup` has any regressions.
|
9
|
+
* Fix `config.action_mailer.default_url_options`'s value.
|
10
|
+
It now correctly uses `ENV.fetch("HOST")` in staging
|
11
|
+
and production.
|
12
|
+
|
13
|
+
[parameter wrapping]: http://api.rubyonrails.org/classes/ActionController/ParamsWrapper.html
|
14
|
+
|
1
15
|
1.22.0 (January 11, 2015)
|
2
16
|
|
3
17
|
* Allow additional
|
data/lib/suspenders/actions.rb
CHANGED
@@ -10,8 +10,8 @@ module Suspenders
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def action_mailer_host(rails_env, host)
|
13
|
-
|
14
|
-
configure_environment(rails_env,
|
13
|
+
config = "config.action_mailer.default_url_options = { host: #{host} }"
|
14
|
+
configure_environment(rails_env, config)
|
15
15
|
end
|
16
16
|
|
17
17
|
def configure_environment(rails_env, config)
|
@@ -95,7 +95,7 @@ module Suspenders
|
|
95
95
|
|
96
96
|
inject_into_file(
|
97
97
|
"config/environments/production.rb",
|
98
|
-
'config.static_cache_control = "public, max-age=#{1.year.to_i}"',
|
98
|
+
' config.static_cache_control = "public, max-age=#{1.year.to_i}"',
|
99
99
|
after: serve_static_files_line
|
100
100
|
)
|
101
101
|
end
|
@@ -118,6 +118,10 @@ end
|
|
118
118
|
template 'secrets.yml', 'config/secrets.yml', force: true
|
119
119
|
end
|
120
120
|
|
121
|
+
def disallow_wrapping_parameters
|
122
|
+
remove_file "config/initializers/wrap_parameters.rb"
|
123
|
+
end
|
124
|
+
|
121
125
|
def create_partials_directory
|
122
126
|
empty_directory 'app/views/application'
|
123
127
|
end
|
@@ -233,8 +237,8 @@ end
|
|
233
237
|
end
|
234
238
|
|
235
239
|
def configure_action_mailer
|
236
|
-
action_mailer_host "development", "localhost:#{port}"
|
237
|
-
action_mailer_host "test", "www.example.com"
|
240
|
+
action_mailer_host "development", %{"localhost:#{port}"}
|
241
|
+
action_mailer_host "test", %{"www.example.com"}
|
238
242
|
action_mailer_host "staging", %{ENV.fetch("HOST")}
|
239
243
|
action_mailer_host "production", %{ENV.fetch("HOST")}
|
240
244
|
end
|
@@ -340,6 +344,7 @@ fi
|
|
340
344
|
copy_file "bin_deploy", "bin/deploy"
|
341
345
|
|
342
346
|
instructions = <<-MARKDOWN
|
347
|
+
|
343
348
|
## Deploying
|
344
349
|
|
345
350
|
If you have previously run the `./bin/setup` script,
|
data/lib/suspenders/version.rb
CHANGED
data/templates/Gemfile.erb
CHANGED
@@ -3,7 +3,7 @@ source "https://rubygems.org"
|
|
3
3
|
ruby "<%= Suspenders::RUBY_VERSION %>"
|
4
4
|
|
5
5
|
gem "airbrake"
|
6
|
-
gem "bourbon", "~>
|
6
|
+
gem "bourbon", "~> 4.1.0"
|
7
7
|
gem "coffee-rails", "~> 4.1.0"
|
8
8
|
gem "delayed_job_active_record"
|
9
9
|
gem "email_validator"
|
@@ -11,7 +11,7 @@ gem "flutie"
|
|
11
11
|
gem "high_voltage"
|
12
12
|
gem "i18n-tasks"
|
13
13
|
gem "jquery-rails"
|
14
|
-
gem "neat", "~> 1.
|
14
|
+
gem "neat", "~> 1.7.0"
|
15
15
|
gem "newrelic_rpm"
|
16
16
|
gem "normalize-rails", "~> 3.0.0"
|
17
17
|
gem "pg"
|
data/templates/travis.yml.erb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: suspenders
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- thoughtbot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bitters
|