Skip to content

Commit 0442bfb

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 8325112 commit 0442bfb

19 files changed

Lines changed: 133 additions & 771 deletions

.reek.yml

Lines changed: 1 addition & 2 deletions
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:

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ group :development, :test do
4444
gem 'parallel_tests', '~> 4.2'
4545
gem 'pry-byebug', '~> 3.9', platform: :mri
4646
gem 'pry-rails', '~> 0.3.9'
47-
gem 'rspec_api_documentation', '~> 6.1.0'
4847
gem 'rspec-rails', '~> 6.0'
4948
end
5049

Gemfile.lock

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ GEM
271271
mini_portile2 (2.8.4)
272272
minitest (5.20.0)
273273
msgpack (1.7.2)
274-
mustache (1.1.1)
275274
net-imap (0.3.7)
276275
date
277276
net-protocol
@@ -380,10 +379,6 @@ GEM
380379
railties (>= 5.2)
381380
rexml (3.2.6)
382381
rouge (4.1.3)
383-
rspec (3.12.0)
384-
rspec-core (~> 3.12.0)
385-
rspec-expectations (~> 3.12.0)
386-
rspec-mocks (~> 3.12.0)
387382
rspec-core (3.12.2)
388383
rspec-support (~> 3.12.0)
389384
rspec-expectations (3.12.3)
@@ -401,10 +396,6 @@ GEM
401396
rspec-mocks (~> 3.12)
402397
rspec-support (~> 3.12)
403398
rspec-support (3.12.1)
404-
rspec_api_documentation (6.1.0)
405-
activesupport (>= 3.0.0)
406-
mustache (~> 1.0, >= 0.99.4)
407-
rspec (~> 3.0)
408399
rubocop (1.56.0)
409400
base64 (~> 0.1.1)
410401
json (~> 2.3)
@@ -539,7 +530,6 @@ DEPENDENCIES
539530
rails_best_practices (~> 1.20)
540531
reek (~> 6.1, >= 6.1.1)
541532
rspec-rails (~> 6.0)
542-
rspec_api_documentation (~> 6.1.0)
543533
rubocop (~> 1.55)
544534
rubocop-factory_bot (~> 2.23, >= 2.23.1)
545535
rubocop-performance (~> 1.19)

README.md

Lines changed: 0 additions & 11 deletions
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

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

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

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

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

0 commit comments

Comments
 (0)