Skip to content

Commit fdd8408

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 a10af49 commit fdd8408

19 files changed

+133
-771
lines changed

Diff for: .reek.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,7 @@ detectors:
117117
- _
118118
UnusedParameters:
119119
enabled: true
120-
exclude:
121-
- DeviseTokenAuth::TokenFactory#self.create
120+
exclude: []
122121
UnusedPrivateMethod:
123122
enabled: false
124123
UtilityFunction:

Diff for: Gemfile

-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ group :development, :test do
4545
gem 'parallel_tests', '~> 4.3'
4646
gem 'pry-byebug', '~> 3.9', platform: :mri
4747
gem 'pry-rails', '~> 0.3.9'
48-
gem 'rspec_api_documentation', '~> 6.1.0'
4948
gem 'rspec-rails', '~> 6.0'
5049
end
5150

Diff for: Gemfile.lock

-10
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,6 @@ GEM
272272
mini_portile2 (2.8.4)
273273
minitest (5.20.0)
274274
msgpack (1.7.2)
275-
mustache (1.1.1)
276275
net-imap (0.3.7)
277276
date
278277
net-protocol
@@ -382,10 +381,6 @@ GEM
382381
railties (>= 5.2)
383382
rexml (3.2.6)
384383
rouge (4.1.3)
385-
rspec (3.12.0)
386-
rspec-core (~> 3.12.0)
387-
rspec-expectations (~> 3.12.0)
388-
rspec-mocks (~> 3.12.0)
389384
rspec-core (3.12.2)
390385
rspec-support (~> 3.12.0)
391386
rspec-expectations (3.12.3)
@@ -403,10 +398,6 @@ GEM
403398
rspec-mocks (~> 3.12)
404399
rspec-support (~> 3.12)
405400
rspec-support (3.12.1)
406-
rspec_api_documentation (6.1.0)
407-
activesupport (>= 3.0.0)
408-
mustache (~> 1.0, >= 0.99.4)
409-
rspec (~> 3.0)
410401
rubocop (1.56.4)
411402
base64 (~> 0.1.1)
412403
json (~> 2.3)
@@ -542,7 +533,6 @@ DEPENDENCIES
542533
rails_best_practices (~> 1.20)
543534
reek (~> 6.1, >= 6.1.1)
544535
rspec-rails (~> 6.0)
545-
rspec_api_documentation (~> 6.1.0)
546536
rubocop (~> 1.56)
547537
rubocop-factory_bot (~> 2.24)
548538
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)