bel 0.3.2-x86-mingw32 → 0.3.3-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +39 -0
  3. data/README.md +1 -1
  4. data/bel.gemspec +4 -4
  5. data/ext/mri/extconf.rb +20 -6
  6. data/lib/bel.rb +4 -3
  7. data/lib/bel/libbel.rb +141 -177
  8. data/lib/bel/libbel/bel_ast_structs.rb +150 -148
  9. data/lib/bel/libbel/bel_token.rb +29 -27
  10. data/lib/bel/libbel/bel_token_list.rb +28 -26
  11. data/lib/bel/{2.0 → libbel/ext/2.0}/libbel.so +0 -0
  12. data/lib/bel/libbel/ext/2.1/libbel.so +0 -0
  13. data/lib/bel/{2.2 → libbel/ext/2.2}/libbel.so +0 -0
  14. data/lib/bel/libbel/ext/java/darwin/x86_64/libbel.bundle +0 -0
  15. data/lib/bel/libbel/ext/java/linux/x86_64/libbel.so +0 -0
  16. data/lib/bel/libbel/ext/java/mswin/i686/2.0/libbel.so +0 -0
  17. data/lib/bel/{2.1 → libbel/ext/java/mswin/i686/2.1}/libbel.so +0 -0
  18. data/lib/bel/libbel/ext/java/mswin/i686/2.2/libbel.so +0 -0
  19. data/lib/bel/libbel/ext/java/mswin/x86_64/2.0/libbel.so +0 -0
  20. data/lib/bel/libbel/ext/java/mswin/x86_64/2.1/libbel.so +0 -0
  21. data/lib/bel/libbel/ext/java/mswin/x86_64/2.2/libbel.so +0 -0
  22. data/lib/bel/libbel/ext/mingw/i686/2.0/libbel.so +0 -0
  23. data/lib/bel/libbel/ext/mingw/i686/2.1/libbel.so +0 -0
  24. data/lib/bel/libbel/ext/mingw/i686/2.2/libbel.so +0 -0
  25. data/lib/bel/libbel/ext/mingw/x86_64/2.0/libbel.so +0 -0
  26. data/lib/bel/libbel/ext/mingw/x86_64/2.1/libbel.so +0 -0
  27. data/lib/bel/libbel/ext/mingw/x86_64/2.2/libbel.so +0 -0
  28. data/lib/bel/libbel/library_load_error.rb +30 -0
  29. data/lib/bel/libbel/library_resolver.rb +103 -0
  30. data/lib/bel/libbel/node_test.rb +29 -27
  31. data/lib/bel/libbel/node_transformation.rb +24 -22
  32. data/lib/bel/libbel/node_traversal.rb +79 -77
  33. data/lib/bel/libbel/platform_support_error.rb +23 -0
  34. data/lib/bel/version.rb +1 -1
  35. metadata +23 -33
@@ -0,0 +1,23 @@
1
+ module BEL
2
+ module LibBEL
3
+
4
+ class PlatformSupportError < StandardError
5
+
6
+ ERROR_MSG = %Q{
7
+ The C extension library is not supported for your platform.
8
+
9
+ Host information:
10
+
11
+ RUBY_PLATFORM: #{RUBY_PLATFORM},
12
+ RUBY_ENGINE: #{RUBY_ENGINE},
13
+ RUBY_VERSION: #{RUBY_VERSION},
14
+ RbConfig::CONFIG['host_os']: #{RbConfig::CONFIG['host_os']},
15
+ RbConfig::CONFIG['host_cpu']: #{RbConfig::CONFIG['host_cpu']},
16
+ }.gsub(/^\s+/, '')
17
+
18
+ def initialize
19
+ super(ERROR_MSG)
20
+ end
21
+ end
22
+ end
23
+ end
@@ -1,3 +1,3 @@
1
1
  module BEL
2
- VERSION = '0.3.2'
2
+ VERSION = '0.3.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Anthony Bargnesi
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2015-07-31 00:00:00.000000000 Z
14
+ date: 2015-08-07 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: ffi
@@ -83,20 +83,6 @@ dependencies:
83
83
  - - ~>
84
84
  - !ruby/object:Gem::Version
85
85
  version: '2.3'
