Skip to content

Commit e3c6e80

Browse files
committed
Specify ruby version
1 parent f2f8eeb commit e3c6e80

File tree

4 files changed

+152
-140
lines changed

4 files changed

+152
-140
lines changed

Diff for: Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ git_source(:github) do |repo_name|
55
"https://github.com/#{repo_name}.git"
66
end
77

8+
ruby '2.7.2'
89

910
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
1011
gem 'rails', '~> 5.0.2'

Diff for: Gemfile.lock

+148-138
Original file line numberDiff line numberDiff line change
@@ -1,96 +1,94 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
actioncable (5.0.6)
5-
actionpack (= 5.0.6)
4+
actioncable (5.0.7.2)
5+
actionpack (= 5.0.7.2)
66
nio4r (>= 1.2, < 3.0)
77
websocket-driver (~> 0.6.1)
8-
actionmailer (5.0.6)
9-
actionpack (= 5.0.6)
10-
actionview (= 5.0.6)
11-
activejob (= 5.0.6)
8+
actionmailer (5.0.7.2)
9+
actionpack (= 5.0.7.2)
10+
actionview (= 5.0.7.2)
11+
activejob (= 5.0.7.2)
1212
mail (~> 2.5, >= 2.5.4)
1313
rails-dom-testing (~> 2.0)
14-
actionpack (5.0.6)
15-
actionview (= 5.0.6)
16-
activesupport (= 5.0.6)
14+
actionpack (5.0.7.2)
15+
actionview (= 5.0.7.2)
16+
activesupport (= 5.0.7.2)
1717
rack (~> 2.0)
1818
rack-test (~> 0.6.3)
1919
rails-dom-testing (~> 2.0)
2020
rails-html-sanitizer (~> 1.0, >= 1.0.2)
21-
actionview (5.0.6)
22-
activesupport (= 5.0.6)
21+
actionview (5.0.7.2)
22+
activesupport (= 5.0.7.2)
2323
builder (~> 3.1)
2424
erubis (~> 2.7.0)
2525
rails-dom-testing (~> 2.0)
2626
rails-html-sanitizer (~> 1.0, >= 1.0.3)
27-
activejob (5.0.6)
28-
activesupport (= 5.0.6)
27+
activejob (5.0.7.2)
28+
activesupport (= 5.0.7.2)
2929
globalid (>= 0.3.6)
30-
activemodel (5.0.6)
31-
activesupport (= 5.0.6)
32-
activerecord (5.0.6)
33-
activemodel (= 5.0.6)
34-
activesupport (= 5.0.6)
30+
activemodel (5.0.7.2)
31+
activesupport (= 5.0.7.2)
32+
activerecord (5.0.7.2)
33+
activemodel (= 5.0.7.2)
34+
activesupport (= 5.0.7.2)
3535
arel (~> 7.0)
36-
activesupport (5.0.6)
36+
activesupport (5.0.7.2)
3737
concurrent-ruby (~> 1.0, >= 1.0.2)
38-
i18n (~> 0.7)
38+
i18n (>= 0.7, < 2)
3939
minitest (~> 5.1)
4040
tzinfo (~> 1.1)
41+
amazing_print (1.6.0)
4142
arel (7.1.4)
42-
awesome_print (1.8.0)
43-
bcrypt (3.1.11)
44-
builder (3.2.3)
45-
bullet (5.5.1)
43+
bcrypt (3.1.20)
44+
builder (3.2.4)
45+
bullet (7.1.6)
4646
activesupport (>= 3.0.0)
47-
uniform_notifier (~> 1.10.0)
48-
byebug (9.1.0)
49-
coderay (1.1.2)
50-
concurrent-ruby (1.0.5)
47+
uniform_notifier (~> 1.11)
48+
byebug (11.1.3)
49+
coderay (1.1.3)
50+
concurrent-ruby (1.2.3)
5151
coolline (0.5.0)
5252
unicode_utils (~> 1.4)
53-
crass (1.0.2)
54-
diff-lcs (1.3)
53+
crass (1.0.6)
54+
date (3.3.4)
55+
diff-lcs (1.5.1)
5556
erubis (2.7.0)
56-
factory_bot (4.8.2)
57-
activesupport (>= 3.0.0)
58-
factory_bot_rails (4.8.2)
59-
factory_bot (~> 4.8.2)
60-
railties (>= 3.0.0)
61-
faker (1.8.4)
62-
i18n (~> 0.5)
63-
ffi (1.9.18)
64-
formatador (0.2.5)
65-
globalid (0.4.0)
66-
activesupport (>= 4.2.0)
67-
guard (2.14.1)
57+
factory_bot (6.4.5)
58+
activesupport (>= 5.0.0)
59+
factory_bot_rails (6.4.3)
60+
factory_bot (~> 6.4)
61+
railties (>= 5.0.0)
62+
faker (3.2.3)
63+
i18n (>= 1.8.11, < 2)
64+
ffi (1.16.3)
65+
formatador (1.1.0)
66+
globalid (1.1.0)
67+
activesupport (>= 5.0)
68+
guard (2.18.1)
6869
formatador (>= 0.2.4)
6970
listen (>= 2.7, < 4.0)
70-
lumberjack (~> 1.0)
71+
lumberjack (>= 1.0.12, < 2.0)
7172
nenv (~> 0.1)
7273
notiffany (~> 0.0)
73-
pry (>= 0.9.12)
74+
pry (>= 0.13.0)
7475
shellany (~> 0.0)
7576
thor (>= 0.18.1)
7677
guard-compat (1.2.1)
7778
guard-rspec (4.7.3)
7879
guard (~> 2.1)
7980
guard-compat (~> 1.1)
8081
rspec (>= 2.99.0, < 4.0)
81-
hirb (0.7.3)
82-
i18n (0.9.0)
82+
i18n (1.14.4)
8383
concurrent-ruby (~> 1.0)
84-
jazz_fingers (4.0.1)
85-
awesome_print (~> 1.6)
86-
hirb (~> 0.7)
84+
jazz_fingers (6.2.0)
85+
amazing_print (~> 1.3)
8786
pry (~> 0.10)
88-
pry-byebug (~> 3.4)
87+
pry-byebug (~> 3.9)
8988
pry-coolline (~> 0.2)
90-
pry-doc (~> 0.6)
91-
jbuilder (2.7.0)
92-
activesupport (>= 4.2.0)
93-
multi_json (>= 1.2)
89+
jbuilder (2.11.5)
90+
actionview (>= 5.0.0)
91+
activesupport (>= 5.0.0)
9492
jwt (1.5.6)
9593
knock (2.1.1)
9694
bcrypt (~> 3.1)
@@ -99,120 +97,129 @@ GEM
9997
listen (3.0.8)
10098
rb-fsevent (~> 0.9, >= 0.9.4)
10199
rb-inotify (~> 0.9, >= 0.9.7)
102-
loofah (2.1.1)
100+
loofah (2.22.0)
103101
crass (~> 1.0.2)
104-
nokogiri (>= 1.5.9)
105-
lumberjack (1.0.11)
106-
mail (2.6.6)
107-
mime-types (>= 1.16, < 4)
108-
method_source (0.9.0)
109-
mime-types (3.1)
110-
mime-types-data (~> 3.2015)
111-
mime-types-data (3.2016.0521)
112-
mini_portile2 (2.3.0)
113-
minitest (5.10.3)
114-
multi_json (1.12.1)
102+
nokogiri (>= 1.12.0)
103+
lumberjack (1.2.10)
104+
mail (2.8.1)
105+
mini_mime (>= 0.1.1)
106+
net-imap
107+
net-pop
108+
net-smtp
109+
method_source (1.0.0)
110+
mini_mime (1.1.5)
111+
minitest (5.22.3)
115112
nenv (0.3.0)
116-
nio4r (2.1.0)
117-
nokogiri (1.8.1)
118-
mini_portile2 (~> 2.3.0)
119-
notiffany (0.1.1)
113+
net-imap (0.3.7)
114+
date
115+
net-protocol
116+
net-pop (0.1.2)
117+
net-protocol
118+
net-protocol (0.2.2)
119+
timeout
120+
net-smtp (0.4.0.1)
121+
net-protocol
122+
nio4r (2.7.0)
123+
nokogiri (1.15.5-arm64-darwin)
124+
racc (~> 1.4)
125+
notiffany (0.1.3)
120126
nenv (~> 0.1)
121127
shellany (~> 0.0)
122128
pg (0.21.0)
123-
pry (0.11.2)
124-
coderay (~> 1.1.0)
125-
method_source (~> 0.9.0)
126-
pry-byebug (3.5.0)
127-
byebug (~> 9.1)
128-
pry (~> 0.10)
129-
pry-coolline (0.2.5)
129+
pry (0.14.2)
130+
coderay (~> 1.1)
131+
method_source (~> 1.0)
132+
pry-byebug (3.10.1)
133+
byebug (~> 11.0)
134+
pry (>= 0.13, < 0.15)
135+
pry-coolline (0.2.6)
130136
coolline (~> 0.5)
131-
pry-doc (0.11.1)
132-
pry (~> 0.9)
133-
yard (~> 0.9)
134-
puma (3.10.0)
135-
rack (2.0.3)
136-
rack-cors (0.4.1)
137+
pry (~> 0.13)
138+
puma (3.12.6)
139+
racc (1.7.3)
140+
rack (2.2.8.1)
141+
rack-cors (2.0.2)
142+
rack (>= 2.0.0)
137143
rack-test (0.6.3)
138144
rack (>= 1.0)
139-
rails (5.0.6)
140-
actioncable (= 5.0.6)
141-
actionmailer (= 5.0.6)
142-
actionpack (= 5.0.6)
143-
actionview (= 5.0.6)
144-
activejob (= 5.0.6)
145-
activemodel (= 5.0.6)
146-
activerecord (= 5.0.6)
147-
activesupport (= 5.0.6)
145+
rails (5.0.7.2)
146+
actioncable (= 5.0.7.2)
147+
actionmailer (= 5.0.7.2)
148+
actionpack (= 5.0.7.2)
149+
actionview (= 5.0.7.2)
150+
activejob (= 5.0.7.2)
151+
activemodel (= 5.0.7.2)
152+
activerecord (= 5.0.7.2)
153+
activesupport (= 5.0.7.2)
148154
bundler (>= 1.3.0)
149-
railties (= 5.0.6)
155+
railties (= 5.0.7.2)
150156
sprockets-rails (>= 2.0.0)
151-
rails-dom-testing (2.0.3)
152-
activesupport (>= 4.2.0)
157+
rails-dom-testing (2.2.0)
158+
activesupport (>= 5.0.0)
159+
minitest
153160
nokogiri (>= 1.6)
154-
rails-html-sanitizer (1.0.3)
155-
loofah (~> 2.0)
156-
railties (5.0.6)
157-
actionpack (= 5.0.6)
158-
activesupport (= 5.0.6)
161+
rails-html-sanitizer (1.6.0)
162+
loofah (~> 2.21)
163+
nokogiri (~> 1.14)
164+
railties (5.0.7.2)
165+
actionpack (= 5.0.7.2)
166+
activesupport (= 5.0.7.2)
159167
method_source
160168
rake (>= 0.8.7)
161169
thor (>= 0.18.1, < 2.0)
162-
rake (12.1.0)
163-
rb-fsevent (0.10.2)
164-
rb-inotify (0.9.10)
165-
ffi (>= 0.5.0, < 2)
166-
responders (2.4.0)
167-
actionpack (>= 4.2.0, < 5.3)
168-
railties (>= 4.2.0, < 5.3)
169-
rspec (3.5.0)
170-
rspec-core (~> 3.5.0)
171-
rspec-expectations (~> 3.5.0)
172-
rspec-mocks (~> 3.5.0)
173-
rspec-core (3.5.4)
174-
rspec-support (~> 3.5.0)
175-
rspec-expectations (3.5.0)
170+
rake (13.1.0)
171+
rb-fsevent (0.11.2)
172+
rb-inotify (0.10.1)
173+
ffi (~> 1.0)
174+
responders (3.0.1)
175+
actionpack (>= 5.0)
176+
railties (>= 5.0)
177+
rspec (3.13.0)
178+
rspec-core (~> 3.13.0)
179+
rspec-expectations (~> 3.13.0)
180+
rspec-mocks (~> 3.13.0)
181+
rspec-core (3.13.0)
182+
rspec-support (~> 3.13.0)
183+
rspec-expectations (3.13.0)
176184
diff-lcs (>= 1.2.0, < 2.0)
177-
rspec-support (~> 3.5.0)
178-
rspec-mocks (3.5.0)
185+
rspec-support (~> 3.13.0)
186+
rspec-mocks (3.13.0)
179187
diff-lcs (>= 1.2.0, < 2.0)
180-
rspec-support (~> 3.5.0)
181-
rspec-rails (3.5.2)
182-
actionpack (>= 3.0)
183-
activesupport (>= 3.0)
184-
railties (>= 3.0)
185-
rspec-core (~> 3.5.0)
186-
rspec-expectations (~> 3.5.0)
187-
rspec-mocks (~> 3.5.0)
188-
rspec-support (~> 3.5.0)
189-
rspec-support (3.5.0)
190-
shellany (0.0.1)
191-
spring (2.0.2)
188+
rspec-support (~> 3.13.0)
189+
rspec-rails (4.1.2)
190+
actionpack (>= 4.2)
192191
activesupport (>= 4.2)
192+
railties (>= 4.2)
193+
rspec-core (~> 3.10)
194+
rspec-expectations (~> 3.10)
195+
rspec-mocks (~> 3.10)
196+
rspec-support (~> 3.10)
197+
rspec-support (3.13.1)
198+
shellany (0.0.1)
199+
spring (2.1.1)
193200
spring-watcher-listen (2.0.1)
194201
listen (>= 2.7, < 4.0)
195202
spring (>= 1.2, < 3.0)
196-
sprockets (3.7.1)
203+
sprockets (4.2.1)
197204
concurrent-ruby (~> 1.0)
198-
rack (> 1, < 3)
199-
sprockets-rails (3.2.1)
205+
rack (>= 2.2.4, < 4)
206+
sprockets-rails (3.2.2)
200207
actionpack (>= 4.0)
201208
activesupport (>= 4.0)
202209
sprockets (>= 3.0.0)
203-
thor (0.20.0)
210+
thor (1.3.1)
204211
thread_safe (0.3.6)
205-
tzinfo (1.2.3)
212+
timeout (0.4.1)
213+
tzinfo (1.2.11)
206214
thread_safe (~> 0.1)
207215
unicode_utils (1.4.0)
208-
uniform_notifier (1.10.0)
216+
uniform_notifier (1.16.0)
209217
websocket-driver (0.6.5)
210218
websocket-extensions (>= 0.1.0)
211-
websocket-extensions (0.1.2)
212-
yard (0.9.9)
219+
websocket-extensions (0.1.5)
213220

214221
PLATFORMS
215-
ruby
222+
arm64-darwin-22
216223

217224
DEPENDENCIES
218225
bcrypt (~> 3.1.7)
@@ -236,5 +243,8 @@ DEPENDENCIES
236243
spring-watcher-listen (~> 2.0.0)
237244
tzinfo-data
238245

246+
RUBY VERSION
247+
ruby 2.7.2p137
248+
239249
BUNDLED WITH
240-
1.15.4
250+
2.4.22

Diff for: config/initializers/cors.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77

88
Rails.application.config.middleware.insert_before 0, Rack::Cors do
99
allow do
10-
origins ENV['CORS_ORIGINS']
10+
origins '*'
11+
# origins ENV['CORS_ORIGINS']
1112
resource '*',
1213
headers: :any,
1314
:methods => [:get, :post, :put, :delete]

Diff for: spec/factories.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848
factory :user, aliases: [:owner] do
4949
sequence(:email){|n| "foo#{n}@bar.com"}
50-
password 'password!'
50+
password "password!'
5151
first_name Faker::Name.first_name
5252
last_name Faker::Name.last_name
5353
end

0 commit comments

Comments
 (0)