sgfa 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +674 -0
- data/README.txt +14 -0
- data/bin/sgfa +15 -0
- data/data/sgfa_web.css +240 -0
- data/lib/sgfa/binder.rb +627 -0
- data/lib/sgfa/binder_fs.rb +203 -0
- data/lib/sgfa/cli/binder.rb +160 -0
- data/lib/sgfa/cli/jacket.rb +299 -0
- data/lib/sgfa/cli.rb +36 -0
- data/lib/sgfa/demo/web_binders.rb +111 -0
- data/lib/sgfa/demo/web_css.rb +60 -0
- data/lib/sgfa/entry.rb +697 -0
- data/lib/sgfa/error.rb +95 -0
- data/lib/sgfa/history.rb +445 -0
- data/lib/sgfa/jacket.rb +556 -0
- data/lib/sgfa/jacket_fs.rb +136 -0
- data/lib/sgfa/lock_fs.rb +141 -0
- data/lib/sgfa/state_fs.rb +342 -0
- data/lib/sgfa/store_fs.rb +214 -0
- data/lib/sgfa/web/base.rb +225 -0
- data/lib/sgfa/web/binder.rb +1190 -0
- data/lib/sgfa.rb +37 -0
- metadata +68 -0
data/lib/sgfa.rb
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
#
|
2
|
+
# Simple Group of Filing Applications
|
3
|
+
#
|
4
|
+
# Copyright (C) 2015 by Graham A. Field.
|
5
|
+
#
|
6
|
+
# See LICENSE.txt for licensing information.
|
7
|
+
#
|
8
|
+
# This program is distributed WITHOUT ANY WARRANTY; without even the
|
9
|
+
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
10
|
+
|
11
|
+
require_relative 'sgfa/binder_fs'
|
12
|
+
|
13
|
+
#####################################################################
|
14
|
+
# Simple Group of Filing Applications
|
15
|
+
#
|
16
|
+
# This is a collection of software which implements a filing system.
|
17
|
+
# It was originally designed around the needs of an investigative case
|
18
|
+
# management system, although care was taken to ensure that it provides a
|
19
|
+
# generic filing utility that should support multiple other uses.
|
20
|
+
#
|
21
|
+
# The elementary building block for the system is an {Entry} which consists
|
22
|
+
# of a time and date, a short title, a text body, attached files, and
|
23
|
+
# tags. Entries are made in {Jacket}s which serve two functions.
|
24
|
+
# First, they are an organizational unit which allows grouping of related
|
25
|
+
# entries. Second, they provide a permanent history of all changes made to
|
26
|
+
# the jacket in the form of a chain of {History} change entries.
|
27
|
+
#
|
28
|
+
# All {Jacket}s are stored in a {Binder} which is the basic administrative
|
29
|
+
# unit in the system. Access control is applied at the Binder level by
|
30
|
+
# assigning permissions to users or groups. There are several basic
|
31
|
+
# permissions which control of read, write, and general information for the
|
32
|
+
# entire binder. In addition, Binder specific permissions can be created and
|
33
|
+
# applied to specific Jackets or Entries. The Binder can be assigned state
|
34
|
+
# values which are used to manage a collection of Binders.
|
35
|
+
#
|
36
|
+
module Sgfa; end
|
37
|
+
|
metadata
ADDED
@@ -0,0 +1,68 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sgfa
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Graham A. Field
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-10-01 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: Group of related tools to manage filing of data in a structured fashion. This
|
14
|
+
is very much an initial release of a development effort.
|
15
|
+
email: gfield@retr.org
|
16
|
+
executables:
|
17
|
+
- sgfa
|
18
|
+
extensions: []
|
19
|
+
extra_rdoc_files: []
|
20
|
+
files:
|
21
|
+
- LICENSE.txt
|
22
|
+
- README.txt
|
23
|
+
- bin/sgfa
|
24
|
+
- data/sgfa_web.css
|
25
|
+
- lib/sgfa.rb
|
26
|
+
- lib/sgfa/binder.rb
|
27
|
+
- lib/sgfa/binder_fs.rb
|
28
|
+
- lib/sgfa/cli.rb
|
29
|
+
- lib/sgfa/cli/binder.rb
|
30
|
+
- lib/sgfa/cli/jacket.rb
|
31
|
+
- lib/sgfa/demo/web_binders.rb
|
32
|
+
- lib/sgfa/demo/web_css.rb
|
33
|
+
- lib/sgfa/entry.rb
|
34
|
+
- lib/sgfa/error.rb
|
35
|
+
- lib/sgfa/history.rb
|
36
|
+
- lib/sgfa/jacket.rb
|
37
|
+
- lib/sgfa/jacket_fs.rb
|
38
|
+
- lib/sgfa/lock_fs.rb
|
39
|
+
- lib/sgfa/state_fs.rb
|
40
|
+
- lib/sgfa/store_fs.rb
|
41
|
+
- lib/sgfa/web/base.rb
|
42
|
+
- lib/sgfa/web/binder.rb
|
43
|
+
homepage: https://github.com/g4field/sgfa
|
44
|
+
licenses:
|
45
|
+
- GPL-3.0
|
46
|
+
metadata: {}
|
47
|
+
post_install_message:
|
48
|
+
rdoc_options: []
|
49
|
+
require_paths:
|
50
|
+
- lib
|
51
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - '>='
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
61
|
+
requirements: []
|
62
|
+
rubyforge_project:
|
63
|
+
rubygems_version: 2.2.5
|
64
|
+
signing_key:
|
65
|
+
specification_version: 4
|
66
|
+
summary: Simple Group of Filing Applications
|
67
|
+
test_files: []
|
68
|
+
has_rdoc:
|