clipster 0.4.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. data/README.md +20 -4
  2. data/app/assets/flash/ZeroClipboard10.swf +0 -0
  3. data/app/assets/images/clipster/custom-clipboard.png +0 -0
  4. data/app/assets/images/clipster/git_hub.png +0 -0
  5. data/app/assets/javascripts/clipster/ZeroClipboard.min.js +3 -0
  6. data/app/assets/javascripts/clipster/{clip.js → about.js} +0 -0
  7. data/app/assets/javascripts/clipster/alertify.min.js +12 -0
  8. data/app/assets/javascripts/clipster/application.js +5 -0
  9. data/app/assets/javascripts/clipster/clips.js +2 -1
  10. data/app/assets/stylesheets/clipster/about.css +8 -0
  11. data/app/assets/stylesheets/clipster/alertify.css +155 -0
  12. data/app/assets/stylesheets/clipster/clips.css +81 -0
  13. data/app/controllers/clipster/about_controller.rb +8 -0
  14. data/app/controllers/clipster/clips_controller.rb +14 -31
  15. data/app/helpers/clipster/{clip_helper.rb → about_helper.rb} +1 -1
  16. data/app/helpers/clipster/application_helper.rb +4 -4
  17. data/app/models/clipster/clip.rb +5 -3
  18. data/app/views/clipster/about/index.html.erb +47 -0
  19. data/app/views/clipster/clips/{list.atom.builder → clips.atom.builder} +3 -5
  20. data/app/views/clipster/clips/{list.html.erb → clips.html.erb} +3 -9
  21. data/app/views/clipster/clips/{create.html.erb → new.html.erb} +37 -11
  22. data/app/views/clipster/clips/show.html.erb +24 -4
  23. data/app/views/clipster/clips/show.text.erb +1 -0
  24. data/app/views/clipster/common/_clip.html.erb +3 -0
  25. data/app/views/clipster/common/_includes.html.erb +1 -0
  26. data/app/views/clipster/common/_languages.html.erb +6 -0
  27. data/app/views/layouts/clipster/application.html.erb +10 -6
  28. data/config/routes.rb +6 -7
  29. data/config/schedule.rb +1 -1
  30. data/lib/clipster/engine.rb +2 -1
  31. data/lib/clipster/version.rb +1 -1
  32. data/lib/generators/clipster/install_generator.rb +3 -0
  33. data/lib/generators/templates/_includes.html.erb +1 -0
  34. metadata +23 -11
  35. data/app/assets/javascripts/clipster/bootstrap.js +0 -2027
  36. data/app/assets/stylesheets/clipster/clip.css +0 -32
  37. data/app/views/clipster/clips/about.html.erb +0 -15
@@ -1,32 +0,0 @@
1
- /*
2
- Place all the styles related to the matching controller here.
3
- They will automatically be included in application.css.
4
- */
5
-
6
- .bordered {
7
- border: 1px solid #dddddd;
8
- border-collapse: separate;
9
- *border-collapse: collapse;
10
- /*border-left: 0;*/
11
- -webkit-border-radius: 4px;
12
- -moz-border-radius: 4px;
13
- border-radius: 4px;
14
- }
15
-
16
- .bordered div {
17
- margin: 5px;
18
- }
19
-
20
- .title {
21
- border-bottom: 1px solid #ddd;
22
- }
23
-
24
- .help-tip label{
25
- display: inline;
26
- }
27
-
28
- .image-feed {
29
- width: 14px;
30
- height: 14px;
31
- background:url("../clipster/rss_logo_small.png");
32
- }
@@ -1,15 +0,0 @@
1
- <legend>About Clipster v<%=Gem.searcher.find("clipster").version unless Gem.searcher.find("clipster").nil?%></legend>
2
-
3
- <div class="span10 offset1">
4
- <p>Clipster is an Open Source Rails engine to add clipboard code sharing to your existing Ruby on Rails applications. Complete with syntax highlighting and expiring clips, its great for internal code sharing. Please visit us on <%= link_to("GitHub", "http://github.com/kwbock/clipster") %> for downloads and support.</p>
5
- </div>
6
-
7
- <div class="well span9 offset1">
8
- <p>Copyright 2012 Kyle Bock, Daniel White</p>
9
-
10
- <p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
11
-
12
- <p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.<p>
13
-
14
- <p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
15
- </div>