sadie 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -1
- data/README +12 -10
- data/lib/sadie/version.rb +1 -1
- metadata +3 -3
data/CHANGELOG
CHANGED
@@ -1,3 +1,6 @@
|
|
1
1
|
[Up to v0.0.7] getting it all working
|
2
2
|
|
3
|
-
[0.0.8] abstracted primer types such that sadie can now use plugins. with two working plugins, IniFile and Resource, it is functionaly equivalent to v0.0.7. More to come.
|
3
|
+
[0.0.8] abstracted primer types such that sadie can now use plugins. with two working plugins, IniFile and Resource, it is functionaly equivalent to v0.0.7. More to come.
|
4
|
+
[0.0.9] primer logic bugfix, added sql and db connection primer types
|
5
|
+
[0.0.10] sql plugin handler became sql2ar to better reflect what's going on
|
6
|
+
[0.0.11] updated documentation
|
data/README
CHANGED
@@ -1,17 +1,19 @@
|
|
1
|
-
==About
|
1
|
+
==About Sadie
|
2
2
|
|
3
|
-
Sadie is a data
|
3
|
+
Sadie is a general-purpose data server written in Ruby and it's intended to be used by a Rubie developer to simplify access to inter-related data sets.
|
4
4
|
|
5
|
-
It
|
5
|
+
It is designed to provide handle-based access to data of all types, much like a simple hash. Unlike a hash, a sadie instance is created with a pathname which points to a directory of primers which tell sadie how to determine what the value of a given hash key should be, but values are not assigned until the hash keys are requested. In this way, only necessary data transformations and/or accesses are performed.
|
6
6
|
|
7
|
-
|
7
|
+
Valid primers currently are:
|
8
8
|
|
9
|
-
|
9
|
+
.ini - provide access to section, key, value data in ini-style-files
|
10
|
+
.dbi.conx - simple access to database handles
|
11
|
+
.sql2ar - simple access to database data
|
12
|
+
.res, .res.rb - provides access to general-purpose, programatic manipulation of data (i.e. just use sadie instance for input and output of data)
|
13
|
+
.tmpl - simple templating engine for text-based file types
|
10
14
|
|
11
|
-
|
12
|
-
|
13
|
-
==Summary
|
15
|
+
It's very simple to add new primer types, so it would be simple to create primers for html, xml, csv, xls, pointers to all of the above on remote machines, or any- and everything else.
|
14
16
|
|
15
|
-
|
17
|
+
At Landmetrics, we use a predecessor to Sadie to power perimetercomps[http://perimetercomps.com], producing each 50+ page report with charts, graphs and tables with only 12 queries to the database.
|
16
18
|
|
17
|
-
|
19
|
+
Sadie can be downloaded via its rubygems page[https://rubygems.org/gems/sadie] or from github[https://github.com/FredAtLandMetrics/sadie].
|
data/lib/sadie/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sadie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 9
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 11
|
10
|
+
version: 0.0.11
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Fred McDavid
|