share 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.
data/README.md
CHANGED
|
@@ -2,8 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
gem "share"
|
|
4
4
|
|
|
5
|
-
SHARE adds a Rails helper
|
|
5
|
+
SHARE adds a Rails helper to include simple social share links
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
<%= share_links @post.title %>
|
|
8
8
|
|
|
9
|
-
This
|
|
9
|
+
This adds Twitter/Facebook/Google+ links to share the current page, the title is used in the twitter link
|
|
10
|
+
|
|
11
|
+
To use the css that adds social icons to the links above (using the [simple social icons by pixeden](http://www.pixeden.com/social-icons))
|
|
12
|
+
|
|
13
|
+
*= require share/icons
|
data/lib/share/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: share
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-12-
|
|
12
|
+
date: 2012-12-24 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
@@ -51,7 +51,7 @@ files:
|
|
|
51
51
|
- lib/assets/images/share/twitter.png
|
|
52
52
|
- lib/assets/images/share/yahoo.png
|
|
53
53
|
- lib/assets/images/share/youtube.png
|
|
54
|
-
- lib/assets/stylesheets/share.css.scss.erb
|
|
54
|
+
- lib/assets/stylesheets/share/icons.css.scss.erb
|
|
55
55
|
- MIT-LICENSE
|
|
56
56
|
- Rakefile
|
|
57
57
|
- README.md
|
|
File without changes
|