social-share-button 0.1.2 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +7 -0
  2. data/Changelogs.md +4 -0
  3. data/{lib → app}/assets/images/sprites/social-share-button.png +0 -0
  4. data/{lib → app}/assets/images/sprites/social-share-button@2x.png +0 -0
  5. data/{lib → app}/assets/javascripts/social-share-button.coffee +0 -0
  6. data/{lib → app}/assets/stylesheets/social-share-button.scss +0 -0
  7. data/lib/social_share_button/version.rb +1 -1
  8. metadata +17 -57
  9. data/.gitignore +0 -6
  10. data/Gemfile +0 -7
  11. data/Rakefile +0 -28
  12. data/lib/assets/images/sprites/social-share-button/baidu.png +0 -0
  13. data/lib/assets/images/sprites/social-share-button/delicious.png +0 -0
  14. data/lib/assets/images/sprites/social-share-button/douban.png +0 -0
  15. data/lib/assets/images/sprites/social-share-button/email.png +0 -0
  16. data/lib/assets/images/sprites/social-share-button/facebook.png +0 -0
  17. data/lib/assets/images/sprites/social-share-button/flickr.png +0 -0
  18. data/lib/assets/images/sprites/social-share-button/google_bookmark.png +0 -0
  19. data/lib/assets/images/sprites/social-share-button/google_plus.png +0 -0
  20. data/lib/assets/images/sprites/social-share-button/kaixin001.png +0 -0
  21. data/lib/assets/images/sprites/social-share-button/qq.png +0 -0
  22. data/lib/assets/images/sprites/social-share-button/renren.png +0 -0
  23. data/lib/assets/images/sprites/social-share-button/tqq.png +0 -0
  24. data/lib/assets/images/sprites/social-share-button/tumblr.png +0 -0
  25. data/lib/assets/images/sprites/social-share-button/twitter.png +0 -0
  26. data/lib/assets/images/sprites/social-share-button/weibo.png +0 -0
  27. data/lib/assets/images/sprites/social-share-button@2x/baidu.png +0 -0
  28. data/lib/assets/images/sprites/social-share-button@2x/delicious.png +0 -0
  29. data/lib/assets/images/sprites/social-share-button@2x/douban.png +0 -0
  30. data/lib/assets/images/sprites/social-share-button@2x/email.png +0 -0
  31. data/lib/assets/images/sprites/social-share-button@2x/facebook.png +0 -0
  32. data/lib/assets/images/sprites/social-share-button@2x/flickr.png +0 -0
  33. data/lib/assets/images/sprites/social-share-button@2x/google_bookmark.png +0 -0
  34. data/lib/assets/images/sprites/social-share-button@2x/google_plus.png +0 -0
  35. data/lib/assets/images/sprites/social-share-button@2x/kaixin001.png +0 -0
  36. data/lib/assets/images/sprites/social-share-button@2x/qq.png +0 -0
  37. data/lib/assets/images/sprites/social-share-button@2x/renren.png +0 -0
  38. data/lib/assets/images/sprites/social-share-button@2x/tqq.png +0 -0
  39. data/lib/assets/images/sprites/social-share-button@2x/tumblr.png +0 -0
  40. data/lib/assets/images/sprites/social-share-button@2x/twitter.png +0 -0
  41. data/lib/assets/images/sprites/social-share-button@2x/weibo.png +0 -0
  42. data/psd/icon.psd +0 -0
  43. data/social-share-button.gemspec +0 -23
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 8f56a275dfd2eb1705ac0f2410eaf985bca4b11c
4
+ data.tar.gz: e2559fa409688fbda3e7c147567c97ccdf378283
5
+ SHA512:
6
+ metadata.gz: 57388c231d9e2698f0e0cf59eaef51789494aac7ecacade8e14eac049322b1948e87140150c2fc57941c8442686acd4dc98cf3108e551d53b4cbad642ffbd91e
7
+ data.tar.gz: f17ca37c6551a1c4faffd45da9bf56629c09dc4601df462f263ecee4b1b56e65f352fadab97e2cd9406b468b7b19089375fa4b22984ec8f72a106e0c0940d9cd
data/Changelogs.md CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.1.4
2
+
3
+ * Support Rails 4
4
+
1
5
  == 0.1.2
