digit_delim 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/VERSION +1 -1
- data/digit_delim.gemspec +23 -27
- data/test/test_digit_delim.rb +2 -2
- metadata +4 -5
- data/Gemfile.lock +0 -62
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c51d754ec57148df049690c2feb6a1b92b8e32060e615bc00f3104c32d71df0e
|
4
|
+
data.tar.gz: d16c5b56b82618fce3a016c9d852c08af8187a4fd24a936ed47f75cbccb742aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0af8d0a652a09cf6b7c04334e81528ed46e4e6f10c28a7eef9609119f59839b501a11f429f775c0b1d1be0dac1e716a9880acfd53cc64e05ed626d0d6603171
|
7
|
+
data.tar.gz: 9d13bd89793cc9d271feee1c710b8fe566c1d82b56c43d5caef3ba4eeaf4cc5b1b9ac1c8d65815dec5088ceb676efcbc170ac2f4fb7e7d07bc53604d9f2ec0d0
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.1
|
data/digit_delim.gemspec
CHANGED
@@ -2,25 +2,25 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: digit_delim 0.3.
|
5
|
+
# stub: digit_delim 0.3.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
|
-
s.name = "digit_delim"
|
9
|
-
s.version = "0.3.
|
8
|
+
s.name = "digit_delim".freeze
|
9
|
+
s.version = "0.3.1"
|
10
10
|
|
11
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
|
-
s.require_paths = ["lib"]
|
13
|
-
s.authors = ["YAMAMOTO, Masayuki"]
|
14
|
-
s.date = "
|
15
|
-
s.description = "methods of num-string formatter, converter which extends String class"
|
16
|
-
s.email = "martin.route66.blues+github@gmail.com"
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib".freeze]
|
13
|
+
s.authors = ["YAMAMOTO, Masayuki".freeze]
|
14
|
+
s.date = "2021-07-13"
|
15
|
+
s.description = "methods of num-string formatter, converter which extends String class".freeze
|
16
|
+
s.email = "martin.route66.blues+github@gmail.com".freeze
|
17
17
|
s.extra_rdoc_files = [
|
18
|
-
"LICENSE.txt"
|
18
|
+
"LICENSE.txt",
|
19
|
+
"ReadMe.md"
|
19
20
|
]
|
20
21
|
s.files = [
|
21
22
|
".document",
|
22
23
|
"Gemfile",
|
23
|
-
"Gemfile.lock",
|
24
24
|
"LICENSE.txt",
|
25
25
|
"Rakefile",
|
26
26
|
"ReadMe.md",
|
@@ -32,27 +32,23 @@ Gem::Specification.new do |s|
|
|
32
32
|
"test/test_digit_delim.rb",
|
33
33
|
"test/test_kannum.rb"
|
34
34
|
]
|
35
|
-
s.homepage = "http://github.com/mephistobooks/digit_delim"
|
36
|
-
s.licenses = ["MIT"]
|
37
|
-
s.rubygems_version = "2.
|
38
|
-
s.summary = "A little num-string formatter, converter."
|
35
|
+
s.homepage = "http://github.com/mephistobooks/digit_delim".freeze
|
36
|
+
s.licenses = ["MIT".freeze]
|
37
|
+
s.rubygems_version = "3.2.20".freeze
|
38
|
+
s.summary = "A little num-string formatter, converter.".freeze
|
39
39
|
|
40
40
|
if s.respond_to? :specification_version then
|
41
41
|
s.specification_version = 4
|
42
|
+
end
|
42
43
|
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
else
|
48
|
-
s.add_dependency(%q<bundler>, [">= 1.3.5"])
|
49
|
-
s.add_dependency(%q<jeweler>, [">= 1.8.4"])
|
50
|
-
s.add_dependency(%q<test-unit>, [">= 3.1.5"])
|
51
|
-
end
|
44
|
+
if s.respond_to? :add_runtime_dependency then
|
45
|
+
s.add_development_dependency(%q<bundler>.freeze, [">= 1.3.5"])
|
46
|
+
s.add_development_dependency(%q<jeweler>.freeze, [">= 1.8.4"])
|
47
|
+
s.add_development_dependency(%q<test-unit>.freeze, [">= 3.1.5"])
|
52
48
|
else
|
53
|
-
s.add_dependency(%q<bundler
|
54
|
-
s.add_dependency(%q<jeweler
|
55
|
-
s.add_dependency(%q<test-unit
|
49
|
+
s.add_dependency(%q<bundler>.freeze, [">= 1.3.5"])
|
50
|
+
s.add_dependency(%q<jeweler>.freeze, [">= 1.8.4"])
|
51
|
+
s.add_dependency(%q<test-unit>.freeze, [">= 3.1.5"])
|
56
52
|
end
|
57
53
|
end
|
58
54
|
|
data/test/test_digit_delim.rb
CHANGED
@@ -50,8 +50,8 @@ class TestDigitDelim < Test::Unit::TestCase
|
|
50
50
|
assert_equal( "-2,100", sprintf("%+d", -2_100).w_dm )
|
51
51
|
|
52
52
|
# with sign, in percentage (符号付き, パーセント表記)
|
53
|
-
assert_equal( "-10.10%", sprintf("%+.2f
|
54
|
-
assert_equal( "+10.10%", sprintf("%+.2f
|
53
|
+
assert_equal( "-10.10%", sprintf("%+.2f%%", -0.1010*100).w_dm )
|
54
|
+
assert_equal( "+10.10%", sprintf("%+.2f%%", +0.1010*100).w_dm )
|
55
55
|
|
56
56
|
end
|
57
57
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: digit_delim
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- YAMAMOTO, Masayuki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -58,10 +58,10 @@ executables: []
|
|
58
58
|
extensions: []
|
59
59
|
extra_rdoc_files:
|
60
60
|
- LICENSE.txt
|
61
|
+
- ReadMe.md
|
61
62
|
files:
|
62
63
|
- ".document"
|
63
64
|
- Gemfile
|
64
|
-
- Gemfile.lock
|
65
65
|
- LICENSE.txt
|
66
66
|
- Rakefile
|
67
67
|
- ReadMe.md
|
@@ -91,8 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
91
|
- !ruby/object:Gem::Version
|
92
92
|
version: '0'
|
93
93
|
requirements: []
|
94
|
-
|
95
|
-
rubygems_version: 2.5.1
|
94
|
+
rubygems_version: 3.2.20
|
96
95
|
signing_key:
|
97
96
|
specification_version: 4
|
98
97
|
summary: A little num-string formatter, converter.
|
data/Gemfile.lock
DELETED
@@ -1,62 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
addressable (2.4.0)
|
5
|
-
builder (3.2.2)
|
6
|
-
descendants_tracker (0.0.4)
|
7
|
-
thread_safe (~> 0.3, >= 0.3.1)
|
8
|
-
faraday (0.8.8)
|
9
|
-
multipart-post (~> 1.2.0)
|
10
|
-
git (1.2.5)
|
11
|
-
github_api (0.14.4)
|
12
|
-
addressable (~> 2.4.0)
|
13
|
-
descendants_tracker (~> 0.0.4)
|
14
|
-
faraday (~> 0.8, < 0.10)
|
15
|
-
hashie (>= 3.4)
|
16
|
-
oauth2 (~> 1.0.0)
|
17
|
-
hashie (3.4.4)
|
18
|
-
highline (1.6.19)
|
19
|
-
jeweler (2.1.1)
|
20
|
-
builder
|
21
|
-
bundler (>= 1.0)
|
22
|
-
git (>= 1.2.5)
|
23
|
-
github_api
|
24
|
-
highline (>= 1.6.15)
|
25
|
-
nokogiri (>= 1.5.10)
|
26
|
-
rake
|
27
|
-
rdoc
|
28
|
-
semver
|
29
|
-
jwt (1.5.4)
|
30
|
-
mini_portile2 (2.1.0)
|
31
|
-
multi_json (1.7.7)
|
32
|
-
multi_xml (0.5.4)
|
33
|
-
multipart-post (1.2.0)
|
34
|
-
nokogiri (1.6.8)
|
35
|
-
mini_portile2 (~> 2.1.0)
|
36
|
-
pkg-config (~> 1.1.7)
|
37
|
-
oauth2 (1.0.0)
|
38
|
-
faraday (>= 0.8, < 0.10)
|
39
|
-
jwt (~> 1.0)
|
40
|
-
multi_json (~> 1.3)
|
41
|
-
multi_xml (~> 0.5)
|
42
|
-
rack (~> 1.2)
|
43
|
-
pkg-config (1.1.7)
|
44
|
-
power_assert (0.2.6)
|
45
|
-
rack (1.5.2)
|
46
|
-
rake (11.2.2)
|
47
|
-
rdoc (4.2.1)
|
48
|
-
semver (1.0.1)
|
49
|
-
test-unit (3.1.5)
|
50
|
-
power_assert
|
51
|
-
thread_safe (0.3.5)
|
52
|
-
|
53
|
-
PLATFORMS
|
54
|
-
ruby
|
55
|
-
|
56
|
-
DEPENDENCIES
|
57
|
-
bundler (>= 1.3.5)
|
58
|
-
jeweler (>= 1.8.4)
|
59
|
-
test-unit (>= 3.1.5)
|
60
|
-
|
61
|
-
BUNDLED WITH
|
62
|
-
1.12.5
|