social_icons 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (215) hide show
  1. data/Gemfile +17 -0
  2. data/Gemfile.lock +122 -0
  3. data/MIT-LICENSE +20 -0
  4. data/README +71 -0
  5. data/Rakefile +37 -0
  6. data/VERSION +1 -0
  7. data/assets/images/social_icons/aquaticus/IconsPedia.url +5 -0
  8. data/assets/images/social_icons/aquaticus/Quaqe9.url +5 -0
  9. data/assets/images/social_icons/aquaticus/ReadMe.rtf +52 -0
  10. data/assets/images/social_icons/aquaticus/aquaticus.social.png +0 -0
  11. data/assets/images/social_icons/aquaticus/png/blogger.png +0 -0
  12. data/assets/images/social_icons/aquaticus/png/delicious.png +0 -0
  13. data/assets/images/social_icons/aquaticus/png/digg.png +0 -0
  14. data/assets/images/social_icons/aquaticus/png/facebook.png +0 -0
  15. data/assets/images/social_icons/aquaticus/png/feed.png +0 -0
  16. data/assets/images/social_icons/aquaticus/png/flickr.png +0 -0
  17. data/assets/images/social_icons/aquaticus/png/friendfeed.png +0 -0
  18. data/assets/images/social_icons/aquaticus/png/friendster.png +0 -0
  19. data/assets/images/social_icons/aquaticus/png/furl.png +0 -0
  20. data/assets/images/social_icons/aquaticus/png/google.png +0 -0
  21. data/assets/images/social_icons/aquaticus/png/lastfm.png +0 -0
  22. data/assets/images/social_icons/aquaticus/png/linkedin.png +0 -0
  23. data/assets/images/social_icons/aquaticus/png/livejournal.png +0 -0
  24. data/assets/images/social_icons/aquaticus/png/magnolia.png +0 -0
  25. data/assets/images/social_icons/aquaticus/png/mixx.png +0 -0
  26. data/assets/images/social_icons/aquaticus/png/myspace.png +0 -0
  27. data/assets/images/social_icons/aquaticus/png/netvibes.png +0 -0
  28. data/assets/images/social_icons/aquaticus/png/newsvine.png +0 -0
  29. data/assets/images/social_icons/aquaticus/png/picasa.png +0 -0
  30. data/assets/images/social_icons/aquaticus/png/pownce.png +0 -0
  31. data/assets/images/social_icons/aquaticus/png/reddit.png +0 -0
  32. data/assets/images/social_icons/aquaticus/png/social_icons_aqua.png +0 -0
  33. data/assets/images/social_icons/aquaticus/png/stumbleupon.png +0 -0
  34. data/assets/images/social_icons/aquaticus/png/technorati.png +0 -0
  35. data/assets/images/social_icons/aquaticus/png/twitter.png +0 -0
  36. data/assets/images/social_icons/aquaticus/png/vimeo.png +0 -0
  37. data/assets/images/social_icons/aquaticus/png/webshots.png +0 -0
  38. data/assets/images/social_icons/aquaticus/png/wordpress.png +0 -0
  39. data/assets/images/social_icons/aquaticus/png/yahoo.png +0 -0
  40. data/assets/images/social_icons/aquaticus/png/yelp.png +0 -0
  41. data/assets/images/social_icons/aquaticus/png/youtube.png +0 -0
  42. data/assets/images/social_icons/default/16/Google.png +0 -0
  43. data/assets/images/social_icons/default/16/blogger.png +0 -0
  44. data/assets/images/social_icons/default/16/delicious.png +0 -0
  45. data/assets/images/social_icons/default/16/digg.png +0 -0
  46. data/assets/images/social_icons/default/16/ebay.png +0 -0
  47. data/assets/images/social_icons/default/16/facebook.png +0 -0
  48. data/assets/images/social_icons/default/16/feed.png +0 -0
  49. data/assets/images/social_icons/default/16/flickr.png +0 -0
  50. data/assets/images/social_icons/default/16/friendfeed.png +0 -0
  51. data/assets/images/social_icons/default/16/friendster.png +0 -0
  52. data/assets/images/social_icons/default/16/furl.png +0 -0
  53. data/assets/images/social_icons/default/16/lastfm.png +0 -0
  54. data/assets/images/social_icons/default/16/linkedin.png +0 -0
  55. data/assets/images/social_icons/default/16/livejournal.png +0 -0
  56. data/assets/images/social_icons/default/16/magnolia.png +0 -0
  57. data/assets/images/social_icons/default/16/mixx.png +0 -0
  58. data/assets/images/social_icons/default/16/myspace.png +0 -0
  59. data/assets/images/social_icons/default/16/netvibes.png +0 -0
  60. data/assets/images/social_icons/default/16/newsvine.png +0 -0
  61. data/assets/images/social_icons/default/16/picasa.png +0 -0
  62. data/assets/images/social_icons/default/16/pownce.png +0 -0
  63. data/assets/images/social_icons/default/16/reddit.png +0 -0
  64. data/assets/images/social_icons/default/16/social_icons_16.png +0 -0
  65. data/assets/images/social_icons/default/16/stumbleupon.png +0 -0
  66. data/assets/images/social_icons/default/16/technorati.png +0 -0
  67. data/assets/images/social_icons/default/16/twitter.png +0 -0
  68. data/assets/images/social_icons/default/16/vimeo.png +0 -0
  69. data/assets/images/social_icons/default/16/webshots.png +0 -0
  70. data/assets/images/social_icons/default/16/wordpress.png +0 -0
  71. data/assets/images/social_icons/default/16/yelp.png +0 -0
  72. data/assets/images/social_icons/default/16/youtube.png +0 -0
  73. data/assets/images/social_icons/default/20/Google.png +0 -0
  74. data/assets/images/social_icons/default/20/blogger.png +0 -0
  75. data/assets/images/social_icons/default/20/convert_jpg_to_1024_in_a_dir.sh +9 -0
  76. data/assets/images/social_icons/default/20/delicious.png +0 -0
  77. data/assets/images/social_icons/default/20/digg.png +0 -0
  78. data/assets/images/social_icons/default/20/ebay.png +0 -0
  79. data/assets/images/social_icons/default/20/facebook.png +0 -0
  80. data/assets/images/social_icons/default/20/feed.png +0 -0
  81. data/assets/images/social_icons/default/20/flickr.png +0 -0
  82. data/assets/images/social_icons/default/20/friendfeed.png +0 -0
  83. data/assets/images/social_icons/default/20/friendster.png +0 -0
  84. data/assets/images/social_icons/default/20/furl.png +0 -0
  85. data/assets/images/social_icons/default/20/lastfm.png +0 -0
  86. data/assets/images/social_icons/default/20/linkedin.png +0 -0
  87. data/assets/images/social_icons/default/20/livejournal.png +0 -0
  88. data/assets/images/social_icons/default/20/magnolia.png +0 -0
  89. data/assets/images/social_icons/default/20/mixx.png +0 -0
  90. data/assets/images/social_icons/default/20/myspace.png +0 -0
  91. data/assets/images/social_icons/default/20/netvibes.png +0 -0
  92. data/assets/images/social_icons/default/20/newsvine.png +0 -0
  93. data/assets/images/social_icons/default/20/picasa.png +0 -0
  94. data/assets/images/social_icons/default/20/pownce.png +0 -0
  95. data/assets/images/social_icons/default/20/reddit.png +0 -0
  96. data/assets/images/social_icons/default/20/social_icons_20.png +0 -0
  97. data/assets/images/social_icons/default/20/stumbleupon.png +0 -0
  98. data/assets/images/social_icons/default/20/technorati.png +0 -0
  99. data/assets/images/social_icons/default/20/twitter.png +0 -0
  100. data/assets/images/social_icons/default/20/vimeo.png +0 -0
  101. data/assets/images/social_icons/default/20/webshots.png +0 -0
  102. data/assets/images/social_icons/default/20/wordpress.png +0 -0
  103. data/assets/images/social_icons/default/20/yelp.png +0 -0
  104. data/assets/images/social_icons/default/20/youtube.png +0 -0
  105. data/assets/images/social_icons/default/24/Google.png +0 -0
  106. data/assets/images/social_icons/default/24/blogger.png +0 -0
  107. data/assets/images/social_icons/default/24/delicious.png +0 -0
  108. data/assets/images/social_icons/default/24/digg.png +0 -0
  109. data/assets/images/social_icons/default/24/ebay.png +0 -0
  110. data/assets/images/social_icons/default/24/facebook.png +0 -0
  111. data/assets/images/social_icons/default/24/feed.png +0 -0
  112. data/assets/images/social_icons/default/24/flickr.png +0 -0
  113. data/assets/images/social_icons/default/24/friendfeed.png +0 -0
  114. data/assets/images/social_icons/default/24/friendster.png +0 -0
  115. data/assets/images/social_icons/default/24/furl.png +0 -0
  116. data/assets/images/social_icons/default/24/lastfm.png +0 -0
  117. data/assets/images/social_icons/default/24/linkedin.png +0 -0
  118. data/assets/images/social_icons/default/24/livejournal.png +0 -0
  119. data/assets/images/social_icons/default/24/magnolia.png +0 -0
  120. data/assets/images/social_icons/default/24/mixx.png +0 -0
  121. data/assets/images/social_icons/default/24/myspace.png +0 -0
  122. data/assets/images/social_icons/default/24/netvibes.png +0 -0
  123. data/assets/images/social_icons/default/24/newsvine.png +0 -0
  124. data/assets/images/social_icons/default/24/picasa.png +0 -0
  125. data/assets/images/social_icons/default/24/pownce.png +0 -0
  126. data/assets/images/social_icons/default/24/reddit.png +0 -0
  127. data/assets/images/social_icons/default/24/social_icons_24.png +0 -0
  128. data/assets/images/social_icons/default/24/stumbleupon.png +0 -0
  129. data/assets/images/social_icons/default/24/technorati.png +0 -0
  130. data/assets/images/social_icons/default/24/twitter.png +0 -0
  131. data/assets/images/social_icons/default/24/vimeo.png +0 -0
  132. data/assets/images/social_icons/default/24/webshots.png +0 -0
  133. data/assets/images/social_icons/default/24/wordpress.png +0 -0
  134. data/assets/images/social_icons/default/24/yelp.png +0 -0
  135. data/assets/images/social_icons/default/24/youtube.png +0 -0
  136. data/assets/images/social_icons/default/48/Google.png +0 -0
  137. data/assets/images/social_icons/default/48/blogger.png +0 -0
  138. data/assets/images/social_icons/default/48/delicious.png +0 -0
  139. data/assets/images/social_icons/default/48/digg.png +0 -0
  140. data/assets/images/social_icons/default/48/ebay.png +0 -0
  141. data/assets/images/social_icons/default/48/facebook.png +0 -0
  142. data/assets/images/social_icons/default/48/feed.png +0 -0
  143. data/assets/images/social_icons/default/48/flickr.png +0 -0
  144. data/assets/images/social_icons/default/48/friendfeed.png +0 -0
  145. data/assets/images/social_icons/default/48/friendster.png +0 -0
  146. data/assets/images/social_icons/default/48/furl.png +0 -0
  147. data/assets/images/social_icons/default/48/lastfm.png +0 -0
  148. data/assets/images/social_icons/default/48/linkedin.png +0 -0
  149. data/assets/images/social_icons/default/48/livejournal.png +0 -0
  150. data/assets/images/social_icons/default/48/magnolia.png +0 -0
  151. data/assets/images/social_icons/default/48/mixx.png +0 -0
  152. data/assets/images/social_icons/default/48/myspace.png +0 -0
  153. data/assets/images/social_icons/default/48/netvibes.png +0 -0
  154. data/assets/images/social_icons/default/48/newsvine.png +0 -0
  155. data/assets/images/social_icons/default/48/picasa.png +0 -0
  156. data/assets/images/social_icons/default/48/pownce.png +0 -0
  157. data/assets/images/social_icons/default/48/reddit.png +0 -0
  158. data/assets/images/social_icons/default/48/social_icons_48.png +0 -0
  159. data/assets/images/social_icons/default/48/stumbleupon.png +0 -0
  160. data/assets/images/social_icons/default/48/technorati.png +0 -0
  161. data/assets/images/social_icons/default/48/twitter.png +0 -0
  162. data/assets/images/social_icons/default/48/vimeo.png +0 -0
  163. data/assets/images/social_icons/default/48/webshots.png +0 -0
  164. data/assets/images/social_icons/default/48/wordpress.png +0 -0
  165. data/assets/images/social_icons/default/48/yelp.png +0 -0
  166. data/assets/images/social_icons/default/48/youtube.png +0 -0
  167. data/assets/images/social_icons/default/60/Google.psd +0 -0
  168. data/assets/images/social_icons/default/60/blogger.png +0 -0
  169. data/assets/images/social_icons/default/60/delicious.png +0 -0
  170. data/assets/images/social_icons/default/60/digg.png +0 -0
  171. data/assets/images/social_icons/default/60/ebay.png +0 -0
  172. data/assets/images/social_icons/default/60/facebook.png +0 -0
  173. data/assets/images/social_icons/default/60/feed.png +0 -0
  174. data/assets/images/social_icons/default/60/flickr.png +0 -0
  175. data/assets/images/social_icons/default/60/friendfeed.png +0 -0
  176. data/assets/images/social_icons/default/60/friendster.png +0 -0
  177. data/assets/images/social_icons/default/60/furl.png +0 -0
  178. data/assets/images/social_icons/default/60/lastfm.png +0 -0
  179. data/assets/images/social_icons/default/60/linkedin.png +0 -0
  180. data/assets/images/social_icons/default/60/livejournal.png +0 -0
  181. data/assets/images/social_icons/default/60/magnolia.png +0 -0
  182. data/assets/images/social_icons/default/60/mixx.png +0 -0
  183. data/assets/images/social_icons/default/60/myspace.png +0 -0
  184. data/assets/images/social_icons/default/60/netvibes.png +0 -0
  185. data/assets/images/social_icons/default/60/newsvine.png +0 -0
  186. data/assets/images/social_icons/default/60/picasa.png +0 -0
  187. data/assets/images/social_icons/default/60/pownce.png +0 -0
  188. data/assets/images/social_icons/default/60/reddit.png +0 -0
  189. data/assets/images/social_icons/default/60/social_icons_60.png +0 -0
  190. data/assets/images/social_icons/default/60/stumbleupon.png +0 -0
  191. data/assets/images/social_icons/default/60/technorati.png +0 -0
  192. data/assets/images/social_icons/default/60/twitter.png +0 -0
  193. data/assets/images/social_icons/default/60/vimeo.png +0 -0
  194. data/assets/images/social_icons/default/60/webshots.png +0 -0
  195. data/assets/images/social_icons/default/60/wordpress.png +0 -0
  196. data/assets/images/social_icons/default/60/yelp.png +0 -0
  197. data/assets/images/social_icons/default/60/youtube.png +0 -0
  198. data/assets/images/social_icons/default/readme.txt +42 -0
  199. data/assets/stylesheets/social_icons.css +14 -0
  200. data/assets/stylesheets/social_icons_aqua.css +34 -0
  201. data/assets/stylesheets/social_icons_default_16.css +34 -0
  202. data/assets/stylesheets/social_icons_default_20.css +34 -0
  203. data/assets/stylesheets/social_icons_default_24.css +34 -0
  204. data/assets/stylesheets/social_icons_default_48.css +34 -0
  205. data/assets/stylesheets/social_icons_default_60.css +33 -0
  206. data/init.rb +3 -0
  207. data/install.rb +12 -0
  208. data/lib/social_icons.rb +2 -0
  209. data/lib/social_icons/rails_engine.rb +9 -0
  210. data/lib/social_icons/view_helpers.rb +124 -0
  211. data/social_icons.gemspec +273 -0
  212. data/test/social_icons_test.rb +8 -0
  213. data/test/test_helper.rb +3 -0
  214. data/uninstall.rb +1 -0
  215. metadata +392 -0
