ffi-yajl 2.2.0-universal-java → 2.2.1-universal-java

Sign up to get free protection for your applications and to get access to all the features.
data/spec/spec_helper.rb CHANGED
@@ -20,7 +20,7 @@
20
20
  # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21
21
  # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
 
23
- $: << File.expand_path(File.join(File.dirname( __FILE__ ), "../lib"))
23
+ $LOAD_PATH << File.expand_path(File.join(File.dirname( __FILE__ ), "../lib"))
24
24
 
25
25
  # load yajl-ruby into the same process (tests that both c-libs can be
26
26
  # linked in the same process). this should work, see:
@@ -28,19 +28,18 @@ $: << File.expand_path(File.join(File.dirname( __FILE__ ), "../lib"))
28
28
  begin
29
29
  require 'yajl'
30
30
  rescue LoadError
31
- # yajl can't be installed on jruby
31
+ puts 'WARN: yajl cannot be loaded, expected if this is jruby'
32
32
  end
33
33
 
34
34
  require 'ffi_yajl'
35
35
 
36
- RSpec.configure do |c|
37
- c.filter_run_excluding :unix_only => true unless RUBY_PLATFORM !~ /mswin|mingw|windows/
38
- c.filter_run_excluding :ruby_gte_193 => true unless RUBY_VERSION.to_f >= 2.0 || RUBY_VERSION =~ /^1\.9\.3/
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
39
 
40
- c.order = 'random'
40
+ conf.order = 'random'
41
41
 
42
- c.expect_with :rspec do |c|
43
- c.syntax = :expect
42
+ conf.expect_with :rspec do |rspec|
43
+ rspec.syntax = :expect
44
44
  end
45
-
46
45
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi-yajl
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: universal-java
6
6
  authors:
7
7
  - Lamont Granquist
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-30 00:00:00.000000000 Z
11
+ date: 2015-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake