sibyl 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +24 -10
- data/app/assets/images/old_moon/old_moon.png +0 -0
- data/app/assets/images/old_moon/old_moon_@2X.jpg +0 -0
- data/app/assets/images/old_moon/readme.txt +8 -0
- data/app/assets/images/ui-bg_diagonals-thick_15_0b3e6f_40x40.png +0 -0
- data/app/assets/images/ui-bg_dots-medium_30_0b58a2_4x4.png +0 -0
- data/app/assets/images/ui-bg_dots-small_20_333333_2x2.png +0 -0
- data/app/assets/images/ui-bg_dots-small_30_a32d00_2x2.png +0 -0
- data/app/assets/images/ui-bg_dots-small_40_00498f_2x2.png +0 -0
- data/app/assets/images/ui-bg_gloss-wave_20_111111_500x100.png +0 -0
- data/app/assets/images/ui-icons_00498f_256x240.png +0 -0
- data/app/assets/images/ui-icons_98d2fb_256x240.png +0 -0
- data/app/assets/images/ui-icons_9ccdfc_256x240.png +0 -0
- data/app/assets/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/javascripts/jquery-ui.js +18706 -0
- data/app/assets/javascripts/jquery-ui.min.js +13 -0
- data/app/assets/javascripts/jquery.min.js +5 -0
- data/app/assets/javascripts/sibyl/application.js +2 -0
- data/app/assets/javascripts/sibyl/editor.js +218 -2
- data/app/assets/stylesheets/atelier-seaside-dark.css +1 -0
- data/app/assets/stylesheets/default.css +1 -0
- data/app/assets/stylesheets/jquery-ui.css +1312 -0
- data/app/assets/stylesheets/jquery-ui.min.css +7 -0
- data/app/assets/stylesheets/jquery-ui.structure.css +886 -0
- data/app/assets/stylesheets/jquery-ui.structure.min.css +5 -0
- data/app/assets/stylesheets/jquery-ui.theme.css +443 -0
- data/app/assets/stylesheets/jquery-ui.theme.min.css +5 -0
- data/app/assets/stylesheets/sibyl/application.css +9 -0
- data/app/assets/stylesheets/sibyl/editor.css +148 -4
- data/app/controllers/sibyl/editor_controller.rb +81 -3
- data/app/views/layouts/sibyl/application.html.erb +3 -2
- data/app/views/sibyl/editor/create_scaffold.html.erb +0 -0
- data/app/views/sibyl/editor/edit.html.erb +83 -1
- data/app/views/sibyl/editor/index.html.erb +28 -2
- data/app/views/sibyl/editor/index_task.html.erb +25 -0
- data/app/views/sibyl/editor/new_scaffold.html.erb +35 -0
- data/config/routes.rb +10 -2
- data/lib/generators/sibyl/form/USAGE +8 -0
- data/lib/generators/sibyl/form/form_generator.rb +34 -0
- data/lib/generators/sibyl/install/USAGE +8 -0
- data/lib/generators/sibyl/install/install_generator.rb +17 -0
- data/lib/generators/sibyl/install/templates/sibyl.rb +1 -0
- data/lib/generators/sibyl/model/USAGE +8 -0
- data/lib/generators/sibyl/model/model_generator.rb +29 -0
- data/lib/sibyl/base.rb +101 -0
- data/lib/sibyl/engine.rb +7 -0
- data/lib/sibyl/form.rb +43 -0
- data/lib/sibyl/task.rb +123 -0
- data/lib/sibyl/version.rb +1 -1
- data/lib/sibyl.rb +2 -0
- data/lib/tasks/sibyl_tasks.rake +19 -4
- metadata +123 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3909c4651743dd7a44e4fc77ec68f9cf0eb82aef
|
4
|
+
data.tar.gz: 5ef0fe40766d3f8f4ef807ec2586944769d97f5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 248aa12272f3acf576bc5f1962ecf37548e804b8a657a5f510c156bb5ae5dc1c49ffbceaa5888f5ba6b73e066a2f4ea60c820a5eb540f6a3c91df6cd34a1c7e1
|
7
|
+
data.tar.gz: f5b75bf136ff61588dfb4a71f349b73b0fe57d4af60812b407a8b76707595c087011916852a91f0095744da901a3b4ee8ae74b68c7169c090298ca70634b21f3
|
data/README.md
CHANGED
@@ -1,16 +1,11 @@
|
|
1
1
|
<img src="graphics/sibyl_logo.png" alt="Sibyl Gem" style="width: 600px;"
|
2
2
|
width="600" />
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
whether it's an item or just some good advice. This gem is a DIY kit to
|
8
|
-
fill this need in someone's life. In our modern world what holds greater
|
9
|
-
terror than filling out an arcane and mysterious form? At the end of
|
10
|
-
these labrinths lies the treasure of some life changing momentous
|
11
|
-
ocassion. What so many need in this world is someone who will help them
|
4
|
+
In our modern world what holds greater magic than a form?
|
5
|
+
Within these paper labrinths lies the treasure of some life changing momentous
|
6
|
+
ocassions. What so many need in this world is someone who will help them
|
12
7
|
along their journey. Do you have what it takes to answer their call and
|
13
|
-
become a digital sibyl?
|
8
|
+
become a digital sibyl? Yes, it may be dark magic. But it's POWERFUL!
|
14
9
|
|
15
10
|
## Installation
|
16
11
|
Add this line to your application's Gemfile:
|
@@ -21,11 +16,30 @@ gem 'sibyl'
|
|
21
16
|
|
22
17
|
And then execute:
|
23
18
|
```bash
|
24
|
-
$ bundle
|
19
|
+
$ bundle install
|
20
|
+
$ bin/rake sibyl:install
|
25
21
|
```
|
26
22
|
|
27
23
|
## Usage
|
28
24
|
|
25
|
+
Start the rails server with
|
26
|
+
```bash
|
27
|
+
$ bin/rails server
|
28
|
+
```
|
29
|
+
|
30
|
+
Then in a different terminal Sibyl uses an existing model so create one use an existing one.
|
31
|
+
```bash
|
32
|
+
$ bin/rails g scaffold Taskname attrib1:string attrib2:string
|
33
|
+
$ bin/rails g siblform taskname formname path/to/pdffile.pdf
|
34
|
+
$ bin/rake sibyl:open
|
35
|
+
```
|
36
|
+
## Goals
|
37
|
+
|
38
|
+
This project should be easy for anyone to work with. This is why it uses
|
39
|
+
JQuery UI instead of Bootstrap and very basic Javascript and CSS. Anyone
|
40
|
+
with any amount of experience should be able to hack on this without
|
41
|
+
needing to learn Angular. We are targeting Chrome latest for the
|
42
|
+
admin/editor.
|
29
43
|
|
30
44
|
## Contributing
|
31
45
|
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|