gir_ffi-tracker 0.14.0 → 0.15.0

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: 6d89c5c55b154d5c1fceb57d808ce1a5b3b9d2fbc4a647e8fdf11c289315a5df
4
- data.tar.gz: 7bca7230d86caf849f87e91dc0cace2813376cc8f064a2b07fdb690d6b34554b
3
+ metadata.gz: 5d65518d080e177346105bf9c2f5d547cd5d00a57c528d5c621981fded3f46d7
4
+ data.tar.gz: 189bc840bf3e6a5a1bb216359b9e3fedb550505df173edffee3e71c3b18cd1ff
5
5
  SHA512:
6
- metadata.gz: 673615da50a4ca1f9b480deddfc5b06c235acb21967164bf31e53c1abadb0a4d084b3e2cd0779e8c7539a3c10b09cd72609484c1b1c9acbc86fa4c446fd1436f
7
- data.tar.gz: 23dab3910539e8d43c860334ead3ef35bca4dcfc835030e30390460edbeff1287f73e34b8ac8c023a84c3918c46756974522b8cf4cb69ab149e07449a0c9b8d4
6
+ metadata.gz: 5f6ed0dce57c5372a1209b026d7a57a52f8921a1626171396b088ee0cc04430f0baf0c16a22cb7356a33c122cfe5a9b6d86ba3429049296a1bbe951d5bcfa33e
7
+ data.tar.gz: bdcf0044eb4b131ec0194372e63864b6eace4b79fda588c01d82fd880008b34e917ea88938cba2d101599b29e2a6018a0bbbfaee51c2ba79a212a25d04958c03
@@ -1,3 +1,10 @@
1
+ # Change log
2
+
3
+ ## 0.15.0 / 2019-10-19
4
+
5
+ * Depend on GirFFI 0.15.0
6
+ * Target Ruby 2.4+
7
+
1
8
  ## 0.14.0 / 2018-09-27
2
9
 
3
10
  * Depend on GirFFI 0.14.0
data/Rakefile CHANGED
@@ -1,7 +1,9 @@
1
- require 'rake/clean'
2
- require 'bundler/gem_tasks'
1
+ # frozen_string_literal: true
3
2
 
4
- import 'tasks/test.rake'
5
- import 'tasks/yardoc.rake'
3
+ require "rake/clean"
4
+ require "bundler/gem_tasks"
5
+
6
+ import "tasks/test.rake"
7
+ import "tasks/yardoc.rake"
6
8
 
7
9
  task default: :test
@@ -1 +1,3 @@
1
- require 'gir_ffi-tracker'
1
+ # frozen_string_literal: true
2
+
3
+ require "gir_ffi-tracker"
@@ -1,4 +1,6 @@
1
- require 'gir_ffi'
1
+ # frozen_string_literal: true
2
+
3
+ require "gir_ffi"
2
4
 
3
5
  GirFFI.setup :Tracker
4
6
 
@@ -7,7 +9,7 @@ Tracker.load_class :SparqlCursor
7
9
  module Tracker
8
10
  # Overrides for Tracker::SparqlCursor
9
11
  class SparqlCursor
10
- setup_instance_method! 'get_string'
12
+ setup_instance_method! "get_string"
11
13
 
12
14
  def get_string_with_hidden_length(column)
13
15
  result, = *get_string_without_hidden_length(column)
@@ -1,20 +1,22 @@
1
- require 'rake/testtask'
1
+ # frozen_string_literal: true
2
+
3
+ require "rake/testtask"
2
4
 
3
5
  namespace :test do
4
- desc 'run unit tests'
6
+ desc "run unit tests"
5
7
  Rake::TestTask.new(:unit) do |t|
6
- t.libs = ['lib']
7
- t.test_files = FileList['test/unit/*_test.rb']
8
- t.ruby_opts += ['-w']
8
+ t.libs = ["lib"]
9
+ t.test_files = FileList["test/unit/*_test.rb"]
10
+ t.ruby_opts += ["-w"]
9
11
  end
10
12
 
11
- desc 'run integration tests'
13
+ desc "run integration tests"
12
14
  Rake::TestTask.new(:integration) do |t|
