omnijack 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +5 -1
- data/CHANGELOG.md +4 -0
- data/LICENSE.txt +1 -1
- data/README.md +11 -11
- data/features/step_definitions/metadata.rb +2 -2
- data/lib/omnijack.rb +1 -1
- data/lib/omnijack/config.rb +1 -1
- data/lib/omnijack/endpoint.rb +3 -3
- data/lib/omnijack/endpoint/list.rb +1 -1
- data/lib/omnijack/endpoint/metadata.rb +1 -1
- data/lib/omnijack/endpoint/platforms.rb +1 -1
- data/lib/omnijack/project.rb +1 -1
- data/lib/omnijack/project/metaprojects.rb +1 -1
- data/lib/omnijack/version.rb +2 -2
- data/omnijack.gemspec +2 -4
- data/spec/omnijack/config_spec.rb +0 -17
- data/spec/omnijack/endpoint/list_spec.rb +0 -16
- data/spec/omnijack/endpoint/metadata_spec.rb +3 -19
- data/spec/omnijack/endpoint/platforms_spec.rb +0 -16
- data/spec/omnijack/endpoint_spec.rb +0 -16
- data/spec/omnijack/project/angry_chef_spec.rb +0 -16
- data/spec/omnijack/project/chef_container_spec.rb +0 -16
- data/spec/omnijack/project/chef_dk_spec.rb +0 -16
- data/spec/omnijack/project/chef_server_spec.rb +0 -16
- data/spec/omnijack/project/chef_spec.rb +0 -16
- data/spec/omnijack/project_spec.rb +0 -16
- data/spec/omnijack_spec.rb +0 -16
- data/spec/spec_helper.rb +0 -17
- data/spec/support/real_test_data.json +13 -15
- metadata +3 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 975c7eef9a285488648f7d979fb3d110329c2c90
|
4
|
+
data.tar.gz: 118afa4aec5e59ea4fd3916f9573b83158b2a7fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fecda0f20008eaf084afdc5a058d574c952cf34b5573ea22818481d5a3ede53dd19cf811a172e3a545a2e374a43eddb361cb72af4994e23f286bbf408ffe07bf
|
7
|
+
data.tar.gz: 72953279bb69bd44a1546c626b4d8d0c075c452f04e4e2da20855b1d8b139526c6739b85b334795fb6d2441b0768c9fe2e49f356096c95d88e96625cfb941d31
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,18 +1,18 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
[![
|
5
|
-
[![
|
6
|
-
|
7
|
-
[
|
8
|
-
[
|
9
|
-
|
10
|
-
[fury]: http://badge.fury.io/rb/omnijack
|
11
|
-
[travis]: http://travis-ci.org/RoboticCheese/omnijack-ruby
|
1
|
+
[![Gem Version](https://img.shields.io/gem/v/omnijack.svg)][gem]
|
2
|
+
[![Build Status](https://img.shields.io/travis/RoboticCheese/omnijack-ruby.svg)][travis]
|
3
|
+
[![Code Climate](https://img.shields.io/codeclimate/github/RoboticCheese/omnijack-ruby.svg)][codeclimate]
|
4
|
+
[![Coverage Status](https://img.shields.io/coveralls/RoboticCheese/omnijack-ruby.svg)][coveralls]
|
5
|
+
[![Dependency Status](https://img.shields.io/gemnasium/RoboticCheese/omnijack-ruby.svg)][gemnasium]
|
6
|
+
|
7
|
+
[gem]: https://rubygems.org/gems/omnijack
|
8
|
+
[travis]: https://travis-ci.org/RoboticCheese/omnijack-ruby
|
12
9
|
[codeclimate]: https://codeclimate.com/github/RoboticCheese/omnijack-ruby
|
13
10
|
[coveralls]: https://coveralls.io/r/RoboticCheese/omnijack-ruby
|
14
11
|
[gemnasium]: https://gemnasium.com/RoboticCheese/omnijack-ruby
|
15
12
|
|
13
|
+
Omnijack
|
14
|
+
========
|
15
|
+
|
16
16
|
A Ruby client interface to Chef's
|
17
17
|
[Omnitruck](https://github.com/opscode/opscode-omnitruck) API.
|
18
18
|
|
@@ -7,9 +7,9 @@ Then(/^the metadata (has|doesn't have) a(n)? (\w+) attribute$/) do |has, _, a|
|
|
7
7
|
when 'url'
|
8
8
|
%r{^https://opscode-omnibus-packages\.s3\.amazonaws\.com.*$}
|
9
9
|
when 'filename'
|
10
|
-
/^[A-Za-z0-9_
|
10
|
+
/^[A-Za-z0-9_\.\-\+\~]+\.(rpm|deb|pkg|msi)$/
|
11
11
|
when 'version'
|
12
|
-
/^[A-Za-z0-9
|
12
|
+
/^[A-Za-z0-9\.\+\~]+$/
|
13
13
|
when 'build'
|
14
14
|
/^[0-9]+$/
|
15
15
|
when 'md5'
|
data/lib/omnijack.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# Author:: Jonathan Hartman (<j@p4nt5.com>)
|
4
4
|
#
|
5
|
-
# Copyright (C) 2014
|
5
|
+
# Copyright (C) 2014-2015 Jonathan Hartman
|
6
6
|
#
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
# you may not use this file except in compliance with the License.
|
data/lib/omnijack/config.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# Author:: Jonathan Hartman (<j@p4nt5.com>)
|
4
4
|
#
|
5
|
-
# Copyright (C) 2014
|
5
|
+
# Copyright (C) 2014-2015 Jonathan Hartman
|
6
6
|
#
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
# you may not use this file except in compliance with the License.
|
data/lib/omnijack/endpoint.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# Author:: Jonathan Hartman (<j@p4nt5.com>)
|
4
4
|
#
|
5
|
-
# Copyright (C) 2014
|
5
|
+
# Copyright (C) 2014-2015 Jonathan Hartman
|
6
6
|
#
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
# you may not use this file except in compliance with the License.
|
@@ -16,7 +16,7 @@
|
|
16
16
|
# See the License for the specific language governing permissions and
|
17
17
|
# limitations under the License.
|
18
18
|
|
19
|
-
require '
|
19
|
+
require 'json'
|
20
20
|
require 'open-uri'
|
21
21
|
unless Module.const_defined?(:Chef)
|
22
22
|
require_relative '../../vendor/chef/lib/chef/exceptions'
|
@@ -66,7 +66,7 @@ class Omnijack
|
|
66
66
|
#
|
67
67
|
def to_h
|
68
68
|
# TODO: Use a Mash -- some keys are better off addressed as strings
|
69
|
-
|
69
|
+
JSON.parse(raw_data, symbolize_names: true)
|
70
70
|
end
|
71
71
|
|
72
72
|
#
|
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# Author:: Jonathan Hartman (<j@p4nt5.com>)
|
4
4
|
#
|
5
|
-
# Copyright (C) 2014
|
5
|
+
# Copyright (C) 2014-2015 Jonathan Hartman
|
6
6
|
#
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
# you may not use this file except in compliance with the License.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# Author:: Jonathan Hartman (<j@p4nt5.com>)
|
4
4
|
#
|
5
|
-
# Copyright (C) 2014
|
5
|
+
# Copyright (C) 2014-2015 Jonathan Hartman
|
6
6
|
#
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
# you may not use this file except in compliance with the License.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# Author:: Jonathan Hartman (<j@p4nt5.com>)
|
4
4
|
#
|
5
|
-
# Copyright (C) 2014
|
5
|
+
# Copyright (C) 2014-2015 Jonathan Hartman
|
6
6
|
#
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
# you may not use this file except in compliance with the License.
|
data/lib/omnijack/project.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# Author:: Jonathan Hartman (<j@p4nt5.com>)
|
4
4
|
#
|
5
|
-
# Copyright (C) 2014
|
5
|
+
# Copyright (C) 2014-2015 Jonathan Hartman
|
6
6
|
#
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
# you may not use this file except in compliance with the License.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# Author:: Jonathan Hartman (<j@p4nt5.com>)
|
4
4
|
#
|
5
|
-
# Copyright (C) 2014
|
5
|
+
# Copyright (C) 2014-2015 Jonathan Hartman
|
6
6
|
#
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
# you may not use this file except in compliance with the License.
|
data/lib/omnijack/version.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# Author:: Jonathan Hartman (<j@p4nt5.com>)
|
4
4
|
#
|
5
|
-
# Copyright (C) 2014
|
5
|
+
# Copyright (C) 2014-2015 Jonathan Hartman
|
6
6
|
#
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
# you may not use this file except in compliance with the License.
|
@@ -20,5 +20,5 @@
|
|
20
20
|
#
|
21
21
|
# @author Jonathan Hartman <j@p4nt5.com>
|
22
22
|
class Omnijack
|
23
|
-
VERSION = '1.0
|
23
|
+
VERSION = '1.1.0'
|
24
24
|
end
|
data/omnijack.gemspec
CHANGED
@@ -15,14 +15,12 @@ Gem::Specification.new do |spec|
|
|
15
15
|
spec.license = 'Apache v2.0'
|
16
16
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0")
|
18
|
-
spec.executables = spec.files.grep(
|
19
|
-
spec.test_files = spec.files.grep(
|
18
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
20
|
spec.require_paths = %w(lib)
|
21
21
|
|
22
22
|
spec.required_ruby_version = '>= 1.9.3'
|
23
23
|
|
24
|
-
spec.add_dependency 'multi_json'
|
25
|
-
|
26
24
|
spec.add_development_dependency 'bundler'
|
27
25
|
spec.add_development_dependency 'rake'
|
28
26
|
spec.add_development_dependency 'rubocop'
|
@@ -1,20 +1,4 @@
|
|
1
1
|
# Encoding: UTF-8
|
2
|
-
#
|
3
|
-
# Author:: Jonathan Hartman (<j@p4nt5.com>)
|
4
|
-
#
|
5
|
-
# Copyright (C) 2014, Jonathan Hartman
|
6
|
-
#
|
7
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
# you may not use this file except in compliance with the License.
|
9
|
-
# You may obtain a copy of the License at
|
10
|
-
#
|
11
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
#
|
13
|
-
# Unless required by applicable law or agreed to in writing, software
|
14
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
# See the License for the specific language governing permissions and
|
17
|
-
# limitations under the License.
|
18
2
|
|
19
3
|
require_relative '../spec_helper'
|
20
4
|
require_relative '../../lib/omnijack/config'
|
@@ -46,7 +30,6 @@ describe Omnijack::Config do
|
|
46
30
|
else
|
47
31
|
expected = 200
|
48
32
|
end
|
49
|
-
|
50
33
|
expect(Net::HTTP.get_response(URI(url)).code.to_i).to eq(expected)
|
51
34
|
end
|
52
35
|
end
|
@@ -1,20 +1,4 @@
|
|
1
1
|
# Encoding: UTF-8
|
2
|
-
#
|
3
|
-
# Author:: Jonathan Hartman (<j@p4nt5.com>)
|
4
|
-
#
|
5
|
-
# Copyright (C) 2014, Jonathan Hartman
|
6
|
-
#
|
7
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
# you may not use this file except in compliance with the License.
|
9
|
-
# You may obtain a copy of the License at
|
10
|
-
#
|
11
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
#
|
13
|
-
# Unless required by applicable law or agreed to in writing, software
|
14
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
# See the License for the specific language governing permissions and
|
17
|
-
# limitations under the License.
|
18
2
|
|
19
3
|
require_relative '../../spec_helper'
|
20
4
|
require_relative '../../../lib/omnijack/endpoint/list'
|
@@ -1,22 +1,6 @@
|
|
1
1
|
# Encoding: UTF-8
|
2
|
-
|
3
|
-
|
4
|
-
#
|
5
|
-
# Copyright (C) 2014, Jonathan Hartman
|
6
|
-
#
|
7
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
# you may not use this file except in compliance with the License.
|
9
|
-
# You may obtain a copy of the License at
|
10
|
-
#
|
11
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
#
|
13
|
-
# Unless required by applicable law or agreed to in writing, software
|
14
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
# See the License for the specific language governing permissions and
|
17
|
-
# limitations under the License.
|
18
|
-
|
19
|
-
require 'multi_json'
|
2
|
+
|
3
|
+
require 'json'
|
20
4
|
require_relative '../../spec_helper'
|
21
5
|
require_relative '../../../lib/omnijack/endpoint/metadata'
|
22
6
|
|
@@ -159,7 +143,7 @@ describe Omnijack::Endpoint::Metadata do
|
|
159
143
|
|
160
144
|
json = ::File.open(File.expand_path('../../../support/real_test_data.json',
|
161
145
|
__FILE__)).read
|
162
|
-
|
146
|
+
JSON.parse(json, symbolize_names: true).each do |data|
|
163
147
|
context "#{data[:platform]} Chef-DK" do
|
164
148
|
let(:obj) do
|
165
149
|
described_class.new(:chef_dk,
|
@@ -1,20 +1,4 @@
|
|
1
1
|
# Encoding: UTF-8
|
2
|
-
#
|
3
|
-
# Author:: Jonathan Hartman (<j@p4nt5.com>)
|
4
|
-
#
|
5
|
-
# Copyright (C) 2014, Jonathan Hartman
|
6
|
-
#
|
7
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
# you may not use this file except in compliance with the License.
|
9
|
-
# You may obtain a copy of the License at
|
10
|
-
#
|
11
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
#
|
13
|
-
# Unless required by applicable law or agreed to in writing, software
|
14
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
# See the License for the specific language governing permissions and
|
17
|
-
# limitations under the License.
|
18
2
|
|
19
3
|
require_relative '../../spec_helper'
|
20
4
|
require_relative '../../../lib/omnijack/endpoint/platforms'
|
@@ -1,20 +1,4 @@
|
|
1
1
|
# Encoding: UTF-8
|
2
|
-
#
|
3
|
-
# Author:: Jonathan Hartman (<j@p4nt5.com>)
|
4
|
-
#
|
5
|
-
# Copyright (C) 2014, Jonathan Hartman
|
6
|
-
#
|
7
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
# you may not use this file except in compliance with the License.
|
9
|
-
# You may obtain a copy of the License at
|
10
|
-
#
|
11
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
#
|
13
|
-
# Unless required by applicable law or agreed to in writing, software
|
14
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
# See the License for the specific language governing permissions and
|
17
|
-
# limitations under the License.
|
18
2
|
|
19
3
|
require_relative '../spec_helper'
|
20
4
|
require_relative '../../lib/omnijack/endpoint'
|
@@ -1,20 +1,4 @@
|
|
1
1
|
# Encoding: UTF-8
|
2
|
-
#
|
3
|
-
# Author:: Jonathan Hartman (<j@p4nt5.com>)
|
4
|
-
#
|
5
|
-
# Copyright (C) 2014, Jonathan Hartman
|
6
|
-
#
|
7
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
# you may not use this file except in compliance with the License.
|
9
|
-
# You may obtain a copy of the License at
|
10
|
-
#
|
11
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
#
|
13
|
-
# Unless required by applicable law or agreed to in writing, software
|
14
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
# See the License for the specific language governing permissions and
|
17
|
-
# limitations under the License.
|
18
2
|
|
19
3
|
require_relative '../../spec_helper'
|
20
4
|
require_relative '../../../lib/omnijack/project/metaprojects'
|
@@ -1,20 +1,4 @@
|
|
1
1
|
# Encoding: UTF-8
|
2
|
-
#
|
3
|
-
# Author:: Jonathan Hartman (<j@p4nt5.com>)
|
4
|
-
#
|
5
|
-
# Copyright (C) 2014, Jonathan Hartman
|
6
|
-
#
|
7
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
# you may not use this file except in compliance with the License.
|
9
|
-
# You may obtain a copy of the License at
|
10
|
-
#
|
11
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
#
|
13
|
-
# Unless required by applicable law or agreed to in writing, software
|
14
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
# See the License for the specific language governing permissions and
|
17
|
-
# limitations under the License.
|
18
2
|
|
19
3
|
require_relative '../../spec_helper'
|
20
4
|
require_relative '../../../lib/omnijack/project/metaprojects'
|
@@ -1,20 +1,4 @@
|
|
1
1
|
# Encoding: UTF-8
|
2
|
-
#
|
3
|
-
# Author:: Jonathan Hartman (<j@p4nt5.com>)
|
4
|
-
#
|
5
|
-
# Copyright (C) 2014, Jonathan Hartman
|
6
|
-
#
|
7
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
# you may not use this file except in compliance with the License.
|
9
|
-
# You may obtain a copy of the License at
|
10
|
-
#
|
11
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
#
|
13
|
-
# Unless required by applicable law or agreed to in writing, software
|
14
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
# See the License for the specific language governing permissions and
|
17
|
-
# limitations under the License.
|
18
2
|
|
19
3
|
require_relative '../../spec_helper'
|
20
4
|
require_relative '../../../lib/omnijack/project/metaprojects'
|
@@ -1,20 +1,4 @@
|
|
1
1
|
# Encoding: UTF-8
|
2
|
-
#
|
3
|
-
# Author:: Jonathan Hartman (<j@p4nt5.com>)
|
4
|
-
#
|
5
|
-
# Copyright (C) 2014, Jonathan Hartman
|
6
|
-
#
|
7
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
# you may not use this file except in compliance with the License.
|
9
|
-
# You may obtain a copy of the License at
|
10
|
-
#
|
11
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
#
|
13
|
-
# Unless required by applicable law or agreed to in writing, software
|
14
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
# See the License for the specific language governing permissions and
|
17
|
-
# limitations under the License.
|
18
2
|
|
19
3
|
require_relative '../../spec_helper'
|
20
4
|
require_relative '../../../lib/omnijack/project/metaprojects'
|
@@ -1,20 +1,4 @@
|
|
1
1
|
# Encoding: UTF-8
|
2
|
-
#
|
3
|
-
# Author:: Jonathan Hartman (<j@p4nt5.com>)
|
4
|
-
#
|
5
|
-
# Copyright (C) 2014, Jonathan Hartman
|
6
|
-
#
|
7
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
# you may not use this file except in compliance with the License.
|
9
|
-
# You may obtain a copy of the License at
|
10
|
-
#
|
11
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
#
|
13
|
-
# Unless required by applicable law or agreed to in writing, software
|
14
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
# See the License for the specific language governing permissions and
|
17
|
-
# limitations under the License.
|
18
2
|
|
19
3
|
require_relative '../../spec_helper'
|
20
4
|
require_relative '../../../lib/omnijack/project/metaprojects'
|
@@ -1,20 +1,4 @@
|
|
1
1
|
# Encoding: UTF-8
|
2
|
-
#
|
3
|
-
# Author:: Jonathan Hartman (<j@p4nt5.com>)
|
4
|
-
#
|
5
|
-
# Copyright (C) 2014, Jonathan Hartman
|
6
|
-
#
|
7
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
# you may not use this file except in compliance with the License.
|
9
|
-
# You may obtain a copy of the License at
|
10
|
-
#
|
11
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
#
|
13
|
-
# Unless required by applicable law or agreed to in writing, software
|
14
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
# See the License for the specific language governing permissions and
|
17
|
-
# limitations under the License.
|
18
2
|
|
19
3
|
require_relative '../spec_helper'
|
20
4
|
require_relative '../../lib/omnijack/project'
|
data/spec/omnijack_spec.rb
CHANGED
@@ -1,20 +1,4 @@
|
|
1
1
|
# Encoding: UTF-8
|
2
|
-
#
|
3
|
-
# Author:: Jonathan Hartman (<j@p4nt5.com>)
|
4
|
-
#
|
5
|
-
# Copyright (C) 2014, Jonathan Hartman
|
6
|
-
#
|
7
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
# you may not use this file except in compliance with the License.
|
9
|
-
# You may obtain a copy of the License at
|
10
|
-
#
|
11
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
#
|
13
|
-
# Unless required by applicable law or agreed to in writing, software
|
14
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
# See the License for the specific language governing permissions and
|
17
|
-
# limitations under the License.
|
18
2
|
|
19
3
|
require_relative 'spec_helper'
|
20
4
|
require_relative '../lib/omnijack'
|
data/spec/spec_helper.rb
CHANGED
@@ -1,21 +1,4 @@
|
|
1
1
|
# Encoding: UTF-8
|
2
|
-
#
|
3
|
-
# Author:: Jonathan Hartman (<j@p4nt5.com>)
|
4
|
-
#
|
5
|
-
# Copyright (C) 2014, Jonathan Hartman
|
6
|
-
#
|
7
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
# you may not use this file except in compliance with the License.
|
9
|
-
# You may obtain a copy of the License at
|
10
|
-
#
|
11
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
#
|
13
|
-
# Unless required by applicable law or agreed to in writing, software
|
14
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
# See the License for the specific language governing permissions and
|
17
|
-
# limitations under the License.
|
18
|
-
#
|
19
2
|
|
20
3
|
require 'net/http'
|
21
4
|
require 'rspec'
|
@@ -5,12 +5,12 @@
|
|
5
5
|
"prerelease": false,
|
6
6
|
"nightlies": false,
|
7
7
|
"expected": {
|
8
|
-
"url": "https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chefdk_0.
|
9
|
-
"filename": "chefdk_0.
|
10
|
-
"version": "0.
|
8
|
+
"url": "https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chefdk_0.6.2-1_amd64.deb",
|
9
|
+
"filename": "chefdk_0.6.2-1_amd64.deb",
|
10
|
+
"version": "0.6.2",
|
11
11
|
"build": "1",
|
12
|
-
"md5": "
|
13
|
-
"sha256": "
|
12
|
+
"md5": "6db1c5ed72d17e02923b325bfc8229f1",
|
13
|
+
"sha256": "e6990a3821590b999d09b707ff124fa891d44849cd63fd4f6f9db73bf5cb23f9"
|
14
14
|
}
|
15
15
|
},
|
16
16
|
{
|
@@ -28,7 +28,7 @@
|
|
28
28
|
}
|
29
29
|
},
|
30
30
|
{
|
31
|
-
"platform": {"name": "ubuntu", "version": "
|
31
|
+
"platform": {"name": "ubuntu", "version": "8.04" },
|
32
32
|
"version": null,
|
33
33
|
"prerelease": true,
|
34
34
|
"nightlies": false,
|
@@ -40,12 +40,12 @@
|
|
40
40
|
"prerelease": false,
|
41
41
|
"nightlies": true,
|
42
42
|
"expected": {
|
43
|
-
"url": "https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chefdk_0.
|
44
|
-
"filename": "chefdk_0.
|
45
|
-
"version": "0.
|
43
|
+
"url": "https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chefdk_0.7.0%2B20150807074719.git.2.512f391-1_amd64.deb",
|
44
|
+
"filename": "chefdk_0.7.0+20150807074719.git.2.512f391-1_amd64.deb",
|
45
|
+
"version": "0.7.0+20150807074719.git.2.512f391",
|
46
46
|
"build": "1",
|
47
|
-
"md5": "
|
48
|
-
"sha256": "
|
47
|
+
"md5": "f685c31c587f66121ec3e1306fc90c57",
|
48
|
+
"sha256": "1a0cdba97f9873089538a2dccbe97e7eb7493412fab81f5cec8d3d66aae83e5c"
|
49
49
|
}
|
50
50
|
},
|
51
51
|
{
|
@@ -115,8 +115,7 @@
|
|
115
115
|
"version": "0.2.2",
|
116
116
|
"build": "1",
|
117
117
|
"md5": "5da3f329f7e6d51e778212dea4dae73f",
|
118
|
-
"sha256": "2bc4c5c6f82ee7abed385d837e526fd40777ddc47ad939e4f3ecea625b43a245"
|
119
|
-
"yolo": true
|
118
|
+
"sha256": "2bc4c5c6f82ee7abed385d837e526fd40777ddc47ad939e4f3ecea625b43a245"
|
120
119
|
}
|
121
120
|
},
|
122
121
|
{
|
@@ -144,8 +143,7 @@
|
|
144
143
|
"version": "0.2.2",
|
145
144
|
"build": "1",
|
146
145
|
"md5": "21f9af35451a0116b72531f06e93eb05",
|
147
|
-
"sha256": "76038621bad5333b9ceee4dc32325cf2a880fa69ef64a9225d91ab1788c37a53"
|
148
|
-
"yolo": true
|
146
|
+
"sha256": "76038621bad5333b9ceee4dc32325cf2a880fa69ef64a9225d91ab1788c37a53"
|
149
147
|
}
|
150
148
|
}
|
151
149
|
]
|
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omnijack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Hartman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: multi_json
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: bundler
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -235,7 +221,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
235
221
|
version: '0'
|
236
222
|
requirements: []
|
237
223
|
rubyforge_project:
|
238
|
-
rubygems_version: 2.4.
|
224
|
+
rubygems_version: 2.4.8
|
239
225
|
signing_key:
|
240
226
|
specification_version: 4
|
241
227
|
summary: A pallet jack to unload data from the Omnitruck
|