welaika-suspenders 2.36 → 3.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
  SHA256:
3
- metadata.gz: 890e00ac9d3e53837f98a7dbf3cf158bba6d8582c65f48112b428d35852ac388
4
- data.tar.gz: 7e9395ed08ac1eb6aa369478a0f1678f35ce68a733694335ca7235fe7e65c6b3
3
+ metadata.gz: f412edc2284c8de2c67dc3a734b0029f2f570fdfe923c5d1afb62d4065965627
4
+ data.tar.gz: 5ca061824c55a183c1e2330f0b49de0ae8883017a1ea4c4c52fffe9df0ae8717
5
5
  SHA512:
6
- metadata.gz: 363fe3371d203c7ab31ff04b5fe7ca58a09c874f28aabc0cbe944591ec438a84a966232e028f171ae4b4ec1b1f183f2d564b7440143007ca41c8e31e5afcad90
7
- data.tar.gz: 319cf29a2b8006c7b22f8af13f678401a5e4a84c91fa60f7680fe28c36d57228df9e87ce11416fa0e80721f49ca9b685c299b1be1683868b7b148b396b3b1c72
6
+ metadata.gz: b634b27230111bbc6ad6cc8828ec57a2d9122a8fb1f1368cf21991668f0f960df259eb29542474517408ffc46848fc95fb761d88f193b19135ac54407d5c82ac
7
+ data.tar.gz: a4fad671b74e728830108969d56950acca33554dc483d427044c6f80687d2d733fe1d8ec0f28d1458cce019fe0cbb05540f58bcd1390da7793264b41555fc572
@@ -1,3 +1,6 @@
1
+ 3.0 (October 20th, 2019)
2
+ * Feature: Rails 6, but welaika-suspenders 2 still continue to support rails 5 for some time
3
+
1
4
  2.36 (October 20th, 2019)
2
5
  * Feature: add nvmrc with latest node lts (dubnium)
3
6
  * Fix: heroku auto migrate functionality
@@ -13,7 +13,7 @@ module Suspenders
13
13
  private
14
14
 
15
15
  def app_name
16
- Rails.app_class.parent_name.demodulize.underscore.dasherize
16
+ Rails.app_class.module_parent_name.demodulize.underscore.dasherize
17
17
  end
18
18
  end
19
19
  end
@@ -3,9 +3,9 @@ require_relative "base"
3
3
  module Suspenders
4
4
  class JsDriverGenerator < Generators::Base
5
5
  def add_gems
6
- gem 'capybara', '>= 2.15', '< 4.0', group: :test
6
+ gem 'capybara', '>= 2.15', group: :test
7
7
  gem 'selenium-webdriver', group: :test
8
- gem 'webdrivers', '~> 4.0', group: :test
8
+ gem 'webdrivers', group: :test
9
9
  Bundler.with_clean_env { run "bundle install" }
10
10
  end
11
11
 
@@ -1,9 +1,9 @@
1
1
  module Suspenders
2
- RAILS_VERSION = "~> 5.2.3".freeze
2
+ RAILS_VERSION = "~> 6.0.0".freeze
3
3
  POSTGRES_VERSION = "11".freeze # Used in CI
4
4
  RUBY_VERSION = IO.
5
5
  read("#{File.dirname(__FILE__)}/../../.ruby-version").
6
6
  strip.
7
7
  freeze
8
- VERSION = "2.36".freeze
8
+ VERSION = "3.0".freeze
9
9
  end
@@ -240,7 +240,7 @@ RSpec.describe "Suspend a new project with default configuration" do
240
240
  end
241
241
 
242
242
  it "doesn't use turbolinks" do
243
- app_js = read_project_file(%w(app assets javascripts application.js))
243
+ app_js = read_project_file(%w(app javascript packs application.js))
244
244
  expect(app_js).not_to match(/turbolinks/)
245
245
  end
246
246
 
@@ -9,8 +9,6 @@ end
9
9
 
10
10
  ruby '<%= Suspenders::RUBY_VERSION %>'
11
11
 
12
- gem 'bootsnap', '>= 1.1.0', require: false
13
- gem 'coffee-rails', '~> 4.2'
14
12
  gem 'email_validator'
15
13
  gem 'interactor'
16
14
  gem 'pg', '>= 0.18', '< 2.0'
@@ -22,10 +20,19 @@ gem 'recipient_interceptor'
22
20
  gem 'sassc-rails'
23
21
  gem 'sprockets', '< 4'
24
22
  gem 'title'
25
- gem 'uglifier', '>= 1.3.0'
26
- <% if options[:webpack] %>
27
- gem 'webpacker'
28
- <% end %>
23
+ gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
24
+ gem 'webpacker', '~> 4.0'
25
+
26
+ # Use Redis adapter to run Action Cable in production
27
+ # gem 'redis', '~> 4.0'
28
+ # Use Active Model has_secure_password
29
+ # gem 'bcrypt', '~> 3.1.7'
30
+ # Use Active Storage variant
31
+ # gem 'image_processing', '~> 1.2'
32
+ # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
33
+ # gem 'jbuilder', '~> 2.7'
34
+
35
+ gem 'bootsnap', '>= 1.4.2', require: false
29
36
 
30
37
  group :development do
31
38
  gem 'letter_opener'
@@ -39,7 +46,7 @@ group :development, :test do
39
46
  gem 'dotenv-rails'
40
47
  gem 'pry-byebug'
41
48
  gem 'pry-rails'
42
- gem 'welaika-suspenders', '< 3'
49
+ gem 'welaika-suspenders', '>=3'
43
50
  end
44
51
 
45
52
  group :test do
@@ -48,4 +55,3 @@ group :test do
48
55
  gem 'timecop'
49
56
  gem 'webmock'
50
57
  end
51
-
@@ -1,3 +1,3 @@
1
- = javascript_include_tag :application
1
+ = javascript_pack_tag :application
2
2
 
3
3
  = yield :javascript
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: welaika-suspenders
3
3
  version: !ruby/object:Gem::Version
4
- version: '2.36'
4
+ version: '3.0'
5
5
  platform: ruby
6
6
  authors:
7
7
  - thoughtbot
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 5.2.3
20
+ version: 6.0.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: 5.2.3
27
+ version: 6.0.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: bundler
30
30
  requirement: !ruby/object:Gem::Requirement