Skip to content

Commit 118a992

Browse files
author
Matt Darby
committed
Initial import
0 parents  commit 118a992

File tree

836 files changed

+70709
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

836 files changed

+70709
-0
lines changed

.gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/.bundle/
2+
/.yardoc
3+
/Gemfile.lock
4+
/_yardoc/
5+
/coverage/
6+
/doc/
7+
/pkg/
8+
/spec/reports/
9+
/tmp/

.rspec

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
--format documentation
2+
--color

.ruby-gemset

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fog-openstack

.ruby-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.1.2

.travis.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
language: ruby
2+
sudo: false
3+
script: bundle exec rake test
4+
matrix:
5+
fast_finish: true
6+
include:
7+
- rvm: 1.8.7
8+
gemfile: gemfiles/Gemfile-ruby-1.8.7
9+
- rvm: 1.9.3
10+
gemfile: Gemfile
11+
- rvm: 2.0.0
12+
gemfile: Gemfile
13+
- rvm: 2.1.0
14+
gemfile: Gemfile
15+
- rvm: 2.1.1
16+
gemfile: Gemfile
17+
- rvm: 2.1.1
18+
gemfile: gemfiles/Gemfile-edge
19+
- rvm: 2.2.0
20+
gemfile: Gemfile
21+
- rvm: 2.2.0
22+
gemfile: gemfiles/Gemfile-edge
23+
- rvm: jruby-18mode
24+
gemfile: gemfiles/Gemfile-ruby-1.8.7
25+
- rvm: jruby-19mode
26+
gemfile: Gemfile
27+
- rvm: jruby-head
28+
gemfile: Gemfile
29+
allow_failures:
30+
- rvm: jruby-head

