ffi-yajl 2.3.1 → 2.3.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,45 +0,0 @@
1
- # Copyright (c) 2015 Lamont Granquist
2
- # Copyright (c) 2015 Chef Software, Inc.
3
- #
4
- # Permission is hereby granted, free of charge, to any person obtaining
5
- # a copy of this software and associated documentation files (the
6
- # "Software"), to deal in the Software without restriction, including
7
- # without limitation the rights to use, copy, modify, merge, publish,
8
- # distribute, sublicense, and/or sell copies of the Software, and to
9
- # permit persons to whom the Software is furnished to do so, subject to
10
- # the following conditions:
11
- #
12
- # The above copyright notice and this permission notice shall be
13
- # included in all copies or substantial portions of the Software.
14
- #
15
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
- # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17
- # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
- # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
19
- # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
20
- # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21
- # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
-
23
- $LOAD_PATH << File.expand_path(File.join(File.dirname( __FILE__ ), "../lib"))
24
-
25
- # load yajl-ruby into the same process (tests that both c-libs can be
26
- # linked in the same process). this should work, see:
27
- # http://stackoverflow.com/questions/3232822/linking-with-multiple-versions-of-a-library
28
- begin
29
- require "yajl"
30
- rescue LoadError
31
- puts "WARN: yajl cannot be loaded, expected if this is jruby"
32
- end
33
-
34
- require "ffi_yajl"
35
-
36
- RSpec.configure do |conf|
37
- conf.filter_run_excluding unix_only: true unless RUBY_PLATFORM !~ /mswin|mingw|windows/
38
- conf.filter_run_excluding ruby_gte_193: true unless RUBY_VERSION.to_f >= 2.0 || RUBY_VERSION =~ /^1\.9\.3/
39
-
40
- conf.order = "random"
41
-
42
- conf.expect_with :rspec do |rspec|
43
- rspec.syntax = :expect
44
- end
45
- end