csvjson 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 56559ebdff3af27b8342110f2086c854a858ba99
4
+ data.tar.gz: 82cb4535856f56c62be126da74655bddf54dabd1
5
+ SHA512:
6
+ metadata.gz: 40516df39243045d71dd4a150bfed56c40c2039e7381bfae558ab125cf6207f7b4b3094ab9041d0d79ac58931d6d225b2aac9fae1d76094ffe7dd3d7076ad432
7
+ data.tar.gz: 5a7cd3c63e571772634e6485b15e40aef4011fd30336a88e540111104a8a55b1d57b14b5167185eb5a432bc505451b522d4dfd23520924ae4025fb66d2245b93
@@ -0,0 +1,3 @@
1
+ ### 0.0.1 / 2018-10-14
2
+
3
+ * Everything is new. First release
@@ -0,0 +1,6 @@
1
+ HISTORY.md
2
+ Manifest.txt
3
+ README.md
4
+ Rakefile
5
+ lib/csvjson.rb
6
+ lib/csvjson/version.rb
@@ -0,0 +1,3 @@
1
+ # csvjson
2
+
3
+ csvjson library / gem - read tabular data in the CSV <3 JSON format, that is, comma-separated values CSV (line-by-line) records with javascript object notation (JSON) encoding rules
@@ -0,0 +1,29 @@
1
+ require 'hoe'
2
+ require './lib/csvjson/version.rb'
3
+
4
+ Hoe.spec 'csvjson' do
5
+
6
+ self.version = CsvJson::VERSION
7
+
8
+ self.summary = "csvjson - read tabular data in the CSV <3 JSON format, that is, comma-separated values CSV (line-by-line) records with javascript object notation (JSON) encoding rules"
9
+ self.description = summary
10
+
11
+ self.urls = ['https://github.com/csv11/csvjson']
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 'csvjson/version' # note: let version always go first
8
+
9
+
10
+ pp CsvJson.banner
11
+ pp CsvJson.root
@@ -0,0 +1,24 @@
1
+ # encoding: utf-8
2
+
3
+ ## note: for now CsvJson is a class!! (not a module)
4
+
5
+ class CsvJson
6
+
7
+ MAJOR = 0
8
+ MINOR = 0
9
+ PATCH = 1
10
+ VERSION = [MAJOR,MINOR,PATCH].join('.')
11
+
12
+ def self.version
13
+ VERSION
14
+ end
15
+
16
+ def self.banner
17
+ "csvjson/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
18
+ end
19
+
20
+ def self.root
21
+ "#{File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )}"
22
+ end
23
+
24
+ end # class CsvJson
metadata ADDED
@@ -0,0 +1,86 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: csvjson
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-14 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: csvjson - read tabular data in the CSV <3 JSON format, that is, comma-separated
42
+ values CSV (line-by-line) records with javascript object notation (JSON) encoding
43
+ rules
44
+ email: wwwmake@googlegroups.com
45
+ executables: []
46
+ extensions: []
47
+ extra_rdoc_files:
48
+ - HISTORY.md
49
+ - Manifest.txt
50
+ - README.md
51
+ files:
52
+ - HISTORY.md
53
+ - Manifest.txt
54
+ - README.md
55
+ - Rakefile
56
+ - lib/csvjson.rb
57
+ - lib/csvjson/version.rb
58
+ homepage: https://github.com/csv11/csvjson
59
+ licenses:
60
+ - Public Domain
61
+ metadata: {}
62
+ post_install_message:
63
+ rdoc_options:
64
+ - "--main"
65
+ - README.md
66
+ require_paths:
67
+ - lib
68
+ required_ruby_version: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: 2.2.2
73
+ required_rubygems_version: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ requirements: []
79
+ rubyforge_project:
80
+ rubygems_version: 2.5.2
81
+ signing_key:
82
+ specification_version: 4
83
+ summary: csvjson - read tabular data in the CSV <3 JSON format, that is, comma-separated
84
+ values CSV (line-by-line) records with javascript object notation (JSON) encoding
85
+ rules
86
+ test_files: []