iniparser 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: 57828451b2152df706f149f08a0e163ab260eb83
4
+ data.tar.gz: 94c5a6efa3dc99fb7f92d8ae1cea835de6190e8b
5
+ SHA512:
6
+ metadata.gz: 1799b8c7c03b8b1470befcaa20239affcec38a840fd012c91b42c40fe14057c212ae355dd9d1b2e78f2ce6ce5c24fe3183185fdb210d3e21ca628491b6dc5f4f
7
+ data.tar.gz: 82e6c8c1040b1399b5e7549800a9fa40ab219eee21b90f6d9ee819dc5217f9cf59545b2d8c084920cd52ec52b64e22be81ba8917aa036936fc997a61241b1031
@@ -0,0 +1,3 @@
1
+ ### 0.0.1 / 2017-06-29
2
+
3
+ * Everything is new. First release.
@@ -0,0 +1,8 @@
1
+ HISTORY.md
2
+ Manifest.txt
3
+ README.md
4
+ Rakefile
5
+ lib/iniparser.rb
6
+ lib/iniparser/version.rb
7
+ test/helper.rb
8
+ test/test_version.rb
@@ -0,0 +1,20 @@
1
+ # iniparser
2
+
3
+ iniparser gem - read INI configuration, setttings and data files into a hash
4
+
5
+
6
+ * home :: [github.com/datatxt/iniparser](https://github.com/datatxt/iniparser)
7
+ * bugs :: [github.com/datatxt/iniparser/issues](https://github.com/datatxt/iniparser/issues)
8
+ * gem :: [rubygems.org/gems/iniparser](https://rubygems.org/gems/iniparser)
9
+ * rdoc :: [rubydoc.info/gems/iniparser](http://rubydoc.info/gems/iniparser)
10
+
11
+
12
+ ## Usage
13
+
14
+ TBD
15
+
16
+
17
+ ## License
18
+
19
+ The `iniparser` scripts are dedicated to the public domain.
20
+ Use it as you please with no restrictions whatsoever.
@@ -0,0 +1,26 @@
1
+ require 'hoe'
2
+ require './lib/iniparser/version.rb'
3
+
4
+ Hoe.spec 'iniparser' do
5
+
6
+ self.version = IniParser::VERSION
7
+
8
+ self.summary = 'iniparser - read INI configuration, setttings and data files into a hash'
9
+ self.description = summary
10
+
11
+ self.urls = ['https://github.com/datatxt/iniparser']
12
+
13
+ self.author = 'Gerald Bauer'
14
+ self.email = 'ruby-talk@ruby-lang.org'
15
+
16
+ # switch extension to .markdown for gihub formatting
17
+ self.readme_file = 'README.md'
18
+ self.history_file = 'HISTORY.md'
19
+
20
+ self.licenses = ['Public Domain']
21
+
22
+ self.spec_extras = {
23
+ required_ruby_version: '>= 1.9.2'
24
+ }
25
+
26
+ end
@@ -0,0 +1,11 @@
1
+ # encoding: utf-8
2
+
3
+
4
+
5
+ # our own code
6
+ require 'iniparser/version' # note: let version always go first
7
+
8
+
9
+
10
+ # say hello
11
+ puts IniParser.banner if defined?( $RUBYLIBS_DEBUG )
@@ -0,0 +1,20 @@
1
+ # encoding: utf-8
2
+
3
+ module IniParser
4
+ MAJOR = 0 ## todo: namespace inside version or something - why? why not??
5
+ MINOR = 0
6
+ PATCH = 1
7
+ VERSION = [MAJOR,MINOR,PATCH].join('.')
8
+
9
+ def self.version
10
+ VERSION
11
+ end
12
+
13
+ def self.banner
14
+ "iniparser/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
15
+ end
16
+
17
+ def self.root
18
+ "#{File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )}"
19
+ end
20
+ end # module IniParser
@@ -0,0 +1,10 @@
1
+ # encoding: utf-8
2
+
3
+ ## minitest setup
4
+ require 'minitest/autorun'
5
+
6
+
7
+ $RUBYLIBS_DEBUG = true
8
+
9
+ ## our own code
10
+ require 'iniparser'
@@ -0,0 +1,21 @@
1
+ # encoding: utf-8
2
+
3
+ ###
4
+ # to run use
5
+ # ruby -I ./lib -I ./test test/test_version.rb
6
+
7
+
8
+ require 'helper'
9
+
10
+
11
+ class TestVersion < MiniTest::Test
12
+
13
+
14
+ def test_version
15
+
16
+ puts IniParser::VERSION
17
+ assert true
18
+ ## assume everything ok if get here
19
+ end
20
+
21
+ end # class TestVersion
metadata ADDED
@@ -0,0 +1,84 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: iniparser
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: 2017-06-29 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.15'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '3.15'
41
+ description: iniparser - read INI configuration, setttings and data files into a hash
42
+ email: ruby-talk@ruby-lang.org
43
+ executables: []
44
+ extensions: []
45
+ extra_rdoc_files:
46
+ - HISTORY.md
47
+ - Manifest.txt
48
+ - README.md
49
+ files:
50
+ - HISTORY.md
51
+ - Manifest.txt
52
+ - README.md
53
+ - Rakefile
54
+ - lib/iniparser.rb
55
+ - lib/iniparser/version.rb
56
+ - test/helper.rb
57
+ - test/test_version.rb
58
+ homepage: https://github.com/datatxt/iniparser
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: 1.9.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.6.7
81
+ signing_key:
82
+ specification_version: 4
83
+ summary: iniparser - read INI configuration, setttings and data files into a hash
84
+ test_files: []