hitokage 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +20 -0
  3. data/.travis.yml +4 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE.txt +21 -0
  6. data/README.md +89 -0
  7. data/Rakefile +19 -0
  8. data/bin/console +14 -0
  9. data/bin/setup +8 -0
  10. data/ext/hitokage_ext/double-conversion/AUTHORS +14 -0
  11. data/ext/hitokage_ext/double-conversion/COPYING +26 -0
  12. data/ext/hitokage_ext/double-conversion/LICENSE +26 -0
  13. data/ext/hitokage_ext/double-conversion/README +54 -0
  14. data/ext/hitokage_ext/double-conversion/bignum-dtoa.cc +641 -0
  15. data/ext/hitokage_ext/double-conversion/bignum-dtoa.h +84 -0
  16. data/ext/hitokage_ext/double-conversion/bignum.cc +766 -0
  17. data/ext/hitokage_ext/double-conversion/bignum.h +144 -0
  18. data/ext/hitokage_ext/double-conversion/cached-powers.cc +175 -0
  19. data/ext/hitokage_ext/double-conversion/cached-powers.h +64 -0
  20. data/ext/hitokage_ext/double-conversion/diy-fp.cc +57 -0
  21. data/ext/hitokage_ext/double-conversion/diy-fp.h +118 -0
  22. data/ext/hitokage_ext/double-conversion/double-conversion.cc +982 -0
  23. data/ext/hitokage_ext/double-conversion/double-conversion.h +543 -0
  24. data/ext/hitokage_ext/double-conversion/fast-dtoa.cc +665 -0
  25. data/ext/hitokage_ext/double-conversion/fast-dtoa.h +88 -0
  26. data/ext/hitokage_ext/double-conversion/fixed-dtoa.cc +404 -0
  27. data/ext/hitokage_ext/double-conversion/fixed-dtoa.h +56 -0
  28. data/ext/hitokage_ext/double-conversion/ieee.h +402 -0
  29. data/ext/hitokage_ext/double-conversion/strtod.cc +555 -0
  30. data/ext/hitokage_ext/double-conversion/strtod.h +45 -0
  31. data/ext/hitokage_ext/double-conversion/utils.h +341 -0
  32. data/ext/hitokage_ext/extconf.rb +10 -0
  33. data/ext/hitokage_ext/hitokage_ext.cc +26 -0
  34. data/hitokage.gemspec +26 -0
  35. data/lib/hitokage.rb +5 -0
  36. data/lib/hitokage/replace_float_to_s.rb +6 -0
  37. data/lib/hitokage/version.rb +3 -0
  38. metadata +136 -0
@@ -0,0 +1,5 @@
1
+ require "hitokage/version"
2
+ require "hitokage/hitokage_ext"
3
+
4
+ module Hitokage
5
+ end
@@ -0,0 +1,6 @@
1
+ require "hitokage"
2
+
3
+ class Float
4
+ alias_method :original_to_s, :to_s
5
+ alias_method :to_s, :hitokage_to_s
6
+ end
@@ -0,0 +1,3 @@
1
+ module Hitokage
2
+ VERSION = "1.0.0"
3
+ end
metadata ADDED
@@ -0,0 +1,136 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hitokage
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Soutaro Matsumoto
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-04-26 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.11'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.11'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '5.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '5.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake-compiler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.9.7
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.9.7
69
+ description: Yet another float to string conversion
70
+ email:
71
+ - matsumoto@soutaro.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - ".gitignore"
77
+ - ".travis.yml"
78
+ - Gemfile
79
+ - LICENSE.txt
80
+ - README.md
81
+ - Rakefile
82
+ - bin/console
83
+ - bin/setup
84
+ - ext/hitokage_ext/double-conversion/AUTHORS
85
+ - ext/hitokage_ext/double-conversion/COPYING
86
+ - ext/hitokage_ext/double-conversion/LICENSE
87
+ - ext/hitokage_ext/double-conversion/README
88
+ - ext/hitokage_ext/double-conversion/bignum-dtoa.cc
89
+ - ext/hitokage_ext/double-conversion/bignum-dtoa.h
90
+ - ext/hitokage_ext/double-conversion/bignum.cc
91
+ - ext/hitokage_ext/double-conversion/bignum.h
92
+ - ext/hitokage_ext/double-conversion/cached-powers.cc
93
+ - ext/hitokage_ext/double-conversion/cached-powers.h
94
+ - ext/hitokage_ext/double-conversion/diy-fp.cc
95
+ - ext/hitokage_ext/double-conversion/diy-fp.h
96
+ - ext/hitokage_ext/double-conversion/double-conversion.cc
97
+ - ext/hitokage_ext/double-conversion/double-conversion.h
98
+ - ext/hitokage_ext/double-conversion/fast-dtoa.cc
99
+ - ext/hitokage_ext/double-conversion/fast-dtoa.h
100
+ - ext/hitokage_ext/double-conversion/fixed-dtoa.cc
101
+ - ext/hitokage_ext/double-conversion/fixed-dtoa.h
102
+ - ext/hitokage_ext/double-conversion/ieee.h
103
+ - ext/hitokage_ext/double-conversion/strtod.cc
104
+ - ext/hitokage_ext/double-conversion/strtod.h
105
+ - ext/hitokage_ext/double-conversion/utils.h
106
+ - ext/hitokage_ext/extconf.rb
107
+ - ext/hitokage_ext/hitokage_ext.cc
108
+ - hitokage.gemspec
109
+ - lib/hitokage.rb
110
+ - lib/hitokage/replace_float_to_s.rb
111
+ - lib/hitokage/version.rb
112
+ homepage: https://github.com/soutaro/hitokage
113
+ licenses:
114
+ - MIT
115
+ metadata: {}
116
+ post_install_message:
117
+ rdoc_options: []
118
+ require_paths:
119
+ - lib
120
+ required_ruby_version: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ required_rubygems_version: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
130
+ requirements: []
131
+ rubyforge_project:
132
+ rubygems_version: 2.5.1
133
+ signing_key:
134
+ specification_version: 4
135
+ summary: Yet another float to string conversion, a bit faster than Float#to_s
136
+ test_files: []