boxgrinder-core 0.3.7 → 0.3.8
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.
data/CHANGELOG
CHANGED
data/Manifest
CHANGED
@@ -1,44 +0,0 @@
|
|
1
|
-
CHANGELOG
|
2
|
-
LICENSE
|
3
|
-
Manifest
|
4
|
-
README
|
5
|
-
Rakefile
|
6
|
-
boxgrinder-core.gemspec
|
7
|
-
lib/boxgrinder-core.rb
|
8
|
-
lib/boxgrinder-core/appliance-parser.rb
|
9
|
-
lib/boxgrinder-core/appliance-validator.rb
|
10
|
-
lib/boxgrinder-core/errors.rb
|
11
|
-
lib/boxgrinder-core/helpers/appliance-config-helper.rb
|
12
|
-
lib/boxgrinder-core/helpers/appliance-definition-helper.rb
|
13
|
-
lib/boxgrinder-core/helpers/appliance-transformation-helper.rb
|
14
|
-
lib/boxgrinder-core/helpers/exec-helper.rb
|
15
|
-
lib/boxgrinder-core/helpers/log-helper.rb
|
16
|
-
lib/boxgrinder-core/models/appliance-config.rb
|
17
|
-
lib/boxgrinder-core/models/config.rb
|
18
|
-
lib/boxgrinder-core/models/task.rb
|
19
|
-
lib/boxgrinder-core/schemas/appliance_schema_0.8.0.yaml
|
20
|
-
lib/boxgrinder-core/schemas/appliance_schema_0.9.0.yaml
|
21
|
-
lib/boxgrinder-core/schemas/appliance_schema_0.9.6.yaml
|
22
|
-
rubygem-boxgrinder-core.spec
|
23
|
-
spec/appliance-parser-spec.rb
|
24
|
-
spec/appliance-validator-spec.rb
|
25
|
-
spec/helpers/appliance-config-helper-spec.rb
|
26
|
-
spec/helpers/appliance-definition-helper-spec.rb
|
27
|
-
spec/helpers/appliance-transformation-helper-spec.rb
|
28
|
-
spec/helpers/exec-helper-spec.rb
|
29
|
-
spec/helpers/log-helper-spec.rb
|
30
|
-
spec/models/appliance-config-spec.rb
|
31
|
-
spec/models/config-spec.rb
|
32
|
-
spec/rspec/ls/one
|
33
|
-
spec/rspec/ls/two
|
34
|
-
spec/rspec/src/appliances/0.8.x.appl
|
35
|
-
spec/rspec/src/appliances/0.9.x-invalid.appl
|
36
|
-
spec/rspec/src/appliances/0.9.x.appl
|
37
|
-
spec/rspec/src/appliances/comments.appl
|
38
|
-
spec/rspec/src/appliances/ephemeral-repo.appl
|
39
|
-
spec/rspec/src/appliances/full.appl
|
40
|
-
spec/rspec/src/appliances/invalid-yaml.appl
|
41
|
-
spec/rspec/src/appliances/legacy.appl
|
42
|
-
spec/rspec/src/appliances/repo.appl
|
43
|
-
spec/rspec/src/config/empty
|
44
|
-
spec/rspec/src/config/valid
|
data/boxgrinder-core.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{boxgrinder-core}
|
5
|
-
s.version = "0.3.
|
5
|
+
s.version = "0.3.8"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Marek Goldmann"]
|
9
|
-
s.date = %q{2011-09-
|
9
|
+
s.date = %q{2011-09-10}
|
10
10
|
s.description = %q{Core library for BoxGrinder}
|
11
11
|
s.email = %q{info@boxgrinder.org}
|
12
12
|
s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "README", "lib/boxgrinder-core.rb", "lib/boxgrinder-core/appliance-parser.rb", "lib/boxgrinder-core/appliance-validator.rb", "lib/boxgrinder-core/errors.rb", "lib/boxgrinder-core/helpers/appliance-config-helper.rb", "lib/boxgrinder-core/helpers/appliance-definition-helper.rb", "lib/boxgrinder-core/helpers/appliance-transformation-helper.rb", "lib/boxgrinder-core/helpers/exec-helper.rb", "lib/boxgrinder-core/helpers/log-helper.rb", "lib/boxgrinder-core/models/appliance-config.rb", "lib/boxgrinder-core/models/config.rb", "lib/boxgrinder-core/models/task.rb", "lib/boxgrinder-core/schemas/appliance_schema_0.8.0.yaml", "lib/boxgrinder-core/schemas/appliance_schema_0.9.0.yaml", "lib/boxgrinder-core/schemas/appliance_schema_0.9.6.yaml"]
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Summary: Core library for BoxGrinder
|
7
7
|
Name: rubygem-%{gemname}
|
8
|
-
Version: 0.3.
|
8
|
+
Version: 0.3.8
|
9
9
|
Release: 1%{?dist}
|
10
10
|
Group: Development/Languages
|
11
11
|
License: LGPLv3+
|
@@ -76,6 +76,9 @@ popd
|
|
76
76
|
%{gemdir}/doc/%{gemname}-%{version}
|
77
77
|
|
78
78
|
%changelog
|
79
|
+
* Wed Sep 7 2011 Marek Goldmann <mgoldman@redhat.com> - 0.3.8-1
|
80
|
+
- [BGBUILD-305] Incorrect version information in 0.9.6 schema causing validation errors
|
81
|
+
|
79
82
|
* Tue Aug 30 2011 Marek Goldmann <mgoldman@redhat.com> - 0.3.7-1
|
80
83
|
- Upstream release: 0.3.7
|
81
84
|
- [BGBUILD-276] Import files into appliance via appliance definition file (Files section)
|
@@ -46,7 +46,7 @@ module BoxGrinder
|
|
46
46
|
|
47
47
|
lambda {
|
48
48
|
@parser.parse_definition(File.read("#{File.dirname(__FILE__)}/rspec/src/appliances/invalid-yaml.appl"), false)
|
49
|
-
}.should raise_error(ApplianceValidationError, "The appliance definition was invalid according to schema 0.9.
|
49
|
+
}.should raise_error(ApplianceValidationError, "The appliance definition was invalid according to schema 0.9.6. See log for details.")
|
50
50
|
end
|
51
51
|
|
52
52
|
it "should validate 0.9.0 version definition without error" do
|
@@ -193,15 +193,15 @@ module BoxGrinder
|
|
193
193
|
end
|
194
194
|
|
195
195
|
it "should read invalid YAML content" do #ApplianceValidationError: :
|
196
|
-
lambda { @helper.read_definitions("@$FEWYERTH") }.should raise_error(ApplianceValidationError, "The appliance definition was invalid according to schema 0.9.
|
196
|
+
lambda { @helper.read_definitions("@$FEWYERTH") }.should raise_error(ApplianceValidationError, "The appliance definition was invalid according to schema 0.9.6. See log for details.")
|
197
197
|
end
|
198
198
|
|
199
199
|
it "should catch exception if YAML parsing raises it" do
|
200
|
-
lambda { @helper.read_definitions("!!") }.should raise_error(ApplianceValidationError, "The appliance definition was invalid according to schema 0.9.
|
200
|
+
lambda { @helper.read_definitions("!!") }.should raise_error(ApplianceValidationError, "The appliance definition was invalid according to schema 0.9.6. See log for details.")
|
201
201
|
end
|
202
202
|
|
203
203
|
it "should catch exception if YAML file parsing raises it" do
|
204
|
-
lambda { @helper.read_definitions("#{File.dirname(__FILE__)}/../rspec/src/appliances/invalid-yaml.appl") }.should raise_error(ApplianceValidationError, "The appliance definition was invalid according to schema 0.9.
|
204
|
+
lambda { @helper.read_definitions("#{File.dirname(__FILE__)}/../rspec/src/appliances/invalid-yaml.appl") }.should raise_error(ApplianceValidationError, "The appliance definition was invalid according to schema 0.9.6. See log for details.")
|
205
205
|
end
|
206
206
|
|
207
207
|
it "should return nil of unsupported file format" do
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: boxgrinder-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 8
|
10
|
+
version: 0.3.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Marek Goldmann
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-09-
|
18
|
+
date: 2011-09-10 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|