bin_utils 0.0.4-java → 0.0.6-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: ff17bd74aa04487f299f47a04fca4dda3698896f
4
+ data.tar.gz: 53d4527142ac7740fe8ba0767ecf8d05027b1b80
5
+ SHA512:
6
+ metadata.gz: bcb9deae386439eb9f327ccd257673180884fd469caab7ef15ea8d984d9ee67c9f3d1ee9a37b9063be26b90571f9f2615c107359c310df6974f6dbb29cae47d4
7
+ data.tar.gz: bb512bb9111cc809abafd71a7dbece58e0892bdec29064bac8f645aae448f5885f9154676b37c7addda535b4cc6c10f913ca9f0b306e71124c5b801d593974e8
Binary file
data/lib/bin_utils.rb CHANGED
@@ -8,10 +8,12 @@ module BinUtils
8
8
  require 'bin_utils/bin_utils'
9
9
  end
10
10
  extend ::BinUtils::Native
11
+ include ::BinUtils::Native
11
12
  rescue LoadError
12
13
  raise
13
14
  require 'bin_utils/pure_ruby'
14
- extend PureRuby
15
+ extend ::BinUtils::PureRuby
16
+ include ::BinUtils::PureRuby
15
17
  if RUBY_ENGINE == 'ruby' || RUBY_ENGINE == 'jruby'
16
18
  $stderr.puts "Attention: pure ruby version of BinUtils is used"
17
19
  end
@@ -1,3 +1,3 @@
1
1
  module BinUtils
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,32 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bin_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
5
- prerelease:
4
+ version: 0.0.6
6
5
  platform: java
7
6
  authors:
8
7
  - Sokolov Yura 'funny-falcon'
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-02-06 00:00:00.000000000 Z
11
+ date: 2014-12-24 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rake-compiler
16
15
  version_requirements: !ruby/object:Gem::Requirement
17
16
  requirements:
18
- - - ">="
17
+ - - ~>
19
18
  - !ruby/object:Gem::Version
20
- version: !binary |-
21
- MA==
22
- none: false
19
+ version: '0.9'
23
20
  requirement: !ruby/object:Gem::Requirement
24
21
  requirements:
25
- - - ">="
22
+ - - ~>
26
23
  - !ruby/object:Gem::Version
27
- version: !binary |-
28
- MA==
29
- none: false
24
+ version: '0.9'
30
25
  prerelease: false
31
26
  type: :development
32
27
  description: utils for extracting binary integers from binary string and packing them back
@@ -44,6 +39,7 @@ files:
44
39
  - ext/bin_utils/bin_utils.jar
45
40
  homepage: https://github.com/funny-falcon/bin_utils
46
41
  licenses: []
42
+ metadata: {}
47
43
  post_install_message:
48
44
  rdoc_options: []
49
45
  require_paths:
@@ -51,22 +47,19 @@ require_paths:
51
47
  - ext
52
48
  required_ruby_version: !ruby/object:Gem::Requirement
53
49
  requirements:
54
- - - ">="
50
+ - - '>='
55
51
  - !ruby/object:Gem::Version
56
52
  version: 1.9.1
57
- none: false
58
53
  required_rubygems_version: !ruby/object:Gem::Requirement
59
54
  requirements:
60
- - - ">="
55
+ - - '>='
61
56
  - !ruby/object:Gem::Version
62
- version: !binary |-
63
- MA==
64
- none: false
57
+ version: '0'
65
58
  requirements: []
66
59
  rubyforge_project:
67
- rubygems_version: 1.8.24
60
+ rubygems_version: 2.1.9
68
61
  signing_key:
69
- specification_version: 3
62
+ specification_version: 4
70
63
  summary: Faster alternative to String#unpack and Array#unpack, though not as complete as those methods
71
64
  test_files:
72
65
  - test/benchmark.rb