Skip to content

Commit 2968c07

Browse files
committed
add iniparser
1 parent f8a4ebf commit 2968c07

File tree

12 files changed

+966
-0
lines changed

12 files changed

+966
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ Gems:
1212
- [props-activerecord](props-activerecord) - addon for database support (ConfDb, props model, etc.)
1313

1414

15+
<!-- break -->
16+
- [iniparser](iniparser) - read / parse INI configuration, settings and data files into a hash (incl. named subsections)
17+
18+
1519
<!-- break -->
1620
- [shell-lite](shell-lite) - run / execute shell commands
1721

iniparser/.gitignore

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
*.gem
2+
*.rbc
3+
/.config
4+
/coverage/
5+
/InstalledFiles
6+
/pkg/
7+
/spec/reports/
8+
/test/tmp/
9+
/test/version_tmp/
10+
/tmp/
11+
12+
## Specific to RubyMotion:
13+
.dat*
14+
.repl_history
15+
build/
16+
17+
## Documentation cache and generated files:
18+
/.yardoc/
19+
/_yardoc/
20+
/doc/
21+
/rdoc/
22+
23+
## Environment normalisation:
24+
/.bundle/
25+
/vendor/bundle
26+
/lib/bundler/man/
27+
28+
# for a library or gem, you might want to ignore these files since the code is
29+
# intended to run in multiple environments; otherwise, check them in:
30+
# Gemfile.lock
31+
# .ruby-version
32+
# .ruby-gemset
33+
34+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
35+
.rvmrc

iniparser/CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
### 0.0.1 / 2017-06-29
2+
3+
* Everything is new. First release.

iniparser/Manifest.txt

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
CHANGELOG.md
2+
LICENSE.md
3+
Manifest.txt
4+
README.md
5+
Rakefile
6+
lib/iniparser.rb
7+
lib/iniparser/parser.rb
8+
lib/iniparser/version.rb
9+
test/helper.rb
10+
test/test_parser.rb

iniparser/NOTES.md

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Notes
2+
3+
## Todos
4+
5+
6+
7+
## Formats
8+
9+
- INI
10+
- <https://en.wikipedia.org/wiki/INI_file>
11+
- Git Config Format
12+
- <https://git-scm.com/docs/git-config>
13+
- TOML (Tom's Obvious, Minimal Language)
14+
- Spec <https://github.com/toml-lang/toml>
15+
- <https://en.wikipedia.org/wiki/TOML>
16+
17+
18+
19+
## Alternatives
20+
21+
### Ruby
22+
23+
- inifile <https://rubygems.org/gems/inifile>, source: <https://github.com/TwP/inifile>
24+
- iniparse <https://rubygems.org/gems/iniparse>, source: <https://github.com/antw/iniparse>
25+
- inih <https://rubygems.org/gems/inih>, source: <https://github.com/woodruffw/ruby-inih>
26+
- <https://blog.yossarian.net/2017/07/21/Introducing-ruby-inih>
27+
28+
Search rubygems with ini - <https://rubygems.org/search?query=ini>
29+
30+
31+
### Python
32+
33+
- configparser - Python's Stdlib Configuration file parser - <https://docs.python.org/3/library/configparser.html>
34+
35+
36+
### More
37+
38+
- <https://rosettacode.org/wiki/Read_a_configuration_file>

0 commit comments

Comments
 (0)