rotoscope 0.3.0.pre.9 → 0.3.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
- SHA1:
3
- metadata.gz: e94beb16b103e7df4440155ea72094f7a403d161
4
- data.tar.gz: d2c78576678ec8e5636b1fd8ce332321ebea0056
2
+ SHA256:
3
+ metadata.gz: da519185af3cb3652183905a5005c9666a8479d97075ed258524c2dbae41a22f
4
+ data.tar.gz: 9afac7ae131260c434e77a2238b631f0674019a6f3abf71713a525f507a95890
5
5
  SHA512:
6
- metadata.gz: b8746ccffee20f1c3aaf829386eddb38ece5a8fdff47ee0fcc1ab68cbc4d967f6a1fe9afe210d52f19d2f5d8f6cad54e5c0204c291d3aba07d4f1bb49372c0cb
7
- data.tar.gz: '094aafae0ecfe01d130d23e36b66e169dbad0aea788d163403f2f7145db64153081671f9601ea5671ad558530c6e1329cc80963c3c32fcf7650cf3a8037a2999'
6
+ metadata.gz: bad9b2c953384b6dde92fc6cbef2a5975dd16a92e86f9b355f1ae3a6c1e5fa6715f0837a3812794fae7759bf1d7391f9adc36a515e7a1640cea913fda12e7b57
7
+ data.tar.gz: eac7f35d1d1b0346f047c87eebda7cf47d59ed5dff9bc4ab073601071eb17b9f6b107216812803fa9ba13d62805c548374f5c49cca60fb9ff5de656214ee06a9
@@ -0,0 +1,2 @@
1
+ enabled:
2
+ - cla
data/.gitignore CHANGED
@@ -5,3 +5,4 @@ lib/rotoscope/rotoscope.so
5
5
  *.gem
6
6
  .rubocop-*
7
7
  Gemfile.lock
8
+ .bundle
data/Rakefile CHANGED
@@ -19,7 +19,7 @@ Rake::ExtensionTask.new('rotoscope', GEMSPEC) do |ext|
19
19
  ext.lib_dir = 'lib/rotoscope'
20
20
  end
21
21
 
22
- task build: :compile
22
+ task(build: :compile)
23
23
 
24
24
  task install: [:build] do |_t|
25
25
  sh "gem build rotoscope.gemspec && gem install rotoscope-*.gem"
@@ -30,14 +30,14 @@ end
30
30
  # ==========================================================
31
31
 
32
32
  require 'rake/testtask'
33
- Rake::TestTask.new 'test' do |t|
33
+ Rake::TestTask.new('test') do |t|
34
34
  t.test_files = FileList['test/*_test.rb']
35
35
  end
36
- task test: :build
36
+ task(test: :build)
37
37
 
38
38
  task :rubocop do
39
39
  require 'rubocop/rake_task'
40
40
  RuboCop::RakeTask.new
41
41
  end
42
42
 
43
- task default: [:test, :rubocop]
43
+ task(default: [:test, :rubocop])
@@ -21,12 +21,14 @@ rs_callsite_t ruby_callsite(rb_trace_arg_t *trace_arg) {
21
21
  // frame.
22
22
  if (rb_profile_frames(0, 2, frames, lines) < 2) {
23
23
  return (rs_callsite_t){
24
- .filepath = empty_ruby_string, .lineno = 0,
24
+ .filepath = empty_ruby_string,
25
+ .lineno = 0,
25
26
  };
26
27
  }
27
28
 
28
29
  return (rs_callsite_t){
29
- .filepath = rb_profile_frame_path(frames[1]), .lineno = lines[1],
30
+ .filepath = rb_profile_frame_path(frames[1]),
31
+ .lineno = lines[1],
30
32
  };
31
33
  }
32
34
 
@@ -61,7 +61,9 @@ static rs_method_desc_t called_method_desc(rb_trace_arg_t *trace_arg) {
61
61
  SYM2ID(method_id) != id_initialize;
62
62
 
63
63
  return (rs_method_desc_t){
64
- .receiver = receiver, .id = method_id, .singleton_p = singleton_p,
64
+ .receiver = receiver,
65
+ .id = method_id,
66
+ .singleton_p = singleton_p,
65
67
  };
66
68
  }
67
69
 
@@ -3,7 +3,9 @@
3
3
  #include <stdbool.h>
4
4
  #include "method_desc.h"
5
5
 
6
- typedef struct { rs_method_desc_t method; } rs_stack_frame_t;
6
+ typedef struct {
7
+ rs_method_desc_t method;
8
+ } rs_stack_frame_t;
7
9
 
8
10
  typedef struct {
9
11
  int capacity;
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  class Rotoscope
3
- VERSION = "0.3.0.pre.9"
3
+ VERSION = "0.3.0"
4
4
  end
@@ -16,14 +16,14 @@ Gem::Specification.new do |s|
16
16
  s.summary = "Tracing Ruby"
17
17
  s.description = "High-performance logger of Ruby method invocations"
18
18
 
19
- s.files = `git ls-files -z`.split("\x0").reject do |f|
19
+ s.files = %x(git ls-files -z).split("\x0").reject do |f|
20
20
  f.match(%r{^(test)/})
21
21
  end
22
22
  s.required_ruby_version = ">= 2.2.0"
23
23
  s.extensions = %w(ext/rotoscope/extconf.rb)
24
24
 
25
- s.add_development_dependency 'rake-compiler', '~> 0.9'
26
- s.add_development_dependency 'mocha', '~> 0.14'
27
- s.add_development_dependency 'minitest', '~> 5.0'
28
- s.add_development_dependency 'rubocop', '~> 0.56'
25
+ s.add_development_dependency('rake-compiler', '~> 0.9')
26
+ s.add_development_dependency('mocha', '~> 0.14')
27
+ s.add_development_dependency('minitest', '~> 5.0')
28
+ s.add_development_dependency('rubocop', '~> 0.56')
29
29
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rotoscope
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0.pre.9
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jahfer Husain
@@ -76,6 +76,7 @@ extra_rdoc_files: []
76
76
  files:
77
77
  - ".clang-format"
78
78
  - ".github/PULL_REQUEST_TEMPLATE"
79
+ - ".github/probots.yml"
79
80
  - ".gitignore"
80
81
  - ".rubocop.yml"
81
82
  - ".ruby-version"
@@ -114,12 +115,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
114
115
  version: 2.2.0
115
116
  required_rubygems_version: !ruby/object:Gem::Requirement
116
117
  requirements:
117
- - - ">"
118
+ - - ">="
118
119
  - !ruby/object:Gem::Version
119
- version: 1.3.1
120
+ version: '0'
120
121
  requirements: []
121
122
  rubyforge_project:
122
- rubygems_version: 2.6.14
123
+ rubygems_version: 2.7.6
123
124
  signing_key:
124
125
  specification_version: 4
125
126
  summary: Tracing Ruby