@@ -0,0 +1,34 @@
1
+ social_sprites {
2
+ background: url(assets/social_icons/default/social_icons_24.png) no-repeat top left;
3
+ }
4
+
5
+ social.sprite-Google{ background-position: 0 0; width: 24px; height: 24px; }
6
+ social.sprite-blogger{ background-position: 0 -74px; width: 24px; height: 24px; }
7
+ social.sprite-delicious{ background-position: 0 -148px; width: 24px; height: 24px; }
8
+ social.sprite-digg{ background-position: 0 -222px; width: 24px; height: 24px; }
9
+ social.sprite-ebay{ background-position: 0 -296px; width: 24px; height: 24px; }
10
+ social.sprite-facebook{ background-position: 0 -370px; width: 24px; height: 24px; }
11
+ social.sprite-feed{ background-position: 0 -444px; width: 24px; height: 24px; }
12
+ social.sprite-flickr{ background-position: 0 -518px; width: 24px; height: 24px; }
13
+ social.sprite-friendfeed{ background-position: 0 -592px; width: 24px; height: 24px; }
14
+ social.sprite-friendster{ background-position: 0 -666px; width: 24px; height: 24px; }
15
+ social.sprite-furl{ background-position: 0 -740px; width: 24px; height: 24px; }
16
+ social.sprite-lastfm{ background-position: 0 -814px; width: 24px; height: 24px; }
17
+ social.sprite-linkedin{ background-position: 0 -888px; width: 24px; height: 24px; }
18
+ social.sprite-livejournal{ background-position: 0 -962px; width: 24px; height: 24px; }
19
+ social.sprite-magnolia{ background-position: 0 -1036px; width: 24px; height: 24px; }
20
+ social.sprite-mixx{ background-position: 0 -1110px; width: 24px; height: 24px; }
21
+ social.sprite-myspace{ background-position: 0 -1184px; width: 24px; height: 24px; }
22
+ social.sprite-netvibes{ background-position: 0 -1258px; width: 24px; height: 24px; }
23
+ social.sprite-newsvine{ background-position: 0 -1332px; width: 24px; height: 24px; }
24
+ social.sprite-picasa{ background-position: 0 -1406px; width: 24px; height: 24px; }
25
+ social.sprite-pownce{ background-position: 0 -1480px; width: 24px; height: 24px; }
26
+ social.sprite-reddit{ background-position: 0 -1554px; width: 24px; height: 24px; }
27
+ social.sprite-stumbleupon{ background-position: 0 -1628px; width: 24px; height: 24px; }
28
+ social.sprite-technorati{ background-position: 0 -1702px; width: 24px; height: 24px; }
29
+ social.sprite-twitter{ background-position: 0 -1776px; width: 24px; height: 24px; }
30
+ social.sprite-vimeo{ background-position: 0 -1850px; width: 24px; height: 24px; }
31
+ social.sprite-webshots{ background-position: 0 -1924px; width: 24px; height: 24px; }
32
+ social.sprite-wordpress{ background-position: -74px 0; width: 24px; height: 24px; }
33
+ social.sprite-yelp{ background-position: -74px -74px; width: 24px; height: 24px; }
34
+ social.sprite-youtube{ background-position: -74px -148px; width: 24px; height: 24px; }
@@ -0,0 +1,34 @@
1
+ social_sprites {
2
+ background: url(assets/social_icons/default/social_icons_48.png) no-repeat top left;
3
+ }
4
+
5
+ social.sprite-Google{ background-position: 0 0; width: 48px; height: 48px; }
6
+ social.sprite-blogger{ background-position: 0 -98px; width: 48px; height: 48px; }
7
+ social.sprite-delicious{ background-position: 0 -196px; width: 48px; height: 48px; }
8
+ social.sprite-digg{ background-position: 0 -294px; width: 48px; height: 48px; }
9
+ social.sprite-ebay{ background-position: 0 -392px; width: 48px; height: 48px; }
10
+ social.sprite-facebook{ background-position: 0 -490px; width: 48px; height: 48px; }
11
+ social.sprite-feed{ background-position: 0 -588px; width: 48px; height: 48px; }
12
+ social.sprite-flickr{ background-position: 0 -686px; width: 48px; height: 48px; }
13
+ social.sprite-friendfeed{ background-position: 0 -784px; width: 48px; height: 48px; }
14
+ social.sprite-friendster{ background-position: 0 -882px; width: 48px; height: 48px; }
15
+ social.sprite-furl{ background-position: 0 -980px; width: 48px; height: 48px; }
16
+ social.sprite-lastfm{ background-position: 0 -1078px; width: 48px; height: 48px; }
17
+ social.sprite-linkedin{ background-position: 0 -1176px; width: 48px; height: 48px; }
18
+ social.sprite-livejournal{ background-position: 0 -1274px; width: 48px; height: 48px; }
19
+ social.sprite-magnolia{ background-position: 0 -1372px; width: 48px; height: 48px; }
20
+ social.sprite-mixx{ background-position: 0 -1470px; width: 48px; height: 48px; }
21
+ social.sprite-myspace{ background-position: 0 -1568px; width: 48px; height: 48px; }
22
+ social.sprite-netvibes{ background-position: 0 -1666px; width: 48px; height: 48px; }
23
+ social.sprite-newsvine{ background-position: 0 -1764px; width: 48px; height: 48px; }
24
+ social.sprite-picasa{ background-position: 0 -1862px; width: 48px; height: 48px; }
25
+ social.sprite-pownce{ background-position: -98px 0; width: 48px; height: 48px; }
26
+ social.sprite-reddit{ background-position: -98px -98px; width: 48px; height: 48px; }
27
+ social.sprite-stumbleupon{ background-position: -98px -196px; width: 48px; height: 48px; }
28
+ social.sprite-technorati{ background-position: -98px -294px; width: 48px; height: 48px; }
29
+ social.sprite-twitter{ background-position: -98px -392px; width: 48px; height: 48px; }
30
+ social.sprite-vimeo{ background-position: -98px -490px; width: 48px; height: 48px; }
31
+ social.sprite-webshots{ background-position: -98px -588px; width: 48px; height: 48px; }
32
+ social.sprite-wordpress{ background-position: -98px -686px; width: 48px; height: 48px; }
33
+ social.sprite-yelp{ background-position: -98px -784px; width: 48px; height: 48px; }
34
+ social.sprite-youtube{ background-position: -98px -882px; width: 48px; height: 48px; }
@@ -0,0 +1,33 @@
1
+ social_sprites {
2
+ background: url(assets/social_icons/default/social_icons_60.png) no-repeat top left;
3
+ }
4
+
5
+ social.sprite-blogger{ background-position: 0 0; width: 60px; height: 60px; }
6
+ social.sprite-delicious{ background-position: 0 -80px; width: 60px; height: 60px; }
7
+ social.sprite-digg{ background-position: 0 -160px; width: 60px; height: 60px; }
8
+ social.sprite-ebay{ background-position: 0 -240px; width: 60px; height: 60px; }
9
+ social.sprite-facebook{ background-position: 0 -320px; width: 60px; height: 60px; }
10
+ social.sprite-feed{ background-position: 0 -400px; width: 60px; height: 60px; }
11
+ social.sprite-flickr{ background-position: 0 -480px; width: 60px; height: 60px; }
12
+ social.sprite-friendfeed{ background-position: 0 -560px; width: 60px; height: 60px; }
13
+ social.sprite-friendster{ background-position: 0 -640px; width: 60px; height: 60px; }
14
+ social.sprite-furl{ background-position: 0 -720px; width: 60px; height: 60px; }
15
+ social.sprite-lastfm{ background-position: 0 -800px; width: 60px; height: 60px; }
16
+ social.sprite-linkedin{ background-position: 0 -880px; width: 60px; height: 60px; }
17
+ social.sprite-livejournal{ background-position: 0 -960px; width: 60px; height: 60px; }
18
+ social.sprite-magnolia{ background-position: 0 -1040px; width: 60px; height: 60px; }
19
+ social.sprite-mixx{ background-position: 0 -1120px; width: 60px; height: 60px; }
20
+ social.sprite-myspace{ background-position: 0 -1200px; width: 60px; height: 60px; }
21
+ social.sprite-netvibes{ background-position: 0 -1280px; width: 60px; height: 60px; }
22
+ social.sprite-newsvine{ background-position: 0 -1360px; width: 60px; height: 60px; }
23
+ social.sprite-picasa{ background-position: 0 -1440px; width: 60px; height: 60px; }
24
+ social.sprite-pownce{ background-position: 0 -1520px; width: 60px; height: 60px; }
25
+ social.sprite-reddit{ background-position: 0 -1600px; width: 60px; height: 60px; }
26
+ social.sprite-stumbleupon{ background-position: 0 -1680px; width: 60px; height: 60px; }
27
+ social.sprite-technorati{ background-position: 0 -1760px; width: 60px; height: 60px; }
28
+ social.sprite-twitter{ background-position: 0 -1840px; width: 60px; height: 60px; }
29
+ social.sprite-vimeo{ background-position: 0 -1920px; width: 60px; height: 60px; }
30
+ social.sprite-webshots{ background-position: -80px 0; width: 60px; height: 60px; }
31
+ social.sprite-wordpress{ background-position: -80px -80px; width: 60px; height: 60px; }
32
+ social.sprite-yelp{ background-position: -80px -160px; width: 60px; height: 60px; }
33
+ social.sprite-youtube{ background-position: -80px -240px; width: 60px; height: 60px; }
data/init.rb ADDED
@@ -0,0 +1,3 @@
1
+ # Include hook code here
2
+ require "social_icons/view_helpers"
3
+ ActionView::Base.send :include, SocialIcons::ViewHelpers
@@ -0,0 +1,12 @@
1
+ # Install hook code here
2
+ puts "Copying files..."
3
+
4
+ dest_file = File.join(RAILS_ROOT, "public", "images")
5
+ src_file = File.join(File.dirname(__FILE__), "assets", "images", "social_icons")
6
+ FileUtils.cp_r(src_file, dest_file)
7
+
8
+ dest_file = File.join(RAILS_ROOT, "public", "stylesheets")
9
+ src_file = File.join(File.dirname(__FILE__), "assets", "stylesheets", "social_icons.css")
10
+ FileUtils.cp_r(src_file, dest_file)
11
+
12
+ puts "Files copied."
@@ -0,0 +1,2 @@
1
+ require 'social_icons/view_helpers'
2
+ require 'social_icons/rails_engine' if defined?(::Rails::Engine)
@@ -0,0 +1,9 @@
1
+ module SocialIcons
2
+ module Rails
3
+ class Engine < ::Rails::Engine
4
+ initializer "setup for rails" do
5
+ ActionView::Base.send :include, SocialIcons::ViewHelpers
6
+ end
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,124 @@
1
+ module SocialIcons
2
+
3
+ module ViewHelpers
4
+
5
+ # default options that can be overridden on the global level
6
+ @@social_icons_options = {
7
+ :icon_set => 'default'
8
+ }
9
+ mattr_reader :social_icons_options
10
+
11
+
12
+ # NOT: Methodunun ismi social_icons olursa partial ismi ile çakışıyor!
13
+ def print_social_icons(opts = {})
14
+ link = "http://" + request.env["HTTP_HOST"] + request.request_uri
15
+ default_opts = {:size => 48, :link => link, :title => "", :icon_set => "default"}
16
+ opts = default_opts.merge(opts)
17
+ opts[:icon_path] = "social_icons/#{opts[:icon_set]}/#{opts[:size]}"
18
+ out = ""
19
+ out << "<div class=\"social_icons_container\">"
20
+ out << "<div class=\"facebook_like_button\">#{facebook_like_button(opts)}</div>"
21
+ out << "<div class=\"social_icons\">"
22
+ out << "<span class=\"social_icon_twitter\">#{social_icon_twitter(opts)}</span>"
23
+ out << "<span class=\"social_icon_facebook\">#{social_icon_facebook(opts)}</span>"
24
+ out << "<span class=\"social_icon_delicious\">#{social_icon_delicious(opts)}</span>"
25
+ out << "<span class=\"social_icon_digg\">#{social_icon_digg(opts)}</span>"
26
+ out << "<span class=\"social_icon_reddit\">#{social_icon_reddit(opts)}</span>"
27
+ out << "</div>"
28
+ out << "</div>"
29
+ out
30
+ end
31
+
32
+ def facebook_like_button(opts = {})
33
+ url = opts[:link]
34
+ out = '<iframe src="http://www.facebook.com/plugins/like.php?href=' + url + '&layout=standard&show_faces=true&width=272&action=like&colorscheme=light&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:272px; height:80px;" allowTransparency="true"></iframe>'
35
+ out
36
+ end
37
+
38
+ # <a title="Click to share this post on Twitter"
39
+ # href="http://twitter.com/home?status=Currently reading &lt;?php the_permalink(); ?&gt;" target="_blank" class="twitter">Share on Twitter</a>
40
+ #
41
+ def social_icon_twitter(opts = {})
42
+ url = "http://twitter.com/home?status=#{opts[:title]}+#{opts[:link]}"
43
+ out = link_to(image_tag("#{opts[:icon_path]}/twitter.png", :alt => t('social_icons.twitter')), url, :title => t('social_icons.twitter'), :target => "_blank")
44
+ out
45
+ end
46
+
47
+ # <a name="fb_share" type="button_count" share_url="http://google.com" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
48
+ #
49
+ # Facebook sayfa ile ilgili bilgiyi sayfaya bağlanıp da çekiyor.
50
+ # O yüzden title bilgisini göndermeye gerek yok.
51
+ #
52
+ # NOT: facebook encode edilmiş permalinkleri sevmiyor!
53
+ def social_icon_facebook(opts = {})
54
+ default_opts = {:title => "", :desc => "", :link => ""}
55
+ opts = default_opts.merge(opts)
56
+ link = "http://www.facebook.com/sharer.php?u=" +
57
+ CGI.unescape(opts[:link]) +
58
+ "&t=#{opts[:title]}"
59
+ out = "<a onclick=\"window.open('#{link}'" +
60
+ ",'sharer','toolbar=0,status=0,width=626,height=436');return false;\"" +
61
+ '" href="' + link + '">' +
62
+ image_tag("#{opts[:icon_path]}/facebook.png",
63
+ :alt => t("social_icons.facebook"),
64
+ :title => t("social_icons.facebook")) +
65
+ '</a>'
66
+ out
67
+ end
68
+
69
+ # <a title="Digg this post" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.weddingbee.com%2F2009%2F03%2F11%2Fadd-share-icons-for-social-media%2F" rel="nofollow" target="_blank"><img alt="Digg this post" src="http://www-static.weddingbee.com/images/digg.gif" style="border: medium none ;"></a>
70
+ def social_icon_digg(opts)
71
+ icon_label = t("social_icons.digg")
72
+ default_opts = {:title => "", :desc => "", :link => ""}
73
+ opts = default_opts.merge(opts)
74
+ out = '<a title="' +
75
+ icon_label +
76
+ '" href="http://digg.com/submit?phase=2&url=' +
77
+ opts[:link] +
78
+ '&title=' +
79
+ opts[:title] +
80
+ '" rel="nofollow" target="_blank">' +
81
+ image_tag("#{opts[:icon_path]}/digg.png", :alt => icon_label, :title => icon_label) +
82
+ '</a>'
83
+ end
84
+
85
+ # <a href="http://delicious.com/save?url=<?php urlencode(the_permalink()); ?>&amp;title=<?php urlencode(the_title()); ?>" onclick="window.open('http://delicious.com/save?v=5&amp;noui&amp;jump=close&amp;url=<?php urlencode(the_permalink()); ?>&amp;title=<?php urlencode(the_title()); ?>', 'delicious', 'toolbar=no,width=550,height=550'); return false;" title="Bookmark this post on del.icio.us"> </a>
86
+ def social_icon_delicious(opts)
87
+ icon_label = t("social_icons.delicious")
88
+ default_opts = {:title => "", :desc => "", :link => ""}
89
+ opts = default_opts.merge(opts)
90
+ out = '<a href="http://delicious.com/save?url=' +
91
+ opts[:link] +
92
+ '&title=' +
93
+ opts[:title] +
94
+ '" onclick="' +
95
+ "window.open('http://delicious.com/save?v=5&amp;noui&amp;jump=close&amp;url=" +
96
+ opts[:link] +
97
+ '&amp;title=' +
98
+ opts[:title] +
99
+ "', 'delicious', 'toolbar=no,width=550,height=550'); return false;\" title=\"" +
100
+ "Bookmark this post on del.icio.us" + '"> ' +
101
+ image_tag("#{opts[:icon_path]}/delicious.png", :alt => icon_label, :title => icon_label) +
102
+ '</a>'
103
+ end
104
+
105
+
106
+ # <a href="http://reddit.com/submit?url=<?php the_permalink(); ?>" rel="nofollow" title="Submit to Reddit" target="_blank"> </a>
107
+ def social_icon_reddit(opts)
108
+ icon_label = t("social_icons.reddit")
109
+ default_opts = {:title => "", :desc => "", :link => ""}
110
+ opts = default_opts.merge(opts)
111
+ out = '<a href="http://reddit.com/submit?url=' +
112
+ opts[:link] +
113
+ '&title=' +
114
+ opts[:title] +
115
+ '" rel="nofollow" title="' +
116
+ opts[:title] +
117
+ '" target="_blank">' +
118
+ image_tag("#{opts[:icon_path]}/reddit.png", :alt => icon_label, :title => icon_label) +
119
+ '</a>'
120
+ end
121
+
122
+ end
123
+
124
+ end
@@ -0,0 +1,273 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "social_icons"
8
+ s.version = "0.2.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Kristian Mandrup"]
12
+ s.date = "2012-03-27"
13
+ s.description = "Add social media icons to your Rails 3 using CSS sprites or images"
14
+ s.email = [""]
15
+ s.extra_rdoc_files = [
16
+ "README"
17
+ ]
18
+ s.files = [
19
+ "Gemfile",
20
+ "Gemfile.lock",
21
+ "MIT-LICENSE",
22
+ "README",
23
+ "Rakefile",
24
+ "VERSION",
25
+ "assets/images/social_icons/aquaticus/IconsPedia.url",
26
+ "assets/images/social_icons/aquaticus/Quaqe9.url",
27
+ "assets/images/social_icons/aquaticus/ReadMe.rtf",
28
+ "assets/images/social_icons/aquaticus/aquaticus.social.png",
29
+ "assets/images/social_icons/aquaticus/png/blogger.png",
30
+ "assets/images/social_icons/aquaticus/png/delicious.png",
31
+ "assets/images/social_icons/aquaticus/png/digg.png",
32
+ "assets/images/social_icons/aquaticus/png/facebook.png",
33
+ "assets/images/social_icons/aquaticus/png/feed.png",
34
+ "assets/images/social_icons/aquaticus/png/flickr.png",
35
+ "assets/images/social_icons/aquaticus/png/friendfeed.png",
36
+ "assets/images/social_icons/aquaticus/png/friendster.png",
37
+ "assets/images/social_icons/aquaticus/png/furl.png",
38
+ "assets/images/social_icons/aquaticus/png/google.png",
39
+ "assets/images/social_icons/aquaticus/png/lastfm.png",
40
+ "assets/images/social_icons/aquaticus/png/linkedin.png",
41
+ "assets/images/social_icons/aquaticus/png/livejournal.png",
42
+ "assets/images/social_icons/aquaticus/png/magnolia.png",
43
+ "assets/images/social_icons/aquaticus/png/mixx.png",
44
+ "assets/images/social_icons/aquaticus/png/myspace.png",
45
+ "assets/images/social_icons/aquaticus/png/netvibes.png",
46
+ "assets/images/social_icons/aquaticus/png/newsvine.png",
47
+ "assets/images/social_icons/aquaticus/png/picasa.png",
48
+ "assets/images/social_icons/aquaticus/png/pownce.png",
49
+ "assets/images/social_icons/aquaticus/png/reddit.png",
50
+ "assets/images/social_icons/aquaticus/png/social_icons_aqua.png",
51
+ "assets/images/social_icons/aquaticus/png/stumbleupon.png",
52
+ "assets/images/social_icons/aquaticus/png/technorati.png",
53
+ "assets/images/social_icons/aquaticus/png/twitter.png",
54
+ "assets/images/social_icons/aquaticus/png/vimeo.png",
55
+ "assets/images/social_icons/aquaticus/png/webshots.png",
56
+ "assets/images/social_icons/aquaticus/png/wordpress.png",
57
+ "assets/images/social_icons/aquaticus/png/yahoo.png",
58
+ "assets/images/social_icons/aquaticus/png/yelp.png",
59
+ "assets/images/social_icons/aquaticus/png/youtube.png",
60
+ "assets/images/social_icons/default/16/Google.png",
61
+ "assets/images/social_icons/default/16/blogger.png",
62
+ "assets/images/social_icons/default/16/delicious.png",
63
+ "assets/images/social_icons/default/16/digg.png",
64
+ "assets/images/social_icons/default/16/ebay.png",
65
+ "assets/images/social_icons/default/16/facebook.png",
66
+ "assets/images/social_icons/default/16/feed.png",
67
+ "assets/images/social_icons/default/16/flickr.png",
68
+ "assets/images/social_icons/default/16/friendfeed.png",
69
+ "assets/images/social_icons/default/16/friendster.png",
70
+ "assets/images/social_icons/default/16/furl.png",
71
+ "assets/images/social_icons/default/16/lastfm.png",
72
+ "assets/images/social_icons/default/16/linkedin.png",
73
+ "assets/images/social_icons/default/16/livejournal.png",
74
+ "assets/images/social_icons/default/16/magnolia.png",
75
+ "assets/images/social_icons/default/16/mixx.png",
76
+ "assets/images/social_icons/default/16/myspace.png",
77
+ "assets/images/social_icons/default/16/netvibes.png",
78
+ "assets/images/social_icons/default/16/newsvine.png",
79
+ "assets/images/social_icons/default/16/picasa.png",
80
+ "assets/images/social_icons/default/16/pownce.png",
81
+ "assets/images/social_icons/default/16/reddit.png",
82
+ "assets/images/social_icons/default/16/social_icons_16.png",
83
+ "assets/images/social_icons/default/16/stumbleupon.png",
84
+ "assets/images/social_icons/default/16/technorati.png",
85
+ "assets/images/social_icons/default/16/twitter.png",
86
+ "assets/images/social_icons/default/16/vimeo.png",
87
+ "assets/images/social_icons/default/16/webshots.png",
88
+ "assets/images/social_icons/default/16/wordpress.png",
89
+ "assets/images/social_icons/default/16/yelp.png",
90
+ "assets/images/social_icons/default/16/youtube.png",
91
+ "assets/images/social_icons/default/20/Google.png",
92
+ "assets/images/social_icons/default/20/blogger.png",
93
+ "assets/images/social_icons/default/20/convert_jpg_to_1024_in_a_dir.sh",
94
+ "assets/images/social_icons/default/20/delicious.png",
95
+ "assets/images/social_icons/default/20/digg.png",
96
+ "assets/images/social_icons/default/20/ebay.png",
97
+ "assets/images/social_icons/default/20/facebook.png",
98
+ "assets/images/social_icons/default/20/feed.png",
99
+ "assets/images/social_icons/default/20/flickr.png",
100
+ "assets/images/social_icons/default/20/friendfeed.png",
101
+ "assets/images/social_icons/default/20/friendster.png",
102
+ "assets/images/social_icons/default/20/furl.png",
103
+ "assets/images/social_icons/default/20/lastfm.png",
104
+ "assets/images/social_icons/default/20/linkedin.png",
105
+ "assets/images/social_icons/default/20/livejournal.png",
106
+ "assets/images/social_icons/default/20/magnolia.png",
107
+ "assets/images/social_icons/default/20/mixx.png",
108
+ "assets/images/social_icons/default/20/myspace.png",
109
+ "assets/images/social_icons/default/20/netvibes.png",
110
+ "assets/images/social_icons/default/20/newsvine.png",
111
+ "assets/images/social_icons/default/20/picasa.png",
112
+ "assets/images/social_icons/default/20/pownce.png",
113
+ "assets/images/social_icons/default/20/reddit.png",
114
+ "assets/images/social_icons/default/20/social_icons_20.png",
115
+ "assets/images/social_icons/default/20/stumbleupon.png",
116
+ "assets/images/social_icons/default/20/technorati.png",
117
+ "assets/images/social_icons/default/20/twitter.png",
118
+ "assets/images/social_icons/default/20/vimeo.png",
119
+ "assets/images/social_icons/default/20/webshots.png",
120
+ "assets/images/social_icons/default/20/wordpress.png",
121
+ "assets/images/social_icons/default/20/yelp.png",
122
+ "assets/images/social_icons/default/20/youtube.png",
123
+ "assets/images/social_icons/default/24/Google.png",
124
+ "assets/images/social_icons/default/24/blogger.png",
125
+ "assets/images/social_icons/default/24/delicious.png",
126
+ "assets/images/social_icons/default/24/digg.png",
127
+ "assets/images/social_icons/default/24/ebay.png",
128
+ "assets/images/social_icons/default/24/facebook.png",
129
+ "assets/images/social_icons/default/24/feed.png",
130
+ "assets/images/social_icons/default/24/flickr.png",
131
+ "assets/images/social_icons/default/24/friendfeed.png",
132
+ "assets/images/social_icons/default/24/friendster.png",
133
+ "assets/images/social_icons/default/24/furl.png",
134
+ "assets/images/social_icons/default/24/lastfm.png",
135
+ "assets/images/social_icons/default/24/linkedin.png",
136
+ "assets/images/social_icons/default/24/livejournal.png",
137
+ "assets/images/social_icons/default/24/magnolia.png",
138
+ "assets/images/social_icons/default/24/mixx.png",
139
+ "assets/images/social_icons/default/24/myspace.png",
140
+ "assets/images/social_icons/default/24/netvibes.png",
141
+ "assets/images/social_icons/default/24/newsvine.png",
142
+ "assets/images/social_icons/default/24/picasa.png",
143
+ "assets/images/social_icons/default/24/pownce.png",
144
+ "assets/images/social_icons/default/24/reddit.png",
145
+ "assets/images/social_icons/default/24/social_icons_24.png",
146
+ "assets/images/social_icons/default/24/stumbleupon.png",
147
+ "assets/images/social_icons/default/24/technorati.png",
148
+ "assets/images/social_icons/default/24/twitter.png",
149
+ "assets/images/social_icons/default/24/vimeo.png",
150
+ "assets/images/social_icons/default/24/webshots.png",
151
+ "assets/images/social_icons/default/24/wordpress.png",
152
+ "assets/images/social_icons/default/24/yelp.png",
153
+ "assets/images/social_icons/default/24/youtube.png",
154
+ "assets/images/social_icons/default/48/Google.png",
155
+ "assets/images/social_icons/default/48/blogger.png",
156
+ "assets/images/social_icons/default/48/delicious.png",
157
+ "assets/images/social_icons/default/48/digg.png",
158
+ "assets/images/social_icons/default/48/ebay.png",
159
+ "assets/images/social_icons/default/48/facebook.png",
160
+ "assets/images/social_icons/default/48/feed.png",
161
+ "assets/images/social_icons/default/48/flickr.png",
162
+ "assets/images/social_icons/default/48/friendfeed.png",
163
+ "assets/images/social_icons/default/48/friendster.png",
164
+ "assets/images/social_icons/default/48/furl.png",
165
+ "assets/images/social_icons/default/48/lastfm.png",
166
+ "assets/images/social_icons/default/48/linkedin.png",
167
+ "assets/images/social_icons/default/48/livejournal.png",
168
+ "assets/images/social_icons/default/48/magnolia.png",
169
+ "assets/images/social_icons/default/48/mixx.png",
170
+ "assets/images/social_icons/default/48/myspace.png",
171
+ "assets/images/social_icons/default/48/netvibes.png",
172
+ "assets/images/social_icons/default/48/newsvine.png",
173
+ "assets/images/social_icons/default/48/picasa.png",
174
+ "assets/images/social_icons/default/48/pownce.png",
175
+ "assets/images/social_icons/default/48/reddit.png",
176
+ "assets/images/social_icons/default/48/social_icons_48.png",
177
+ "assets/images/social_icons/default/48/stumbleupon.png",
178
+ "assets/images/social_icons/default/48/technorati.png",
179
+ "assets/images/social_icons/default/48/twitter.png",
180
+ "assets/images/social_icons/default/48/vimeo.png",
181
+ "assets/images/social_icons/default/48/webshots.png",
182
+ "assets/images/social_icons/default/48/wordpress.png",
183
+ "assets/images/social_icons/default/48/yelp.png",
184
+ "assets/images/social_icons/default/48/youtube.png",
185
+ "assets/images/social_icons/default/60/Google.psd",
186
+ "assets/images/social_icons/default/60/blogger.png",
187
+ "assets/images/social_icons/default/60/delicious.png",
188
+ "assets/images/social_icons/default/60/digg.png",
189
+ "assets/images/social_icons/default/60/ebay.png",
190
+ "assets/images/social_icons/default/60/facebook.png",
191
+ "assets/images/social_icons/default/60/feed.png",
192
+ "assets/images/social_icons/default/60/flickr.png",
193
+ "assets/images/social_icons/default/60/friendfeed.png",
194
+ "assets/images/social_icons/default/60/friendster.png",
195
+ "assets/images/social_icons/default/60/furl.png",
196
+ "assets/images/social_icons/default/60/lastfm.png",
197
+ "assets/images/social_icons/default/60/linkedin.png",
198
+ "assets/images/social_icons/default/60/livejournal.png",
199
+ "assets/images/social_icons/default/60/magnolia.png",
200
+ "assets/images/social_icons/default/60/mixx.png",
201
+ "assets/images/social_icons/default/60/myspace.png",
202
+ "assets/images/social_icons/default/60/netvibes.png",
203
+ "assets/images/social_icons/default/60/newsvine.png",
204
+ "assets/images/social_icons/default/60/picasa.png",
205
+ "assets/images/social_icons/default/60/pownce.png",
206
+ "assets/images/social_icons/default/60/reddit.png",
207
+ "assets/images/social_icons/default/60/social_icons_60.png",
208
+ "assets/images/social_icons/default/60/stumbleupon.png",
209
+ "assets/images/social_icons/default/60/technorati.png",
210
+ "assets/images/social_icons/default/60/twitter.png",
211
+ "assets/images/social_icons/default/60/vimeo.png",
212
+ "assets/images/social_icons/default/60/webshots.png",
213
+ "assets/images/social_icons/default/60/wordpress.png",
214
+ "assets/images/social_icons/default/60/yelp.png",
215
+ "assets/images/social_icons/default/60/youtube.png",
216
+ "assets/images/social_icons/default/readme.txt",
217
+ "assets/stylesheets/social_icons.css",
218
+ "assets/stylesheets/social_icons_aqua.css",
219
+ "assets/stylesheets/social_icons_default_16.css",
220
+ "assets/stylesheets/social_icons_default_20.css",
221
+ "assets/stylesheets/social_icons_default_24.css",
222
+ "assets/stylesheets/social_icons_default_48.css",
223
+ "assets/stylesheets/social_icons_default_60.css",
224
+ "init.rb",
225
+ "install.rb",
226
+ "lib/social_icons.rb",
227
+ "lib/social_icons/rails_engine.rb",
228
+ "lib/social_icons/view_helpers.rb",
229
+ "social_icons.gemspec",
230
+ "test/social_icons_test.rb",
231
+ "test/test_helper.rb",
232
+ "uninstall.rb"
233
+ ]
234
+ s.homepage = "https://github.com/kristianmandrup/social_icons"
235
+ s.licenses = ["MIT"]
236
+ s.require_paths = ["lib"]
237
+ s.rubygems_version = "1.8.20"
238
+ s.summary = "Social media icons for Rails 3"
239
+
240
+ if s.respond_to? :specification_version then
241
+ s.specification_version = 3
242
+
243
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
244
+ s.add_runtime_dependency(%q<haml>, [">= 0"])
245
+ s.add_development_dependency(%q<rails>, [">= 3"])
246
+ s.add_development_dependency(%q<rspec>, [">= 2"])
247
+ s.add_development_dependency(%q<rspec-rails>, [">= 2.5"])
248
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
249
+ s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
250
+ s.add_development_dependency(%q<jeweler>, [">= 1.5.2"])
251
+ s.add_development_dependency(%q<simplecov>, [">= 0"])
252
+ else
253
+ s.add_dependency(%q<haml>, [">= 0"])
254
+ s.add_dependency(%q<rails>, [">= 3"])
255
+ s.add_dependency(%q<rspec>, [">= 2"])
256
+ s.add_dependency(%q<rspec-rails>, [">= 2.5"])
257
+ s.add_dependency(%q<shoulda>, [">= 0"])
258
+ s.add_dependency(%q<bundler>, [">= 1.0.0"])
259
+ s.add_dependency(%q<jeweler>, [">= 1.5.2"])
260
+ s.add_dependency(%q<simplecov>, [">= 0"])
261
+ end
262
+ else
263
+ s.add_dependency(%q<haml>, [">= 0"])
264
+ s.add_dependency(%q<rails>, [">= 3"])
265
+ s.add_dependency(%q<rspec>, [">= 2"])
266
+ s.add_dependency(%q<rspec-rails>, [">= 2.5"])
267
+ s.add_dependency(%q<shoulda>, [">= 0"])
268
+ s.add_dependency(%q<bundler>, [">= 1.0.0"])
269
+ s.add_dependency(%q<jeweler>, [">= 1.5.2"])
270
+ s.add_dependency(%q<simplecov>, [">= 0"])
271
+ end
272
+ end
273
+