86
- - !ruby/object:Gem::Dependency
87
- name: byebug
88
- requirement: !ruby/object:Gem::Requirement
89
- requirements:
90
- - - ~>
91
- - !ruby/object:Gem::Version
92
- version: '5.0'
93
- type: :development
94
- prerelease: false
95
- version_requirements: !ruby/object:Gem::Requirement
96
- requirements:
97
- - - ~>
98
- - !ruby/object:Gem::Version
99
- version: '5.0'
100
86
  - !ruby/object:Gem::Dependency
101
87
  name: minitest
102
88
  requirement: !ruby/object:Gem::Requirement
@@ -111,20 +97,6 @@ dependencies:
111
97
  - - ~>
112
98
  - !ruby/object:Gem::Version
113
99
  version: '5.7'
114
- - !ruby/object:Gem::Dependency
115
- name: pry-byebug
116
- requirement: !ruby/object:Gem::Requirement
117
- requirements:
118
- - - ~>
119
- - !ruby/object:Gem::Version
120
- version: '3.2'
121
- type: :development
122
- prerelease: false
123
- version_requirements: !ruby/object:Gem::Requirement
124
- requirements:
125
- - - ~>
126
- - !ruby/object:Gem::Version
127
- version: '3.2'
128
100
  - !ruby/object:Gem::Dependency
129
101
  name: rake
130
102
  requirement: !ruby/object:Gem::Requirement
@@ -239,11 +211,14 @@ files:
239
211
  - lib/bel/extensions/json/oj.rb
240
212
  - lib/bel/extensions/xbel.rb
241
213
  - lib/bel/extension.rb
214
+ - lib/bel/libbel/platform_support_error.rb
242
215
  - lib/bel/libbel/node_traversal.rb
243
216
  - lib/bel/libbel/node_transformation.rb
244
217
  - lib/bel/libbel/bel_token_list.rb
245
218
  - lib/bel/libbel/bel_token.rb
246
219
  - lib/bel/libbel/node_test.rb
220
+ - lib/bel/libbel/library_load_error.rb
221
+ - lib/bel/libbel/library_resolver.rb
247
222
  - lib/bel/libbel/bel_ast_structs.rb
248
223
  - lib/bel/libbel/bel_token_iterator.rb
249
224
  - lib/bel/completion_rule.rb
@@ -269,7 +244,22 @@ files:
269
244
  - ext/mri/bel-token.h
270
245
  - ext/mri/bel-ast.h
271
246
  - ext/mri/libbel.def
247
+ - lib/bel/libbel/ext/java/linux/x86_64/libbel.so
248
+ - lib/bel/libbel/ext/java/mswin/i686/2.1/libbel.so
249
+ - lib/bel/libbel/ext/java/mswin/i686/2.0/libbel.so
250
+ - lib/bel/libbel/ext/java/mswin/i686/2.2/libbel.so
251
+ - lib/bel/libbel/ext/java/mswin/x86_64/2.1/libbel.so
252
+ - lib/bel/libbel/ext/java/mswin/x86_64/2.0/libbel.so
253
+ - lib/bel/libbel/ext/java/mswin/x86_64/2.2/libbel.so
254
+ - lib/bel/libbel/ext/java/darwin/x86_64/libbel.bundle
255
+ - lib/bel/libbel/ext/mingw/i686/2.1/libbel.so
256
+ - lib/bel/libbel/ext/mingw/i686/2.0/libbel.so
257
+ - lib/bel/libbel/ext/mingw/i686/2.2/libbel.so
258
+ - lib/bel/libbel/ext/mingw/x86_64/2.1/libbel.so
259
+ - lib/bel/libbel/ext/mingw/x86_64/2.0/libbel.so
260
+ - lib/bel/libbel/ext/mingw/x86_64/2.2/libbel.so
272
261
  - bel.gemspec
262
+ - CHANGELOG.md
273
263
  - LICENSE
274
264
  - INSTALL.md
275
265
  - INSTALL_RUBY.md
@@ -282,9 +272,9 @@ files:
282
272
  - bin/bel_compare.rb
283
273
  - bin/bel_rdfschema.rb
284
274
  - ext/mri/extconf.rb
285
- - lib/bel/2.0/libbel.so
286
- - lib/bel/2.1/libbel.so
287
- - lib/bel/2.2/libbel.so
275
+ - lib/bel/libbel/ext/2.0/libbel.so
276
+ - lib/bel/libbel/ext/2.1/libbel.so
277
+ - lib/bel/libbel/ext/2.2/libbel.so
288
278
  homepage: https://github.com/OpenBEL/bel.rb
289
279
  licenses:
290
280
  - Apache-2.0