Commit graph

2074 commits

Author SHA1 Message Date
Stephan Renatus
4f90abaea1 Merge pull request #505 from chef/0.14.5
0.14.5
2016-02-29 16:50:38 +01:00
Christoph Hartmann
593df248b4 0.14.5 2016-02-29 13:47:55 +01:00
Dominik Richter
0c9c76e623 Merge pull request #503 from chef/jcd/fix-license
Fix license warning during gem build.
2016-02-29 02:24:03 +01:00
Julian C. Dunn
dee0b32c2f Fix warning:
WARNING:  WARNING: license value 'Apache 2.0' is invalid.  Use a license identifier from
http://spdx.org/licenses or 'Nonstandard' for a nonstandard license.
WARNING:  See http://guides.rubygems.org/specification-reference/ for help
2016-02-27 22:24:21 -05:00
Dominik Richter
3c42a1b608 Merge pull request #501 from chef/0.14.4
0.14.4
2016-02-26 18:40:27 +01:00
Dominik Richter
9449afcb3d 0.14.4 2016-02-26 17:42:06 +01:00
Christoph Hartmann
5d10c2208b Merge pull request #500 from chef/dr/metadata-bug
don't crash on empty metadata during finalize
2016-02-26 17:25:06 +01:00
Dominik Richter
7cdb710e5e dont crash on empty metadata during finalize 2016-02-26 16:56:36 +01:00
Christoph Hartmann
0fb1b7d70d Merge pull request #499 from chef/dr/xinetd
add xinetd_conf resource
2016-02-26 15:52:45 +01:00
Dominik Richter
e617f74bcd filter xinetd fields by regex 2016-02-26 14:46:51 +01:00
Dominik Richter
4a39275fc0 add xinetd_conf resource 2016-02-26 13:19:16 +01:00
Christoph Hartmann
0feff81f59 Merge pull request #497 from chef/dr/or
add `describe.one`: collection of tests with at least one passing
2016-02-25 23:21:44 +01:00
Dominik Richter
e9ffc85b53 test for empty global describe block 2016-02-25 14:30:27 +01:00
Dominik Richter
94061a1b4b add documentation for describe.one 2016-02-25 14:30:27 +01:00
Dominik Richter
3ae50adae9 feature: conditional OR via describe.one
```
describe.one do
  describe command("uname -r").stdout do
    it { should_not match /x86_64/ }
  end
  describe test_sth_for_x64_processors do
    ...
  end
end
```
2016-02-25 14:30:23 +01:00
Dominik Richter
4020229914 bugfix: standalone describe without block
i.e. make sure it doesnt crash just because no block was given due to source/line detection.

also return the result of the rule's delegated describe call and not the rule itself to the outer method. this is for consistency (and the following commits)
2016-02-25 11:03:53 +01:00
Christoph Hartmann
b4cce9c113 Merge pull request #493 from chef/0.14.3
0.14.3
2016-02-24 17:32:15 +01:00
Dominik Richter
78d119beaf 0.14.3 2016-02-24 17:11:41 +01:00
Christoph Hartmann
923fdcf35a Merge pull request #492 from chef/dr/fix-check
expose inspec errors during profile read
2016-02-24 17:04:56 +01:00
Dominik Richter
40b3af86f8 bugfix: catch fetcher.abs_path(nil) 2016-02-24 16:07:00 +01:00
Dominik Richter
b75ba7d345 throw fetcher and reader errors in profile detection 2016-02-24 15:55:47 +01:00
Dominik Richter
a46af20e66 Merge pull request #487 from chef/chris-rock/cmp-matcher
cmp matcher should compare expected string == number
2016-02-23 22:55:06 +01:00
Dominik Richter
2fc0994f4c add cmp int->string tests 2016-02-23 22:31:10 +01:00
Christoph Hartmann
681f817992 enable cmp matcher to catch the case where expected is a number string, and actual is a number 2016-02-23 22:18:16 +01:00
Christoph Hartmann
16c0e0c471 Merge pull request #484 from chef/0.14.2
0.14.2
2016-02-22 21:42:55 +01:00
Dominik Richter
47b0d97313 0.14.2 2016-02-22 21:20:56 +01:00
Dominik Richter
a47026223b Merge pull request #483 from chef/chris-rock/fix-cc-upload
fix cc upload
2016-02-22 21:16:59 +01:00
Christoph Hartmann
9ea68471e5 fix cc upload 2016-02-22 21:14:50 +01:00
Christoph Hartmann
60bdfcbb21 Merge pull request #482 from chef/dr/gemy-plugins
load plugins in the same gem installation
2016-02-22 21:13:16 +01:00
Dominik Richter
926023de91 load plugins in the same gem installation 2016-02-22 21:01:07 +01:00
Christoph Hartmann
a91749b8f6 Merge pull request #481 from chef/0.14.1
0.14.1
2016-02-22 19:00:46 +01:00
Christoph Hartmann
a31da47791 0.14.1 2016-02-22 18:47:37 +01:00
Dominik Richter
2c1d49799a Merge pull request #480 from chef/chris-rock/ignore_pax_header
ignore `pax_global_header` as valid file
2016-02-22 18:40:58 +01:00
Christoph Hartmann
ee7adc24ec add unit tests 2016-02-22 18:24:16 +01:00
Christoph Hartmann
0c02a30dc5 ignore pax_global_header as valid file 2016-02-22 18:16:07 +01:00
Stephan Renatus
cc01428d4a Merge pull request #479 from chef/chris-rock/appveyor
optimize appveyor
2016-02-22 16:08:19 +01:00
Christoph Hartmann
54b8d9ca63 optimize appveyor 2016-02-22 14:50:26 +01:00
Christoph Hartmann
3541836e8b Merge pull request #478 from chef/sr/fix-tests
fix windows tests
2016-02-22 14:49:39 +01:00
Stephan Renatus
2da97df5f0 test: read mock-archives in binary mode
this doesn't hurt in *nix, but makes tests pass on windows.
2016-02-22 13:47:33 +01:00
Stephan Renatus
c891686d72 tests: create a temporary name, not a Tempfile
rubyzip also does use Tempfile under the hood, this causes trouble.
2016-02-22 13:41:12 +01:00
Stephan Renatus
43eb763635 Merge pull request #477 from chef/0.14.0
0.14.0
2016-02-22 12:59:07 +01:00
Dominik Richter
7c377a0ab0 0.14.0 2016-02-22 12:53:27 +01:00
Stephan Renatus
376faf1bbc Merge pull request #473 from chef/dr/-target+fetcher
replace targets with fetcher+reader system

discussed with @arlimus, we're merging this although appveyor fails; to fix appveyor asap.
2016-02-22 12:48:35 +01:00
Stephan Renatus
01d7d5bf8a fetchers/tar: slight simplification 2016-02-22 12:06:42 +01:00
Stephan Renatus
c24a504cb6 tests: clarify kind_of's 2016-02-22 12:06:42 +01:00
Stephan Renatus
356995bd7b plugins/fetcher: remove attr_reader shadowing 2016-02-22 12:06:42 +01:00
Stephan Renatus
8d572934eb tests: make this work on non-linux 2016-02-22 12:06:42 +01:00
Stephan Renatus
e67576b1cd tests: make non-existant files explicit 2016-02-22 12:06:42 +01:00
Dominik Richter
33b2876d7c fix tests and lint 2016-02-22 12:06:42 +01:00
Dominik Richter
d44af5dcc7 bugfix: dont set ID for profile params too early 2016-02-22 12:06:42 +01:00