假设有 Foo 服务并且它有 RESTful API。如果我想为它创建包装器库:
bundle gem foo-api-client
然后它创建以下结构:
foo-api-client/Gemfile
foo-api-client/Rakefile
foo-api-client/LICENSE.txt
foo-api-client/README.md
foo-api-client/.gitignore
foo-api-client/foo-api-client.gemspec
foo-api-client/lib/foo/api/client.rb
foo-api-client/lib/foo/api/client/version.rb
我不需要单独的 api 模块,我想知道我应该离开它还是尝试更改为: fooapi-client/lib/fooapi/client.rb
这有一些命名约定吗?