facebook-social_plugins 0.2.0 → 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.
@@ -0,0 +1,3 @@
1
+ # 0.2.1
2
+
3
+ Fixed Rails view helper bug
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "facebook-social_plugins"
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kristian Mandrup"]
12
- s.date = "2012-04-03"
12
+ s.date = "2012-04-17"
13
13
  s.description = "HTML5 compatible social plugin helpers for Rails 3"
14
14
  s.email = "kmandrup@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -20,6 +20,7 @@ Gem::Specification.new do |s|
20
20
  ".document",
21
21
  ".rspec",
22
22
  "AddToTimeline.txt",
23
+ "CHANGELOG",
23
24
  "Gemfile",
24
25
  "Gemfile.lock",
25
26
  "LICENSE.txt",
@@ -58,7 +59,7 @@ Gem::Specification.new do |s|
58
59
  s.homepage = "http://github.com/kristianmandrup/facebook-social_plugins"
59
60
  s.licenses = ["MIT"]
60
61
  s.require_paths = ["lib"]
61
- s.rubygems_version = "1.8.20"
62
+ s.rubygems_version = "1.8.22"
62
63
  s.summary = "Facebook HTML5 style social plugins for Rails 3"
63
64
 
64
65
  if s.respond_to? :specification_version then
@@ -21,7 +21,7 @@ module FacebookSocialPlugins
21
21
  ['script', 'view', 'open_graph']
22
22
  end
23
23
 
24
- def self.plugin name, options
24
+ def self.plugin name, options = {}
25
25
  klass = "FacebookSocialPlugins::Plugin::#{name.to_s.camelize}".constantize
26
26
  klass.new(options).render
27
27
  end
@@ -13,8 +13,8 @@ module FacebookSocialPlugins::Helper
13
13
  end
14
14
 
15
15
  FacebookSocialPlugins.plugins.each do |name|
16
- define_method :"fb_#{name}" do |options = {}|
17
- FacebookSocialPlugins.plugin name, options
16
+ define_method :"fb_#{name}" do |options|
17
+ FacebookSocialPlugins.plugin name, options
18
18
  end
19
19
  end
20
20
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: facebook-social_plugins
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
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-04-03 00:00:00.000000000 Z
12
+ date: 2012-04-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -150,6 +150,7 @@ files:
150
150
  - .document
151
151
  - .rspec
152
152
  - AddToTimeline.txt
153
+ - CHANGELOG
153
154
  - Gemfile
154
155
  - Gemfile.lock
155
156
  - LICENSE.txt
@@ -199,7 +200,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
199
200
  version: '0'
200
201
  segments:
201
202
  - 0
202
- hash: 4144968619467304781
203
+ hash: -2068637524663629491
203
204
  required_rubygems_version: !ruby/object:Gem::Requirement
204
205
  none: false
205
206
  requirements:
@@ -208,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
208
209
  version: '0'
209
210
  requirements: []
210
211
  rubyforge_project:
211
- rubygems_version: 1.8.20
212
+ rubygems_version: 1.8.22
212
213
  signing_key:
213
214
  specification_version: 3
214
215
  summary: Facebook HTML5 style social plugins for Rails 3