frankie 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/CHANGELOG +2 -0
  2. data/LICENSE +1 -1
  3. data/frankie.gemspec +7 -6
  4. data/lib/frankie.rb +1 -1
  5. metadata +6 -4
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ v0.3.1 Fix endless loop redirect with canvas, thanks to jodosha
2
+
1
3
  v0.3.0 Updated to work with Sinatra 0.9.x and facebooker 1.0.2, thanks to mjfreshyfresh
2
4
 
3
5
  v0.2.5. Bugfix for fb_url_for helper method
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2008 Ron Evans
1
+ Copyright (c) 2008-2009 Ron Evans
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -1,31 +1,32 @@
1
+ # -*- encoding: utf-8 -*-
2
+
1
3
  Gem::Specification.new do |s|
2
4
  s.name = %q{frankie}
3
- s.version = "0.3.0"
5
+ s.version = "0.3.1"
4
6
 
5
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
6
8
  s.authors = ["Ron Evans"]
7
- s.date = %q{2009-02-20}
9
+ s.date = %q{2009-09-04}
8
10
  s.default_executable = %q{tunnel}
9
11
  s.description = %q{Easy creation of Facebook applications in Ruby using plugin for Sinatra web framework that integrates with Facebooker gem.}
10
12
  s.email = %q{}
11
13
  s.executables = ["tunnel"]
12
14
  s.extra_rdoc_files = ["bin/tunnel", "CHANGELOG", "lib/frankie.rb", "LICENSE", "README.rdoc"]
13
15
  s.files = ["bin/tunnel", "CHANGELOG", "lib/frankie.rb", "LICENSE", "Manifest", "Rakefile", "README.rdoc", "test/frankie_test.rb", "test/helper.rb", "frankie.gemspec"]
14
- s.has_rdoc = true
15
16
  s.homepage = %q{http://facethesinatra.com/}
16
17
  s.post_install_message = %q{*** Frankie was installed ***}
17
18
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Frankie", "--main", "README.rdoc"]
18
19
  s.require_paths = ["lib"]
19
20
  s.rubyforge_project = %q{frankie}
20
- s.rubygems_version = %q{1.2.0}
21
+ s.rubygems_version = %q{1.3.3}
21
22
  s.summary = %q{Easy creation of Facebook applications in Ruby using plugin for Sinatra web framework that integrates with Facebooker gem.}
22
23
  s.test_files = ["test/frankie_test.rb"]
23
24
 
24
25
  if s.respond_to? :specification_version then
25
26
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
26
- s.specification_version = 2
27
+ s.specification_version = 3
27
28
 
28
- if current_version >= 3 then
29
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
29
30
  s.add_runtime_dependency(%q<sinatra>, [">= 0.2.2"])
30
31
  s.add_runtime_dependency(%q<facebooker>, [">= 0.9.5"])
31
32
  else
@@ -141,7 +141,7 @@ module Frankie
141
141
 
142
142
  def do_redirect(*args)
143
143
  if request_is_for_a_facebook_canvas?
144
- fbml_redirect_tag(args)
144
+ fbml_redirect_tag(args[0])
145
145
  else
146
146
  redirect args[0]
147
147
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: frankie
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ron Evans
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-02-20 00:00:00 -08:00
12
+ date: 2009-09-04 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -57,6 +57,8 @@ files:
57
57
  - frankie.gemspec
58
58
  has_rdoc: true
59
59
  homepage: http://facethesinatra.com/
60
+ licenses: []
61
+
60
62
  post_install_message: "*** Frankie was installed ***"
61
63
  rdoc_options:
62
64
  - --line-numbers
@@ -82,9 +84,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
84
  requirements: []
83
85
 
84
86
  rubyforge_project: frankie
85
- rubygems_version: 1.2.0
87
+ rubygems_version: 1.3.3
86
88
  signing_key:
87
- specification_version: 2
89
+ specification_version: 3
88
90
  summary: Easy creation of Facebook applications in Ruby using plugin for Sinatra web framework that integrates with Facebooker gem.
89
91
  test_files:
90
92
  - test/frankie_test.rb