typeconv 0.0.1

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: da8d9aa84ed542f427d8fac57dcaba03d2b34db8
4
+ data.tar.gz: 5b99e6883522dea6686862a67afc58472ad1fa0e
5
+ SHA512:
6
+ metadata.gz: 7f9eec16c2c3c7e90898e1e1ee10606287cf0622db72d231343a829657a339da44bf86b309e591d16bb62a281c7231e4ce132863c3764d36216ff7394291b65d
7
+ data.tar.gz: dd0d1cdc571f7fef10ccae9aeca182fed0442a5feb6bad2c68572be47d8ae68bc398013f4184b557a560696699f533d523f69b8839fb05f19d09cfe085ec14a2
@@ -0,0 +1,3 @@
1
+ ### 0.0.1 / 2018-10-18
2
+
3
+ * Everything is new. First release
@@ -0,0 +1,6 @@
1
+ HISTORY.md
2
+ Manifest.txt
3
+ README.md
4
+ Rakefile
5
+ lib/typeconv.rb
6
+ lib/typeconv/version.rb
@@ -0,0 +1,26 @@
1
+ # Type Converters
2
+
3
+ typeconv (type converters) library / gem - convert strings to numbers, dates, booleans, nulls and more
4
+
5
+ * home :: [github.com/rubycoco/typeconv](https://github.com/rubycoco/typeconv)
6
+ * bugs :: [github.com/rubycoco/typeconv/issues](https://github.com/rubycoco/typeconv/issues)
7
+ * gem :: [rubygems.org/gems/typeconv](https://rubygems.org/gems/typeconv)
8
+ * rdoc :: [rubydoc.info/gems/typeconv](http://rubydoc.info/gems/typeconv)
9
+ * forum :: [wwwmake](http://groups.google.com/group/wwwmake)
10
+
11
+
12
+ ## Usage
13
+
14
+ to be done
15
+
16
+
17
+ ## License
18
+
19
+ The `typeconv` scripts are dedicated to the public domain.
20
+ Use it as you please with no restrictions whatsoever.
21
+
22
+
23
+ ## Questions? Comments?
24
+
25
+ Send them along to the [wwwmake forum](http://groups.google.com/group/wwwmake).
26
+ Thanks!
@@ -0,0 +1,29 @@
1
+ require 'hoe'
2
+ require './lib/typeconv/version.rb'
3
+
4
+ Hoe.spec 'typeconv' do
5
+
6
+ self.version = Typeconv::VERSION
7
+
8
+ self.summary = "typeconv (type converters) - convert strings to numbers, dates, booleans, nulls and more"
9
+ self.description = summary
10
+
11
+ self.urls = ['https://github.com/rubycoco/typeconv']
12
+
13
+ self.author = 'Gerald Bauer'
14
+ self.email = 'wwwmake@googlegroups.com'
15
+
16
+ # switch extension to .markdown for gihub formatting
17
+ self.readme_file = 'README.md'
18
+ self.history_file = 'HISTORY.md'
19
+
20
+ self.extra_deps = [
21
+ ]
22
+
23
+ self.licenses = ['Public Domain']
24
+
25
+ self.spec_extras = {
26
+ required_ruby_version: '>= 2.2.2'
27
+ }
28
+
29
+ end
@@ -0,0 +1,11 @@
1
+ # encoding: utf-8
2
+
3
+ require 'pp'
4
+
5
+
6
+ ## our own code
7
+ require 'typeconv/version' # note: let version always go first
8
+
9
+
10
+ pp Typeconv.banner
11
+ pp Typeconv.root
@@ -0,0 +1,23 @@
1
+ # encoding: utf-8
2
+
3
+
4
+ class Typeconv
5
+
6
+ MAJOR = 0
7
+ MINOR = 0
8
+ PATCH = 1
9
+ VERSION = [MAJOR,MINOR,PATCH].join('.')
10
+
11
+ def self.version
12
+ VERSION
13
+ end
14
+
15
+ def self.banner
16
+ "typeconv/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
17
+ end
18
+
19
+ def self.root
20
+ "#{File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )}"
21
+ end
22
+
23
+ end # module Typeconv
metadata ADDED
@@ -0,0 +1,84 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: typeconv
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Gerald Bauer
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-10-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rdoc
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '4.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: hoe
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '3.16'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '3.16'
41
+ description: typeconv (type converters) - convert strings to numbers, dates, booleans,
42
+ nulls and more
43
+ email: wwwmake@googlegroups.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files:
47
+ - HISTORY.md
48
+ - Manifest.txt
49
+ - README.md
50
+ files:
51
+ - HISTORY.md
52
+ - Manifest.txt
53
+ - README.md
54
+ - Rakefile
55
+ - lib/typeconv.rb
56
+ - lib/typeconv/version.rb
57
+ homepage: https://github.com/rubycoco/typeconv
58
+ licenses:
59
+ - Public Domain
60
+ metadata: {}
61
+ post_install_message:
62
+ rdoc_options:
63
+ - "--main"
64
+ - README.md
65
+ require_paths:
66
+ - lib
67
+ required_ruby_version: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: 2.2.2
72
+ required_rubygems_version: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ requirements: []
78
+ rubyforge_project:
79
+ rubygems_version: 2.5.2
80
+ signing_key:
81
+ specification_version: 4
82
+ summary: typeconv (type converters) - convert strings to numbers, dates, booleans,
83
+ nulls and more
84
+ test_files: []