ansible_galaxy 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/.document +5 -0
- data/.rspec +1 -0
- data/Gemfile +21 -0
- data/Gemfile.lock +114 -0
- data/LICENSE.txt +20 -0
- data/README.md +19 -0
- data/Rakefile +56 -0
- data/VERSION +1 -0
- data/lib/ansible_galaxy.rb +4 -0
- data/lib/ansible_galaxy/api.rb +33 -0
- data/lib/ansible_galaxy/exceptions.rb +5 -0
- data/lib/ansible_galaxy/me.rb +30 -0
- data/lib/ansible_galaxy/roles.rb +57 -0
- data/spec/ansible_galaxy_spec.rb +7 -0
- data/spec/spec_helper.rb +29 -0
- metadata +214 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: fde92f0991249f66d222c927b8f55257a600a861
|
4
|
+
data.tar.gz: 8196aa047f460c06f57b2f17cc9d1e5e89e1bc73
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 55ccd95162310f38b66a19285773f356959105c307e898911a580cb8fd19e8c58f6b0f3626848d0f653777c68bd4e66929d8419787cf361165057987dae6328a
|
7
|
+
data.tar.gz: da5b088f4f0a625075d392581eedad9a2879f49fd4d17a9fd4c16f9d161ce70991c84fb1859cab76d929c3ee067225b4d2f57b6c064079961a3b0e625cd34e9a
|
data/.document
ADDED
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--color
|
data/Gemfile
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
source "http://rubygems.org"
|
2
|
+
# Add dependencies required to use your gem here.
|
3
|
+
# Example:
|
4
|
+
# gem "activesupport", ">= 2.3.5"
|
5
|
+
|
6
|
+
gem 'contracts', '~> 0.10'
|
7
|
+
gem 'terminal-announce', '~> 1.0.0'
|
8
|
+
gem 'typhoeus', '~> 0.7.0'
|
9
|
+
|
10
|
+
# Add dependencies to develop your gem here.
|
11
|
+
# Include everything needed to run rake, tests, features, etc.
|
12
|
+
group :development do
|
13
|
+
gem "rspec", "~> 3.3.0"
|
14
|
+
gem "yard", "~> 0.7"
|
15
|
+
gem "rdoc", "~> 3.12"
|
16
|
+
gem "bundler", "~> 1.0"
|
17
|
+
gem "jeweler", "~> 2.0.1"
|
18
|
+
gem "simplecov", ">= 0"
|
19
|
+
gem "reek", "~> 1.2.8"
|
20
|
+
gem "roodi", "~> 2.1.0"
|
21
|
+
end
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,114 @@
|
|
1
|
+
GEM
|
2
|
+
remote: http://rubygems.org/
|
3
|
+
specs:
|
4
|
+
addressable (2.3.8)
|
5
|
+
builder (3.2.2)
|
6
|
+
contracts (0.10)
|
7
|
+
descendants_tracker (0.0.4)
|
8
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
9
|
+
diff-lcs (1.2.5)
|
10
|
+
docile (1.1.5)
|
11
|
+
ethon (0.7.4)
|
12
|
+
ffi (>= 1.3.0)
|
13
|
+
faraday (0.9.1)
|
14
|
+
multipart-post (>= 1.2, < 3)
|
15
|
+
ffi (1.9.10)
|
16
|
+
git (1.2.9.1)
|
17
|
+
github_api (0.12.3)
|
18
|
+
addressable (~> 2.3)
|
19
|
+
descendants_tracker (~> 0.0.4)
|
20
|
+
faraday (~> 0.8, < 0.10)
|
21
|
+
hashie (>= 3.3)
|
22
|
+
multi_json (>= 1.7.5, < 2.0)
|
23
|
+
nokogiri (~> 1.6.3)
|
24
|
+
oauth2
|
25
|
+
hashie (3.4.2)
|
26
|
+
highline (1.7.2)
|
27
|
+
jeweler (2.0.1)
|
28
|
+
builder
|
29
|
+
bundler (>= 1.0)
|
30
|
+
git (>= 1.2.5)
|
31
|
+
github_api
|
32
|
+
highline (>= 1.6.15)
|
33
|
+
nokogiri (>= 1.5.10)
|
34
|
+
rake
|
35
|
+
rdoc
|
36
|
+
json (1.8.3)
|
37
|
+
jwt (1.5.1)
|
38
|
+
mini_portile (0.6.2)
|
39
|
+
multi_json (1.11.2)
|
40
|
+
multi_xml (0.5.5)
|
41
|
+
multipart-post (2.0.0)
|
42
|
+
nokogiri (1.6.6.2)
|
43
|
+
mini_portile (~> 0.6.0)
|
44
|
+
oauth2 (1.0.0)
|
45
|
+
faraday (>= 0.8, < 0.10)
|
46
|
+
jwt (~> 1.0)
|
47
|
+
multi_json (~> 1.3)
|
48
|
+
multi_xml (~> 0.5)
|
49
|
+
rack (~> 1.2)
|
50
|
+
rack (1.6.4)
|
51
|
+
rainbow (2.0.0)
|
52
|
+
rake (10.4.2)
|
53
|
+
rdoc (3.12.2)
|
54
|
+
json (~> 1.4)
|
55
|
+
reek (1.2.13)
|
56
|
+
ripper_ruby_parser (~> 0.0.7)
|
57
|
+
ruby2ruby (~> 1.2.5)
|
58
|
+
ruby_parser (~> 2.0)
|
59
|
+
sexp_processor (~> 3.0)
|
60
|
+
ripper_ruby_parser (0.0.8)
|
61
|
+
sexp_processor (~> 3.0)
|
62
|
+
roodi (2.1.0)
|
63
|
+
ruby_parser
|
64
|
+
rspec (3.3.0)
|
65
|
+
rspec-core (~> 3.3.0)
|
66
|
+
rspec-expectations (~> 3.3.0)
|
67
|
+
rspec-mocks (~> 3.3.0)
|
68
|
+
rspec-core (3.3.1)
|
69
|
+
rspec-support (~> 3.3.0)
|
70
|
+
rspec-expectations (3.3.0)
|
71
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
72
|
+
rspec-support (~> 3.3.0)
|
73
|
+
rspec-mocks (3.3.1)
|
74
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
75
|
+
rspec-support (~> 3.3.0)
|
76
|
+
rspec-support (3.3.0)
|
77
|
+
ruby2ruby (1.2.5)
|
78
|
+
ruby_parser (~> 2.0)
|
79
|
+
sexp_processor (~> 3.0)
|
80
|
+
ruby_parser (2.3.1)
|
81
|
+
sexp_processor (~> 3.0)
|
82
|
+
sexp_processor (3.2.0)
|
83
|
+
simplecov (0.10.0)
|
84
|
+
docile (~> 1.1.0)
|
85
|
+
json (~> 1.8)
|
86
|
+
simplecov-html (~> 0.10.0)
|
87
|
+
simplecov-html (0.10.0)
|
88
|
+
terminal-announce (1.0.0)
|
89
|
+
bundler
|
90
|
+
contracts
|
91
|
+
rainbow
|
92
|
+
thread_safe (0.3.5)
|
93
|
+
typhoeus (0.7.2)
|
94
|
+
ethon (>= 0.7.4)
|
95
|
+
yard (0.8.7.6)
|
96
|
+
|
97
|
+
PLATFORMS
|
98
|
+
ruby
|
99
|
+
|
100
|
+
DEPENDENCIES
|
101
|
+
bundler (~> 1.0)
|
102
|
+
contracts (~> 0.10)
|
103
|
+
jeweler (~> 2.0.1)
|
104
|
+
rdoc (~> 3.12)
|
105
|
+
reek (~> 1.2.8)
|
106
|
+
roodi (~> 2.1.0)
|
107
|
+
rspec (~> 3.3.0)
|
108
|
+
simplecov
|
109
|
+
terminal-announce (~> 1.0.0)
|
110
|
+
typhoeus (~> 0.7.0)
|
111
|
+
yard (~> 0.7)
|
112
|
+
|
113
|
+
BUNDLED WITH
|
114
|
+
1.10.5
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2015 Chris Olstrom
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
= ansible_galaxy
|
2
|
+
|
3
|
+
Ruby Wrapper for the Ansible Galaxy HTTP API
|
4
|
+
|
5
|
+
== Contributing to ansible_galaxy
|
6
|
+
|
7
|
+
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
|
8
|
+
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
|
9
|
+
* Fork the project.
|
10
|
+
* Start a feature/bugfix branch.
|
11
|
+
* Commit and push until you are happy with your contribution.
|
12
|
+
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
13
|
+
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
14
|
+
|
15
|
+
== Copyright
|
16
|
+
|
17
|
+
Copyright (c) 2015 Chris Olstrom. See LICENSE.txt for
|
18
|
+
further details.
|
19
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'rubygems'
|
4
|
+
require 'bundler'
|
5
|
+
begin
|
6
|
+
Bundler.setup(:default, :development)
|
7
|
+
rescue Bundler::BundlerError => e
|
8
|
+
$stderr.puts e.message
|
9
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
10
|
+
exit e.status_code
|
11
|
+
end
|
12
|
+
require 'rake'
|
13
|
+
|
14
|
+
require 'jeweler'
|
15
|
+
Jeweler::Tasks.new do |gem|
|
16
|
+
# gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
|
17
|
+
gem.name = "ansible_galaxy"
|
18
|
+
gem.homepage = "http://github.com/colstrom/ansible_galaxy"
|
19
|
+
gem.license = "MIT"
|
20
|
+
gem.summary = %Q{Ruby wrapper for the Ansible Galaxy HTTP API}
|
21
|
+
gem.description = %Q{Provides convenient access to the Galaxy API}
|
22
|
+
gem.email = "chris@olstrom.com"
|
23
|
+
gem.authors = ["Chris Olstrom"]
|
24
|
+
# dependencies defined in Gemfile
|
25
|
+
end
|
26
|
+
Jeweler::RubygemsDotOrgTasks.new
|
27
|
+
|
28
|
+
require 'rspec/core'
|
29
|
+
require 'rspec/core/rake_task'
|
30
|
+
RSpec::Core::RakeTask.new(:spec) do |spec|
|
31
|
+
spec.pattern = FileList['spec/**/*_spec.rb']
|
32
|
+
end
|
33
|
+
|
34
|
+
desc "Code coverage detail"
|
35
|
+
task :simplecov do
|
36
|
+
ENV['COVERAGE'] = "true"
|
37
|
+
Rake::Task['spec'].execute
|
38
|
+
end
|
39
|
+
|
40
|
+
require 'reek/rake/task'
|
41
|
+
Reek::Rake::Task.new do |t|
|
42
|
+
t.fail_on_error = true
|
43
|
+
t.verbose = false
|
44
|
+
t.source_files = 'lib/**/*.rb'
|
45
|
+
end
|
46
|
+
|
47
|
+
require 'roodi'
|
48
|
+
require 'roodi_task'
|
49
|
+
RoodiTask.new do |t|
|
50
|
+
t.verbose = false
|
51
|
+
end
|
52
|
+
|
53
|
+
task :default => :spec
|
54
|
+
|
55
|
+
require 'yard'
|
56
|
+
YARD::Rake::YardocTask.new
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1.0
|
@@ -0,0 +1,33 @@
|
|
1
|
+
require 'contracts'
|
2
|
+
require 'json'
|
3
|
+
require 'typhoeus'
|
4
|
+
require_relative 'exceptions'
|
5
|
+
|
6
|
+
module AnsibleGalaxy
|
7
|
+
# Wrapper for Galaxy HTTP API
|
8
|
+
class API
|
9
|
+
include Contracts
|
10
|
+
|
11
|
+
Contract Maybe[Hash] => Any
|
12
|
+
def initialize(options = {})
|
13
|
+
username = options.fetch 'username', ENV['ANSIBLE_GALAXY_USERNAME']
|
14
|
+
password = options.fetch 'password', ENV['ANSIBLE_GALAXY_PASSWORD']
|
15
|
+
@auth = "#{username}:#{password}"
|
16
|
+
end
|
17
|
+
|
18
|
+
# Contract None => Hash
|
19
|
+
# NoContractBecause: Contracts break __callee__ by changing method names.
|
20
|
+
def request
|
21
|
+
endpoint = "https://galaxy.ansible.com/api/v1/#{__callee__}/"
|
22
|
+
request = Typhoeus::Request.new(endpoint, userpwd: @auth)
|
23
|
+
request.run
|
24
|
+
JSON.parse(request.response.body).tap do |response|
|
25
|
+
fail AuthenticationError, response['detail'] if response['detail']
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
%i(me categories platforms ratings users roles).each do |route|
|
30
|
+
alias_method route, :request
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
require 'contracts'
|
2
|
+
require_relative 'api'
|
3
|
+
|
4
|
+
module AnsibleGalaxy
|
5
|
+
# Wraps /api/v1/me
|
6
|
+
class Me
|
7
|
+
include Contracts
|
8
|
+
attr_reader :raw
|
9
|
+
|
10
|
+
Contract Maybe[Hash] => Any
|
11
|
+
def initialize(options = {})
|
12
|
+
@raw = API.new(options).me
|
13
|
+
end
|
14
|
+
|
15
|
+
Contract None => String
|
16
|
+
def username
|
17
|
+
@raw['username']
|
18
|
+
end
|
19
|
+
|
20
|
+
Contract None => Hash
|
21
|
+
def summary_fields
|
22
|
+
@raw['summary_fields']
|
23
|
+
end
|
24
|
+
|
25
|
+
Contract None => ArrayOf[Hash]
|
26
|
+
def roles
|
27
|
+
summary_fields['roles']
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
require 'contracts'
|
2
|
+
require 'terminal-announce'
|
3
|
+
require 'typhoeus'
|
4
|
+
require_relative 'me'
|
5
|
+
|
6
|
+
module AnsibleGalaxy
|
7
|
+
module Roles
|
8
|
+
# Authenticated Access to Roles
|
9
|
+
class Private
|
10
|
+
include Contracts
|
11
|
+
|
12
|
+
Contract Maybe[Hash] => Any
|
13
|
+
def initialize(options = {})
|
14
|
+
username = options.fetch 'username', ENV['ANSIBLE_GALAXY_USERNAME']
|
15
|
+
password = options.fetch 'password', ENV['ANSIBLE_GALAXY_PASSWORD']
|
16
|
+
@auth = "#{username}:#{password}"
|
17
|
+
@my = AnsibleGalaxy::Me.new(options)
|
18
|
+
end
|
19
|
+
|
20
|
+
Contract String => ArrayOf[Hash]
|
21
|
+
def find(name)
|
22
|
+
@my.roles.select { |role| role['name'] == name }
|
23
|
+
end
|
24
|
+
|
25
|
+
Contract String => Num
|
26
|
+
def find_id(name)
|
27
|
+
find(name).first['id']
|
28
|
+
end
|
29
|
+
|
30
|
+
Contract ArrayOf[String] => Any
|
31
|
+
def refresh(names)
|
32
|
+
Typhoeus::Hydra.new.tap do |hydra|
|
33
|
+
names.each { |name| hydra.queue refresh_role name }
|
34
|
+
end.run
|
35
|
+
end
|
36
|
+
|
37
|
+
private
|
38
|
+
|
39
|
+
Contract String => Typhoeus::Request
|
40
|
+
def refresh_role(name)
|
41
|
+
request_refresh(find_id name).tap do |request|
|
42
|
+
request.on_complete do |response|
|
43
|
+
sync = "Sync #{@my.username}.#{name}"
|
44
|
+
response.code == 302 ? Announce.success(sync) : Announce.failure(sync)
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
Contract RespondTo[:to_s] => Typhoeus::Request
|
50
|
+
def request_refresh(id)
|
51
|
+
Typhoeus::Request.new(
|
52
|
+
"https://galaxy.ansible.com/accounts/role/refresh/#{id}",
|
53
|
+
userpwd: @auth)
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'simplecov'
|
2
|
+
|
3
|
+
module SimpleCov::Configuration
|
4
|
+
def clean_filters
|
5
|
+
@filters = []
|
6
|
+
end
|
7
|
+
end
|
8
|
+
|
9
|
+
SimpleCov.configure do
|
10
|
+
clean_filters
|
11
|
+
load_adapter 'test_frameworks'
|
12
|
+
end
|
13
|
+
|
14
|
+
ENV["COVERAGE"] && SimpleCov.start do
|
15
|
+
add_filter "/.rvm/"
|
16
|
+
end
|
17
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
18
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
19
|
+
|
20
|
+
require 'rspec'
|
21
|
+
require 'ansible_galaxy'
|
22
|
+
|
23
|
+
# Requires supporting files with custom matchers and macros, etc,
|
24
|
+
# in ./support/ and its subdirectories.
|
25
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
|
26
|
+
|
27
|
+
RSpec.configure do |config|
|
28
|
+
|
29
|
+
end
|
metadata
ADDED
@@ -0,0 +1,214 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ansible_galaxy
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Chris Olstrom
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-07-09 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: contracts
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.10'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.10'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: terminal-announce
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.0.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.0.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: typhoeus
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.7.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.7.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 3.3.0
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 3.3.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: yard
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.7'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.7'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rdoc
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '3.12'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '3.12'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: bundler
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: jeweler
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 2.0.1
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 2.0.1
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: simplecov
|
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: reek
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 1.2.8
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 1.2.8
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: roodi
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 2.1.0
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 2.1.0
|
167
|
+
description: Provides convenient access to the Galaxy API
|
168
|
+
email: chris@olstrom.com
|
169
|
+
executables: []
|
170
|
+
extensions: []
|
171
|
+
extra_rdoc_files:
|
172
|
+
- LICENSE.txt
|
173
|
+
- README.md
|
174
|
+
files:
|
175
|
+
- ".document"
|
176
|
+
- ".rspec"
|
177
|
+
- Gemfile
|
178
|
+
- Gemfile.lock
|
179
|
+
- LICENSE.txt
|
180
|
+
- README.md
|
181
|
+
- Rakefile
|
182
|
+
- VERSION
|
183
|
+
- lib/ansible_galaxy.rb
|
184
|
+
- lib/ansible_galaxy/api.rb
|
185
|
+
- lib/ansible_galaxy/exceptions.rb
|
186
|
+
- lib/ansible_galaxy/me.rb
|
187
|
+
- lib/ansible_galaxy/roles.rb
|
188
|
+
- spec/ansible_galaxy_spec.rb
|
189
|
+
- spec/spec_helper.rb
|
190
|
+
homepage: http://github.com/colstrom/ansible_galaxy
|
191
|
+
licenses:
|
192
|
+
- MIT
|
193
|
+
metadata: {}
|
194
|
+
post_install_message:
|
195
|
+
rdoc_options: []
|
196
|
+
require_paths:
|
197
|
+
- lib
|
198
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
199
|
+
requirements:
|
200
|
+
- - ">="
|
201
|
+
- !ruby/object:Gem::Version
|
202
|
+
version: '0'
|
203
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
204
|
+
requirements:
|
205
|
+
- - ">="
|
206
|
+
- !ruby/object:Gem::Version
|
207
|
+
version: '0'
|
208
|
+
requirements: []
|
209
|
+
rubyforge_project:
|
210
|
+
rubygems_version: 2.4.5
|
211
|
+
signing_key:
|
212
|
+
specification_version: 4
|
213
|
+
summary: Ruby wrapper for the Ansible Galaxy HTTP API
|
214
|
+
test_files: []
|