red-plasma 0.15.0 → 0.15.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8bf100627e4c9a8448813ac9c6772a8b2981b92d53ebdc490b114e21ef0d728c
4
- data.tar.gz: 07fb82bf541b045ba9f8ae2f4db5fd5c4066bb737072d2cd4d15351ab5f1a209
3
+ metadata.gz: fc91b3bdc6979d1588f0ceb0093089ada53b7c047bfaf64ee90a0612fb77e026
4
+ data.tar.gz: 765e4161627327ae13764e221667dd79a5e8c8ef693e8220e889e5f6eabe31de
5
5
  SHA512:
6
- metadata.gz: e09608dc061688fdd4db3c9bc3c7aaabb01b1f4a9b0c9cd93bddeca79c6a75a7e9e2b03b27c6968bf64e2368a370f32fa691fe089e12ed88c1bfba9d00088400
7
- data.tar.gz: ca4ab09677d6e88825a5b68735a616cf2ad9602741524731624558abbdb5d4f1fde39d5597e6592fee22bf697ab217a6866337b4f67b858b6c16176c1e1b5e15
6
+ metadata.gz: 127820981fc7a695652ce47f716949e71d441a1eb737a46c09f742525d9dd3a0b130fe365fb35cac4eb7b9acd988664552bee8a5171cfeec75898a60a00cbd80
7
+ data.tar.gz: 4c4a286cca722b517d446cb968d1781d2b6793ffcfb3e935cb1365d6ce758f60a598ce2d8496f862c4505cc4391aef417d08f0d1e9a4e3ef01f45ed9d9dcd396
@@ -16,7 +16,7 @@
16
16
  # under the License.
17
17
 
18
18
  module Plasma
19
- VERSION = "0.15.0"
19
+ VERSION = "0.15.1"
20
20
 
21
21
  module Version
22
22
  numbers, TAG = VERSION.split("-")
@@ -21,4 +21,5 @@ require "tempfile"
21
21
 
22
22
  require "test-unit"
23
23
 
24
+ require_relative "helper/omittable"
24
25
  require_relative "helper/plasma-store"
@@ -0,0 +1,36 @@
1
+ # Licensed to the Apache Software Foundation (ASF) under one
2
+ # or more contributor license agreements. See the NOTICE file
3
+ # distributed with this work for additional information
4
+ # regarding copyright ownership. The ASF licenses this file
5
+ # to you under the Apache License, Version 2.0 (the
6
+ # "License"); you may not use this file except in compliance
7
+ # with the License. You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
18
+ module Helper
19
+ module Omittable
20
+ def require_gi_bindings(major, minor, micro)
21
+ return if GLib.check_binding_version?(major, minor, micro)
22
+ message =
23
+ "Require gobject-introspection #{major}.#{minor}.#{micro} or later: " +
24
+ GLib::BINDING_VERSION.join(".")
25
+ omit(message)
26
+ end
27
+
28
+ def require_gi(major, minor, micro)
29
+ return if GObjectIntrospection::Version.or_later?(major, minor, micro)
30
+ message =
31
+ "Require GObject Introspection #{major}.#{minor}.#{micro} or later: " +
32
+ GObjectIntrospection::Version::STRING
33
+ omit(message)
34
+ end
35
+ end
36
+ end
@@ -16,8 +16,11 @@
16
16
  # under the License.
17
17
 
18
18
  class TestPlasmaClient < Test::Unit::TestCase
19
+ include Helper::Omittable
20
+
19
21
  def setup
20
22
  @store = nil
23
+ require_gi_bindings(3, 3, 9)
21
24
  @store = Helper::PlasmaStore.new
22
25
  @store.start
23
26
  @id = Plasma::ObjectID.new("Hello")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: red-plasma
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Apache Arrow Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-05 00:00:00.000000000 Z
11
+ date: 2019-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: red-arrow
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.15.0
19
+ version: 0.15.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.15.0
26
+ version: 0.15.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -86,6 +86,7 @@ files:
86
86
  - lib/plasma/version.rb
87
87
  - red-plasma.gemspec
88
88
  - test/helper.rb
89
+ - test/helper/omittable.rb
89
90
  - test/helper/plasma-store.rb
90
91
  - test/run-test.rb
91
92
  - test/test-plasma-client.rb
@@ -108,13 +109,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
109
  - !ruby/object:Gem::Version
109
110
  version: '0'
110
111
  requirements: []
111
- rubyforge_project:
112
- rubygems_version: 2.7.6.2
112
+ rubygems_version: 3.0.6
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: Red Plasma is the Ruby bindings of Plasma
116
116
  test_files:
117
- - test/helper.rb
118
117
  - test/run-test.rb
118
+ - test/helper.rb
119
119
  - test/test-plasma-client.rb
120
120
  - test/helper/plasma-store.rb
121
+ - test/helper/omittable.rb