Skip to content

Commit 700c5ab

Browse files
author
Tero Marttila
committed
skeleton
0 parents  commit 700c5ab

File tree

15 files changed

+179
-0
lines changed

15 files changed

+179
-0
lines changed

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/.bundle/
2+
/.yardoc
3+
/_yardoc/
4+
/coverage/
5+
/doc/
6+
/pkg/
7+
/spec/reports/
8+
/tmp/
9+
10+
# rspec failure tracking
11+
.rspec_status

.rspec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
--format documentation
2+
--color
3+
--require spec_helper

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
sudo: false
2+
language: ruby
3+
rvm:
4+
- 2.4.3
5+
before_install: gem install bundler -v 1.16.2

Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM ruby:2.4.3
2+
3+
WORKDIR /app
4+
5+
COPY Gemfile *.gemspec ./
6+
COPY lib/pharos/kube/client/version.rb ./lib/pharos/kube/client/
7+
RUN bundle install
8+
9+
COPY . .
10+
11+
CMD ["rspec"]

Gemfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
source "https://rubygems.org"
2+
3+
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4+
5+
# Specify your gem's dependencies in pharos-kube-client.gemspec
6+
gemspec

Gemfile.lock

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
PATH
2+
remote: .
3+
specs:
4+
pharos-kube-client (0.1.0)
5+
6+
GEM
7+
remote: https://rubygems.org/
8+
specs:
9+
diff-lcs (1.3)
10+
rake (10.5.0)
11+
rspec (3.7.0)
12+
rspec-core (~> 3.7.0)
13+
rspec-expectations (~> 3.7.0)
14+
rspec-mocks (~> 3.7.0)
15+
rspec-core (3.7.1)
16+
rspec-support (~> 3.7.0)
17+
rspec-expectations (3.7.0)
18+
diff-lcs (>= 1.2.0, < 2.0)
19+
rspec-support (~> 3.7.0)
20+
rspec-mocks (3.7.0)
21+
diff-lcs (>= 1.2.0, < 2.0)
22+
rspec-support (~> 3.7.0)
23+
rspec-support (3.7.1)
24+
25+
PLATFORMS
26+
ruby
27+
28+
DEPENDENCIES
29+
bundler (~> 1.16)
30+
pharos-kube-client!
31+
rake (~> 10.0)
32+
rspec (~> 3.7)
33+
34+
BUNDLED WITH
35+
1.16.1

README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Pharos::Kube::Client
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/pharos/kube/client`. 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 'pharos-kube-client'
13+
```
14+
15+
And then execute:
16+
17+
$ bundle
18+
19+
Or install it yourself as:
20+
21+
$ gem install pharos-kube-client
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]/pharos-kube-client.

Rakefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
require "bundler/gem_tasks"
2+
require "rspec/core/rake_task"
3+
4+
RSpec::Core::RakeTask.new(:spec)
5+
6+
task :default => :spec

docker-compose.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
rspec:
2+
build: .
3+
volumes:
4+
- .:/app
5+
command: rspec

lib/pharos-kube-client.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
require "pharos/kube/client"

0 commit comments

Comments
 (0)