2
6
 
3
7
  * Add tumblr.
@@ -1,3 +1,3 @@
1
1
  module SocialShareButton
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,32 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: social-share-button
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
5
- prerelease:
4
+ version: 0.1.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Jason Lee
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-03-05 00:00:00.000000000 Z
11
+ date: 2013-06-06 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rails
16
- prerelease: false
17
15
  requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
- none: false
23
20
  type: :development
21
+ prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
23
  requirements:
26
- - - ! '>='
24
+ - - '>='
27
25
  - !ruby/object:Gem::Version
28
26
  version: '0'
29
- none: false
30
27
  description: Helper for add social share feature in your Rails app. Twitter, Facebook,
31
28
  Weibo, Douban, QQ, Tumblr ...
32
29
  email:
@@ -35,48 +32,7 @@ executables: []
35
32
  extensions: []
36
33
  extra_rdoc_files: []
37
34
  files:
38
- - .gitignore
39
- - Changelogs.md
40
- - Gemfile
41
- - README.md
42
- - Rakefile
43
- - lib/assets/images/sprites/social-share-button.png
44
- - lib/assets/images/sprites/social-share-button/.DS_Store
45
- - lib/assets/images/sprites/social-share-button/baidu.png
46
- - lib/assets/images/sprites/social-share-button/delicious.png
47
- - lib/assets/images/sprites/social-share-button/douban.png
48
- - lib/assets/images/sprites/social-share-button/email.png
49
- - lib/assets/images/sprites/social-share-button/facebook.png
50
- - lib/assets/images/sprites/social-share-button/flickr.png
51
- - lib/assets/images/sprites/social-share-button/google_bookmark.png
52
- - lib/assets/images/sprites/social-share-button/google_plus.png
53
- - lib/assets/images/sprites/social-share-button/kaixin001.png
54
- - lib/assets/images/sprites/social-share-button/qq.png
55
- - lib/assets/images/sprites/social-share-button/renren.png
56
- - lib/assets/images/sprites/social-share-button/tqq.png
57
- - lib/assets/images/sprites/social-share-button/tumblr.png
58
- - lib/assets/images/sprites/social-share-button/twitter.png
59
- - lib/assets/images/sprites/social-share-button/weibo.png
60
- - lib/assets/images/sprites/social-share-button@2x.png
61
- - lib/assets/images/sprites/social-share-button@2x/baidu.png
62
- - lib/assets/images/sprites/social-share-button@2x/delicious.png
63
- - lib/assets/images/sprites/social-share-button@2x/douban.png
64
- - lib/assets/images/sprites/social-share-button@2x/email.png
65
- - lib/assets/images/sprites/social-share-button@2x/facebook.png
66
- - lib/assets/images/sprites/social-share-button@2x/flickr.png
67
- - lib/assets/images/sprites/social-share-button@2x/google_bookmark.png
68
- - lib/assets/images/sprites/social-share-button@2x/google_plus.png
69
- - lib/assets/images/sprites/social-share-button@2x/kaixin001.png
70
- - lib/assets/images/sprites/social-share-button@2x/qq.png
71
- - lib/assets/images/sprites/social-share-button@2x/renren.png
72
- - lib/assets/images/sprites/social-share-button@2x/tqq.png
73
- - lib/assets/images/sprites/social-share-button@2x/tumblr.png
74
- - lib/assets/images/sprites/social-share-button@2x/twitter.png
75
- - lib/assets/images/sprites/social-share-button@2x/weibo.png
76
- - lib/assets/javascripts/social-share-button.coffee
77
- - lib/assets/stylesheets/social-share-button.scss
78
35
  - lib/generators/social_share_button/install_generator.rb
79
- - lib/generators/social_share_button/templates/.DS_Store
80
36
  - lib/generators/social_share_button/templates/config/initializers/social_share_button.rb
81
37
  - lib/generators/social_share_button/templates/config/locales/social_share_button.en.yml
82
38
  - lib/generators/social_share_button/templates/config/locales/social_share_button.zh-CN.yml
@@ -87,31 +43,35 @@ files:
87
43
  - lib/social_share_button/helper.rb
88
44
  - lib/social_share_button/railtie.rb
89
45
  - lib/social_share_button/version.rb
