sibyl 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +24 -10
  3. data/app/assets/images/old_moon/old_moon.png +0 -0
  4. data/app/assets/images/old_moon/old_moon_@2X.jpg +0 -0
  5. data/app/assets/images/old_moon/readme.txt +8 -0
  6. data/app/assets/images/ui-bg_diagonals-thick_15_0b3e6f_40x40.png +0 -0
  7. data/app/assets/images/ui-bg_dots-medium_30_0b58a2_4x4.png +0 -0
  8. data/app/assets/images/ui-bg_dots-small_20_333333_2x2.png +0 -0
  9. data/app/assets/images/ui-bg_dots-small_30_a32d00_2x2.png +0 -0
  10. data/app/assets/images/ui-bg_dots-small_40_00498f_2x2.png +0 -0
  11. data/app/assets/images/ui-bg_gloss-wave_20_111111_500x100.png +0 -0
  12. data/app/assets/images/ui-icons_00498f_256x240.png +0 -0
  13. data/app/assets/images/ui-icons_98d2fb_256x240.png +0 -0
  14. data/app/assets/images/ui-icons_9ccdfc_256x240.png +0 -0
  15. data/app/assets/images/ui-icons_ffffff_256x240.png +0 -0
  16. data/app/assets/javascripts/jquery-ui.js +18706 -0
  17. data/app/assets/javascripts/jquery-ui.min.js +13 -0
  18. data/app/assets/javascripts/jquery.min.js +5 -0
  19. data/app/assets/javascripts/sibyl/application.js +2 -0
  20. data/app/assets/javascripts/sibyl/editor.js +218 -2
  21. data/app/assets/stylesheets/atelier-seaside-dark.css +1 -0
  22. data/app/assets/stylesheets/default.css +1 -0
  23. data/app/assets/stylesheets/jquery-ui.css +1312 -0
  24. data/app/assets/stylesheets/jquery-ui.min.css +7 -0
  25. data/app/assets/stylesheets/jquery-ui.structure.css +886 -0
  26. data/app/assets/stylesheets/jquery-ui.structure.min.css +5 -0
  27. data/app/assets/stylesheets/jquery-ui.theme.css +443 -0
  28. data/app/assets/stylesheets/jquery-ui.theme.min.css +5 -0
  29. data/app/assets/stylesheets/sibyl/application.css +9 -0
  30. data/app/assets/stylesheets/sibyl/editor.css +148 -4
  31. data/app/controllers/sibyl/editor_controller.rb +81 -3
  32. data/app/views/layouts/sibyl/application.html.erb +3 -2
  33. data/app/views/sibyl/editor/create_scaffold.html.erb +0 -0
  34. data/app/views/sibyl/editor/edit.html.erb +83 -1
  35. data/app/views/sibyl/editor/index.html.erb +28 -2
  36. data/app/views/sibyl/editor/index_task.html.erb +25 -0
  37. data/app/views/sibyl/editor/new_scaffold.html.erb +35 -0
  38. data/config/routes.rb +10 -2
  39. data/lib/generators/sibyl/form/USAGE +8 -0
  40. data/lib/generators/sibyl/form/form_generator.rb +34 -0
  41. data/lib/generators/sibyl/install/USAGE +8 -0
  42. data/lib/generators/sibyl/install/install_generator.rb +17 -0
  43. data/lib/generators/sibyl/install/templates/sibyl.rb +1 -0
  44. data/lib/generators/sibyl/model/USAGE +8 -0
  45. data/lib/generators/sibyl/model/model_generator.rb +29 -0
  46. data/lib/sibyl/base.rb +101 -0
  47. data/lib/sibyl/engine.rb +7 -0
  48. data/lib/sibyl/form.rb +43 -0
  49. data/lib/sibyl/task.rb +123 -0
  50. data/lib/sibyl/version.rb +1 -1
  51. data/lib/sibyl.rb +2 -0
  52. data/lib/tasks/sibyl_tasks.rake +19 -4
  53. metadata +123 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 38a28e73c400dd1afbf375f79fd86fe60f7e1600
4
- data.tar.gz: 869492e01925afd187f5c739d903c50ef191e855
3
+ metadata.gz: 3909c4651743dd7a44e4fc77ec68f9cf0eb82aef
4
+ data.tar.gz: 5ef0fe40766d3f8f4ef807ec2586944769d97f5d
5
5
  SHA512:
6
- metadata.gz: ddee4747fe2a9dbd08accc7dfce1321e9c01f88df0d0eb1425f1519c242db55b1f6e6f8b688344a17b887d2450d84deea8621027bf5e92f5785f253bd29cfdf0
7
- data.tar.gz: c63f29f19a38d42c2d1e0077631317ff121ed72432e7db3ed23496dad405995601172055f830f1aaf6501b5fd590877e7f9d8f72956333cf9938ca296c0ae35d
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
- An important moment in the [hero's
5
- journey](http://www.thewritersjourney.com/hero's_journey.htm) is the meeting
6
- with the mentor. This person usually gives the hero something important,
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? Read on to find out!
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
 
@@ -0,0 +1,8 @@
1
+
2
+
3
+ ========================================================
4
+ This pattern is downloaded from www.subtlepatterns.com
5
+ If you need more, that's where to get'em.
6
+ ========================================================
7
+
8
+