CODE_OF_CONDUCT.md

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Contributor Code of Conduct
2+
3+
As contributors and maintainers of this project, and in the interest of
4+
fostering an open and welcoming community, we pledge to respect all people who
5+
contribute through reporting issues, posting feature requests, updating
6+
documentation, submitting pull requests or patches, and other activities.
7+
8+
We are committed to making participation in this project a harassment-free
9+
experience for everyone, regardless of level of experience, gender, gender
10+
identity and expression, sexual orientation, disability, personal appearance,
11+
body size, race, ethnicity, age, religion, or nationality.
12+
13+
Examples of unacceptable behavior by participants include:
14+
15+
* The use of sexualized language or imagery
16+
* Personal attacks
17+
* Trolling or insulting/derogatory comments
18+
* Public or private harassment
19+
* Publishing other's private information, such as physical or electronic
20+
addresses, without explicit permission
21+
* Other unethical or unprofessional conduct
22+
23+
Project maintainers have the right and responsibility to remove, edit, or
24+
reject comments, commits, code, wiki edits, issues, and other contributions
25+
that are not aligned to this Code of Conduct, or to ban temporarily or
26+
permanently any contributor for other behaviors that they deem inappropriate,
27+
threatening, offensive, or harmful.
28+
29+
By adopting this Code of Conduct, project maintainers commit themselves to
30+
fairly and consistently applying these principles to every aspect of managing
31+
this project. Project maintainers who do not follow or enforce the Code of
32+
Conduct may be permanently removed from the project team.
33+
34+
This code of conduct applies both within project spaces and in public spaces
35+
when an individual is representing the project or its community.
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
38+
reported by contacting a project maintainer at [email protected]. All
39+
complaints will be reviewed and investigated and will result in a response that
40+
is deemed necessary and appropriate to the circumstances. Maintainers are
41+
obligated to maintain confidentiality with regard to the reporter of an
42+
incident.
43+
44+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45+
version 1.3.0, available at
46+
[http://contributor-covenant.org/version/1/3/0/][version]
47+
48+
[homepage]: http://contributor-covenant.org
49+
[version]: http://contributor-covenant.org/version/1/3/0/

CONTRIBUTING.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## Getting Involved
2+
3+
New contributors are always welcome, when it doubt please ask questions. We strive to be an open and welcoming community. Please be nice to one another.
4+
5+
### Coding
6+
7+
* Pick a task:
8+
* Offer feedback on open [pull requests](https://github.com/fog/fog-openstack/pulls).
9+
* Review open [issues](https://github.com/fog/fog-openstack/issues) for things to help on.
10+
* [Create an issue](https://github.com/fog/fog-openstack/issues/new) to start a discussion on additions or features.
11+
* Fork the project, add your changes and tests to cover them in a topic branch.
12+
* Commit your changes and rebase against `fog/fog-openstack` to ensure everything is up to date.
13+
* [Submit a pull request](https://github.com/fog/fog-openstack/compare/).
14+
15+
### Non-Coding
16+
17+
* Offer feedback on open [issues](https://github.com/fog/fog-openstack/issues).
18+
* Organize or volunteer at events.

Gemfile

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
source 'https://rubygems.org'
2+
3+
# Specify your gem's dependencies in fog-openstack.gemspec
4+
gemspec

LICENSE.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2014-2015 [CONTRIBUTORS.md](https://github.com/fog/fog-rackspace/blob/master/CONTRIBUTORS.md)
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of
6+
this software and associated documentation files (the "Software"), to deal in
7+
the Software without restriction, including without limitation the rights to
8+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9+
the Software, and to permit persons to whom the Software is furnished to do so,
10+
subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Fog::Openstack
2+
3+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/fog/openstack`. To experiment with that code, run `bin/console` for an interactive prompt.
4+
5+
TODO: Delete this and the text above, and describe your gem
6+
7+
## Installation
8+
9+
Add this line to your application's Gemfile:
10+
11+
```ruby
12+
gem 'fog-openstack'
13+
```
14+
15+
And then execute:
16+
17+
$ bundle
18+
19+
Or install it yourself as:
20+
21+
$ gem install fog-openstack
22+
23+
## Usage
24+
25+
TODO: Write usage instructions here
26+
27+
## Development
28+
29+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30+
31+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32+
33+
## Contributing
34+
35+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/fog-openstack. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36+
37+
38+
## License
39+
40+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41+

Rakefile

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
require "bundler/gem_tasks"
2+
3+
task :default => :test
4+
5+
mock = ENV['FOG_MOCK'] || 'true'
6+
task :test do
7+
sh("export FOG_MOCK=#{mock} && bundle exec shindont")
8+
end

bin/console

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/usr/bin/env ruby
2+
3+
require "bundler/setup"
4+
require "fog/openstack"
5+
6+
# You can add fixtures and/or initialization code here to make experimenting
7+
# with your gem easier. You can also use a different console, if you like.
8+
9+
# (If you use this, don't forget to add pry to your Gemfile!)
10+
# require "pry"
11+
# Pry.start
12+
13+
require "irb"
14+
IRB.start

bin/setup

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env bash
2+
set -euo pipefail
3+
IFS=$'\n\t'
4+
set -vx
5+
6+
bundle install
7+
8+
# Do any other automated setup that you need to do here

fog-openstack.gemspec

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# coding: utf-8
2+
lib = File.expand_path('../lib', __FILE__)
3+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4+
require 'fog/openstack/version'
5+
6+
Gem::Specification.new do |spec|
7+
spec.name = "fog-openstack"
8+
spec.version = Fog::Openstack::VERSION
9+
spec.authors = ["Matt Darby"]
10+
spec.email = ["[email protected]"]
11+
12+
spec.summary = %q{OpenStack fog provider gem}
13+
spec.description = %q{OpenStack fog provider gem.}
14+
spec.homepage = "https://github.com/fog/fog-openstack.com"
15+
spec.license = "MIT"
16+
17+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18+
spec.bindir = "exe"
19+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20+
spec.require_paths = ["lib"]
21+
22+
spec.add_development_dependency 'bundler', '~> 1.6'
23+
spec.add_development_dependency 'rake', '~> 10.0'
24+
spec.add_development_dependency 'shindo', '~> 0.3'
25+
spec.add_development_dependency 'rubyzip', '~> 0.9.9'
26+
spec.add_development_dependency "mime-types"
27+
spec.add_development_dependency "mime-types-data"
28+
29+
spec.add_dependency 'fog-core', '>= 1.35'
30+
spec.add_dependency 'fog-json', '>= 1.0'
31+
spec.add_dependency 'fog-xml', '>= 0.1'
32+
spec.add_dependency 'ipaddress', '>= 0.8'
33+
end

0 commit comments

Comments
 (0)