-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Create New Provider from Scratch
Paulo Henrique Lopes Ribeiro edited this page Mar 2, 2018
·
8 revisions
-
bundle gem fog-provider --no-mit
-
git remote add origin git@github.com:fog/fog-provider.git
-
create
CONTRIBUTING.md
-
create
CONTRIBUTORS.md
-
create
LICENSE.md
linking toCONTRIBUTORS.md
-
create
.ruby-version
-
create
.ruby-gemset
-
create
.travis.yml
with support for2.0.*
,2.1.*
,2.2.*
,2.3.*
,2.4.*
,2.5.*
andjruby
-
create
Rakefile
withminitest
as the default task -
update
fog-provider.gemspec
-
update
README.md
-
create
spec/minitest_helper.rb
-
In case of extraction:
-
CONTRIBUTORS.md
git shortlog -sne lib/fog/provider
git shortlog -sne lib/fog/provider.rb
git shortlog -sne tests/provider
git shortlog -sne lib/fog/bin/provider.rb
-
Rakefile
- Add support for
shindo
and run bothshindo
andminitest
on the default task
- Add support for
- Move the files from
fog
- Fix orphan
require
's - Move
provider/core.rb
content to the filefog/provider.rb
and remove the references to it
-
-
When coding:
- Use
autoload
as much as possible to avoid loading time issues (#3430)
- Use
-
For examples take a look at one of: