helix_runtime 0.7.2 → 0.7.3

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: 6f726c89228d301070eb6d84a84fdb8fc01e77cf
4
- data.tar.gz: b68090b5aa57198f7b8815b15e6584552b63ec37
2
+ SHA256:
3
+ metadata.gz: 49635395fffd63077de177bc86ddad31b5e627b4ce8d381898c492b79b2b4855
4
+ data.tar.gz: 95ec4c9caba08fa6f77aef0dd69b76d12e1d66fbc610221ebae4c7619e7bf8fb
5
5
  SHA512:
6
- metadata.gz: 654445ad9511fded65d989c1401f23a2e669957e4ca52f704a5a392b0963e32d8d9073cf7ce69746a7ffb336a043916249814ccebec9d62d347b375ce9e41d58
7
- data.tar.gz: f6a923afb85000cfddf5a61ad982dc478fa9fb8f15dcb56d08ce92fe9d05281b42278738ce404aac2c2b37190868b284fb82d85d2e04e5e28bb38c8f41d6c217
6
+ metadata.gz: 357a01487727328a334dcc39c2363fcf77210d8eaef798003abea2bc6a612d4f46bc0fdb7cd8071349f423e12568a535b5566a0c07c0b0eab12cccc3675a5d5d
7
+ data.tar.gz: 0ba143d588a7ad1bdba1175997eaf959615a4aa171f16723b6cd6741e7b2c8a3b0e555851902f4a6a6eef83f676217c915d764460a621072fc96842c6835604a
@@ -6,7 +6,7 @@
6
6
  #include <helix_runtime.h>
7
7
 
8
8
  // Update with version.rb
9
- const char* HELIX_RUNTIME_VERSION = "0.7.2";
9
+ const char* HELIX_RUNTIME_VERSION = "0.7.3";
10
10
 
11
11
  const char* HELIX_PRIsVALUE = PRIsVALUE;
12
12
  const char* HELIX_SPRINTF_TO_S = "%" PRIsVALUE;
@@ -44,6 +44,14 @@ bool HELIX_RB_TYPE_P(VALUE v, int type) {
44
44
  return RB_TYPE_P(v, type);
45
45
  }
46
46
 
47
+ bool HELIX_RB_NIL_P(VALUE v) {
48
+ return NIL_P(v);
49
+ }
50
+
51
+ bool HELIX_RTEST(VALUE v) {
52
+ return RTEST(v);
53
+ }
54
+
47
55
  VALUE HELIX_INT2FIX(int c_int) {
48
56
  return INT2FIX(c_int);
49
57
  }
@@ -100,6 +108,10 @@ VALUE HELIX_F642NUM(RUST_F64 num) {
100
108
  return DBL2NUM(num);
101
109
  }
102
110
 
111
+ bool HELIX_OBJ_FROZEN(VALUE obj) {
112
+ return OBJ_FROZEN(obj);
113
+ }
114
+
103
115
  void* HELIX_Data_Get_Struct_Value(VALUE obj) {
104
116
  void* data;
105
117
  Data_Get_Struct(obj, void*, data);
@@ -44,6 +44,8 @@ HELIX_EXTERN VALUE HELIX_I322NUM(RUST_I32);
44
44
  HELIX_EXTERN RUST_F64 HELIX_NUM2F64(VALUE);
45
45
  HELIX_EXTERN VALUE HELIX_F642NUM(RUST_F64);
46
46
 
47
+ HELIX_EXTERN bool HELIX_OBJ_FROZEN(VALUE obj);
48
+
47
49
  HELIX_EXTERN VALUE HELIX_Qtrue;
48
50
  HELIX_EXTERN VALUE HELIX_Qfalse;
49
51
  HELIX_EXTERN VALUE HELIX_Qnil;
@@ -58,7 +60,9 @@ HELIX_EXTERN const void* HELIX_RARRAY_CONST_PTR(VALUE array);
58
60
  HELIX_EXTERN long HELIX_RHASH_SIZE(VALUE hash);
59
61
 
60
62
  HELIX_EXTERN bool HELIX_RB_TYPE_P(VALUE v, int type);
63
+ HELIX_EXTERN bool HELIX_RB_NIL_P(VALUE v);
61
64
  HELIX_EXTERN int HELIX_TYPE(VALUE v);
65
+ HELIX_EXTERN bool HELIX_RTEST(VALUE v);
62
66
 
63
67
  HELIX_EXTERN VALUE HELIX_INT2FIX(int c_int);
64
68
  HELIX_EXTERN VALUE HELIX_FIX2INT(VALUE fix);
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.require_paths = ["lib"]
26
26
 
27
27
  spec.add_dependency "rake", ">= 10.0"
28
- spec.add_dependency "thor", "~> 0.19.4"
28
+ spec.add_dependency "thor", [">= 0.19.4", "< 2.0"]
29
29
  spec.add_dependency "tomlrb", "~> 1.2.4"
30
30
 
31
31
  spec.add_development_dependency "bundler", "~> 1.10"
@@ -1,5 +1,5 @@
1
1
  module HelixRuntime
2
2
  # Also update helix_runtime.c
3
- VERSION = "0.7.2"
3
+ VERSION = "0.7.3"
4
4
  GEM_VERSION = VERSION.gsub("-", ".")
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: helix_runtime
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yehuda Katz
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-10-10 00:00:00.000000000 Z
12
+ date: 2018-03-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -29,16 +29,22 @@ dependencies:
29
29
  name: thor
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - "~>"
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
34
  version: 0.19.4
35
+ - - "<"
36
+ - !ruby/object:Gem::Version
37
+ version: '2.0'
35
38
  type: :runtime
36
39
  prerelease: false
37
40
  version_requirements: !ruby/object:Gem::Requirement
38
41
  requirements:
39
- - - "~>"
42
+ - - ">="
40
43
  - !ruby/object:Gem::Version
41
44
  version: 0.19.4
45
+ - - "<"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.0'
42
48
  - !ruby/object:Gem::Dependency
43
49
  name: tomlrb
44
50
  requirement: !ruby/object:Gem::Requirement
@@ -154,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
160
  version: '0'
155
161
  requirements: []
156
162
  rubyforge_project:
157
- rubygems_version: 2.6.14
163
+ rubygems_version: 2.7.6
158
164
  signing_key:
159
165
  specification_version: 4
160
166
  summary: The Helix Runtime