13
- t.libs = ['lib']
14
- t.test_files = FileList['test/integration/*_test.rb']
15
- t.ruby_opts += ['-w']
15
+ t.libs = ["lib"]
16
+ t.test_files = FileList["test/integration/*_test.rb"]
17
+ t.ruby_opts += ["-w"]
16
18
  end
17
19
  end
18
20
 
19
- desc 'run unit and integration tests'
20
- task test: ['test:unit', 'test:integration']
21
+ desc "run unit and integration tests"
22
+ task test: ["test:unit", "test:integration"]
@@ -1,6 +1,8 @@
1
- require 'yard'
1
+ # frozen_string_literal: true
2
+
3
+ require "yard"
2
4
 
3
5
  YARD::Rake::YardocTask.new do |t|
4
- t.files = ['lib/**/*.rb']
5
- t.options = ['--private', '--protected', '--readme', 'README.md']
6
+ t.files = ["lib/**/*.rb"]
7
+ t.options = ["--private", "--protected", "--readme", "README.md"]
6
8
  end
@@ -1,8 +1,10 @@
1
- require File.expand_path('../test_helper.rb', File.dirname(__FILE__))
1
+ # frozen_string_literal: true
2
2
 
3
- describe 'Upon load' do
4
- describe 'the Tracker module' do
5
- it 'should exist' do
3
+ require File.expand_path("../test_helper.rb", File.dirname(__FILE__))
4
+
5
+ describe "Upon load" do
6
+ describe "the Tracker module" do
7
+ it "should exist" do
6
8
  Tracker
7
9
  end
8
10
  end
@@ -1,5 +1,7 @@
1
- require 'minitest/autorun'
1
+ # frozen_string_literal: true
2
2
 
3
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
3
+ require "minitest/autorun"
4
4
 
5
- require 'gir_ffi-tracker'
5
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
6
+
7
+ require "gir_ffi-tracker"
@@ -1,7 +1,9 @@
1
- require File.expand_path('../test_helper.rb', File.dirname(__FILE__))
1
+ # frozen_string_literal: true
2
+
3
+ require File.expand_path("../test_helper.rb", File.dirname(__FILE__))
2
4
 
3
5
  describe Tracker::SparqlCursor do
4
- describe '#get_string' do
6
+ describe "#get_string" do
5
7
  before do
6
8
  conn = Tracker::SparqlConnection.get
7
9
  @cursor = conn.query "SELECT 'Foo' { }", nil
@@ -9,13 +11,13 @@ describe Tracker::SparqlCursor do
9
11
  @cursor.next nil
10
12
  end
11
13
 
12
- it 'returns just the string value' do
13
- @cursor.get_string(0).must_equal 'Foo'
14
+ it "returns just the string value" do
15
+ _(@cursor.get_string(0)).must_equal "Foo"
14
16
  end
15
17
 
16
- it 'can safely be called twice' do
18
+ it "can safely be called twice" do
17
19
  @cursor.get_string(0)
18
- @cursor.get_string(0).must_equal 'Foo'
20
+ _(@cursor.get_string(0)).must_equal "Foo"
19
21
  end
20
22
  end
21
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gir_ffi-tracker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matijs van Zuijlen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-27 00:00:00.000000000 Z
11
+ date: 2019-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gir_ffi
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
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.14.0
26
+ version: 0.15.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: minitest
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '5.0'
33
+ version: '5.12'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '5.0'
40
+ version: '5.12'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '12.0'
47
+ version: '13.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '12.0'
54
+ version: '13.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: yard
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -99,15 +99,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - ">="
101
101
  - !ruby/object:Gem::Version
102
- version: 2.2.0
102
+ version: 2.4.0
103
103
  required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  requirements:
105
105
  - - ">="
106
106
  - !ruby/object:Gem::Version
107
107
  version: '0'
108
108
  requirements: []
109
- rubyforge_project:
110
- rubygems_version: 2.7.6
109
+ rubygems_version: 3.0.6
111
110
  signing_key:
112
111
  specification_version: 4
113
112
  summary: GirFFI-based binding to Tracker