foreman_setup 3.1.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +6 -0
- data/config/routes.rb +1 -1
- data/db/migrate/20131023140100_add_provisioners.rb +2 -2
- data/lib/foreman_setup/engine.rb +1 -1
- data/lib/foreman_setup/version.rb +1 -1
- data/lib/tasks/foreman_setup_tasks.rake +3 -7
- data/test/factories/provisioners.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25978885e7b03804a5fe61ef826dec9066c6fe1c
|
4
|
+
data.tar.gz: 95eb1f06b591993cfb9b96054c134c6b6b2a4ea4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a82ecf10b0453cc7f83101181b29cfdbab2b5e1a220a53c240839ee96bfb3bef7c8c48db0f32ce87f2b82455c4ebe2e77961747e714360390a3a920b75e86f84
|
7
|
+
data.tar.gz: 780002129da83831c4c1e62800fb19854ec8b6d4a709dd616c0b4189afeb2d77761ac1058b29a828f0206966da97d493db3b4c7223a0c6465585daecfc5efd64
|
data/CHANGES.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## v3.1.1
|
4
|
+
* update DB migration limits for Rails 4.2 change
|
5
|
+
* fix Rails 4.2 routing deprecation
|
6
|
+
* fix Foreman 1.11 registration deprecation
|
7
|
+
* fix tests against develop, catch test errors
|
8
|
+
|
3
9
|
## v3.1.0
|
4
10
|
* add Catalan language, update translations
|
5
11
|
* fix compatibility with Rails 4 for Foreman 1.11
|
data/config/routes.rb
CHANGED
@@ -3,9 +3,9 @@ class AddProvisioners < ActiveRecord::Migration
|
|
3
3
|
create_table :setup_provisioners do |t|
|
4
4
|
t.integer :host_id
|
5
5
|
t.integer :smart_proxy_id
|
6
|
-
t.string :provision_interface
|
6
|
+
t.string :provision_interface, :limit => 255
|
7
7
|
t.integer :subnet_id
|
8
|
-
t.string :timestamps
|
8
|
+
t.string :timestamps, :limit => 255
|
9
9
|
end
|
10
10
|
end
|
11
11
|
end
|
data/lib/foreman_setup/engine.rb
CHANGED
@@ -14,7 +14,7 @@ module ForemanSetup
|
|
14
14
|
end
|
15
15
|
end
|
16
16
|
|
17
|
-
initializer 'foreman_setup.register_plugin', :
|
17
|
+
initializer 'foreman_setup.register_plugin', :before => :finisher_hook do |app|
|
18
18
|
Foreman::Plugin.register :foreman_setup do
|
19
19
|
requires_foreman '>= 1.9.0'
|
20
20
|
|
@@ -16,6 +16,7 @@ namespace :test do
|
|
16
16
|
t.libs << ['test', test_dir]
|
17
17
|
t.pattern = "#{test_dir}/**/*_test.rb"
|
18
18
|
t.verbose = true
|
19
|
+
t.warning = false
|
19
20
|
end
|
20
21
|
end
|
21
22
|
|
@@ -36,14 +37,9 @@ namespace :foreman_setup do
|
|
36
37
|
end
|
37
38
|
end
|
38
39
|
|
39
|
-
Rake::Task[:test].enhance
|
40
|
-
Rake::Task['test:foreman_setup'].invoke
|
41
|
-
end
|
40
|
+
Rake::Task[:test].enhance ['test:foreman_setup']
|
42
41
|
|
43
42
|
load 'tasks/jenkins.rake'
|
44
43
|
if Rake::Task.task_defined?(:'jenkins:unit')
|
45
|
-
Rake::Task['jenkins:unit'].enhance
|
46
|
-
Rake::Task['test:foreman_setup'].invoke
|
47
|
-
Rake::Task['foreman_setup:rubocop'].invoke
|
48
|
-
end
|
44
|
+
Rake::Task['jenkins:unit'].enhance ['test:foreman_setup', 'foreman_setup:rubocop']
|
49
45
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_setup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dominic Cleal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01
|
11
|
+
date: 2016-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Plugin for Foreman that helps set up provisioning.
|
14
14
|
email: dcleal@redhat.com
|
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
102
|
version: '0'
|
103
103
|
requirements: []
|
104
104
|
rubyforge_project:
|
105
|
-
rubygems_version: 2.
|
105
|
+
rubygems_version: 2.0.6
|
106
106
|
signing_key:
|
107
107
|
specification_version: 4
|
108
108
|
summary: Helps set up Foreman for provisioning
|