typelib 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +1 -6
- data/VERSION +1 -1
- data/lib/typelib/canned.rb +1 -1
- data/test/test_02_canned.rb +1 -1
- data/typelib.gemspec +18 -28
- metadata +47 -78
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c6c56c6fd9daadf03661c3db85605d8bddc730a5f9788d94a289b1e26d5dee2b
|
4
|
+
data.tar.gz: 12f7cdc9baed7a9a1c3a2ca3347a0a180a0276ea24ef3ae2766d454784a3cd9c
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e0794762a0e037c2723b1c35cb2847813000205b56e3bff52cf3706cc68fe4ef0364f08a9e9df6f3e1e612510fae2851ecd9c713ae36ae3b6ffaf9e5015494c4
|
7
|
+
data.tar.gz: 2c5fbb32eed282c6bef0eaf4cbe4c59fbbea3b89e3c2d354a34453376a886b70a2fe130404fc7dcb69860fec63e752907fe0c741bab4c71f669bf5b5f74f3681
|
data/Rakefile
CHANGED
@@ -16,9 +16,6 @@ begin
|
|
16
16
|
gem.add_development_dependency 'test-unit'
|
17
17
|
gem.add_development_dependency 'rdoc'
|
18
18
|
|
19
|
-
## for now, install hanna from here: http://github.com/raggi/hanna
|
20
|
-
gem.add_development_dependency 'hanna'
|
21
|
-
|
22
19
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
23
20
|
end
|
24
21
|
Jeweler::GemcutterTasks.new
|
@@ -71,12 +68,10 @@ end
|
|
71
68
|
task :default => :test
|
72
69
|
|
73
70
|
begin
|
74
|
-
require 'hanna'
|
75
71
|
require 'rdoc/task'
|
76
72
|
RDoc::Task.new do |rdoc|
|
77
73
|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
78
74
|
|
79
|
-
rdoc.options.push '-f', 'hanna'
|
80
75
|
rdoc.main = 'README.rdoc'
|
81
76
|
rdoc.rdoc_dir = 'rdoc'
|
82
77
|
rdoc.title = "RDBI #{version} Documentation"
|
@@ -85,7 +80,7 @@ begin
|
|
85
80
|
end
|
86
81
|
rescue LoadError => e
|
87
82
|
rdoc_missing = lambda do
|
88
|
-
|
83
|
+
# no-op
|
89
84
|
end
|
90
85
|
task :rdoc, &rdoc_missing
|
91
86
|
task :clobber_rdoc, &rdoc_missing
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/lib/typelib/canned.rb
CHANGED
data/test/test_02_canned.rb
CHANGED
@@ -30,7 +30,7 @@ class TestCanned < Test::Unit::TestCase
|
|
30
30
|
assert_kind_of(Float, filters.execute("1"))
|
31
31
|
|
32
32
|
filters = create_filterlist(STR_TO_DEC)
|
33
|
-
assert_equal(BigDecimal
|
33
|
+
assert_equal(BigDecimal("1.0"), filters.execute("1"))
|
34
34
|
assert_kind_of(BigDecimal, filters.execute("1"))
|
35
35
|
end
|
36
36
|
|
data/typelib.gemspec
CHANGED
@@ -2,15 +2,17 @@
|
|
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: typelib 0.1.1 ruby lib
|
5
6
|
|
6
7
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "0.1.
|
8
|
+
s.name = "typelib".freeze
|
9
|
+
s.version = "0.1.1"
|
9
10
|
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.
|
12
|
-
s.
|
13
|
-
s.
|
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 = ["Erik Hollensbe".freeze]
|
14
|
+
s.date = "2023-06-05"
|
15
|
+
s.email = "erik@hollensbe.org".freeze
|
14
16
|
s.extra_rdoc_files = [
|
15
17
|
"README.rdoc"
|
16
18
|
]
|
@@ -24,32 +26,20 @@ Gem::Specification.new do |s|
|
|
24
26
|
"test/test_02_canned.rb",
|
25
27
|
"typelib.gemspec"
|
26
28
|
]
|
27
|
-
s.homepage =
|
28
|
-
s.
|
29
|
-
s.
|
30
|
-
s.summary = %q{An on-demand arbitrary check and conversion library that won't destroy your data.}
|
31
|
-
s.test_files = [
|
32
|
-
"test/test_01_basic.rb",
|
33
|
-
"test/test_02_canned.rb"
|
34
|
-
]
|
29
|
+
s.homepage = "http://github.com/RDBI/typelib".freeze
|
30
|
+
s.rubygems_version = "3.3.7".freeze
|
31
|
+
s.summary = "An on-demand arbitrary check and conversion library that won't destroy your data.".freeze
|
35
32
|
|
36
33
|
if s.respond_to? :specification_version then
|
37
|
-
|
38
|
-
|
34
|
+
s.specification_version = 4
|
35
|
+
end
|
39
36
|
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
s.add_development_dependency(%q<hanna>, [">= 0"])
|
44
|
-
else
|
45
|
-
s.add_dependency(%q<test-unit>, [">= 0"])
|
46
|
-
s.add_dependency(%q<rdoc>, [">= 0"])
|
47
|
-
s.add_dependency(%q<hanna>, [">= 0"])
|
48
|
-
end
|
37
|
+
if s.respond_to? :add_runtime_dependency then
|
38
|
+
s.add_development_dependency(%q<test-unit>.freeze, [">= 0"])
|
39
|
+
s.add_development_dependency(%q<rdoc>.freeze, [">= 0"])
|
49
40
|
else
|
50
|
-
s.add_dependency(%q<test-unit
|
51
|
-
s.add_dependency(%q<rdoc
|
52
|
-
s.add_dependency(%q<hanna>, [">= 0"])
|
41
|
+
s.add_dependency(%q<test-unit>.freeze, [">= 0"])
|
42
|
+
s.add_dependency(%q<rdoc>.freeze, [">= 0"])
|
53
43
|
end
|
54
44
|
end
|
55
45
|
|
metadata
CHANGED
@@ -1,70 +1,50 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: typelib
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
segments:
|
6
|
-
- 0
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
version: 0.1.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
10
5
|
platform: ruby
|
11
|
-
authors:
|
6
|
+
authors:
|
12
7
|
- Erik Hollensbe
|
13
|
-
autorequire:
|
8
|
+
autorequire:
|
14
9
|
bindir: bin
|
15
10
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2023-06-05 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
21
14
|
name: test-unit
|
22
|
-
|
23
|
-
|
24
|
-
none: false
|
25
|
-
requirements:
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
26
17
|
- - ">="
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
- 0
|
30
|
-
version: "0"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
31
20
|
type: :development
|
32
|
-
version_requirements: *id001
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: rdoc
|
35
21
|
prerelease: false
|
36
|
-
|
37
|
-
|
38
|
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rdoc
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
39
31
|
- - ">="
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
|
42
|
-
- 0
|
43
|
-
version: "0"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
44
34
|
type: :development
|
45
|
-
version_requirements: *id002
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
|
-
name: hanna
|
48
35
|
prerelease: false
|
49
|
-
|
50
|
-
|
51
|
-
requirements:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
52
38
|
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
|
55
|
-
|
56
|
-
version: "0"
|
57
|
-
type: :development
|
58
|
-
version_requirements: *id003
|
59
|
-
description:
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
description:
|
60
42
|
email: erik@hollensbe.org
|
61
43
|
executables: []
|
62
|
-
|
63
44
|
extensions: []
|
64
|
-
|
65
|
-
extra_rdoc_files:
|
45
|
+
extra_rdoc_files:
|
66
46
|
- README.rdoc
|
67
|
-
files:
|
47
|
+
files:
|
68
48
|
- README.rdoc
|
69
49
|
- Rakefile
|
70
50
|
- VERSION
|
@@ -73,38 +53,27 @@ files:
|
|
73
53
|
- test/test_01_basic.rb
|
74
54
|
- test/test_02_canned.rb
|
75
55
|
- typelib.gemspec
|
76
|
-
has_rdoc: true
|
77
56
|
homepage: http://github.com/RDBI/typelib
|
78
57
|
licenses: []
|
79
|
-
|
80
|
-
post_install_message:
|
58
|
+
metadata: {}
|
59
|
+
post_install_message:
|
81
60
|
rdoc_options: []
|
82
|
-
|
83
|
-
require_paths:
|
61
|
+
require_paths:
|
84
62
|
- lib
|
85
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
86
|
-
|
87
|
-
requirements:
|
63
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
88
65
|
- - ">="
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
94
|
-
none: false
|
95
|
-
requirements:
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
96
70
|
- - ">="
|
97
|
-
- !ruby/object:Gem::Version
|
98
|
-
|
99
|
-
- 0
|
100
|
-
version: "0"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '0'
|
101
73
|
requirements: []
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
test_files:
|
109
|
-
- test/test_01_basic.rb
|
110
|
-
- test/test_02_canned.rb
|
74
|
+
rubygems_version: 3.3.7
|
75
|
+
signing_key:
|
76
|
+
specification_version: 4
|
77
|
+
summary: An on-demand arbitrary check and conversion library that won't destroy your
|
78
|
+
data.
|
79
|
+
test_files: []
|