omnijack 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +14 -0
- data/features/step_definitions/metadata.rb +1 -1
- data/lib/omnijack/metadata.rb +1 -1
- data/lib/omnijack/version.rb +1 -1
- data/omnijack.gemspec +1 -1
- data/spec/omnijack/config_spec.rb +1 -1
- data/spec/support/real_test_data.json +43 -43
- 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: 4b2ea25f171c43615082dfb66ccd2bfd0f346a0e
|
4
|
+
data.tar.gz: d4de55724f7cb930ad934fb54e4fdd6a0f0d324a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 190febeaa0f43effe2c66abe12531be60527a3a30331fc6e8d380bfaf7393ee70cf1b46a4f46df86f8a50b441565442bf0f15ea465b1280e13c95f38b70d0698
|
7
|
+
data.tar.gz: 647e33c31230fa4a2079da35dd1aff2ce70574ae1bc48d1518e54237e1fb97297f254d267f0f32d53796a68e6c68acbead9a0ee2551ff5a030d8b5c80c20e04c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
Omnijack Gem CHANGELOG
|
2
2
|
======================
|
3
3
|
|
4
|
+
v0.1.2 (2014-09-17)
|
5
|
+
-------------------
|
6
|
+
- Fix encoding issue with incorrect filename for nightly build packages
|
7
|
+
|
4
8
|
v0.1.1 (2014-09-12)
|
5
9
|
-------------------
|
6
10
|
- Don't load vendored Chef classes if Chef itself is already loaded
|
data/README.md
CHANGED
@@ -86,6 +86,20 @@ Omnijack::Project::ChefDk.new(
|
|
86
86
|
)
|
87
87
|
```
|
88
88
|
|
89
|
+
Getting the Chef project's list of packages:
|
90
|
+
|
91
|
+
```ruby
|
92
|
+
list = Omnijack::Project::Chef.new.list
|
93
|
+
puts list.to_h
|
94
|
+
```
|
95
|
+
|
96
|
+
Getting the Chef project's platform mappings:
|
97
|
+
|
98
|
+
```ruby
|
99
|
+
platforms = Omnijack::Project::Chef.new.platforms
|
100
|
+
puts platforms.to_h
|
101
|
+
```
|
102
|
+
|
89
103
|
Getting AngryChef project data:
|
90
104
|
|
91
105
|
```ruby
|
@@ -7,7 +7,7 @@ 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 'md5'
|
12
12
|
/^\w{32}$/
|
13
13
|
when 'sha256'
|
data/lib/omnijack/metadata.rb
CHANGED
data/lib/omnijack/version.rb
CHANGED
data/omnijack.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
spec.email = %w(j@p4nt5.com)
|
12
12
|
spec.summary = 'A pallet jack to unload data from the Omnitruck'
|
13
13
|
spec.description = 'A pallet jack to unload data from the Omnitruck'
|
14
|
-
spec.homepage = 'https://
|
14
|
+
spec.homepage = 'https://github.com/RoboticCheese/omnijack-ruby'
|
15
15
|
spec.license = 'Apache v2.0'
|
16
16
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0")
|
@@ -42,7 +42,7 @@ describe Omnijack::Config do
|
|
42
42
|
# Some endpoints aren't available on Chef's public Omnitruck API
|
43
43
|
if [:angry_chef, :chef_dk, :chef_container].include?(project) && \
|
44
44
|
[:package_list, :platform_names].include?(name)
|
45
|
-
expected =
|
45
|
+
expected = 301
|
46
46
|
else
|
47
47
|
expected = 200
|
48
48
|
end
|
@@ -5,10 +5,10 @@
|
|
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.2.
|
9
|
-
"filename": "chefdk_0.2.
|
10
|
-
"md5": "
|
11
|
-
"sha256": "
|
8
|
+
"url": "https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chefdk_0.2.2-1_amd64.deb",
|
9
|
+
"filename": "chefdk_0.2.2-1_amd64.deb",
|
10
|
+
"md5": "1b097776840aa10f092063d1579bf155",
|
11
|
+
"sha256": "a6384851473779d3b0d0bedc509607b924751ea3b356e7df4b9c7ab16dd25788"
|
12
12
|
}
|
13
13
|
},
|
14
14
|
{
|
@@ -36,95 +36,95 @@
|
|
36
36
|
"prerelease": false,
|
37
37
|
"nightlies": true,
|
38
38
|
"expected": {
|
39
|
-
"url": "https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chefdk_0.2.
|
40
|
-
"filename": "chefdk_0.2.
|
41
|
-
"md5": "
|
42
|
-
"sha256": "
|
39
|
+
"url": "https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chefdk_0.2.2%2B20140917085111.git.23.997cf31-1_amd64.deb",
|
40
|
+
"filename": "chefdk_0.2.2+20140917085111.git.23.997cf31-1_amd64.deb",
|
41
|
+
"md5": "03af55494419a3b3b32617fb76141ffc",
|
42
|
+
"sha256": "e16c8d8cb594fe0fa82489d348af258f94e3e68ad8392bec31e3f12b5fd80285"
|
43
43
|
}
|
44
44
|
},
|
45
45
|
{
|
46
46
|
"platform": {"name": "ubuntu", "version": "13.10" },
|
47
|
-
"version": "0.2.
|
47
|
+
"version": "0.2.2",
|
48
48
|
"prerelease": false,
|
49
49
|
"nightlies": false,
|
50
50
|
"expected": {
|
51
|
-
"url": "https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chefdk_0.2.
|
52
|
-
"filename": "chefdk_0.2.
|
53
|
-
"md5": "
|
54
|
-
"sha256": "
|
51
|
+
"url": "https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chefdk_0.2.2-1_amd64.deb",
|
52
|
+
"filename": "chefdk_0.2.2-1_amd64.deb",
|
53
|
+
"md5": "1b097776840aa10f092063d1579bf155",
|
54
|
+
"sha256": "a6384851473779d3b0d0bedc509607b924751ea3b356e7df4b9c7ab16dd25788"
|
55
55
|
}
|
56
56
|
},
|
57
57
|
{
|
58
58
|
"platform": {"name": "mac_os_x", "version": "10.8" },
|
59
|
-
"version": "0.2.
|
59
|
+
"version": "0.2.2",
|
60
60
|
"prerelease": false,
|
61
61
|
"nightlies": false,
|
62
62
|
"expected": {
|
63
|
-
"url": "https://opscode-omnibus-packages.s3.amazonaws.com/mac_os_x/10.8/x86_64/chefdk-0.2.
|
64
|
-
"filename": "chefdk-0.2.
|
65
|
-
"md5": "
|
66
|
-
"sha256": "
|
63
|
+
"url": "https://opscode-omnibus-packages.s3.amazonaws.com/mac_os_x/10.8/x86_64/chefdk-0.2.2-1.dmg",
|
64
|
+
"filename": "chefdk-0.2.2-1.dmg",
|
65
|
+
"md5": "2d0d8881ef6b0cdcbaedfacac2d5129d",
|
66
|
+
"sha256": "4922390a2dc08c26947fe8ed94a3a1777bd820e0e409e4072b2fb1315f4425d5"
|
67
67
|
}
|
68
68
|
},
|
69
69
|
{
|
70
70
|
"platform": {"name": "mac_os_x", "version": "10.9" },
|
71
|
-
"version": "0.2.
|
71
|
+
"version": "0.2.2",
|
72
72
|
"prerelease": false,
|
73
73
|
"nightlies": false,
|
74
74
|
"expected": {
|
75
|
-
"url": "https://opscode-omnibus-packages.s3.amazonaws.com/mac_os_x/10.8/x86_64/chefdk-0.2.
|
76
|
-
"filename": "chefdk-0.2.
|
77
|
-
"md5": "
|
78
|
-
"sha256": "
|
75
|
+
"url": "https://opscode-omnibus-packages.s3.amazonaws.com/mac_os_x/10.8/x86_64/chefdk-0.2.2-1.dmg",
|
76
|
+
"filename": "chefdk-0.2.2-1.dmg",
|
77
|
+
"md5": "2d0d8881ef6b0cdcbaedfacac2d5129d",
|
78
|
+
"sha256": "4922390a2dc08c26947fe8ed94a3a1777bd820e0e409e4072b2fb1315f4425d5"
|
79
79
|
}
|
80
80
|
},
|
81
81
|
{
|
82
82
|
"platform": {"name": "centos", "version": "6.5" },
|
83
|
-
"version": "0.2.
|
83
|
+
"version": "0.2.2",
|
84
84
|
"prerelease": false,
|
85
85
|
"nightlies": false,
|
86
86
|
"expected": {
|
87
|
-
"url": "https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chefdk-0.2.
|
88
|
-
"filename": "chefdk-0.2.
|
89
|
-
"md5": "
|
90
|
-
"sha256": "
|
87
|
+
"url": "https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chefdk-0.2.2-1.x86_64.rpm",
|
88
|
+
"filename": "chefdk-0.2.2-1.x86_64.rpm",
|
89
|
+
"md5": "5da3f329f7e6d51e778212dea4dae73f",
|
90
|
+
"sha256": "2bc4c5c6f82ee7abed385d837e526fd40777ddc47ad939e4f3ecea625b43a245"
|
91
91
|
}
|
92
92
|
},
|
93
93
|
{
|
94
94
|
"platform": {"name": "centos", "version": "7.0" },
|
95
|
-
"version": "0.2.
|
95
|
+
"version": "0.2.2",
|
96
96
|
"prerelease": false,
|
97
97
|
"nightlies": false,
|
98
98
|
"expected": {
|
99
|
-
"url": "https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chefdk-0.2.
|
100
|
-
"filename": "chefdk-0.2.
|
101
|
-
"md5": "
|
102
|
-
"sha256": "
|
99
|
+
"url": "https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chefdk-0.2.2-1.x86_64.rpm",
|
100
|
+
"filename": "chefdk-0.2.2-1.x86_64.rpm",
|
101
|
+
"md5": "5da3f329f7e6d51e778212dea4dae73f",
|
102
|
+
"sha256": "2bc4c5c6f82ee7abed385d837e526fd40777ddc47ad939e4f3ecea625b43a245",
|
103
103
|
"yolo": true
|
104
104
|
}
|
105
105
|
},
|
106
106
|
{
|
107
107
|
"platform": {"name": "windows", "version": "2008r2" },
|
108
|
-
"version": "0.2.
|
108
|
+
"version": "0.2.2",
|
109
109
|
"prerelease": false,
|
110
110
|
"nightlies": false,
|
111
111
|
"expected": {
|
112
|
-
"url": "https://opscode-omnibus-packages.s3.amazonaws.com/windows/2008r2/x86_64/chefdk-
|
113
|
-
"filename": "chefdk-
|
114
|
-
"md5": "
|
115
|
-
"sha256": "
|
112
|
+
"url": "https://opscode-omnibus-packages.s3.amazonaws.com/windows/2008r2/x86_64/chefdk-0.2.2-1.msi",
|
113
|
+
"filename": "chefdk-0.2.2-1.msi",
|
114
|
+
"md5": "21f9af35451a0116b72531f06e93eb05",
|
115
|
+
"sha256": "76038621bad5333b9ceee4dc32325cf2a880fa69ef64a9225d91ab1788c37a53"
|
116
116
|
}
|
117
117
|
},
|
118
118
|
{
|
119
119
|
"platform": {"name": "windows", "version": "2012" },
|
120
|
-
"version": "0.2.
|
120
|
+
"version": "0.2.2",
|
121
121
|
"prerelease": false,
|
122
122
|
"nightlies": false,
|
123
123
|
"expected": {
|
124
|
-
"url": "https://opscode-omnibus-packages.s3.amazonaws.com/windows/2008r2/x86_64/chefdk-
|
125
|
-
"filename": "chefdk-
|
126
|
-
"md5": "
|
127
|
-
"sha256": "
|
124
|
+
"url": "https://opscode-omnibus-packages.s3.amazonaws.com/windows/2008r2/x86_64/chefdk-0.2.2-1.msi",
|
125
|
+
"filename": "chefdk-0.2.2-1.msi",
|
126
|
+
"md5": "21f9af35451a0116b72531f06e93eb05",
|
127
|
+
"sha256": "76038621bad5333b9ceee4dc32325cf2a880fa69ef64a9225d91ab1788c37a53",
|
128
128
|
"yolo": true
|
129
129
|
}
|
130
130
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omnijack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Hartman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ohai
|
@@ -227,7 +227,7 @@ files:
|
|
227
227
|
- vendor/chef/NOTICE
|
228
228
|
- vendor/chef/lib/chef/exceptions.rb
|
229
229
|
- vendor/chef/lib/chef/mixin/params_validate.rb
|
230
|
-
homepage: https://
|
230
|
+
homepage: https://github.com/RoboticCheese/omnijack-ruby
|
231
231
|
licenses:
|
232
232
|
- Apache v2.0
|
233
233
|
metadata: {}
|