90
- - psd/icon.psd
91
- - social-share-button.gemspec
46
+ - app/assets/javascripts/social-share-button.coffee
47
+ - app/assets/stylesheets/social-share-button.scss
48
+ - README.md
49
+ - Changelogs.md
50
+ - app/assets/images/sprites/social-share-button.png
51
+ - app/assets/images/sprites/social-share-button@2x.png
92
52
  homepage: http://github.com/huacnlee/social-share-button
93
53
  licenses: []
54
+ metadata: {}
94
55
  post_install_message:
95
56
  rdoc_options: []
96
57
  require_paths:
97
58
  - lib
98
59
  required_ruby_version: !ruby/object:Gem::Requirement
99
60
  requirements:
100
- - - ! '>='
61
+ - - '>='
101
62
  - !ruby/object:Gem::Version
102
63
  version: '0'
103
- none: false
104
64
  required_rubygems_version: !ruby/object:Gem::Requirement
105
65
  requirements:
106
- - - ! '>='
66
+ - - '>='
107
67
  - !ruby/object:Gem::Version
108
68
  version: '0'
109
- none: false
110
69
  requirements: []
111
70
  rubyforge_project:
112
- rubygems_version: 1.8.24
71
+ rubygems_version: 2.0.0
113
72
  signing_key:
114
- specification_version: 3
73
+ specification_version: 4
115
74
  summary: Helper for add social share feature in your Rails app. Twitter, Facebook,
116
75
  Weibo, Douban, QQ, Tumblr ...
117
76
  test_files: []
77
+ has_rdoc:
data/.gitignore DELETED
@@ -1,6 +0,0 @@
1
- .DS_Store
2
- *.gem
3
- .bundle
4
- .rvmrc
5
- Gemfile.lock
6
- pkg/*
data/Gemfile DELETED
@@ -1,7 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- # Specify your gem's dependencies in social-share.gemspec
4
- gemspec
5
-
6
- gem "sprite-factory", "1.4.1"
7
- gem "chunky_png"
data/Rakefile DELETED
@@ -1,28 +0,0 @@
1
- require "bundler/gem_tasks"
2
-
3
- require 'sprite_factory'
4
-
5
- ROOT_PATH = File.dirname(__FILE__)
6
-
7
- namespace :assets do
8
- desc 'recreate sprite images and css'
9
- task :resprite do
10
- SpriteFactory.library = :chunkypng
11
- SpriteFactory.csspath = "image-path('sprites/$IMAGE')"
12
- dirs = Dir.glob("#{ROOT_PATH}/lib/assets/images/sprites/*/")
13
- dirs.each do |path|
14
- dir_name = path.split("/").last
15
- SpriteFactory.run!("lib/assets/images/sprites/#{dir_name}",
16
- :layout => :packed,
17
- :output_style => "lib/assets/stylesheets/#{dir_name}.scss",
18
- :nocomments => true,
19
- :selector => ".#{dir_name}-") do |images|
20
- result = []
21
- images.each do |img|
22
- result << ".social-share-button-#{img[0]} { display:inline-block; #{img[1][:style]} }"
23
- end
24
- result.join("\n")
25
- end
26
- end
27
- end
28
- end
data/psd/icon.psd DELETED
Binary file
@@ -1,23 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
- $:.push File.expand_path("../lib", __FILE__)
3
- require "social_share_button/version"
4
-
5
- Gem::Specification.new do |s|
6
- s.name = "social-share-button"
7
- s.version = SocialShareButton::VERSION
8
- s.authors = ["Jason Lee"]
9
- s.email = ["huacnlee@gmail.com"]
10
- s.homepage = "http://github.com/huacnlee/social-share-button"
11
- s.summary = %q{Helper for add social share feature in your Rails app. Twitter, Facebook, Weibo, Douban, QQ, Tumblr ...}
12
- s.description = %q{Helper for add social share feature in your Rails app. Twitter, Facebook, Weibo, Douban, QQ, Tumblr ...}
13
-
14
- s.files = `git ls-files`.split("\n")
15
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
- s.require_paths = ["lib"]
18
-
19
- # specify any dependencies here; for example:
20
- s.files = `git ls-files`.split("\n")
21
- s.add_development_dependency "rails"
22
- # s.add_runtime_dependency "rest-client"
23
- end