foreman_ansible 1.2 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 171a0853e2f5429814160c53ebad9511bf38420d
4
- data.tar.gz: e6921e84713038550370c6af692ee7a5db632a6d
3
+ metadata.gz: 2399ebe8fda7c442e3d7237e348679a9f7d5e09b
4
+ data.tar.gz: 10e83333e39d2dce97bb61682d3e4febedeccee6
5
5
  SHA512:
6
- metadata.gz: d83512f1d44933fe302100df714cb66c5f7dc3947b4ab7d1d93c4ea82f82f9aeaaf7a6c74307055578283849e121a8719836678cc076748951b8e90103d7e2a8
7
- data.tar.gz: e43b9174db2e5cc4f8f265ca2ec462a1fc186e2828007d43bc4b5d84a6b70368ca632be144977e1b80a6ee94950a963acd31fa2c91004c2afa013b05460cd338
6
+ metadata.gz: 1b0898d563f521e97dbb742c86e85c51a83662fd0309b7be06a635980c01c734292c2c50ae1bb891394452a9a34c3cd7ae535c92c1a4774ecbe0777b97a8a388
7
+ data.tar.gz: 3043d427ef9a4388c8eda9e07005e644ef03dfd1f3b84f15778f7df7a6748aef1491c522e2fd379b3505ae0a9b287095230f753d9e209d3a66dab865e3331492
@@ -0,0 +1,3 @@
1
+ collection @imported => :imported
2
+
3
+ extends 'api/v2/ansible_roles/show'
@@ -0,0 +1,3 @@
1
+ collection @ansible_roles
2
+
3
+ extends 'api/v2/ansible_roles/show'
@@ -0,0 +1,3 @@
1
+ collection @obsoleted => :obsoleted
2
+
3
+ extends 'api/v2/ansible_roles/show'
@@ -0,0 +1,3 @@
1
+ object @ansible_role
2
+
3
+ attributes :name, :created_at, :updated_at
@@ -55,6 +55,9 @@ module ForemanAnsible
55
55
  :caption => N_('Roles'),
56
56
  :url_hash => { :controller => :ansible_roles, :action => :index },
57
57
  :parent => :configure_menu
58
+
59
+ apipie_documented_controllers [
60
+ "#{ForemanAnsible::Engine.root}/app/controllers/api/v2/*.rb"]
58
61
  end
59
62
  end
60
63
 
@@ -2,5 +2,5 @@
2
2
  # This way other parts of Foreman can just call ForemanAnsible::VERSION
3
3
  # and detect what version the plugin is running.
4
4
  module ForemanAnsible
5
- VERSION = '1.2'.freeze
5
+ VERSION = '1.2.1'.freeze
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_ansible
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.2'
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Lobato Garcia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-28 00:00:00.000000000 Z
11
+ date: 2016-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -129,6 +129,10 @@ files:
129
129
  - app/views/api/v2/ansible_roles/show.json.rabl
130
130
  - app/views/foreman_ansible/ansible_roles/_select_tab_content.html.erb
131
131
  - app/views/foreman_ansible/ansible_roles/_select_tab_title.html.erb
132
+ - app/views/foreman_ansible/api/v2/ansible_roles/import.json.rabl
133
+ - app/views/foreman_ansible/api/v2/ansible_roles/index.json.rabl
134
+ - app/views/foreman_ansible/api/v2/ansible_roles/obsolete.json.rabl
135
+ - app/views/foreman_ansible/api/v2/ansible_roles/show.json.rabl
132
136
  - app/views/foreman_ansible/config_reports/_ansible.html.erb
133
137
  - app/views/foreman_ansible/config_reports/_output.html.erb
134
138
  - config/routes.rb