bin_utils 0.0.4 → 0.0.5

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.
@@ -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.5"
3
3
  end
metadata CHANGED
@@ -1,32 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bin_utils
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.0.4
4
+ version: 0.0.5
6
5
  platform: ruby
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-10-28 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  prerelease: false
16
15
  requirement: !ruby/object:Gem::Requirement
17
16
  requirements:
18
- - - ! '>='
17
+ - - ~>
19
18
  - !ruby/object:Gem::Version
20
- version: '0'
21
- none: false
19
+ version: '0.9'
20
+ type: :development
21
+ name: rake-compiler
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
27
- none: false
28
- type: :development
29
- name: rake-compiler
26
+ version: '0.9'
30
27
  description: utils for extracting binary integers from binary string and packing them
31
28
  back
32
29
  email:
@@ -36,15 +33,16 @@ extensions:
36
33
  - ext/bin_utils/extconf.rb
37
34
  extra_rdoc_files: []
38
35
  files:
36
+ - ext/bin_utils/extconf.rb
37
+ - ext/bin_utils/native.c
39
38
  - lib/bin_utils.rb
40
39
  - lib/bin_utils/pure_ruby.rb
41
40
  - lib/bin_utils/version.rb
42
41
  - test/benchmark.rb
43
42
  - test/test_bin_utils.rb
44
- - ext/bin_utils/extconf.rb
45
- - ext/bin_utils/native.c
46
43
  homepage: https://github.com/funny-falcon/bin_utils
47
44
  licenses: []
45
+ metadata: {}
48
46
  post_install_message:
49
47
  rdoc_options: []
50
48
  require_paths:
@@ -55,18 +53,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
55
53
  - - ! '>='
56
54
  - !ruby/object:Gem::Version
57
55
  version: 1.9.1
58
- none: false
59
56
  required_rubygems_version: !ruby/object:Gem::Requirement
60
57
  requirements:
61
58
  - - ! '>='
62
59
  - !ruby/object:Gem::Version
63
60
  version: '0'
64
- none: false
65
61
  requirements: []
66
62
  rubyforge_project:
67
- rubygems_version: 1.8.24
63
+ rubygems_version: 2.4.2
68
64
  signing_key:
69
- specification_version: 3
65
+ specification_version: 4
70
66
  summary: Faster alternative to String#unpack and Array#unpack, though not as complete
71
67
  as those methods
72
68
  test_files: