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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e08b8a40281d4be707f011d5df7476f0a2d29062
4
- data.tar.gz: 4efce742445971ad34c0be3623b057696504a213
3
+ metadata.gz: ee470f34802ff56e8032e5725872fad57a194042
4
+ data.tar.gz: e338267ebc0642374ef45e0cb116d731a6212eee
5
5
  SHA512:
6
- metadata.gz: b794148c43e189cbecaf7d10dff74e448477c4a2c02838b17eae0ef81f5726b28f3416d0efc02505d0d33cd228b75f91cd8fadde0b8943ca101d59e4191daef9
7
- data.tar.gz: 9733402b9cac2f4ddf7bbfc6a66f5fb9f79b14141d5c7fd39d0c69761695d4c9f473153760fa26dd9e591fddcb4669dbfd862eacc81afa60fad0bbb95e8a917c
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.22.0)
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.0)
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.1)
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.0)
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.9)
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
@@ -10,8 +10,8 @@ module Suspenders
10
10
  end
11
11
 
12
12
  def action_mailer_host(rails_env, host)
13
- host_config = "config.action_mailer.default_url_options = { host: '#{host}' }"
14
- configure_environment(rails_env, host_config)
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,
@@ -1,5 +1,5 @@
1
1
  module Suspenders
2
2
  RAILS_VERSION = "4.2.0"
3
3
  RUBY_VERSION = IO.read("#{File.dirname(__FILE__)}/../../.ruby-version").strip
4
- VERSION = "1.22.0"
4
+ VERSION = "1.23.0"
5
5
  end
@@ -3,7 +3,7 @@ source "https://rubygems.org"
3
3
  ruby "<%= Suspenders::RUBY_VERSION %>"
4
4
 
5
5
  gem "airbrake"
6
- gem "bourbon", "~> 3.2.1"
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.5.1"
14
+ gem "neat", "~> 1.7.0"
15
15
  gem "newrelic_rpm"
16
16
  gem "normalize-rails", "~> 3.0.0"
17
17
  gem "pg"
@@ -1,4 +1,4 @@
1
- if Rails.env.development?
1
+ if Rails.env.development? || Rails.env.test?
2
2
  require "factory_girl"
3
3
 
4
4
  namespace :dev do
@@ -9,5 +9,6 @@
9
9
  /db/*.sqlite3
10
10
  /log/*
11
11
  /public/system
12
+ /public/assets
12
13
  /tags
13
14
  /tmp/*
@@ -13,8 +13,7 @@ cache:
13
13
  language:
14
14
  - ruby
15
15
  notifications:
16
- email:
17
- - false
16
+ email: false
18
17
  rvm:
19
18
  - <%= Suspenders::RUBY_VERSION %>
20
19
  addons:
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.22.0
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 00:00:00.000000000 Z
11
+ date: 2015-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bitters