Skip to content

Commit

Permalink
Merge branch 'master' into 5.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris Parak committed Oct 19, 2017
2 parents 825c810 + a4c4f60 commit bd32135
Show file tree
Hide file tree
Showing 10 changed files with 48 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ rvm:
- 2.3.4
- 2.4.1
- ruby-head
- jruby
- jruby-9.1.13.0
- jruby-head

jdk:
Expand Down
2 changes: 1 addition & 1 deletion lib/occi/core/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module Occi
module Core
MAJOR_VERSION = 5 # Major update constant
MINOR_VERSION = 0 # Minor update constant
PATCH_VERSION = 2 # Patch/Fix version constant
PATCH_VERSION = 3 # Patch/Fix version constant
STAGE_VERSION = nil # use `nil` for production releases

unless defined?(::Occi::Core::VERSION)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
type: !ruby/class String
required: false
mutable: true
mutable: false
default: ~
description: Contextualization data formatted as Base64-encoded string (ref. 'cloud-config')
pattern: !ruby/regexp '/^.+$/'
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
type: !ruby/class String
required: false
mutable: true
mutable: false
default: ~
description: Public SSH key formatted as Base64-encoded string (ref. 'authorized_keys')
pattern: !ruby/regexp '/^.+$/'
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: !ruby/class String
required: false
mutable: false
default: ~
description: Contextualization data formatted as Base64-encoded string (ref. 'cloud-config')
pattern: !ruby/regexp '/^.+$/'
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: !ruby/class String
required: false
mutable: false
default: ~
description: Public SSH key formatted as Base64-encoded string (ref. 'authorized_keys')
pattern: !ruby/regexp '/^.+$/'
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: !ruby/class String
required: false
mutable: false
default: ~
description: Name used for the provided SSH key.
pattern: !ruby/regexp '/^.+$/'
9 changes: 9 additions & 0 deletions lib/occi/infrastructure/warehouse/mixins/old_user_data.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
term: user_data
schema: http://schemas.openstack.org/compute/instance#
title: OCCI contextualization data to be injected into a compute instance
attributes:
- org.openstack.compute.user_data
location: /mixin/old_user_data
applies:
- http://schemas.ogf.org/occi/infrastructure#compute
10 changes: 10 additions & 0 deletions lib/occi/infrastructure/warehouse/mixins/public_key.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
term: public_key
schema: http://schemas.openstack.org/instance/credentials#
title: OCCI SSH public key to be injected into a compute instance
attributes:
- org.openstack.credentials.publickey.name
- org.openstack.credentials.publickey.data
location: /mixin/public_key
applies:
- http://schemas.ogf.org/occi/infrastructure#compute
8 changes: 4 additions & 4 deletions occi-core.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@ Gem::Specification.new do |gem|
gem.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
gem.require_paths = ['lib']

gem.add_runtime_dependency 'json', '>= 1.8', '< 3'
gem.add_runtime_dependency 'activesupport', '>= 4.0', '< 6'
gem.add_runtime_dependency 'json', '>= 1.8', '< 3'
gem.add_runtime_dependency 'json-schema', '>= 2.5', '< 3'
gem.add_runtime_dependency 'yell', '>= 2.0', '< 3'

gem.add_development_dependency 'bundler', '>= 1.12', '< 2'
gem.add_development_dependency 'fasterer', '>= 0.3.2', '< 0.4'
gem.add_development_dependency 'pry', '>= 0.10', '< 1'
gem.add_development_dependency 'rake', '>= 11.0', '< 13'
gem.add_development_dependency 'rspec', '>= 3.4', '< 4'
gem.add_development_dependency 'simplecov', '>= 0.11', '< 1'
gem.add_development_dependency 'pry', '>= 0.10', '< 1'
gem.add_development_dependency 'rubocop', '>= 0.32', '< 1'
gem.add_development_dependency 'rubygems-tasks', '>= 0.2', '< 1'
gem.add_development_dependency 'simplecov', '>= 0.11', '< 1'
gem.add_development_dependency 'yard', '>= 0.8', '< 1'
gem.add_development_dependency 'fasterer', '>= 0.3.2', '< 0.4'

gem.required_ruby_version = '>= 2.2.2'
end

0 comments on commit bd32135

Please sign in to comment.