share 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/lib/share/helpers.rb CHANGED
@@ -3,7 +3,7 @@ module Share
3
3
  def share_links text
4
4
  url = request.url
5
5
  content_tag :ul, :class => "share-container" do |content|
6
- { :twitter => "http://twitter.com/intent/tweet?&text=" + URI.encode("#{text} #{url})"),
6
+ { :twitter => "http://twitter.com/intent/tweet?&text=" + URI.encode("#{text} #{url}"),
7
7
  :facebook => "http://facebook.com/sharer.php?u=#{url}",
8
8
  :google => "https://plus.google.com/share?url=#{url}"}.map do |key, value|
9
9
  content_tag(:li,
data/lib/share/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Share
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
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.2
4
+ version: 0.0.3
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-24 00:00:00.000000000 Z
12
+ date: 2013-01-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails