Skip to content

Commit fedba6c

Browse files
committed
Concequences of rails assets removing
1 parent 9a26909 commit fedba6c

File tree

8 files changed

+18
-9
lines changed

8 files changed

+18
-9
lines changed

.ruby-version

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2.3.1
2+

Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
source 'https://rubygems.org'
22

3+
ruby '2.3.1'
34
gem 'rails', '~> 5.0.6'
45

56
gem 'pg', '~> 0.18'

Gemfile.lock

+3-8
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ GEM
3939
minitest (~> 5.1)
4040
tzinfo (~> 1.1)
4141
arel (7.1.4)
42-
bindex (0.5.0)
4342
builder (3.2.3)
4443
byebug (10.0.0)
4544
concurrent-ruby (1.0.5)
@@ -119,11 +118,6 @@ GEM
119118
thread_safe (0.3.6)
120119
tzinfo (1.2.5)
121120
thread_safe (~> 0.1)
122-
web-console (3.5.1)
123-
actionview (>= 5.0)
124-
activemodel (>= 5.0)
125-
bindex (>= 0.4.0)
126-
railties (>= 5.0)
127121
webpacker (3.2.2)
128122
activesupport (>= 4.2)
129123
rack-proxy (>= 0.6.1)
@@ -138,15 +132,16 @@ PLATFORMS
138132
DEPENDENCIES
139133
byebug
140134
jbuilder (~> 2.5)
141-
listen (~> 3.0.5)
142135
pg (~> 0.18)
143136
puma (~> 3.0)
144137
rails (~> 5.0.6)
145138
spring
146139
spring-watcher-listen (~> 2.0.0)
147140
tzinfo-data
148-
web-console (>= 3.3.0)
149141
webpacker
150142

143+
RUBY VERSION
144+
ruby 2.3.1p112
145+
151146
BUNDLED WITH
152147
1.16.0

app/views/layouts/application.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<%= csrf_meta_tags %>
66

77
<%= stylesheet_pack_tag 'application' %>
8+
<%= javascript_pack_tag 'application' %>
89
</head>
910

1011
<body>
1112
<%= yield %>
12-
<%= javascript_pack_tag 'application' %>
1313
</body>
1414
</html>

frontend/packs/application.css

Whitespace-only changes.

frontend/packs/application.js

+6
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
11
import "init";
2+
import "components/page/page";
3+
import Turbolinks from "turbolinks";
4+
import Rails from "rails-ujs";
5+
6+
Turbolinks.start();
7+
Rails.start();

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"dependencies": {
33
"@rails/webpacker": "^3.2.2",
4+
"rails-ujs": "^5.1.5",
45
"stylelint": "^8.4.0",
56
"turbolinks": "^5.1.1"
67
},

yarn.lock

+4
Original file line numberDiff line numberDiff line change
@@ -5725,6 +5725,10 @@ quick-lru@^1.0.0:
57255725
version "1.1.0"
57265726
resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-1.1.0.tgz#4360b17c61136ad38078397ff11416e186dcfbb8"
57275727

5728+
rails-ujs@^5.1.5:
5729+
version "5.1.5"
5730+
resolved "https://registry.yarnpkg.com/rails-ujs/-/rails-ujs-5.1.5.tgz#e490a10ae29a5e1e57c130a42f93da10e91b5280"
5731+
57285732
randomatic@^1.1.3:
57295733
version "1.1.7"
57305734
resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-1.1.7.tgz#c7abe9cc8b87c0baa876b19fde83fd464797e38c"

0 commit comments

Comments
 (0)