Skip to content

Commit cdc5c1b

Browse files
committed
Revert "Merge pull request #269 from rootstrap/feature/rspec-api-documentation-integration"
This reverts commit 84f3dbd, reversing changes made to f01515f.
1 parent d7a2f18 commit cdc5c1b

19 files changed

+133
-771
lines changed

Diff for: .reek.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,7 @@ detectors:
119119
- _
120120
UnusedParameters:
121121
enabled: true
122-
exclude:
123-
- DeviseTokenAuth::TokenFactory#self.create
122+
exclude: []
124123
UnusedPrivateMethod:
125124
enabled: false
126125
UtilityFunction:

Diff for: Gemfile

-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ group :development, :test do
4343
gem 'factory_bot_rails', '~> 6.2'
4444
gem 'pry-byebug', '~> 3.9', platform: :mri
4545
gem 'pry-rails', '~> 0.3.9'
46-
gem 'rspec_api_documentation', '~> 6.1.0'
4746
end
4847

4948
group :development do

Diff for: Gemfile.lock

-10
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,6 @@ GEM
285285
mini_portile2 (2.8.5)
286286
minitest (5.20.0)
287287
msgpack (1.7.2)
288-
mustache (1.1.1)
289288
net-imap (0.3.7)
290289
date
291290
net-protocol
@@ -398,10 +397,6 @@ GEM
398397
railties (>= 5.2)
399398
rexml (3.2.6)
400399
rouge (4.1.3)
401-
rspec (3.12.0)
402-
rspec-core (~> 3.12.0)
403-
rspec-expectations (~> 3.12.0)
404-
rspec-mocks (~> 3.12.0)
405400
rspec-core (3.12.2)
406401
rspec-support (~> 3.12.0)
407402
rspec-expectations (3.12.3)
@@ -419,10 +414,6 @@ GEM
419414
rspec-mocks (~> 3.12)
420415
rspec-support (~> 3.12)
421416
rspec-support (3.12.1)
422-
rspec_api_documentation (6.1.0)
423-
activesupport (>= 3.0.0)
424-
mustache (~> 1.0, >= 0.99.4)
425-
rspec (~> 3.0)
426417
rubocop (1.57.1)
427418
base64 (~> 0.1.1)
428419
json (~> 2.3)
@@ -563,7 +554,6 @@ DEPENDENCIES
563554
reek (~> 6.1, >= 6.1.1)
564555
rspec-rails (~> 6.0)
565556
rspec-retry!
566-
rspec_api_documentation (~> 6.1.0)
567557
rubocop (~> 1.57)
568558
rubocop-factory_bot (~> 2.24)
569559
rubocop-performance (~> 1.19)

Diff for: README.md

-11
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ This template comes with:
2626
- Code quality tools
2727
- API documentation following https://apiblueprint.org/
2828
- Docker support
29-
- RSpec API Doc Generator
3029

3130
## How to use
3231

@@ -93,7 +92,6 @@ To illustrate, `bin/rails console` will run the console in the docker container
9392
- [Rails Best Practices](https://github.com/flyerhzm/rails_best_practices) for rails linting
9493
- [Reek](https://github.com/troessner/reek) for ruby linting
9594
- [RSpec](https://github.com/rspec/rspec) for testing
96-
- [RSpec API Doc Generator](https://github.com/zipmark/rspec_api_documentation) for API documentation
9795
- [Rubocop](https://github.com/bbatsov/rubocop/) for ruby linting
9896
- [Sendgrid](https://github.com/stephenb/sendgrid) for sending mails
9997
- [Shoulda Matchers](https://github.com/thoughtbot/shoulda-matchers) adds other testing matchers
@@ -112,15 +110,6 @@ To illustrate, `bin/rails console` will run the console in the docker container
112110

113111
https://railsapibasers.docs.apiary.io/
114112

115-
With [RSpec API Doc Generator](https://github.com/zipmark/rspec_api_documentation) you can generate the docs after writing the acceptance specs.
116-
117-
Just run:
118-
119-
`./bin/docs `
120-
121-
An `apiary.apib` file will be generated at the root directory of the project.
122-
123-
124113
## Code quality
125114

126115
With `bundle exec rails code:analysis` you can run the code analysis tool, you can omit rules with:

0 commit comments

Comments
 (0)