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 +4 -4
- data/CHANGELOG_WELAIKA.md +3 -0
- data/lib/suspenders/generators/base.rb +1 -1
- data/lib/suspenders/generators/js_driver_generator.rb +2 -2
- data/lib/suspenders/version.rb +2 -2
- data/spec/features/new_project_spec.rb +1 -1
- data/templates/Gemfile.erb +14 -8
- data/templates/_javascript.html.slim +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f412edc2284c8de2c67dc3a734b0029f2f570fdfe923c5d1afb62d4065965627
|
4
|
+
data.tar.gz: 5ca061824c55a183c1e2330f0b49de0ae8883017a1ea4c4c52fffe9df0ae8717
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b634b27230111bbc6ad6cc8828ec57a2d9122a8fb1f1368cf21991668f0f960df259eb29542474517408ffc46848fc95fb761d88f193b19135ac54407d5c82ac
|
7
|
+
data.tar.gz: a4fad671b74e728830108969d56950acca33554dc483d427044c6f80687d2d733fe1d8ec0f28d1458cce019fe0cbb05540f58bcd1390da7793264b41555fc572
|
data/CHANGELOG_WELAIKA.md
CHANGED
@@ -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',
|
6
|
+
gem 'capybara', '>= 2.15', group: :test
|
7
7
|
gem 'selenium-webdriver', group: :test
|
8
|
-
gem 'webdrivers',
|
8
|
+
gem 'webdrivers', group: :test
|
9
9
|
Bundler.with_clean_env { run "bundle install" }
|
10
10
|
end
|
11
11
|
|
data/lib/suspenders/version.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
module Suspenders
|
2
|
-
RAILS_VERSION = "~>
|
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 = "
|
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
|
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
|
|
data/templates/Gemfile.erb
CHANGED
@@ -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 '
|
26
|
-
|
27
|
-
|
28
|
-
|
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', '
|
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
|
-
|
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: '
|
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:
|
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:
|
27
|
+
version: 6.0.0
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: bundler
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|