aptible-gridiron 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/.rspec +2 -0
- data/.travis.yml +3 -0
- data/Gemfile +6 -0
- data/LICENSE.md +22 -0
- data/Procfile +1 -0
- data/README.md +88 -0
- data/Rakefile +4 -0
- data/gridiron-ruby.gemspec +34 -0
- data/lib/aptible/gridiron.rb +24 -0
- data/lib/aptible/gridiron/agent.rb +6 -0
- data/lib/aptible/gridiron/criterion.rb +16 -0
- data/lib/aptible/gridiron/document.rb +11 -0
- data/lib/aptible/gridiron/event.rb +6 -0
- data/lib/aptible/gridiron/evidence.rb +25 -0
- data/lib/aptible/gridiron/procedure.rb +12 -0
- data/lib/aptible/gridiron/protocol.rb +13 -0
- data/lib/aptible/gridiron/requirement.rb +19 -0
- data/lib/aptible/gridiron/resource.rb +41 -0
- data/lib/aptible/gridiron/version.rb +5 -0
- data/spec/aptible/gridiron/agent_spec.rb +5 -0
- data/spec/aptible/gridiron/resource_spec.rb +6 -0
- data/spec/aptible/gridiron_spec.rb +19 -0
- data/spec/shared/with_env.rb +10 -0
- data/spec/spec_helper.rb +16 -0
- metadata +228 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 3194ca3112f7c2c9adcd06904ad681ca00ced37c
|
4
|
+
data.tar.gz: f31fa4fda6c721aafae9f42de9a9edcc76a865e7
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0ae03ee9ed2f392c72910a473f1fbca5d82dbffa48dd9089b0119c98562ad1c954596736008b49fadfe46ef455d1a1de2fc48dd7378adb82a24fb78427fc0240
|
7
|
+
data.tar.gz: 4147963ff65de92ed65d4e4e7d9a36f916fa8e633ba98ae9f9107c2449c7163a1fa1ebd8cbc4ed6dee7798fddeea5f86a4f11322f5df918e2e01ba96b6f4dd06
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/LICENSE.md
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 Aptible, Inc.
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/Procfile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
console: bundle exec pry -r aptible/gridiron -r aptible/auth
|
data/README.md
ADDED
@@ -0,0 +1,88 @@
|
|
1
|
+
# ![](https://raw.github.com/aptible/straptible/master/lib/straptible/rails/templates/public.api/icon-60px.png) Aptible::Gridiron
|
2
|
+
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/gridiron.png)](https://rubygems.org/gems/gridiron)
|
4
|
+
[![Build Status](https://travis-ci.org/aptible/gridiron-ruby.png?branch=master)](https://travis-ci.org/aptible/gridiron-ruby)
|
5
|
+
[![Dependency Status](https://gemnasium.com/aptible/gridiron-ruby.png)](https://gemnasium.com/aptible/gridiron-ruby)
|
6
|
+
|
7
|
+
Ruby client for [gridiron.aptible.com](https://gridiron.aptible.com/). The Gridiron server is built on top of [HAL+JSON](http://tools.ietf.org/html/draft-kelly-json-hal-06), and so this client is just a thin layer on top of the [HyperResource](https://github.com/gamache/hyperresource) gem.
|
8
|
+
|
9
|
+
## Installation
|
10
|
+
|
11
|
+
Add the following lines to your application's Gemfile.
|
12
|
+
|
13
|
+
gem 'aptible-gridiron'
|
14
|
+
|
15
|
+
And then run `bundle install`.
|
16
|
+
|
17
|
+
## Usage
|
18
|
+
|
19
|
+
First, get a token:
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
token = Aptible::Auth::Token.create(email: 'user0@example.com', password: 'password')
|
23
|
+
```
|
24
|
+
|
25
|
+
From here, you can interact with the Gridiron server however you wish:
|
26
|
+
|
27
|
+
```ruby
|
28
|
+
gridiron = Aptible::Gridiron::Agent.new(token: token)
|
29
|
+
protocol = gridiron.protocols.first
|
30
|
+
protocol.procedures.count
|
31
|
+
# => 356
|
32
|
+
procedure = protocol.procedures.first
|
33
|
+
# => "Obtain and review IT acquisition policy and procedures..."
|
34
|
+
procedure.criteria.count
|
35
|
+
# => 1
|
36
|
+
criterion = procedure.criteria.first
|
37
|
+
criterion.name
|
38
|
+
# => "Policy Manual"
|
39
|
+
```
|
40
|
+
|
41
|
+
To work with organization-specific evidence (i.e., documents and events), you may set the `Aptible::Gridiron.configuration.organization` variable. For example:
|
42
|
+
|
43
|
+
```ruby
|
44
|
+
organization = Aptible::Auth::Organization.all(token: token).first
|
45
|
+
Aptible::Gridiron.configure do |config|
|
46
|
+
config.organization = organization
|
47
|
+
end
|
48
|
+
|
49
|
+
gridiron = Aptible::Gridiron::Agent.new(token: token)
|
50
|
+
criterion = gridiron.protocols.first.procedures.first.criteria.first
|
51
|
+
criterion.documents.count
|
52
|
+
# => 1
|
53
|
+
document = criterion.create_document!(
|
54
|
+
print_version: 'http://knowyourmeme.com/photos/11296-success'
|
55
|
+
)
|
56
|
+
document.print_version.href
|
57
|
+
# => "http://knowyourmeme.com/photos/11296-success"
|
58
|
+
document.expires_at
|
59
|
+
# => 2015-07-08 00:10:31 UTC
|
60
|
+
```
|
61
|
+
|
62
|
+
## Configuration
|
63
|
+
|
64
|
+
| Parameter | Description | Default |
|
65
|
+
| --------- | ----------- | --------------- |
|
66
|
+
| `root_url` | Root URL of the Gridiron server | `ENV['GRIDIRON_ROOT_URL']` or [https://gridiron.aptible.com](https://gridiron.aptible.com) |
|
67
|
+
| `organization` | `Aptible::Auth::Organization` instance to be used for all documents/events | `nil` |
|
68
|
+
|
69
|
+
To point the client at a different server (e.g., during development), add the following to your application's initializers (or set the `GRIDIRON_ROOT_URL` environment variable):
|
70
|
+
|
71
|
+
```ruby
|
72
|
+
Aptible::Gridiron.configure do |config|
|
73
|
+
config.root_url = 'http://some.other.url'
|
74
|
+
end
|
75
|
+
```
|
76
|
+
|
77
|
+
## Contributing
|
78
|
+
|
79
|
+
1. Fork the project.
|
80
|
+
1. Commit your changes, with specs.
|
81
|
+
1. Ensure that your code passes specs (`rake spec`) and meets Aptible's Ruby style guide (`rake rubocop`).
|
82
|
+
1. Create a new pull request on GitHub.
|
83
|
+
|
84
|
+
## Copyright and License
|
85
|
+
|
86
|
+
MIT License, see [LICENSE](LICENSE.md) for details.
|
87
|
+
|
88
|
+
Copyright (c) 2013 [Aptible](https://www.aptible.com), Frank Macreery, and contributors.
|
data/Rakefile
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
|
5
|
+
require 'English'
|
6
|
+
require 'aptible/gridiron/version'
|
7
|
+
|
8
|
+
Gem::Specification.new do |spec|
|
9
|
+
spec.name = 'aptible-gridiron'
|
10
|
+
spec.version = Aptible::Gridiron::VERSION
|
11
|
+
spec.authors = ['Frank Macreery']
|
12
|
+
spec.email = ['frank@macreery.com']
|
13
|
+
spec.description = 'Ruby client for gridiron.aptible.com'
|
14
|
+
spec.summary = 'Ruby client for gridiron.aptible.com'
|
15
|
+
spec.homepage = 'https://github.com/aptible/gridiron-ruby'
|
16
|
+
spec.license = 'MIT'
|
17
|
+
|
18
|
+
spec.files = `git ls-files`.split($RS)
|
19
|
+
spec.test_files = spec.files.grep(/^spec\//)
|
20
|
+
spec.require_paths = ['lib']
|
21
|
+
|
22
|
+
spec.add_dependency 'aptible-resource', '>= 0.2.1'
|
23
|
+
spec.add_dependency 'aptible-auth', '>= 0.5.0'
|
24
|
+
spec.add_dependency 'gem_config'
|
25
|
+
|
26
|
+
spec.add_development_dependency 'bundler', '~> 1.3'
|
27
|
+
spec.add_development_dependency 'aptible-tasks', '>= 0.4.0'
|
28
|
+
spec.add_development_dependency 'activesupport'
|
29
|
+
spec.add_development_dependency 'rake'
|
30
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
31
|
+
spec.add_development_dependency 'rspec-its'
|
32
|
+
spec.add_development_dependency 'foreman'
|
33
|
+
spec.add_development_dependency 'pry'
|
34
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'aptible/auth'
|
2
|
+
require 'gem_config'
|
3
|
+
|
4
|
+
ActiveSupport::Inflector.inflections do |inflect|
|
5
|
+
inflect.irregular 'criterion', 'criteria'
|
6
|
+
end
|
7
|
+
|
8
|
+
module Aptible
|
9
|
+
module Gridiron
|
10
|
+
include GemConfig::Base
|
11
|
+
|
12
|
+
with_configuration do
|
13
|
+
has :root_url,
|
14
|
+
classes: [String],
|
15
|
+
default: ENV['GRIDIRON_ROOT_URL'] || 'https://gridiron.aptible.com'
|
16
|
+
has :organization,
|
17
|
+
classes: [Aptible::Auth::Organization, NilClass],
|
18
|
+
default: nil
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
require 'aptible/gridiron/resource'
|
24
|
+
require 'aptible/gridiron/agent'
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module Aptible
|
2
|
+
module Gridiron
|
3
|
+
class Criterion < Resource
|
4
|
+
has_many :documents
|
5
|
+
has_many :events
|
6
|
+
|
7
|
+
field :id
|
8
|
+
field :handle
|
9
|
+
field :name
|
10
|
+
field :description
|
11
|
+
field :evidence_type
|
12
|
+
field :scope
|
13
|
+
field :default_expiry
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
module Aptible
|
2
|
+
module Gridiron
|
3
|
+
class Evidence < Resource
|
4
|
+
belongs_to :criterion
|
5
|
+
|
6
|
+
field :id
|
7
|
+
field :data
|
8
|
+
|
9
|
+
def organization
|
10
|
+
auth = Aptible::Auth::Organization.new(token: token, headers: headers)
|
11
|
+
auth.find_by_url(links['organization'].href)
|
12
|
+
end
|
13
|
+
|
14
|
+
def user
|
15
|
+
auth = Aptible::Auth::User.new(token: token, headers: headers)
|
16
|
+
auth.find_by_url(links['user'].href)
|
17
|
+
end
|
18
|
+
|
19
|
+
def app
|
20
|
+
api = Aptible::Api::App.new(token: token, headers: headers)
|
21
|
+
api.find_by_url(links['app'].href)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module Aptible
|
2
|
+
module Gridiron
|
3
|
+
class Requirement < Resource
|
4
|
+
belongs_to :protocol
|
5
|
+
has_many :procedures
|
6
|
+
|
7
|
+
field :id
|
8
|
+
field :description
|
9
|
+
field :section
|
10
|
+
field :subsection
|
11
|
+
field :rule
|
12
|
+
field :relevant_provision
|
13
|
+
field :provision_type
|
14
|
+
field :specification_type
|
15
|
+
field :standard_title
|
16
|
+
field :performance_criteria
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
require 'aptible/resource'
|
2
|
+
|
3
|
+
module Aptible
|
4
|
+
module Gridiron
|
5
|
+
class Resource < Aptible::Resource::Base
|
6
|
+
def self.normalize_params(params = {})
|
7
|
+
# TODO: Figure out a more natural solution than this monkey patch
|
8
|
+
if (organization = Aptible::Gridiron.configuration.organization)
|
9
|
+
params.merge!(organization: organization.href)
|
10
|
+
end
|
11
|
+
|
12
|
+
super(params)
|
13
|
+
end
|
14
|
+
|
15
|
+
def outgoing_uri_filter(params)
|
16
|
+
if (organization = Aptible::Gridiron.configuration.organization)
|
17
|
+
params.merge!(organization: organization.href)
|
18
|
+
end
|
19
|
+
|
20
|
+
params
|
21
|
+
end
|
22
|
+
|
23
|
+
def namespace
|
24
|
+
'Aptible::Gridiron'
|
25
|
+
end
|
26
|
+
|
27
|
+
def root_url
|
28
|
+
Aptible::Gridiron.configuration.root_url
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
require 'aptible/gridiron/protocol'
|
35
|
+
require 'aptible/gridiron/requirement'
|
36
|
+
require 'aptible/gridiron/procedure'
|
37
|
+
require 'aptible/gridiron/criterion'
|
38
|
+
|
39
|
+
require 'aptible/gridiron/evidence'
|
40
|
+
require 'aptible/gridiron/document'
|
41
|
+
require 'aptible/gridiron/event'
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Aptible::Gridiron do
|
4
|
+
subject { Aptible::Gridiron::Protocol.new }
|
5
|
+
|
6
|
+
it 'should have a configurable root_url' do
|
7
|
+
config = described_class.configuration
|
8
|
+
expect(config).to be_a GemConfig::Configuration
|
9
|
+
expect(config.root_url).to eq 'https://gridiron.aptible.com'
|
10
|
+
end
|
11
|
+
|
12
|
+
skip 'uses ENV["GRIDIRON_ROOT_URL"] if defined' do
|
13
|
+
config = described_class.configuration
|
14
|
+
with_env 'GRIDIRON_ROOT_URL', 'http://foobar.com' do
|
15
|
+
config.reset
|
16
|
+
expect(config.root_url).to eq 'http://foobar.com'
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
2
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
3
|
+
|
4
|
+
require 'rspec/its'
|
5
|
+
|
6
|
+
# Load shared spec files
|
7
|
+
Dir["#{File.dirname(__FILE__)}/shared/**/*.rb"].each do |file|
|
8
|
+
require file
|
9
|
+
end
|
10
|
+
|
11
|
+
# Require library up front
|
12
|
+
require 'aptible/gridiron'
|
13
|
+
|
14
|
+
RSpec.configure do |config|
|
15
|
+
config.before { Aptible::Gridiron.configuration.reset }
|
16
|
+
end
|
metadata
ADDED
@@ -0,0 +1,228 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: aptible-gridiron
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Frank Macreery
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-07-08 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: aptible-resource
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.2.1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.2.1
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: aptible-auth
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.5.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.5.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: gem_config
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.3'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.3'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: aptible-tasks
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.4.0
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.4.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: activesupport
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rake
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rspec
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ~>
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '3.0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ~>
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '3.0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rspec-its
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '>='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: foreman
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - '>='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - '>='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: pry
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - '>='
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - '>='
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
description: Ruby client for gridiron.aptible.com
|
168
|
+
email:
|
169
|
+
- frank@macreery.com
|
170
|
+
executables: []
|
171
|
+
extensions: []
|
172
|
+
extra_rdoc_files: []
|
173
|
+
files:
|
174
|
+
- .gitignore
|
175
|
+
- .rspec
|
176
|
+
- .travis.yml
|
177
|
+
- Gemfile
|
178
|
+
- LICENSE.md
|
179
|
+
- Procfile
|
180
|
+
- README.md
|
181
|
+
- Rakefile
|
182
|
+
- gridiron-ruby.gemspec
|
183
|
+
- lib/aptible/gridiron.rb
|
184
|
+
- lib/aptible/gridiron/agent.rb
|
185
|
+
- lib/aptible/gridiron/criterion.rb
|
186
|
+
- lib/aptible/gridiron/document.rb
|
187
|
+
- lib/aptible/gridiron/event.rb
|
188
|
+
- lib/aptible/gridiron/evidence.rb
|
189
|
+
- lib/aptible/gridiron/procedure.rb
|
190
|
+
- lib/aptible/gridiron/protocol.rb
|
191
|
+
- lib/aptible/gridiron/requirement.rb
|
192
|
+
- lib/aptible/gridiron/resource.rb
|
193
|
+
- lib/aptible/gridiron/version.rb
|
194
|
+
- spec/aptible/gridiron/agent_spec.rb
|
195
|
+
- spec/aptible/gridiron/resource_spec.rb
|
196
|
+
- spec/aptible/gridiron_spec.rb
|
197
|
+
- spec/shared/with_env.rb
|
198
|
+
- spec/spec_helper.rb
|
199
|
+
homepage: https://github.com/aptible/gridiron-ruby
|
200
|
+
licenses:
|
201
|
+
- MIT
|
202
|
+
metadata: {}
|
203
|
+
post_install_message:
|
204
|
+
rdoc_options: []
|
205
|
+
require_paths:
|
206
|
+
- lib
|
207
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
208
|
+
requirements:
|
209
|
+
- - '>='
|
210
|
+
- !ruby/object:Gem::Version
|
211
|
+
version: '0'
|
212
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
213
|
+
requirements:
|
214
|
+
- - '>='
|
215
|
+
- !ruby/object:Gem::Version
|
216
|
+
version: '0'
|
217
|
+
requirements: []
|
218
|
+
rubyforge_project:
|
219
|
+
rubygems_version: 2.2.2
|
220
|
+
signing_key:
|
221
|
+
specification_version: 4
|
222
|
+
summary: Ruby client for gridiron.aptible.com
|
223
|
+
test_files:
|
224
|
+
- spec/aptible/gridiron/agent_spec.rb
|
225
|
+
- spec/aptible/gridiron/resource_spec.rb
|
226
|
+
- spec/aptible/gridiron_spec.rb
|
227
|
+
- spec/shared/with_env.rb
|
228
|
+
- spec/spec_helper.rb
|