This repository was archived by the owner on Jul 14, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 11 files changed +1203
-671
lines changed
Expand file tree Collapse file tree 11 files changed +1203
-671
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ module . exports = require ( "@discourse/lint-configs/eslint" ) ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ module . exports = require ( "@discourse/lint-configs/prettier" ) ;
Original file line number Diff line number Diff line change 1+ module . exports = require ( "@discourse/lint-configs/template-lint" ) ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22 remote: https://rubygems.org/
33 specs:
44 ast (2.4.2 )
5- json (2.6.2 )
6- parallel (1.22.1 )
7- parser (3.1.2.1 )
5+ json (2.7.1 )
6+ language_server-protocol (3.17.0.3 )
7+ parallel (1.24.0 )
8+ parser (3.3.0.4 )
89 ast (~> 2.4.1 )
9- prettier_print (1.2.0 )
10+ racc
11+ prettier_print (1.2.1 )
12+ racc (1.7.3 )
1013 rainbow (3.1.1 )
11- regexp_parser (2.6 .0 )
12- rexml (3.2.5 )
13- rubocop (1.36 .0 )
14+ regexp_parser (2.9 .0 )
15+ rexml (3.2.6 )
16+ rubocop (1.60 .0 )
1417 json (~> 2.3 )
18+ language_server-protocol (>= 3.17.0 )
1519 parallel (~> 1.10 )
16- parser (>= 3.1.2.1 )
20+ parser (>= 3.3.0.2 )
1721 rainbow (>= 2.2.2 , < 4.0 )
1822 regexp_parser (>= 1.8 , < 3.0 )
1923 rexml (>= 3.2.5 , < 4.0 )
20- rubocop-ast (>= 1.20.1 , < 2.0 )
24+ rubocop-ast (>= 1.30.0 , < 2.0 )
2125 ruby-progressbar (~> 1.7 )
22- unicode-display_width (>= 1.4.0 , < 3.0 )
23- rubocop-ast (1.21.0 )
24- parser (>= 3.1.1.0 )
25- rubocop-discourse (3.0 )
26- rubocop (>= 1.1.0 )
27- rubocop-rspec (>= 2.0.0 )
28- rubocop-rspec (2.13.2 )
29- rubocop (~> 1.33 )
30- ruby-progressbar (1.11.0 )
31- syntax_tree (5.1.0 )
26+ unicode-display_width (>= 2.4.0 , < 3.0 )
27+ rubocop-ast (1.30.0 )
28+ parser (>= 3.2.1.0 )
29+ rubocop-capybara (2.20.0 )
30+ rubocop (~> 1.41 )
31+ rubocop-discourse (3.6.0 )
32+ rubocop (>= 1.59.0 )
33+ rubocop-rspec (>= 2.25.0 )
34+ rubocop-factory_bot (2.25.1 )
35+ rubocop (~> 1.41 )
36+ rubocop-rspec (2.26.1 )
37+ rubocop (~> 1.40 )
38+ rubocop-capybara (~> 2.17 )
39+ rubocop-factory_bot (~> 2.22 )
40+ ruby-progressbar (1.13.0 )
41+ syntax_tree (6.2.0 )
3242 prettier_print (>= 1.2.0 )
33- unicode-display_width (2.3 .0 )
43+ unicode-display_width (2.5 .0 )
3444
3545PLATFORMS
36- arm64-darwin-20
3746 ruby
38- x86_64-darwin-18
39- x86_64-darwin-19
40- x86_64-darwin-20
41- x86_64-linux
4247
4348DEPENDENCIES
4449 rubocop-discourse
4550 syntax_tree
4651
4752BUNDLED WITH
48- 2.3.10
53+ 2.5.4
Original file line number Diff line number Diff line change 11{
22 "name" : " discourse-oauth2-basic" ,
3- "version" : " 1.0.0" ,
4- "repository" : " https://github.com/discourse/discourse-oauth2-basic" ,
5- "author" : " Discourse" ,
6- "license" : " MIT" ,
3+ "private" : true ,
74 "devDependencies" : {
8- "eslint-config-discourse" : " ^3.4.0"
5+ "@discourse/lint-configs" : " ^1.3.5" ,
6+ "ember-template-lint" : " ^5.13.0" ,
7+ "eslint" : " ^8.56.0" ,
8+ "prettier" : " ^2.8.8"
99 }
1010}
Original file line number Diff line number Diff line change 66# version: 0.3
77# authors: Robin Ward
88# url: https://github.com/discourse/discourse-oauth2-basic
9- # transpile_js: true
109
1110enabled_site_setting :oauth2_enabled
1211
Original file line number Diff line number Diff line change 7474 { status : 200 , body : '{"account":{"email":"newemail@example.com"}}' }
7575 end
7676
77- let ( :fail_response ) do
78- { status : 403 }
79- end
77+ let ( :fail_response ) { { status : 403 } }
8078
8179 it "works" do
8280 stub_request ( :get , SiteSetting . oauth2_user_json_url ) . to_return ( success_response )
You can’t perform that action at this time.
0 commit comments