social_sharer 0.1.3.2 → 0.1.4.pre.alpha.pre.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/README.md +131 -1
- data/lib/social_sharer/version.rb +1 -1
- data/lib/social_sharer/view_helpers.rb +2 -2
- data/social_sharer.gemspec +2 -0
- data/social_sharer_logo.png +0 -0
- data/spec/lib/social_sharer_view_helpers_spec.rb +70 -28
- data/spec/spec_helper.rb +3 -0
- metadata +42 -28
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ZmMyMmE1MTA5YTU2MmU3MWU4NGYzODFkODZmMjQyZTZjYjdiNDFjZQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NDMyMjU0ZWQ2YWRmNDgxMjc2MGFjY2VjYjgxODNkOWM0YzMyMzE1MQ==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ZTc5ZjY5ZDMyNzI1ZTA0ZmE3NmU2YmZhNjEyZGM4ZmZlMDIxNjE5MGRiNTZi
|
10
|
+
YmYwYjNmOTQ1MTc5MGM5MjMyMDBhMTZjYmUxM2QyNjRiYTJlNThmN2RlNTU4
|
11
|
+
YzM4ZTFhYWFhMWRkZDA4MjJkZDEwMWY1ZjA4NTRiNDVmYWI0NGQ=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MWY4MjBlODUzNzU0ZDBmNmQyZDdhYWJmYjE4YWZjZGNkMjcyN2RmOGU3NTgz
|
14
|
+
NDYxNzljZWEzOGE4OTgyYTY5MjdmZmU5OWJjMWI2ZGQ2MjZjOGU1ZjY0Nzc5
|
15
|
+
OGJiMjMxMjM1ZWRlYjNhNzFiMmQ3NGE3ODhjY2MzMWRlODc5YmY=
|
data/README.md
CHANGED
@@ -1 +1,131 @@
|
|
1
|
-
# Social Sharer
|
1
|
+
# ![Social Sharer Logo][logo]
|
2
|
+
By [BD Network][thisisbd].
|
3
|
+
|
4
|
+
Social Sharer is a [Ruby on Rails][rails] [Gem][rubygems], allowing you to easily create Twitter and Facebook share dialogues.
|
5
|
+
|
6
|
+
[![Build status][shield-build]][info-build]
|
7
|
+
[![Gem Version][shield-gem]][info-gem]
|
8
|
+
[![Code Coverage][shield-coverage]][info-coverage]
|
9
|
+
[![License][shield-license]][info-license]
|
10
|
+
|
11
|
+
## Key Features
|
12
|
+
- Easy to configure
|
13
|
+
- Easy to style
|
14
|
+
- Kept up to date with changes share systems.
|
15
|
+
|
16
|
+
|
17
|
+
## Getting Started
|
18
|
+
### Installation
|
19
|
+
Add this to your gemfile within your Rails project:
|
20
|
+
|
21
|
+
```bash
|
22
|
+
gem 'social_sharer', '0.1.4'
|
23
|
+
```
|
24
|
+
|
25
|
+
### Options
|
26
|
+
#### Single share URL
|
27
|
+
If you require a single URL to be shared across both social networks but require simple tracking, e.g. for Google
|
28
|
+
Analytics you can use the options listed below:
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
{
|
32
|
+
url: 'http://thisisbd.com/',
|
33
|
+
twitter_message: 'This%20is%20BD'
|
34
|
+
}
|
35
|
+
```
|
36
|
+
|
37
|
+
This would have Facebook link to: `http://thisisbd.com/?src=fb`
|
38
|
+
and your tweet contents would be: `This is BD http://thisisbd.com/?src=tw`
|
39
|
+
|
40
|
+
You may also add an (optional) Twitter handle to be included into the message:
|
41
|
+
|
42
|
+
```ruby
|
43
|
+
{
|
44
|
+
url: 'http://thisisbd.com/',
|
45
|
+
twitter_handle: '@thisisbd',
|
46
|
+
twitter_message: 'This%20is%20BD'
|
47
|
+
}
|
48
|
+
```
|
49
|
+
|
50
|
+
Your tweet contents would be: `This is BD via @thisisbd http://thisisbd.com/?src=tw`
|
51
|
+
|
52
|
+
#### Multiple share URLs
|
53
|
+
If you provide different URLs for each social network, or want more flexible control over the URLs users are sharing,
|
54
|
+
these options are for you:
|
55
|
+
|
56
|
+
```ruby
|
57
|
+
{
|
58
|
+
individual_settings: true,
|
59
|
+
|
60
|
+
twitter: {
|
61
|
+
url: 'http://thisisbd.com/twitter_url',
|
62
|
+
message: 'This%20is%20BD'
|
63
|
+
},
|
64
|
+
|
65
|
+
facebook: {
|
66
|
+
url: 'http://thisisbd.com/facebook_url'
|
67
|
+
}
|
68
|
+
}
|
69
|
+
```
|
70
|
+
|
71
|
+
This would have Facebook link to: `http://thisisbd.com/facebook_url`
|
72
|
+
and your tweet contents would be: `This is BD http://thisisbd.com/twitter_url`
|
73
|
+
|
74
|
+
You may also add an (optional) Twitter handle to be included into the message:
|
75
|
+
|
76
|
+
```ruby
|
77
|
+
{
|
78
|
+
individual_settings: true,
|
79
|
+
|
80
|
+
twitter: {
|
81
|
+
url: 'http://thisisbd.com/twitter_url',
|
82
|
+
handle: '@thisisbd',
|
83
|
+
message: 'This%20is%20BD'
|
84
|
+
},
|
85
|
+
|
86
|
+
facebook: {
|
87
|
+
url: 'http://thisisbd.com/facebook_url'
|
88
|
+
}
|
89
|
+
}
|
90
|
+
```
|
91
|
+
|
92
|
+
This would have Facebook link to: `http://thisisbd.com/facebook_url`
|
93
|
+
and your tweet contents would be: `This is BD via @thisisbd http://thisisbd.com/twitter_url`
|
94
|
+
|
95
|
+
### View Helper
|
96
|
+
Within your view:
|
97
|
+
|
98
|
+
```ruby
|
99
|
+
<%= social_share_tags( @social_sharer_options ) %>
|
100
|
+
```
|
101
|
+
|
102
|
+
## Requirements
|
103
|
+
Social Sharer requires [Ruby on Rails][rails] and has been tested on 4.x.
|
104
|
+
|
105
|
+
|
106
|
+
## Contributing
|
107
|
+
If you wish to submit a bug fix or feature, you can create a pull request and it will be merged pending a code review.
|
108
|
+
|
109
|
+
1. Clone it
|
110
|
+
2. Create your feature branch (git checkout -b my-new-feature)
|
111
|
+
3. Commit your changes (git commit -am 'Add some feature')
|
112
|
+
4. Push to the branch (git push origin my-new-feature)
|
113
|
+
5. Create a new Pull Request
|
114
|
+
|
115
|
+
## License
|
116
|
+
Social Sharer is licensed under the [MIT License][info-license].
|
117
|
+
|
118
|
+
[logo]: https://raw.github.com/thisisbd/social_sharer/master/social_sharer_logo.png
|
119
|
+
|
120
|
+
[thisisbd]: http://thisisbd.com/
|
121
|
+
[rails]: http://rubyonrails.org/
|
122
|
+
[rubygems]: https://rubygems.org/
|
123
|
+
|
124
|
+
[info-coverage]: https://coveralls.io/github/thisisbd/social_sharer
|
125
|
+
[info-license]: LICENSE
|
126
|
+
[info-gem]: https://rubygems.org/gems/social_sharer
|
127
|
+
[info-build]: https://travis-ci.org/thisisbd/social_sharer
|
128
|
+
[shield-coverage]: https://img.shields.io/coveralls/thisisbd/social_sharer.svg
|
129
|
+
[shield-license]: https://img.shields.io/badge/license-MIT-blue.svg
|
130
|
+
[shield-gem]: https://img.shields.io/gem/v/social_sharer.svg
|
131
|
+
[shield-build]: https://img.shields.io/travis/thisisbd/social_sharer/master.svg
|
@@ -7,14 +7,14 @@ module SocialSharer
|
|
7
7
|
has_individual_settings = options[:individual_settings]
|
8
8
|
|
9
9
|
twitter_url = has_individual_settings ? options[:twitter][:url] : options[:url]
|
10
|
-
twitter_url += '?src=tw'
|
10
|
+
twitter_url += '?src=tw' unless has_individual_settings
|
11
11
|
twitter_url = CGI.escape( twitter_url )
|
12
12
|
|
13
13
|
twitter_message = has_individual_settings ? options[:twitter][:message] : options[:twitter_message]
|
14
14
|
twitter_handle = has_individual_settings ? options[:twitter][:handle] : options[:twitter_handle]
|
15
15
|
|
16
16
|
facebook_url = has_individual_settings ? options[:facebook][:url] : options[:url]
|
17
|
-
facebook_url += '?src=fb'
|
17
|
+
facebook_url += '?src=fb' unless has_individual_settings
|
18
18
|
facebook_url = CGI.escape( facebook_url )
|
19
19
|
|
20
20
|
twitter_handle_text = if twitter_handle.nil?
|
data/social_sharer.gemspec
CHANGED
Binary file
|
@@ -10,46 +10,88 @@ describe SocialSharer::ViewHelpers do
|
|
10
10
|
describe '#social_share_tags' do
|
11
11
|
context 'with valid options' do
|
12
12
|
context 'without individual_settings set' do
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
13
|
+
context 'with a twitter handle' do
|
14
|
+
before :each do
|
15
|
+
@options = {
|
16
|
+
url: 'http://thisisbd.com',
|
17
|
+
twitter_message: 'This is BD - A creative agency in London',
|
18
|
+
twitter_handle: '@thisisbd'
|
19
|
+
}
|
20
|
+
end
|
21
|
+
|
22
|
+
it 'generates the expected twitter tag' do
|
23
|
+
expect( social_share_tags(@options) ).to include("<a rel=\"nofollow\" class=\"social_share_tw\" onclick=\"popUp=window.open('http://twitter.com/intent/tweet?text=This is BD - A creative agency in London via @thisisbd http%3A%2F%2Fthisisbd.com%3Fsrc%3Dtw','popupwindow','scrollbars=yes,width=800,height=400');popUp.focus();return false\" href=\"http://twitter.com/\">Share on Twitter</a>")
|
24
|
+
end
|
20
25
|
|
21
|
-
|
22
|
-
|
26
|
+
it 'generates the expected facebook tag' do
|
27
|
+
expect( social_share_tags(@options) ).to include("<a rel=\"nofollow\" class=\"social_share_fb\" onclick=\"popUp=window.open('http://www.facebook.com/sharer.php?u=http%3A%2F%2Fthisisbd.com%3Fsrc%3Dfb','popupwindow','scrollbars=yes,width=800,height=400');popUp.focus();return false\" href=\"http://www.facebook.com/\">Share on Facebook</a>")
|
28
|
+
end
|
23
29
|
end
|
24
30
|
|
25
|
-
|
26
|
-
|
31
|
+
context 'without a twitter handle' do
|
32
|
+
before :each do
|
33
|
+
@options = {
|
34
|
+
url: 'http://thisisbd.com',
|
35
|
+
twitter_message: 'This is BD - A creative agency in London'
|
36
|
+
}
|
37
|
+
end
|
38
|
+
|
39
|
+
it 'generates the expected twitter tag' do
|
40
|
+
expect( social_share_tags(@options) ).to include("<a rel=\"nofollow\" class=\"social_share_tw\" onclick=\"popUp=window.open('http://twitter.com/intent/tweet?text=This is BD - A creative agency in London http%3A%2F%2Fthisisbd.com%3Fsrc%3Dtw','popupwindow','scrollbars=yes,width=800,height=400');popUp.focus();return false\" href=\"http://twitter.com/\">Share on Twitter</a>")
|
41
|
+
end
|
27
42
|
end
|
28
43
|
end
|
29
44
|
|
30
45
|
context 'with individual_settings set' do
|
31
|
-
|
32
|
-
|
33
|
-
|
46
|
+
context 'with a twitter handle' do
|
47
|
+
before :each do
|
48
|
+
@options = {
|
49
|
+
individual_settings: true,
|
50
|
+
|
51
|
+
twitter: {
|
52
|
+
url: 'http://mattrayner.co.u/twitter_specific_page',
|
53
|
+
handle: '@mattrayner',
|
54
|
+
message: 'Matt Rayner - A full-stack Rubyist in London'
|
55
|
+
},
|
56
|
+
|
57
|
+
facebook: {
|
58
|
+
url: 'http://mattrayner.co.uk/facebook_specific_page'
|
59
|
+
}
|
60
|
+
}
|
61
|
+
end
|
34
62
|
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
message: 'Matt Rayner - A full-stack Rubyist in London'
|
39
|
-
},
|
63
|
+
it 'generates the expected facebook tag' do
|
64
|
+
expect( social_share_tags(@options) ).to include("<a rel=\"nofollow\" class=\"social_share_fb\" onclick=\"popUp=window.open('http://www.facebook.com/sharer.php?u=http%3A%2F%2Fmattrayner.co.uk%2Ffacebook_specific_page','popupwindow','scrollbars=yes,width=800,height=400');popUp.focus();return false\" href=\"http://www.facebook.com/\">Share on Facebook</a>")
|
65
|
+
end
|
40
66
|
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
}
|
67
|
+
it 'generates the expected twitter tag' do
|
68
|
+
expect( social_share_tags(@options) ).to include("<a rel=\"nofollow\" class=\"social_share_tw\" onclick=\"popUp=window.open('http://twitter.com/intent/tweet?text=Matt Rayner - A full-stack Rubyist in London via @mattrayner http%3A%2F%2Fmattrayner.co.u%2Ftwitter_specific_page','popupwindow','scrollbars=yes,width=800,height=400');popUp.focus();return false\" href=\"http://twitter.com/\">Share on Twitter</a>")
|
69
|
+
end
|
45
70
|
end
|
46
71
|
|
47
|
-
|
48
|
-
|
49
|
-
|
72
|
+
context 'without a twitter handle' do
|
73
|
+
before :each do
|
74
|
+
@options = {
|
75
|
+
individual_settings: true,
|
76
|
+
|
77
|
+
twitter: {
|
78
|
+
url: 'http://mattrayner.co.u/twitter_specific_page',
|
79
|
+
message: 'Matt Rayner - A full-stack Rubyist in London'
|
80
|
+
},
|
50
81
|
|
51
|
-
|
52
|
-
|
82
|
+
facebook: {
|
83
|
+
url: 'http://mattrayner.co.uk/facebook_specific_page'
|
84
|
+
}
|
85
|
+
}
|
86
|
+
end
|
87
|
+
|
88
|
+
it 'generates the expected facebook tag' do
|
89
|
+
expect( social_share_tags(@options) ).to include("<a rel=\"nofollow\" class=\"social_share_fb\" onclick=\"popUp=window.open('http://www.facebook.com/sharer.php?u=http%3A%2F%2Fmattrayner.co.uk%2Ffacebook_specific_page','popupwindow','scrollbars=yes,width=800,height=400');popUp.focus();return false\" href=\"http://www.facebook.com/\">Share on Facebook</a>")
|
90
|
+
end
|
91
|
+
|
92
|
+
it 'generates the expected twitter tag' do
|
93
|
+
expect( social_share_tags(@options) ).to include("<a rel=\"nofollow\" class=\"social_share_tw\" onclick=\"popUp=window.open('http://twitter.com/intent/tweet?text=Matt Rayner - A full-stack Rubyist in London http%3A%2F%2Fmattrayner.co.u%2Ftwitter_specific_page','popupwindow','scrollbars=yes,width=800,height=400');popUp.focus();return false\" href=\"http://twitter.com/\">Share on Twitter</a>")
|
94
|
+
end
|
53
95
|
end
|
54
96
|
end
|
55
97
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: social_sharer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4.pre.alpha.pre.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Rayner
|
@@ -14,126 +14,140 @@ dependencies:
|
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.6'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.6'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 0.9.6
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.9.6
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: yard
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 0.8.7.6
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 0.8.7.6
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: pry
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 0.10.2
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ~>
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 0.10.2
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: pry-nav
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ~>
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: 0.2.4
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ~>
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 0.2.4
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: simplecov
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ~>
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: 0.10.0
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ~>
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: 0.10.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rubocop
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - ~>
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: 0.34.2
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - ~>
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 0.34.2
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: rspec
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - ~>
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '3.0'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - ~>
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '3.0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: coveralls
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ! '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ! '>='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
140
|
name: rails
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
128
142
|
requirements:
|
129
|
-
- -
|
143
|
+
- - ~>
|
130
144
|
- !ruby/object:Gem::Version
|
131
145
|
version: '4.2'
|
132
146
|
type: :runtime
|
133
147
|
prerelease: false
|
134
148
|
version_requirements: !ruby/object:Gem::Requirement
|
135
149
|
requirements:
|
136
|
-
- -
|
150
|
+
- - ~>
|
137
151
|
- !ruby/object:Gem::Version
|
138
152
|
version: '4.2'
|
139
153
|
description: Adds a set of view methods that allow the users to create sharing buttons
|
@@ -144,10 +158,10 @@ executables: []
|
|
144
158
|
extensions: []
|
145
159
|
extra_rdoc_files: []
|
146
160
|
files:
|
147
|
-
-
|
148
|
-
-
|
149
|
-
-
|
150
|
-
-
|
161
|
+
- .gitignore
|
162
|
+
- .rspec
|
163
|
+
- .rubocop
|
164
|
+
- .travis.yml
|
151
165
|
- Gemfile
|
152
166
|
- LICENSE
|
153
167
|
- README.md
|
@@ -157,6 +171,7 @@ files:
|
|
157
171
|
- lib/social_sharer/version.rb
|
158
172
|
- lib/social_sharer/view_helpers.rb
|
159
173
|
- social_sharer.gemspec
|
174
|
+
- social_sharer_logo.png
|
160
175
|
- spec/lib/social_sharer_railtie_spec.rb
|
161
176
|
- spec/lib/social_sharer_spec.rb
|
162
177
|
- spec/lib/social_sharer_view_helpers_spec.rb
|
@@ -171,17 +186,17 @@ require_paths:
|
|
171
186
|
- lib
|
172
187
|
required_ruby_version: !ruby/object:Gem::Requirement
|
173
188
|
requirements:
|
174
|
-
- -
|
189
|
+
- - ! '>='
|
175
190
|
- !ruby/object:Gem::Version
|
176
191
|
version: 1.9.3
|
177
192
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
178
193
|
requirements:
|
179
|
-
- -
|
194
|
+
- - ! '>'
|
180
195
|
- !ruby/object:Gem::Version
|
181
|
-
version:
|
196
|
+
version: 1.3.1
|
182
197
|
requirements: []
|
183
198
|
rubyforge_project:
|
184
|
-
rubygems_version: 2.4.5
|
199
|
+
rubygems_version: 2.4.5
|
185
200
|
signing_key:
|
186
201
|
specification_version: 4
|
187
202
|
summary: A set of view helpers that allow users to create social sharing buttons easily
|
@@ -190,4 +205,3 @@ test_files:
|
|
190
205
|
- spec/lib/social_sharer_spec.rb
|
191
206
|
- spec/lib/social_sharer_view_helpers_spec.rb
|
192
207
|
- spec/spec_helper.rb
|
193
|
-
has_rdoc:
|