social_icons 0.2.1
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.
- data/Gemfile +17 -0
- data/Gemfile.lock +122 -0
- data/MIT-LICENSE +20 -0
- data/README +71 -0
- data/Rakefile +37 -0
- data/VERSION +1 -0
- data/assets/images/social_icons/aquaticus/IconsPedia.url +5 -0
- data/assets/images/social_icons/aquaticus/Quaqe9.url +5 -0
- data/assets/images/social_icons/aquaticus/ReadMe.rtf +52 -0
- data/assets/images/social_icons/aquaticus/aquaticus.social.png +0 -0
- data/assets/images/social_icons/aquaticus/png/blogger.png +0 -0
- data/assets/images/social_icons/aquaticus/png/delicious.png +0 -0
- data/assets/images/social_icons/aquaticus/png/digg.png +0 -0
- data/assets/images/social_icons/aquaticus/png/facebook.png +0 -0
- data/assets/images/social_icons/aquaticus/png/feed.png +0 -0
- data/assets/images/social_icons/aquaticus/png/flickr.png +0 -0
- data/assets/images/social_icons/aquaticus/png/friendfeed.png +0 -0
- data/assets/images/social_icons/aquaticus/png/friendster.png +0 -0
- data/assets/images/social_icons/aquaticus/png/furl.png +0 -0
- data/assets/images/social_icons/aquaticus/png/google.png +0 -0
- data/assets/images/social_icons/aquaticus/png/lastfm.png +0 -0
- data/assets/images/social_icons/aquaticus/png/linkedin.png +0 -0
- data/assets/images/social_icons/aquaticus/png/livejournal.png +0 -0
- data/assets/images/social_icons/aquaticus/png/magnolia.png +0 -0
- data/assets/images/social_icons/aquaticus/png/mixx.png +0 -0
- data/assets/images/social_icons/aquaticus/png/myspace.png +0 -0
- data/assets/images/social_icons/aquaticus/png/netvibes.png +0 -0
- data/assets/images/social_icons/aquaticus/png/newsvine.png +0 -0
- data/assets/images/social_icons/aquaticus/png/picasa.png +0 -0
- data/assets/images/social_icons/aquaticus/png/pownce.png +0 -0
- data/assets/images/social_icons/aquaticus/png/reddit.png +0 -0
- data/assets/images/social_icons/aquaticus/png/social_icons_aqua.png +0 -0
- data/assets/images/social_icons/aquaticus/png/stumbleupon.png +0 -0
- data/assets/images/social_icons/aquaticus/png/technorati.png +0 -0
- data/assets/images/social_icons/aquaticus/png/twitter.png +0 -0
- data/assets/images/social_icons/aquaticus/png/vimeo.png +0 -0
- data/assets/images/social_icons/aquaticus/png/webshots.png +0 -0
- data/assets/images/social_icons/aquaticus/png/wordpress.png +0 -0
- data/assets/images/social_icons/aquaticus/png/yahoo.png +0 -0
- data/assets/images/social_icons/aquaticus/png/yelp.png +0 -0
- data/assets/images/social_icons/aquaticus/png/youtube.png +0 -0
- data/assets/images/social_icons/default/16/Google.png +0 -0
- data/assets/images/social_icons/default/16/blogger.png +0 -0
- data/assets/images/social_icons/default/16/delicious.png +0 -0
- data/assets/images/social_icons/default/16/digg.png +0 -0
- data/assets/images/social_icons/default/16/ebay.png +0 -0
- data/assets/images/social_icons/default/16/facebook.png +0 -0
- data/assets/images/social_icons/default/16/feed.png +0 -0
- data/assets/images/social_icons/default/16/flickr.png +0 -0
- data/assets/images/social_icons/default/16/friendfeed.png +0 -0
- data/assets/images/social_icons/default/16/friendster.png +0 -0
- data/assets/images/social_icons/default/16/furl.png +0 -0
- data/assets/images/social_icons/default/16/lastfm.png +0 -0
- data/assets/images/social_icons/default/16/linkedin.png +0 -0
- data/assets/images/social_icons/default/16/livejournal.png +0 -0
- data/assets/images/social_icons/default/16/magnolia.png +0 -0
- data/assets/images/social_icons/default/16/mixx.png +0 -0
- data/assets/images/social_icons/default/16/myspace.png +0 -0
- data/assets/images/social_icons/default/16/netvibes.png +0 -0
- data/assets/images/social_icons/default/16/newsvine.png +0 -0
- data/assets/images/social_icons/default/16/picasa.png +0 -0
- data/assets/images/social_icons/default/16/pownce.png +0 -0
- data/assets/images/social_icons/default/16/reddit.png +0 -0
- data/assets/images/social_icons/default/16/social_icons_16.png +0 -0
- data/assets/images/social_icons/default/16/stumbleupon.png +0 -0
- data/assets/images/social_icons/default/16/technorati.png +0 -0
- data/assets/images/social_icons/default/16/twitter.png +0 -0
- data/assets/images/social_icons/default/16/vimeo.png +0 -0
- data/assets/images/social_icons/default/16/webshots.png +0 -0
- data/assets/images/social_icons/default/16/wordpress.png +0 -0
- data/assets/images/social_icons/default/16/yelp.png +0 -0
- data/assets/images/social_icons/default/16/youtube.png +0 -0
- data/assets/images/social_icons/default/20/Google.png +0 -0
- data/assets/images/social_icons/default/20/blogger.png +0 -0
- data/assets/images/social_icons/default/20/convert_jpg_to_1024_in_a_dir.sh +9 -0
- data/assets/images/social_icons/default/20/delicious.png +0 -0
- data/assets/images/social_icons/default/20/digg.png +0 -0
- data/assets/images/social_icons/default/20/ebay.png +0 -0
- data/assets/images/social_icons/default/20/facebook.png +0 -0
- data/assets/images/social_icons/default/20/feed.png +0 -0
- data/assets/images/social_icons/default/20/flickr.png +0 -0
- data/assets/images/social_icons/default/20/friendfeed.png +0 -0
- data/assets/images/social_icons/default/20/friendster.png +0 -0
- data/assets/images/social_icons/default/20/furl.png +0 -0
- data/assets/images/social_icons/default/20/lastfm.png +0 -0
- data/assets/images/social_icons/default/20/linkedin.png +0 -0
- data/assets/images/social_icons/default/20/livejournal.png +0 -0
- data/assets/images/social_icons/default/20/magnolia.png +0 -0
- data/assets/images/social_icons/default/20/mixx.png +0 -0
- data/assets/images/social_icons/default/20/myspace.png +0 -0
- data/assets/images/social_icons/default/20/netvibes.png +0 -0
- data/assets/images/social_icons/default/20/newsvine.png +0 -0
- data/assets/images/social_icons/default/20/picasa.png +0 -0
- data/assets/images/social_icons/default/20/pownce.png +0 -0
- data/assets/images/social_icons/default/20/reddit.png +0 -0
- data/assets/images/social_icons/default/20/social_icons_20.png +0 -0
- data/assets/images/social_icons/default/20/stumbleupon.png +0 -0
- data/assets/images/social_icons/default/20/technorati.png +0 -0
- data/assets/images/social_icons/default/20/twitter.png +0 -0
- data/assets/images/social_icons/default/20/vimeo.png +0 -0
- data/assets/images/social_icons/default/20/webshots.png +0 -0
- data/assets/images/social_icons/default/20/wordpress.png +0 -0
- data/assets/images/social_icons/default/20/yelp.png +0 -0
- data/assets/images/social_icons/default/20/youtube.png +0 -0
- data/assets/images/social_icons/default/24/Google.png +0 -0
- data/assets/images/social_icons/default/24/blogger.png +0 -0
- data/assets/images/social_icons/default/24/delicious.png +0 -0
- data/assets/images/social_icons/default/24/digg.png +0 -0
- data/assets/images/social_icons/default/24/ebay.png +0 -0
- data/assets/images/social_icons/default/24/facebook.png +0 -0
- data/assets/images/social_icons/default/24/feed.png +0 -0
- data/assets/images/social_icons/default/24/flickr.png +0 -0
- data/assets/images/social_icons/default/24/friendfeed.png +0 -0
- data/assets/images/social_icons/default/24/friendster.png +0 -0
- data/assets/images/social_icons/default/24/furl.png +0 -0
- data/assets/images/social_icons/default/24/lastfm.png +0 -0
- data/assets/images/social_icons/default/24/linkedin.png +0 -0
- data/assets/images/social_icons/default/24/livejournal.png +0 -0
- data/assets/images/social_icons/default/24/magnolia.png +0 -0
- data/assets/images/social_icons/default/24/mixx.png +0 -0
- data/assets/images/social_icons/default/24/myspace.png +0 -0
- data/assets/images/social_icons/default/24/netvibes.png +0 -0
- data/assets/images/social_icons/default/24/newsvine.png +0 -0
- data/assets/images/social_icons/default/24/picasa.png +0 -0
- data/assets/images/social_icons/default/24/pownce.png +0 -0
- data/assets/images/social_icons/default/24/reddit.png +0 -0
- data/assets/images/social_icons/default/24/social_icons_24.png +0 -0
- data/assets/images/social_icons/default/24/stumbleupon.png +0 -0
- data/assets/images/social_icons/default/24/technorati.png +0 -0
- data/assets/images/social_icons/default/24/twitter.png +0 -0
- data/assets/images/social_icons/default/24/vimeo.png +0 -0
- data/assets/images/social_icons/default/24/webshots.png +0 -0
- data/assets/images/social_icons/default/24/wordpress.png +0 -0
- data/assets/images/social_icons/default/24/yelp.png +0 -0
- data/assets/images/social_icons/default/24/youtube.png +0 -0
- data/assets/images/social_icons/default/48/Google.png +0 -0
- data/assets/images/social_icons/default/48/blogger.png +0 -0
- data/assets/images/social_icons/default/48/delicious.png +0 -0
- data/assets/images/social_icons/default/48/digg.png +0 -0
- data/assets/images/social_icons/default/48/ebay.png +0 -0
- data/assets/images/social_icons/default/48/facebook.png +0 -0
- data/assets/images/social_icons/default/48/feed.png +0 -0
- data/assets/images/social_icons/default/48/flickr.png +0 -0
- data/assets/images/social_icons/default/48/friendfeed.png +0 -0
- data/assets/images/social_icons/default/48/friendster.png +0 -0
- data/assets/images/social_icons/default/48/furl.png +0 -0
- data/assets/images/social_icons/default/48/lastfm.png +0 -0
- data/assets/images/social_icons/default/48/linkedin.png +0 -0
- data/assets/images/social_icons/default/48/livejournal.png +0 -0
- data/assets/images/social_icons/default/48/magnolia.png +0 -0
- data/assets/images/social_icons/default/48/mixx.png +0 -0
- data/assets/images/social_icons/default/48/myspace.png +0 -0
- data/assets/images/social_icons/default/48/netvibes.png +0 -0
- data/assets/images/social_icons/default/48/newsvine.png +0 -0
- data/assets/images/social_icons/default/48/picasa.png +0 -0
- data/assets/images/social_icons/default/48/pownce.png +0 -0
- data/assets/images/social_icons/default/48/reddit.png +0 -0
- data/assets/images/social_icons/default/48/social_icons_48.png +0 -0
- data/assets/images/social_icons/default/48/stumbleupon.png +0 -0
- data/assets/images/social_icons/default/48/technorati.png +0 -0
- data/assets/images/social_icons/default/48/twitter.png +0 -0
- data/assets/images/social_icons/default/48/vimeo.png +0 -0
- data/assets/images/social_icons/default/48/webshots.png +0 -0
- data/assets/images/social_icons/default/48/wordpress.png +0 -0
- data/assets/images/social_icons/default/48/yelp.png +0 -0
- data/assets/images/social_icons/default/48/youtube.png +0 -0
- data/assets/images/social_icons/default/60/Google.psd +0 -0
- data/assets/images/social_icons/default/60/blogger.png +0 -0
- data/assets/images/social_icons/default/60/delicious.png +0 -0
- data/assets/images/social_icons/default/60/digg.png +0 -0
- data/assets/images/social_icons/default/60/ebay.png +0 -0
- data/assets/images/social_icons/default/60/facebook.png +0 -0
- data/assets/images/social_icons/default/60/feed.png +0 -0
- data/assets/images/social_icons/default/60/flickr.png +0 -0
- data/assets/images/social_icons/default/60/friendfeed.png +0 -0
- data/assets/images/social_icons/default/60/friendster.png +0 -0
- data/assets/images/social_icons/default/60/furl.png +0 -0
- data/assets/images/social_icons/default/60/lastfm.png +0 -0
- data/assets/images/social_icons/default/60/linkedin.png +0 -0
- data/assets/images/social_icons/default/60/livejournal.png +0 -0
- data/assets/images/social_icons/default/60/magnolia.png +0 -0
- data/assets/images/social_icons/default/60/mixx.png +0 -0
- data/assets/images/social_icons/default/60/myspace.png +0 -0
- data/assets/images/social_icons/default/60/netvibes.png +0 -0
- data/assets/images/social_icons/default/60/newsvine.png +0 -0
- data/assets/images/social_icons/default/60/picasa.png +0 -0
- data/assets/images/social_icons/default/60/pownce.png +0 -0
- data/assets/images/social_icons/default/60/reddit.png +0 -0
- data/assets/images/social_icons/default/60/social_icons_60.png +0 -0
- data/assets/images/social_icons/default/60/stumbleupon.png +0 -0
- data/assets/images/social_icons/default/60/technorati.png +0 -0
- data/assets/images/social_icons/default/60/twitter.png +0 -0
- data/assets/images/social_icons/default/60/vimeo.png +0 -0
- data/assets/images/social_icons/default/60/webshots.png +0 -0
- data/assets/images/social_icons/default/60/wordpress.png +0 -0
- data/assets/images/social_icons/default/60/yelp.png +0 -0
- data/assets/images/social_icons/default/60/youtube.png +0 -0
- data/assets/images/social_icons/default/readme.txt +42 -0
- data/assets/stylesheets/social_icons.css +14 -0
- data/assets/stylesheets/social_icons_aqua.css +34 -0
- data/assets/stylesheets/social_icons_default_16.css +34 -0
- data/assets/stylesheets/social_icons_default_20.css +34 -0
- data/assets/stylesheets/social_icons_default_24.css +34 -0
- data/assets/stylesheets/social_icons_default_48.css +34 -0
- data/assets/stylesheets/social_icons_default_60.css +33 -0
- data/init.rb +3 -0
- data/install.rb +12 -0
- data/lib/social_icons.rb +2 -0
- data/lib/social_icons/rails_engine.rb +9 -0
- data/lib/social_icons/view_helpers.rb +124 -0
- data/social_icons.gemspec +273 -0
- data/test/social_icons_test.rb +8 -0
- data/test/test_helper.rb +3 -0
- data/uninstall.rb +1 -0
- metadata +392 -0
data/Gemfile
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
source :rubygems
|
|
2
|
+
|
|
3
|
+
# gemspec
|
|
4
|
+
gem "haml"
|
|
5
|
+
|
|
6
|
+
# Add dependencies to develop your gem here.
|
|
7
|
+
# Include everything needed to run rake, tests, features, etc.
|
|
8
|
+
group :development do
|
|
9
|
+
gem "rails", ">= 3"
|
|
10
|
+
gem "rspec", ">= 2"
|
|
11
|
+
gem "rspec-rails", ">= 2.5"
|
|
12
|
+
gem "shoulda", ">= 0"
|
|
13
|
+
gem "bundler", ">= 1.0.0"
|
|
14
|
+
gem "jeweler", ">= 1.5.2"
|
|
15
|
+
gem "simplecov", ">= 0"
|
|
16
|
+
end
|
|
17
|
+
|
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
GEM
|
|
2
|
+
remote: http://rubygems.org/
|
|
3
|
+
specs:
|
|
4
|
+
actionmailer (3.2.2)
|
|
5
|
+
actionpack (= 3.2.2)
|
|
6
|
+
mail (~> 2.4.0)
|
|
7
|
+
actionpack (3.2.2)
|
|
8
|
+
activemodel (= 3.2.2)
|
|
9
|
+
activesupport (= 3.2.2)
|
|
10
|
+
builder (~> 3.0.0)
|
|
11
|
+
erubis (~> 2.7.0)
|
|
12
|
+
journey (~> 1.0.1)
|
|
13
|
+
rack (~> 1.4.0)
|
|
14
|
+
rack-cache (~> 1.1)
|
|
15
|
+
rack-test (~> 0.6.1)
|
|
16
|
+
sprockets (~> 2.1.2)
|
|
17
|
+
activemodel (3.2.2)
|
|
18
|
+
activesupport (= 3.2.2)
|
|
19
|
+
builder (~> 3.0.0)
|
|
20
|
+
activerecord (3.2.2)
|
|
21
|
+
activemodel (= 3.2.2)
|
|
22
|
+
activesupport (= 3.2.2)
|
|
23
|
+
arel (~> 3.0.2)
|
|
24
|
+
tzinfo (~> 0.3.29)
|
|
25
|
+
activeresource (3.2.2)
|
|
26
|
+
activemodel (= 3.2.2)
|
|
27
|
+
activesupport (= 3.2.2)
|
|
28
|
+
activesupport (3.2.2)
|
|
29
|
+
i18n (~> 0.6)
|
|
30
|
+
multi_json (~> 1.0)
|
|
31
|
+
arel (3.0.2)
|
|
32
|
+
builder (3.0.0)
|
|
33
|
+
diff-lcs (1.1.3)
|
|
34
|
+
erubis (2.7.0)
|
|
35
|
+
git (1.2.5)
|
|
36
|
+
haml (3.1.4)
|
|
37
|
+
hike (1.2.1)
|
|
38
|
+
i18n (0.6.0)
|
|
39
|
+
jeweler (1.8.3)
|
|
40
|
+
bundler (~> 1.0)
|
|
41
|
+
git (>= 1.2.5)
|
|
42
|
+
rake
|
|
43
|
+
rdoc
|
|
44
|
+
journey (1.0.3)
|
|
45
|
+
json (1.6.5)
|
|
46
|
+
mail (2.4.4)
|
|
47
|
+
i18n (>= 0.4.0)
|
|
48
|
+
mime-types (~> 1.16)
|
|
49
|
+
treetop (~> 1.4.8)
|
|
50
|
+
mime-types (1.17.2)
|
|
51
|
+
multi_json (1.1.0)
|
|
52
|
+
polyglot (0.3.3)
|
|
53
|
+
rack (1.4.1)
|
|
54
|
+
rack-cache (1.2)
|
|
55
|
+
rack (>= 0.4)
|
|
56
|
+
rack-ssl (1.3.2)
|
|
57
|
+
rack
|
|
58
|
+
rack-test (0.6.1)
|
|
59
|
+
rack (>= 1.0)
|
|
60
|
+
rails (3.2.2)
|
|
61
|
+
actionmailer (= 3.2.2)
|
|
62
|
+
actionpack (= 3.2.2)
|
|
63
|
+
activerecord (= 3.2.2)
|
|
64
|
+
activeresource (= 3.2.2)
|
|
65
|
+
activesupport (= 3.2.2)
|
|
66
|
+
bundler (~> 1.0)
|
|
67
|
+
railties (= 3.2.2)
|
|
68
|
+
railties (3.2.2)
|
|
69
|
+
actionpack (= 3.2.2)
|
|
70
|
+
activesupport (= 3.2.2)
|
|
71
|
+
rack-ssl (~> 1.3.2)
|
|
72
|
+
rake (>= 0.8.7)
|
|
73
|
+
rdoc (~> 3.4)
|
|
74
|
+
thor (~> 0.14.6)
|
|
75
|
+
rake (0.9.2.2)
|
|
76
|
+
rdoc (3.12)
|
|
77
|
+
json (~> 1.4)
|
|
78
|
+
rspec (2.9.0)
|
|
79
|
+
rspec-core (~> 2.9.0)
|
|
80
|
+
rspec-expectations (~> 2.9.0)
|
|
81
|
+
rspec-mocks (~> 2.9.0)
|
|
82
|
+
rspec-core (2.9.0)
|
|
83
|
+
rspec-expectations (2.9.0)
|
|
84
|
+
diff-lcs (~> 1.1.3)
|
|
85
|
+
rspec-mocks (2.9.0)
|
|
86
|
+
rspec-rails (2.9.0)
|
|
87
|
+
actionpack (>= 3.0)
|
|
88
|
+
activesupport (>= 3.0)
|
|
89
|
+
railties (>= 3.0)
|
|
90
|
+
rspec (~> 2.9.0)
|
|
91
|
+
shoulda (3.0.1)
|
|
92
|
+
shoulda-context (~> 1.0.0)
|
|
93
|
+
shoulda-matchers (~> 1.0.0)
|
|
94
|
+
shoulda-context (1.0.0)
|
|
95
|
+
shoulda-matchers (1.0.0)
|
|
96
|
+
simplecov (0.6.1)
|
|
97
|
+
multi_json (~> 1.0)
|
|
98
|
+
simplecov-html (~> 0.5.3)
|
|
99
|
+
simplecov-html (0.5.3)
|
|
100
|
+
sprockets (2.1.2)
|
|
101
|
+
hike (~> 1.2)
|
|
102
|
+
rack (~> 1.0)
|
|
103
|
+
tilt (~> 1.1, != 1.3.0)
|
|
104
|
+
thor (0.14.6)
|
|
105
|
+
tilt (1.3.3)
|
|
106
|
+
treetop (1.4.10)
|
|
107
|
+
polyglot
|
|
108
|
+
polyglot (>= 0.3.1)
|
|
109
|
+
tzinfo (0.3.32)
|
|
110
|
+
|
|
111
|
+
PLATFORMS
|
|
112
|
+
ruby
|
|
113
|
+
|
|
114
|
+
DEPENDENCIES
|
|
115
|
+
bundler (>= 1.0.0)
|
|
116
|
+
haml
|
|
117
|
+
jeweler (>= 1.5.2)
|
|
118
|
+
rails (>= 3)
|
|
119
|
+
rspec (>= 2)
|
|
120
|
+
rspec-rails (>= 2.5)
|
|
121
|
+
shoulda
|
|
122
|
+
simplecov
|
data/MIT-LICENSE
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
Copyright (c) 2010 [name of plugin creator]
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
+
a copy of this software and associated documentation files (the
|
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
9
|
+
the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be
|
|
12
|
+
included in all copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
SocialIcons
|
|
2
|
+
===========
|
|
3
|
+
|
|
4
|
+
This is a simple plugin to help you display some social icons in your site.
|
|
5
|
+
|
|
6
|
+
Icons supported so far:
|
|
7
|
+
|
|
8
|
+
- Facebook like button
|
|
9
|
+
- Facebook
|
|
10
|
+
- Twitter
|
|
11
|
+
- Delicious
|
|
12
|
+
- Reddit
|
|
13
|
+
- Digg
|
|
14
|
+
- Youtube (and more)
|
|
15
|
+
|
|
16
|
+
Installation
|
|
17
|
+
============
|
|
18
|
+
|
|
19
|
+
This gem is a Rails 3 engine and the asset folder will therefore be included in the Rails asset pipeline when the gem is included in your Rails 3 project.
|
|
20
|
+
|
|
21
|
+
Load social_icons.css file in your layout(i.e. application.html.erb)
|
|
22
|
+
|
|
23
|
+
<%= stylesheet_link_tag 'social_icons' %>
|
|
24
|
+
|
|
25
|
+
Or simply include the css in your application.css manifest file
|
|
26
|
+
|
|
27
|
+
Note that the icons are now available for use as CSS sprites (conversion done using: http://spritegen.website-performance.org/)
|
|
28
|
+
|
|
29
|
+
Simply include the css for the type of icons you want to use.
|
|
30
|
+
|
|
31
|
+
/*
|
|
32
|
+
*= require social_icons
|
|
33
|
+
*/
|
|
34
|
+
|
|
35
|
+
/*
|
|
36
|
+
*= require social_icons_default_60
|
|
37
|
+
*/
|
|
38
|
+
|
|
39
|
+
/*
|
|
40
|
+
*= require social_icons_aqua
|
|
41
|
+
*/
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
Usage
|
|
45
|
+
============
|
|
46
|
+
|
|
47
|
+
Wrap with an element of class="social_sprites"
|
|
48
|
+
|
|
49
|
+
<ul class="social_sprites">
|
|
50
|
+
<li class="social sprite-Google"></li>
|
|
51
|
+
</ul>
|
|
52
|
+
|
|
53
|
+
View Helper methods
|
|
54
|
+
=============
|
|
55
|
+
|
|
56
|
+
Call "print_social_icons" method in your partials or views.
|
|
57
|
+
|
|
58
|
+
<%= print_social_icons %>
|
|
59
|
+
|
|
60
|
+
Specific icon methods:
|
|
61
|
+
|
|
62
|
+
* facebook_like_button
|
|
63
|
+
* social_icon_twitter
|
|
64
|
+
* social_icon_facebook
|
|
65
|
+
* social_icon_digg
|
|
66
|
+
* social_icon_delicious
|
|
67
|
+
* social_icon_reddit
|
|
68
|
+
|
|
69
|
+
Rails 3 CSS sprite version by Kristian Mandrup (kmandrup@gmail.com)
|
|
70
|
+
|
|
71
|
+
Copyright (c) 2010 [Özgun Koyun (kozgun@gmail.com)], released under the MIT license
|
data/Rakefile
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
require 'rubygems'
|
|
2
|
+
require 'bundler'
|
|
3
|
+
begin
|
|
4
|
+
Bundler.setup(:default, :development)
|
|
5
|
+
rescue Bundler::BundlerError => e
|
|
6
|
+
$stderr.puts e.message
|
|
7
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
|
8
|
+
exit e.status_code
|
|
9
|
+
end
|
|
10
|
+
require 'rake'
|
|
11
|
+
|
|
12
|
+
require 'jeweler'
|
|
13
|
+
Jeweler::Tasks.new do |gem|
|
|
14
|
+
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
|
15
|
+
gem.name = "social_icons"
|
|
16
|
+
gem.homepage = "https://github.com/kristianmandrup/social_icons"
|
|
17
|
+
gem.license = "MIT"
|
|
18
|
+
gem.summary = %Q{Social media icons for Rails 3}
|
|
19
|
+
gem.description = %Q{Add social media icons to your Rails 3 using CSS sprites or images}
|
|
20
|
+
gem.email = [""]
|
|
21
|
+
gem.authors = ["Kristian Mandrup"]
|
|
22
|
+
# Include your dependencies below. Runtime dependencies are required when using your gem,
|
|
23
|
+
# and development dependencies are only needed for development (ie running rake tasks, tests, etc)
|
|
24
|
+
# gem.add_runtime_dependency 'jabber4r', '> 0.1'
|
|
25
|
+
# gem.add_development_dependency 'rspec', '> 1.2.3'
|
|
26
|
+
gem.files.include ['lib/*/*']
|
|
27
|
+
end
|
|
28
|
+
Jeweler::RubygemsDotOrgTasks.new
|
|
29
|
+
|
|
30
|
+
require 'rspec/core/rake_task'
|
|
31
|
+
|
|
32
|
+
desc "Run RSpec"
|
|
33
|
+
RSpec::Core::RakeTask.new do |t|
|
|
34
|
+
t.verbose = false
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
task :default => :spec
|
data/VERSION
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.2.1
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf330
|
|
2
|
+
{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fnil\fcharset0 Verdana;}
|
|
3
|
+
{\colortbl;\red255\green255\blue255;}
|
|
4
|
+
\paperw11900\paperh16840\margl1440\margr1440\vieww9000\viewh8400\viewkind0
|
|
5
|
+
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural
|
|
6
|
+
|
|
7
|
+
\f0\fs24 \cf0 Thank you for downloading for downloading this release from Quake9.com!\
|
|
8
|
+
\
|
|
9
|
+
Feel free to use these icons anywhere on your website, blog, or even in print. I do not request that you give credits to me. However, it will be a nice gesture if you do give me a credit when these icons are used in your design(s). \
|
|
10
|
+
\
|
|
11
|
+
I would also be interested to see how these icons are used in your designs! So if you want to share it with me, please email me at jwloh01 [at] gmail.com\
|
|
12
|
+
\
|
|
13
|
+
NOTICE: All the logos belong rightfully to the respective companies/websites, and they should not be altered or change in any other way. Below are the list of websites whose icons are being represented in this release.\
|
|
14
|
+
\
|
|
15
|
+
Blogger\
|
|
16
|
+
Del.icio.us\
|
|
17
|
+
Digg\
|
|
18
|
+
Facebook\
|
|
19
|
+
flickr\
|
|
20
|
+
FriendFeed\
|
|
21
|
+
Friendster\
|
|
22
|
+
furl\
|
|
23
|
+
Google\
|
|
24
|
+
last.fm\
|
|
25
|
+
LinkedIn\
|
|
26
|
+
Livejournal\
|
|
27
|
+
Ma.gnolia\
|
|
28
|
+
Mixx\
|
|
29
|
+
MySpace\
|
|
30
|
+
NetVibes\
|
|
31
|
+
NewsVine\
|
|
32
|
+
Picasa Web Albums\
|
|
33
|
+
Pownce\
|
|
34
|
+
Reddit\
|
|
35
|
+
StumbleUpon\
|
|
36
|
+
Technorati\
|
|
37
|
+
Twitter\
|
|
38
|
+
Vimeo\
|
|
39
|
+
Webshots\
|
|
40
|
+
Wordpress\
|
|
41
|
+
Yahoo!\
|
|
42
|
+
Yelp\
|
|
43
|
+
Youtube\
|
|
44
|
+
\
|
|
45
|
+
If you are the owner of the particular website represented above, and wish to see your website removed, please contact me at jwloh01 [at] gmail.com and I will remove it from the release right away.\
|
|
46
|
+
\
|
|
47
|
+
Special thanks to Marcelo Marfil from MacThemes forum for providing the icon template. \
|
|
48
|
+
\
|
|
49
|
+
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural
|
|
50
|
+
|
|
51
|
+
\f1\fs22 \cf0 Some rights reserved. This work is licensed under a \
|
|
52
|
+
{\field{\*\fldinst{HYPERLINK "http://creativecommons.org/licenses/by-nd/3.0/"}}{\fldrslt Creative Commons Attribution-No Derivative Works 3.0 License}}.}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|