hazel 0.0.1 → 0.0.2

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 (48) hide show
  1. data/Gemfile +7 -0
  2. data/Gemfile.lock +11 -0
  3. data/MIT-LICENSE +17 -16
  4. data/README.md +75 -0
  5. data/Rakefile +9 -0
  6. data/bin/hazel +2 -7
  7. data/lib/extensions/string.rb +36 -0
  8. data/lib/hazel/cli.rb +102 -22
  9. data/lib/hazel/version.rb +3 -3
  10. data/lib/templates/Gemfile +32 -0
  11. data/lib/templates/README.md +1 -0
  12. data/lib/templates/Rakefile +31 -0
  13. data/lib/templates/app.rb +11 -0
  14. data/lib/templates/config/db.yml +35 -0
  15. data/lib/templates/config/initializers/database.rb +9 -0
  16. data/lib/templates/config/initializers/redis.rb +3 -0
  17. data/lib/templates/config/redis.yml +14 -0
  18. data/lib/templates/config.ru +15 -0
  19. data/lib/templates/public/favicon.ico +0 -0
  20. data/lib/templates/public/images/.gitkeep +0 -0
  21. data/{app → lib/templates}/public/images/hazel_icon.png +0 -0
  22. data/lib/templates/public/images/hazel_small.png +0 -0
  23. data/lib/templates/public/javascripts/.gitkeep +0 -0
  24. data/lib/templates/public/stylesheets/main.css +116 -0
  25. data/lib/templates/spec/app_spec.rb +14 -0
  26. data/lib/templates/spec/spec_helper.rb +15 -0
  27. data/lib/templates/views/layout.erb.tt +37 -0
  28. data/lib/templates/views/welcome.erb +19 -0
  29. data/spec/spec_helper.rb +5 -0
  30. data/spec/string_extension_spec.rb +48 -0
  31. metadata +71 -95
  32. data/README.rdoc +0 -49
  33. data/app/Gemfile +0 -5
  34. data/app/Gemfile.lock +0 -23
  35. data/app/config.ru +0 -7
  36. data/app/hazel.rb +0 -23
  37. data/app/public/favicon.ico +0 -0
  38. data/app/public/images/hazel.png +0 -0
  39. data/app/public/images/hazel_medium.png +0 -0
  40. data/app/public/images/hazel_small.png +0 -0
  41. data/app/public/stylesheets/_buttons.scss +0 -40
  42. data/app/public/stylesheets/_reset.scss +0 -104
  43. data/app/public/stylesheets/all.css +0 -1
  44. data/app/public/stylesheets/all.scss +0 -81
  45. data/app/views/bookmarklet.haml +0 -8
  46. data/app/views/index.haml +0 -10
  47. data/app/views/layout.haml +0 -11
  48. data/app/views/manage.haml +0 -7
data/app/views/index.haml DELETED
@@ -1,10 +0,0 @@
1
- %header
2
- %h1#logo
3
- Hazel
4
- %section
5
- %article
6
- %label Protip!
7
- Drag the
8
- %a.button{ :href => bookmarklet } Hazel
9
- bookmarklet to your bookmarks bar to easily manage your asset files.
10
-
@@ -1,11 +0,0 @@
1
- !!!5
2
- %html{ :lang => 'en' }
3
- %head
4
- %meta{ :charset => 'utf-8' }
5
- %link{ :rel => "shortcut icon", :href => "/favicon.ico", :type => "image/x-icon" }
6
- %link{ :rel => "stylesheet", :href => "/stylesheets/all.css", :type => "text/css" }
7
- /[if lt IE 9]
8
- %script{:src => "http://html5shiv.googlecode.com/svn/trunk/html5.js"}
9
- %title Hazel
10
- %body{ :class => body_class }
11
- = yield
@@ -1,7 +0,0 @@
1
- %header
2
- %h1#small_logo
3
- Hazel
4
- %section
5
- %article
6
- %h2
7
- TODO :)